Installing the Linux Driver
27
A6826A PCI-X Host Bus Adapter for Linux 64-bit Systems Installation Guide
Building a Multiprocessor Version of the Driver
Perform the following steps to build an SMP 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. Change to the Linux source directory.
For Red Hat, enter:
# cd /usr/src/linux-2.4
For SUSE SLES, enter:
# cd /usr/src/linux
3. At the command prompt, enter the following:
# make menuconfig
a.
Choose Processor type and features, then press Enter. The Processor
Type and Features menu displays.
b.
Choose Symmetric Multiprocessor, then press Spacebar.
c.
Click Exit. The system prompts:
Do you wish to save your new kernel configuration?
d. Click Yes. The system saves a new config file in the current directory.
4. At the command prompt, enter the following:
# make dep
5. Locate the source files:
■
If you have installed the driver RPM, the driver source files reside in
/opt/hp/storage_drivers/…
■
If you have copied your drivers from other media, copy the
qla2x00src-vx.xx.tgz file to the
home/qla2x00
directory. For
example, if you have copied the driver source file on to a CD-ROM,
enter:
# cd /home
# mkdir qla2x00
# cd /home/qla2x00
# cp /mnt/cdrom/qla* .
(The period [.] at the end is required.)
# tar -xvzf qla*.tgz