HP (Hewlett-Packard) A6826A MP3 Player Accessories User Manual


 
A6826A PCI-X host bus adapter for Itanium Linux systems installation guide 33
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/src/…
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
6. Build the qla2300 driver from the sources:
For Red Hat, enter:
# make SMP=1
For SUSE SLES, enter:
# make SMP=1 OSVER=linux