To Manually Load the Fibre Channel Driver
Chapter 3 • Software Installation
33
To Manually Load the Fibre Channel Driver
After building the fibre channel driver, you can choose to manually load the driver. If you
want to automatically load the driver, skip to
“To Automatically Load the Fibre Channel
.
1.
Build the driver binary, as described in
“To Build the Fibre Channel Driver
2.
Manually load the driver by using the
modprobe -v
command.
#
modprobe -v qla2xxx
3.
If you want to manually unload the driver, use the
modprobe -r
command.
#
modprobe -r qla2xxx
#
modprobe -r qla2xxx_conf
(SANsurfer use only)
To Automatically Load the Fibre Channel Driver
After building the fibre channel driver, you can choose to automatically load the driver. If
you want to manually load the fibre channel driver, see
“To Manually Load the Fibre Channel
.
1.
Build the driver binary, as described in
“To Build the Fibre Channel Driver
2.
Install the driver module (
*.ko
) files to the appropriate kernel module directory.
#
./extras/build.sh install
3.
For Red Hat Linux users, edit the
/etc/modprobe.conf
file and add the following
entries, if they are not present:
■
alias scsi_hostadapter1 qla2xxx_conf
(for use only with SANsurfer)
■
alias scsi_hostadapter2 qla2xxx
4.
For SUSE Linux users, edit the
/etc/sysconfig/kernel
file and modify the
INITRD_MODULES
directive as shown in the following example.
In this example, note that you must add the first module,
qla2xxx_conf
(for SANsurfer),
followed by the
qla2xxx
module. The
qla2xxx_conf
module is for use only with SANsurfer
while the
qla2xxx
module is a common module.