5 – Red Hat Linux Driver Installation
Installing the Driver
5-8 IS0053301-00 D
Q
After building an SMP version of the driver, you must load the driver by one of the
following methods:
■ Manually (see section 5.3.2.3)
■ Through a RAMDISK image, which you must build (see section 5.3.2.4)
5.3.2.3
Loading the Driver Manually
Before loading the driver manually, you must build a UP or SMP version of the driver,
as described in sections 5.3.2.1 and 5.3.2.2.
To load the driver directly from the local build directory, type the following:
# insmod ./qla4000.o
To load the driver using modprobe, follow these steps:
1. Copy driver binary files. Type the following:
# cp qla4000.o /lib/modules/<kernel
version>/kernel/drivers/scsi/
or
# make install
2. Update the module dependency file. You can either enter the depmod -a
command 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/qla4000.o: \
/lib/modules/<kernel version>/kernel/drivers/scsi/scsi_mod.o
3. Type the following to load the driver:
# modprobe qla4000
5.3.2.4
Building a RAMDISK Image to Load the Driver Automatically
You can load the qla4000 driver at boot time using a RAMDISK image. For more
information, refer to the Red Hat installation guide.
Before building a RAMDISK image, you must build a UP or SMP version of the
driver, as described in sections 5.3.2.1 and 5.3.2.2.
Perform the following steps to load the qla4000 driver using a RAMDISK image:
1. Copy the files to /lib/modules/<kernel version>/kernel/drivers/scsi/ by typing:
# make install
2. Add the following line to /etc/modules.conf:
alias scsi_hostadapter0 qla4000