Users Guide
2–Driver Installation and Configuration
Linux Driver Installation and Configuration
14 BK3254601-00 J
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 12 SP4 and SLES 15/15 SP 1
1. From the directory that contains the source driver file,
qla2xxx-src-vx.xx.xx.xx.xx.x-k.tar.gz, issue the following
commands:
# tar -xzvf qla2xxx-src-vx.xx.xx.xx.xx.x-k.tar.gz
# cd qla2xxx-src-vx.xx.xx.xx.xx.x-k
Where x.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/
<kernel version>/updates directory.
Adds the appropriate directive in the modprobe.conf file (if
applicable).
NOTE
You can optionally complete either or both Step 3 and Step 4 of this
procedure.