Users Guide
2–Driver Installation and Configuration
Linux Driver Installation and Configuration
23 CU0354602-00 M
c. To load the driver, reboot the host.
Building the Driver for SLES 11 SP4 Linux
1. Issue the following commands from the directory that contains the source
driver file, qla2xxx-src-vx.xx.xx.xx.xx.x-k4.tar.gz:
# tar -xzvf qla2xxx-src-vx.xx.xx.xx.xx.x-k4.tar.gz
# cd qla2xxx-x.xx.xx.xx.xx.x-k4
where x.xx.xx.xx.xx.x is the applicable version number.
2. Build and install the driver modules from the source code by executing the
build.sh script as follows:
# ./extras/build.sh install
The build.sh script does the following:
Builds the driver .ko files.
Copies the .ko files to the appropriate
/lib/modules/2.6.../updates directory.
Adds the appropriate directive in the modprobe.conf file (if
applicable).
3. Manually load the driver for Linux.
To load the driver using modprobe, issue the following command:
# modprobe -v qla2xxx
To unload the driver using modprobe, issue the following command:
# modprobe -r qla2xxx
4. To automatically load the driver each time the system boots, rebuild the
RAM disk to include the driver as follows:
a. Edit the /etc/sysconfig/kernel file to modify the
INITRD_MODULES directive and append qla2xxx to the string. For
example:
INITRD_MODULES=".... qla2xxx"
where qla2xxx is appended to the end of the directive.
b. Create a backup copy of the RAMDISK image by issuing the following
commands:
# cd /boot
# cp initrd-[kernel version] initrd-[kernel version].bak
# mkinitrd