Installation guide
8 – Red Hat Linux Driver Installation Building a Driver from the Sources
FC0153302-00 F 8-11
8.5.2
Building a Multiprocessor Version of the Driver
Perform the following steps to build an SMP version of the qla2x00 driver.
1. If the QLogic SMP module is required to load with the Red Hat SMP kernel,
it must be compiled with the same version number that was assigned to the
original SMP kernel built by Red Hat. This step is not required for Red Hat
Linux 7.0 and 7.1.
For Red Hat Linux 6.2, in the /usr/src/linux/include/linux/version.h file,
change the following line:
# define UTS_RELEASE "2.2.14-5.0"
to
# define UTS_RELEASE "2.2.14-5.0smp"
2. Extract the kernel-header and kernel-source RPM files from the first Red
Hat CD-ROM.
# cd /mnt/cdrom/RedHat/RPMS
# rpm -iv kernel-headers*.rpm
# rpm -iv kernel-source*.rpm
3. Change to the Linux source directory.
# cd /usr/src/linux
4. Type the following command to access the Main Menu.
# make menuconfig
a. From the Main Menu, select Processor type and features and press
ENTER.
b. From the Processor Type and Features Menu, select Symmetric
multiprocessor and press the SPACEBAR.
c. To exit the Main Menu, select Exit.
The system prompts Do you wish to save your new kernel
configuration? Select Yes. The system saves a new config file .config
in the current directory.
5. Change the directory to /usr/src/linux/ and type the following:
# make dep