Installation guide

FC0153302-00 D 8-5
8 Red Hat Linux Driver Installation
Install or Update the Driver
(Installed Operating System)
The qla2x00 driver is now installed on your boot drive. However, the driver must be
loaded before the system can access the devices attached to the QLA22xx board
(see section 8.4.2).
8.4.2
Loading the Driver
The qla2x00 driver must be loaded before the system can access the devices
attached to the QLA22xx board. To build a custom kernel to automatically load the
driver at boot time, see section 8.4.2.1. To build a ramdisk image to automatically
load the driver at boot time, see section 8.4.2.2. To load the driver manually, see
section 8.4.2.3.
8.4.2.1
Building a Custom Kernel to Load the 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 driver floppy disk you
created in section 8.2.3 to the /home/qla2x00 directory on the boot drive.
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.
The following details are from addkernel.txt, which can be obtained from
the following source:
# tar -xvzf qla2x00src-vx.xx.tgz
NOTE: These instructions are for qla2x00 (in Red Hat Linux 6.2,7.0, and
7.1). The line number listed may not be correct for other releases
of the kernel.
a. If you have Red Hat Linux 6.2 and want the qla2x00 driver added as a
choice in make config, make menuconfig, or make xconfig, add the
following line to the /usr/src/linux/drivers/scsi/Config.in file after line 116.
dep_tristate QLA2x00 QLC driver support
CONFIG_SCSI_QLOGIC_QLA2100 $CONFIG_SCSI