Dell QLogic Family of Adapters QLogic QME8242 Mezzanine Card User's Guide - Page 32
Building the iSCSI Adapter Driver for RHEL 6.0 and SLES 11 SP1
View all Dell QLogic Family of Adapters manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 32 highlights
Linux Driver Installation and Configuration: QLogic QME8242 Mezzanine Card User's Guide # modprobe -r qla4xxx Rebuilding the RAM Disk with the New Driver 1. Edit the /etc/sysconfig/kernel file and add the qla4xxx parameter to the existing INITRD_MODULES line. For example: INITRD_MODULES qla4xxx" NOTE: For SLES 11, edit the /etc/modprobe.d/unsupported_modules file to make the following change: allow_unsupported_modules 1 (replace 0 by 1) 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 4. Reboot the host to boot from the new initrd image with the new driver. NOTE: Depending on the server hardware, the RAMDISK file name may be different. Building the iSCSI Adapter Driver for RHEL 6.0 and SLES 11 SP1 Building and Installing the Adapter Driver 1. In the directory that contains the source driver file, qla4xxx-src-vx.xx.xx.xx.xx.xx-k.tar.gz, issue the following commands: # tar -xzvf qla4xxx-vx.xx.xx.xx.xx.xx-cx.tar.gz # cd qla4xxx-vx.xx.xx.xx.xx.xx-cx 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 directory: /lib/modules/2.6.../updates Adds the appropriate directive in the modprobe.conf (if applicable) Manually Loading the Adapter Driver 1. To load the driver, use one of the following methods: To load the driver directly from the local build directories, issue the following commands: # insmod /lib/modules/2.6.../kernel/drivers/scsi/scsi_transport_iscsi.ko # insmod /lib/modules/2.6.../updates/qla4xxx.ko To load the driver using modprobe, issue the following command: # modprobe -v qla4xxx 2. To load the qisioctl module, issue the following command: # modprobe -v qisioctl 3. Start the iqlremote daemon by issuing the following command: # service iqlremote start file:///T|/htdocs/NETWORK/QLogic/71922/en/lin_di.htm[9/26/2012 4:25:33 PM]