User`s guide

12 – Red Hat Linux Driver Installation
Installing the Driver
12-8 FC2354601-00 E
Q
For Redhat distributions 7.2 with kernel 2.4.9-21 and above, type the following to
rename the old driver binary included in the original distribution, ensuring that it will
not interfere with the updated version:
# cd /lib/modules/<kernel_version>/drivers/addon/qla2300
# mv qla2300.o qla2300_rh.o
After renaming the older version of the drivers, you can load the new driver using
modprobe after updating the modules dependency file.
12.3.2.4
Building a RAMDISK Image to Load the Driver Automatically
You can load the qla2xxx driver at boot time using a RAMDISK image. For more
information, refer to the Red Hat installation guide.
Before building a RAMDISK image, you must build a UP or SMP version of the
driver, as described in section 12.3.2.1 or 12.3.2.2.
Perform the following steps to load the qla2xxx driver using a RAMDISK image:
1. Copy the files to /lib/modules/<kernel version>/kernel/drivers/scsi/ by typing:
# make install
For Redhat distributions 7.2 with kernel 2.4.9-21 and above, type the following
to rename the old driver binary included in the original distribution, ensuring
that it will not interfere with the updated version:
# cd /lib/modules/<kernel_version>/drivers/addon/qla2300
# mv qla2300.o qla2300_rh.o
2. Add the following line to /etc/modules.conf:
alias scsi_hostadapter0 qla2300
3. Type the following command to build the RAMDISK image that contains the
qla2300.o module:
# mkinitrd -f <RAMDISK image file name> <kernel version>
For example:
# mkinitrd -f /boot/newinitrd-image.img 2.4.7-10
# mkinitrd -f /boot/newinitrd-image.img 2.4.7-10smp
NOTE: To obtain your kernel version before using the above command, type:
# uname -r
Copy the file to /boot.