Installation guide

Building a Driver from the Sources 8 Red Hat Linux Driver Installation
8-10 FC0153302-00 F
To load the qla2x00 driver, do one of the following.
Type the following command:
# modprobe qla2x00
Under the directory that contains the qla2x.00.o file, type:
# insmod qla2x00.o
8.5
Building a Driver from the Sources
If your Linux kernel does not match the QLogic prebuilt driver binaries, you need to
build the driver in your configuration locally. To build a single-processor or
uniprocessor (UP) version of the qla2x00 driver, see section 8.5.1. To build a
symmetric multiprocessor (SMP) version of the driver, see section 8.5.2.
8.5.1
Building a Uniprocessor Version of the Driver
Perform the following steps to build a uniprocessor version of the qla2x00 driver.
1. 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
2. Using the floppy disk you created in section 8.2.3, copy the
qla2x00src-vx.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 driver from the sources.
For Red Hat Linux 6.2 and 7.0, type:
# make
For Red Hat Linux 7.1, type:
# make OSVER=linux-2.4