Installation guide
FC0153302-00 D 8-9
8 – Red Hat Linux Driver Installation
Install or Update the Driver
(Installed Operating System)
8.4.2.2
Building a Ramdisk Image to Load the Driver Automatically
The Red Hat Linux kernel 2.2.x does not automatically load the qla2x00 driver when
the system reboots. You can load the qla2x00 driver at boot time using a ramdisk
image. For more information, refer to the Red Hat installation guide.
Perform the following steps to load the qla2x00 driver using a ramdisk image.
1. For Red Hat Linux 6.2, add the following line to the file /etc/conf.modules.
For Red Hat Linux 7.0 and 7.1, add the following line to the file
/etc/modules.conf. For example:
alias scsi_hostadapter qla2x00
NOTE: If there are other SCSI host adapter boards installed on your system
and the scsi_hostadapter alias is used, define a different alias (for
example, scsi_hostadaptern [where n is a number from 1–9]).
2. Build a new ramdisk image that contains the qla2x00.o object file.
For a single-processor system, type the following commands, where
x.x.xx–x.x is the Red Hat Linux version number.
/sbin/mkinitrd /boot/newinitrd-image x.x.xx-x.x
For a multiprocessor system, type the following commands, where
x.x.xx–x.x is the Red Hat Linux version number.
/sbin/mkinitrd /boot/newinitrd-image x.x.xx-x.xsmp
3. Modify the /etc/lilo.conf file to load the ramdisk image. The new text is:
initrd=/boot/newinitrd-image
For a single-processor system, change the following line, where x.x.xx–x.x
is the Red Hat Linux version number.
initrd=/boot/initrd-x.x.xx-x.x.img
For a multiprocessor system, change the following line, where x.x.xx–x.x is
the Red Hat Linux version number.
initrd=/boot/initrd-x.x.xx-x.x.smp.img
4. Type the following command to load a new lilo file:
# lilo
5. Reboot the system. The qla2x00 driver loads automatically.
8.4.2.3
Loading the Driver Manually
After you manually load the qla2x00 driver, you can access the devices without
rebooting the system. The driver is unloaded each time the system is rebooted.