5 – Red Hat Linux Driver Installation
Installing the Driver
5.3.1
Building a Uniprocessor (UP) Version of the Driver
Perform the following steps to build a UP version of the qla4xxx driver:
1. Extract the kernel-header and kernel-source RPM files from the first Red Hat
CD-ROM.
2. Prepare source headers by changing to the kernel source directory. For
example:
3. Configure additional support. First, type the following command to access the
Main Menu:
a. From the Main Menu, select SCSI Support and press ENTER.
b. From the SCSI Support menu, select SCSI Disk Support.
c. From the SCSI Disk Support menu, select SCSI Generic Support.
d. Select Exit to exit the Main Menu.
4. Under the kernel source directory, type the following:
5. Create a new directory, /qla4xxx. Using the disk created in
the qla4xxxsrc-vx.xx.tgz file to /qla4xxx and extract the files. For example:
6. Build the driver qla4010.o from the source code by typing:
NOTE:
After building a UP version of the driver, you must load the driver by one of the
following methods:
Manually
■
Through a RAMDISK image, which you must build
■
5-2
# cd /mnt/cdrom/RedHat/RPMS
# rpm -iv kernel-headers*.rpm (Not required for Red Hat 9.)
# rpm -iv kernel-source*.rpm (Not required for Red Hat 9.)
# cd /usr/src/linux-2.4
# make menuconfig
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.
# make dep
# mkdir qla4xxx
# cd qla4xxx
# cp mcopy a:*.tgz . (The period (.) at the end is required.)
# tar -xvzf *.tgz
# make SMP=0
Refer to Makefile for additional supported command line parameters.
(see section 5.3.3)
PRELIMINARY
Q
section
5.2, copy
(see section 5.3.4)
IS0053302-00 7
Need help?
Do you have a question about the QLA4010 and is the answer not in the manual?