2–Driver Installation and Configuration
Linux Driver Installation and Configuration
2-16
CU0354602-00 A
2.
To create a backup copy of the RAM disk image, issue the following
commands:
# cd /boot
# cp initrd-[kernel version].img initrd-[kernel
version].img.bak
3.
Rebuild the initrd image by issuing the following commands:
# mkinitrd -f initrd-[kernel version].img `uname -r`
4.
Reboot to boot from the new initrd image and new driver.
Building the iSCSI Adapter Driver for SLES 10 SP3 and SLES 11
Building and Installing the Adapter Driver
1.
Go to the directory that contains the source driver file,
qla4xxx-vx.xx.xx.xx.xx.xx-dx.tar.gz
.
2.
Enter the following commands:
# tar -xzvf qla4xxx-vx.xx.xx.xx.xx.xx-dx.tar.gz
# cd qla4xxx-x.xx.xx.xx.xx.x-dx
3.
Build and install the driver modules from the source code by executing the
build.sh
script as follows:
# ./extras/build.sh install
4.
The
build.sh
script does the following:
Builds the driver
.ko
files
Copies the
.ko
files to the appropriate directory:
/lib/modules/2.6.../updates
Adds the appropriate directive in the
modprobe.conf
file (if
applicable)
NOTE:
Depending on the server hardware, the RAMDISK file name may be
different.