Q-Logic 2-Gb Fibre Channel to PCI-X Host Bust Adapter Marine RADAR User Manual


 
FC2354601-00 A 9-5
9 Red Hat Linux Driver Installation
Install or Update the Driver (Installed Operating
System)
9.4.2
Loading the Driver
The qla2x00 or qla2300 driver must be loaded before the system can access the
devices attached to the QLA23xx HBA. To build a custom kernel to automatically
load the driver at boot time, see section 9.4.2.1. To build a ramdisk image to
automatically load the qla2x00 driver at boot time, see section 9.4.2.2. To load the
qla2x00 driver manually, see section 9.4.2.3. To build a ramdisk image to
automatically load the qla2300 driver at boot time, see section 9.4.2.4. To load the
qla2300 driver manually, see section section 9.4.2.5.
9.4.2.1
Building a Custom Kernel to Load the qla2x00 (v4.x) Driver
Automatically
The kernel automatically loads the qla2x00 driver at boot time if you include it in a
custom kernel. Perform the following steps to build a custom kernel:
1. Copy the qla2x00src-vx.xx.tgz file on the qla2x00 source code driver floppy
disk you created in section 9.2.3 to the /home/qla2x00 directory on the boot
drive. Extract the driver source and additional information files from the .tgz
file. For example:
# cd /home
# mkdir qla2x00
# cd /home/qla2x00
# mcopy a:*.tgz . (The period [.] at the end is required.)
# tar -xvzf qla*.tgz
2. Extract the kernel-header and kernel-source RPM files from the first Red
Hat CD-ROM.
# cd /mnt/cdrom/RedHat/RPMS
# rpm -iv kernel-headers*.rpm
# rpm -iv kernel-source*.rpm
3. Add the driver to the kernel.
NOTE: These instructions are for qla2x00 (in Red Hat Linux 6.2, 7.0, 7.1,
and 7.2). The line number listed may not be correct for other
releases of the kernel.
The following details are from addkernel.txt, which can be obtained from
the following source:
# tar -xvzf qla2x00src-x.xx.tgz