Installing the Linux Driver

Installing the Driver

This section provides instructions for installing the qla2300 driver into a Linux operating system.

To install the driver, you must be familiar with the operating system under which the HBA is to operate, and have access to standard system documentation.

To install the driver, you must perform the following:

Building a Driver from the Sources

Installing the Driver on the Boot Drive

Loading the Driver

Building a Driver from the Sources

If your Linux kernel version does not match the prebuilt driver binaries, you need to build the driver in your configuration locally. To build a single-processor version of the qla2300 driver, see section Building a Uniprocessor Version of the Driver in this chapter. To build a symmetric multiprocessor (SMP) version of the qla2300 driver, see section Building a Multiprocessor Version of the Driver in this chapter.

Building a Uniprocessor Version of the Driver

Perform the following steps to build a uniprocessor version of the qla2300 driver:

1.If not already installed, extract the kernel-header and kernel-source RPM files from your Linux CD-ROM distribution. For example:

#cd /mnt/cdrom/RedHat/RPMS

#rpm -iv kernel-headers*.rpm

#rpm -iv kernel-source*.rpm

2.Copy the qla2x00src-xx.xx.tgz file to the /home/qla2x00 directory.

#cd /home

#mkdir qla2x00

#cd /home/qla2x00

#mcopy a:*.tgz . (The period [.] at the end is required.)

#tar -xvzf qla*.tgz

3.Build the qla2300 driver from the sources.

#make ISP2300=1