![Qlogic QLE2740L-DEL Скачать руководство пользователя страница 30](http://html1.mh-extra.com/html/qlogic/qle2740l-del/qle2740l-del_user-manual_3264682030.webp)
2–Driver Installation and Configuration
Linux Driver Installation and Configuration
15
BK3254601-00 C
3.
(Optional) Manually load the driver for Linux.
Edit the
/etc/modprobe.d/unsupported_modules
file to make
the following change:
allow_unsupported_modules
1
(replace
0
with
1
)
To load the driver using
modprobe
, issue the following command:
#
modprobe -v qla2
xxx
To unload the driver using modprobe, issue the following command:
#
modprobe -r qla2
xxx
4.
(Optional) Automatically load the driver by rebuilding the RAM disk to
include the driver.
Create a copy of the current RAMDISK by issuing the following commands:
#
cd /boot
#
cp initrd-[kernel version].img initrd-[kernel
version].img.bak
#
mkinitrd
5.
To load the driver, reboot the host.
Building the Driver for SLES 12
1.
From the directory that contains the source driver file,
qla2
xxx
-src-vx.xx.xx.xx.12.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.
NOTE
Depending on the server hardware, the RAMDISK file name may be
different.