![Qlogic QLE2740L-DEL User Manual Download Page 28](http://html1.mh-extra.com/html/qlogic/qle2740l-del/qle2740l-del_user-manual_3264682028.webp)
2–Driver Installation and Configuration
Linux Driver Installation and Configuration
13
BK3254601-00 C
Building the Driver for SLES 11
Building the Driver for SLES 12
Building the Driver for RHEL 6.
x
and 7.
x
1.
From the directory that contains the source driver file,
qla2
xxx
-src-v
x
.
xx
.
xx
.
xx
.06.
x
-k.tar.gz
, issue the appropriate
commands for your Linux version.
RHEL 6.
x
#
tar -xzvf qla2
xxx
-src-v
x
.
xx
.
xx
.
xx
.06.x-k.tar.gz
#
cd qla2
xxx
-src-v
x
.
xx
.
xx
.
xx
.06.x-k
RHEL 7.
x
#
tar -xzvf qla2xxx-src-vx.xx.xx.xx.07.x-k.tar.gz
#
cd qla2xxx-src-vx.xx.xx.xx.07.x-k
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/<kernel
version>/extra/qlgc-qla2
xxx
directory.
Add the appropriate directive in the
modprobe.conf
(if applicable).
3.
(Optional) To manually load the driver, issue the
insmod
or
modprobe
command:
To directly load the driver from the local build directory, issue the
following
insmod
commands in order:
#
modprobe scsi_tgt.ko
(if not already loaded)
#
modprobe scsi_transport_fc.ko
#
insmod qla2
xxx
.ko
To load the driver using modprobe, issue the following command:
#
modprobe -v qla2
xxx
NOTE
You can optionally complete either or both
and
of this
procedure.