Installing the Linux Driver
Installing the Driver on the Boot Drive
Note: The FCA2214/FCA2214DC HBA must be installed in the system before installing the qla2300 driver.
Perform the following steps to install the qla2300 driver on the boot drive:
1.Build the driver binary file. To build a driver binary from source files, see section Building a Driver from the Sources in this chapter.
2.Copy the qla2300.o binary file to the /lib/modules/ <kernel version>/kernel/drivers/scsi directory.
3.At the command prompt, enter the following command to update the module dependency:
# depmod
The qla2300 driver is now installed on your boot drive. However, the driver must be loaded before the system can access the devices attached to the HBA.
Loading the Driver
The qla2300 driver must be loaded before the system can access the devices attached to the FCA2214/FCA2214DC HBA. To build a ramdisk image to automatically load the qla2300 driver at boot time, see section Building a Ramdisk Image to Load the qla2300 Driver in this chapter. To load the qla2300 driver manually, see section Loading and Unloading the qla2300 Driver Manually in this chapter.
Building a Ramdisk Image to Load the qla2300 Driver
You can load the qla2300 driver at boot time using a ramdisk image as follows:
1. For Red Hat, add the following line to the file /etc/modules.conf:
alias scsi_hostadapter qla2300
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. n is a number in the range
26FCA2214/FCA2214DC