￿

9 – Red Hat Linux Driver Installation

 

Building a Driver from the Sources

 

 

 

 

 

 

3.Build the qla2x00 driver from the sources. For Red Hat Linux 6.2 and 7.0, type:

# make

For Red Hat Linux 7.1 and 7.2, type:

#make OSVER=linux-2.4

4.Build the qla2300 driver from the sources. For Red Hat Linux 7.1 and 7.2, type:

#make ISP2300=1

9.5.2

Building a Multiprocessor Version of the Driver

Perform the following steps to build an SMP version of the qla2x00 driver:

1.If the QLogic SMP module is required to load with the Red Hat SMP kernel, it must be compiled with the same version number that was assigned to the original SMP kernel built by Red Hat. This step is not required for Red Hat Linux 7.0, 7.1, or 7.2.

For Red Hat Linux 6.2, in the /usr/src/linux/include/linux/version.h file, change the following line:

# define UTS_RELEASE "2.2.14-5.0"

to

#define UTS_RELEASE "2.2.14-5.0smp"

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

3.Change to the Linux source directory. For Red Hat 6.2 and 7.0, type:

#cd /usr/src/linux

For Red Hat 7.1 and 7.2, type:

#cd /usr/src/linux-2.4

4.Type the following command to access the Main Menu.

#make menuconfig

FC2354601-00 A

9-13

Page 103
Image 103
Q-Logic 2300 manual Building a Multiprocessor Version of the Driver, For Red Hat Linux 7.1 and 7.2, type