9 – Red Hat Linux Driver Installation

￿

Building a Driver from the Sources

a.From the Main Menu, select Processor type and features and press

ENTER.

b.From the Processor Type and Features Menu, select Symmetric multiprocessor and press the SPACEBAR.

c.To exit the Main Menu, select Exit.

The system prompts Do you wish to save your new kernel configuration? Select Yes. The system saves a new config file .config in the current directory.

5.Type the following:

#make dep

6.Using the floppy disk you created in section 9.2.3, 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

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

#make SMP=1

For Red Hat Linux 7.1 and 7.2, type:

#make SMP=1 OSVER=linux-2.4

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

#make SMP=1 ISP2300=1

9-14

FC2354601-00 A

Page 104
Image 104
Q-Logic 2300 manual # make dep