Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch
SuSE Linux: Versions since 4.2
Kernel: Versions since 2.0.0
The Makefile for 2.0.x Kernels must be modified slightly to enable SMP support, it is not an available option in the standard kernel configuration menu. The 2.2.x kernels have an option in the standard configuration menu for enabling SMP support. More details are provided below.
If you already have a kernel configuration file for the same kernel version and want to use it when recompiling, make sure to copy it to
/location/of/Kernel-source-tree/.config (Example: /usr/src/linux-2.2.5.SuSE/.config)before you begin configuring your new kernel.
The configuration files for the precompiled SUSE Linux
kernels (the ones that can be selected from YaST
)
are located on CD #1 of your SuSE distribution in
/suse/images/config/config*.ikr
.
Configure your kernel as usual, for example with :
make menuconfig
SMP support is enabled by selecting the following:
Now your kernel will be compiled with SMP support.
IMPORTANT: The command make modules_install
will install your modules in the usual directory
/lib/modules/<Kernelversion>
.
If this directory already exists, confusion prevails!
Much aggravation is caused by the fact that SMP modules
do not work under Single processor kernels and Single
processor modules do not work under SMP kernels!
Solution:
/lib/modules/<Kernelversion>
before
installing the modules with make modules_install
.
/usr/src/linux/Makefile
PRIOR to configuring
and recompiling your kernel. The first few lines of the Makefile contain the
version information, for example:
VERSION = 2 PATCHLEVEL = 2 SUBLEVEL = 5 EXTRAVERSION =Edit the last line shown above to specify the extra version, for example:
EXTRAVERSION = -smpIn this example you will have a kernel version of
2.2.5-smp
and the modules will be installed in the
directory /lib/modules/2.2.5-smp.
.
make menuconfig
/usr/src/linux/Makefile
.
# SMP=1
Keywords: LINUX, SMP, MULTIPROCESSOR, MULTIPROCESSING, PPRO, TYAN
Categories:
Hardware
Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch