User`s guide
12 – Red Hat Linux Driver Installation
Installing the Driver
12-4 FC2354601-00 E
Q
4. Remove any reference to older QLogic FC drivers.
To ensure that the older driver binary included in the original distribution does
not interfere with the updated version, type the following to rename the old
driver binary:
# cd /usr/src/linux/drivers/addon/qla2300
# mv qla2200.o qla2200_rh.o
# mv qla2300.o qla2300_rh.o
# cd /lib/modules/<kernel_version>/drivers/addon/qla2300
# mv qla2200.o qla2200_rh.o
# mv qla2300.o qla2300_rh.o
5. Configure the kernel to load the new QLogic driver. First, type the following
command to change to the /linux directory and access the Main Menu:
# cd /usr/src/linux
# make menuconfig
a. From the Main Menu, select SCSI Support and press ENTER.
b. From the SCSI Support menu, select SCSI Generic Support and press
the SPACEBAR twice.
c. Select SCSI low-level drivers and press ENTER.
d. From the SCSI low-level drivers menu, scroll down and select QLogic
Qlogic 2xxx v6 FC SCSI support. Press the ENTER.
e. Select Qlogic QLA 2300 v6 FC SCSI support. Press the SPACEBAR twice.
f. Select Exit until you 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.
6. Create a bootable kernel image by typing the following:
# make dep bzImage modules modules_install
12.3.2
Building a Driver from the Source Code
From the source code, you can build the qla2300.o driver for your uniprocessor
(UP) or symmetric multiprocessor (SMP) system, then load the driver manually or
automatically using a RAMDISK image during system boot time.
To build a UP version of the qla2xxx driver, see section 12.3.2.1. To build an SMP
version of the qla2xxx driver, see section 12.3.2.2.