9 – Red Hat Linux Driver Installation | |
Building a Driver from the Sources |
To load the qla2300 driver, do one of the following:
■For Red Hat Linux 6.2 and 7.0, copy qla2300.o to /lib/modules/<kernel release version>/scsi directory. For Red Hat Linux 7.1 and 7.2, copy qla2300.o to /lib/modules/<kernel release version>/drivers/scsi directory.
■Update the dependency file.
You can either run “depmod” or make sure that the following line is in the /lib/modules/<kernel release version>/modules.dep file:
/lib/modules/<kernel version>/kernel/drivers/scsi/qla2300.o: /lib/modules/<kernel version>/kernel/drivers/scsi/scsi_mod.o
■Type the following command:
#modprobe qla2300
■Under the directory that contains the qla2300.o file, type:
#insmod qla2300.o
Type the following to unload the qla2x00 driver manually:
# modprobe
9.5
Building a Driver from the Sources
If your Linux kernel version does not match the one built by QLogic prebuilt driver binaries, you need to build the driver in your configuration locally. To build a
9.5.1
Building a Uniprocessor Version of the Driver
Perform the following steps to build a uniprocessor version of the qla2x00 driver:
1.Extract the
#cd /mnt/cdrom/RedHat/RPMS
#rpm
#rpm
2.Using the source code driver floppy disk you created in section 9.2.3, copy the
#cd /home
#mkdir qla2x00
#cd /home/qla2x00
#mcopy a:*.tgz . (The period [.] at the end is required.)
#tar
|