Installing the Linux Driver
26
A6826A PCI-X Host Bus Adapter for Linux 64-bit Systems Installation Guide
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 the section
Building a Uniprocessor Version of
on page 26. To build a symmetric multiprocessor (SMP) version of the
qla2300 driver, see the section
Building a Multiprocessor Version of the Driver
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. Locate the driver 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-xx.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
3. Build the qla2300 driver from the sources:
■
For RedHat, enter:
# make
■
For SUSE, enter:
# make OSVER=linux
Содержание A6826A
Страница 6: ...Contents 6 A6826A PCI X Host Bus Adapter for Linux 64 bit Systems Installation Guide ...
Страница 36: ...Installing the Linux Driver 36 A6826A PCI X Host Bus Adapter for Linux 64 bit Systems Installation Guide ...
Страница 52: ...Index 52 A6826A PCI X Host Bus Adapter for Linux 64 bit Systems Installation Guide ...