HP (Hewlett-Packard) A6826A MP3 Player Accessories User Manual


 
Installing the Linux driver18
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 ”Building a driver
from sources” on page 31.
2. Copy the qla2300.o binary file to the following directory:
/lib/modules/<kernel_release_version>/kernel/drivers/scsi
3. At the command prompt, enter the following command to update the module dependency:
# depmod -a
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
A6826A HBA. To build a ramdisk image to automatically load the qla2300 driver at boot time, see
Building a ramdisk image to load the qla2300 driver” on page 18. To load the qla2300 driver
manually, see ”Loading and unloading the qla2300 driver manually” on page 19.
Building a ramdisk image to load the qla2300 driver
You can load the qla2300 driver at boot time using a ramdisk image as follows in this Red Hat
example.
1. For Red Hat, add the following line to the file /etc/modules.conf:
alias scsi_hostadapter qla2300
NOTE: If there are other SCSI HBAs installed on your system and the scsi_hostadapter alias
is used, define a different alias (for example, scsi_hostadaptern. The n is a number in the
range 1–9).
2. Build a new ramdisk image that contains the qla2300.o object file. Copy the driver binary file
qla2300.o to
/lib/modules/<kernel_release_version>/drivers/scsi.
NOTE: The <kernel_release_version> is the Linux kernel release version of your system.
3. Add the dependency for the qla2300 driver and build the ramdisk image:
You can either run depmod -a or make sure the following line is in the
/lib/modules/<kernel_release_version>/modules.dep file:
/lib/modules/<kernel_release_version>/kernel/drivers/scsi/
qla2300.o: /lib/modules/<kernel_release_version>/kernel/
drivers/scsi/scsi_mod.o