Installation guide

Extracting and Loading the
Red Hat Linux Driver
8-2 FC0153302-00 D
8 Red Hat Linux Driver Installation
8.3.1
Extracting and Loading the Red Hat Linux 6.0 or 6.1 Driver
Perform the following steps to extract and load the Red Hat Linux driver in an
already installed Red Hat Linux 6.0 or 6.1 kernel (version 2.2.X) system.
1. Create a directory on the boot drive of the computer to store the driver. For
example:
mkdir /home/qla2x00
2. Insert the diskette that contains the QLogic driver.
3. Change the current directory to the Linux driver directory. For example:
cd /home/qla2x00
4. Copy the Linux driver file to the directory created in step 2. For example:
mcopy a:* /home/qla2x00
5. Uncompress and extract the two modules from the tar archive. For example:
tar -xvzf qla2x00.tgz
NOTE: The Tar utility extracts the following two files:
qla2x00.o uniprocessor version of the driver
qla2x00smp.o multiprocessor version of the driver
6. Copy the two modules into the subdirectory under
/lib/modules/kernel_release/, where kernel_release is the kernel version.
Type the following commands if you are using Red Hat Linux 6.0:
cp qla2x00.o /lib/modules/2.2.5-15/scsi
cp qla2x00smp.o /lib/modules/2.2.5-15/scsi
Type the following commands if you are using Red Hat Linux 6.1:
cp qla2x00.o /lib/modules/2.2.12-20/scsi
cp qla2x00smp.o /lib/modules/2.2.12-20/scsi
Installing and removing the QLogic driver module is quick and easy because the
driver is created as a Linux dynamically loadable module. The module is loaded
using the insmod (loadable kernel module installation facility) utility and removed
using the rmmod (remove module) utility.
To load the Red Hat Linux driver, type the following command after the Linux
shell prompt to load the Red Hat Linux driver:
insmod qla2x00