Q-Logic FC2354601-00 A Marine RADAR User Manual


 
9 Red Hat Linux Driver Installation
Install or Update the Driver (Installed Operating
System)
9-10 FC2354601-00 A
5. Type the following command to load the new lilo file:
# lilo
6. Restart the system. The qla2x00 driver loads automatically.
9.4.2.3
Loading and Unloading the qla2x00 Driver Manually
Before loading the driver manually, first build the driver from the driver source files
on the source code driver floppy disk (see section 9.5).After you manually load the
qla2x00 driver, you can access the devices and unload the driver manually without
restarting the system. The driver is also unloaded each time the system is restarted.
To load the qla2x00 driver, do one of the following:
Copy the qla2x00.9o file:
For Red Hat Linux 6.2 and 7.0:
/lib/modules/<kernel release version>/scsi directory
For Red Hat Linux 7.1 and 7.2:
/lib/modules/<kernel release version>/drivers/scsi directory
Type the following command to load the driver:
# modprobe qla2x00
Under the directory that contains the qla2x.00.o file, type:
# insmod qla2x00.o
Type the following command to unload the driver:
# modprobe r qla2x00
9.4.2.4
Building a Ramdisk Image to Load the qla2300 Driver
You can load the qla2300 driver at boot time using a ramdisk image.
1. For Red Hat Linux 6.2, add the following line to the file /etc/conf.modules.
For Red Hat Linux 7.0, 7.1, and 7.2, add the following line to the file
/etc/modules.conf. For example:
alias scsi_hostadapter qla2300
NOTE: If there are other SCSI HBAs installed on your system and the
scsi_hostadapter alias is used, define a different alias (for example,
scsi_hostadaptern (where n is a number in the range 19)).
2. Build a new ramdisk image that contains the qla2300.o object file. First,
copy the object file to /lib/modules/<kernel release version>/scsi (Red Hat