Installing the Linux Driver

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 .config in the current directory.

4.At the command prompt, enter the following:

#make dep

5.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

6.Build the qla2300 driver from the sources.

#make SMP=1 ISP2300=1