Q-Logic 4000 SERIES Network Card User Manual


 
5 – Red Hat Linux Driver Installation
Installing the Driver
IS0053301-00 D 5-7
Q
5.3.2.2
Building a Symmetric Multiprocessor (SMP) Version of the Driver
Perform the following steps to build an SMP version of the qla4000 driver:
1. 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 (not required for Red Hat Linux 7.3)
# rpm -iv kernel-source*.rpm
2. Prepare source headers for an SMP module build by changing to the Linux
source directory. Type the following:
# cd /usr/src/linux-2.4
3. 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. Select Exit to exit the Processor Type and Features menu.
d. Select SCSI Support and press ENTER.
e. Select SCSI Generic Support and press the SPACEBAR twice.
f. Select Exit to exit the SCSI Support menu.
g. Select Exit to exit the Main Menu.
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.
4. Under the kernel source directory, type the following:
# make dep
5. Create a new directory, /qla4xxx. Using the driver disk created in section 5.2,
copy the qla4xxxsrc-v1.xx.tgz file to /qla4xxx and extract the files. For example:
# mkdir qla4xxx
# cd /qla4xxx
# mcopy a:*.tgz . (The period (.) at the end is required.)
# tar -xvzf *.tgz
6. Build the qla4000 driver from the source code by typing:
# make
NOTE: Refer to Makefile for additional supported command line parameters.