![Qlogic QLE2740L-DEL User Manual Download Page 29](http://html1.mh-extra.com/html/qlogic/qle2740l-del/qle2740l-del_user-manual_3264682029.webp)
2–Driver Installation and Configuration
Linux Driver Installation and Configuration
14
BK3254601-00 C
To unload the driver using modprobe, issue the following command:
#
modprobe -r qla2
xxx
4.
(Optional) To automatically load the driver each time the system boots,
rebuild the RAM disk to include the driver as follows:
a.
Create a backup copy of the RAMDISK image by issuing the following
commands:
#
cd /boot
#
cp initramfs-[kernel version].img initramfs-[kernel
version].img.bak
b.
Create the new RAMDISK by issuing the following command:
#
dracut -f
c.
To load the driver, reboot the host.
Building the Driver for SLES 11
1.
From the directory that contains the source driver file,
qla2
xxx
-src-vx.xx.xx.xx.11.x-k.tgz
, issue the following
commands:
#
tar -xzvf qla2
xxx
-src-v
x.xx.xx.xx.
11
.x
-k.tgz
#
cd qla2
xxx
-
x.xx.xx.xx.xx.xx
-k4
Where
x.xx.xx.xx.xx.xx
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/3.x.../updates
directory.
Adds the appropriate directive in the
modprobe.conf
file (if
applicable).
NOTE
You can optionally complete either or both
and
of this
procedure.