Dell QLogic Family of Adapters QLogic QME8242 Mezzanine Card User's Guide - Page 33
Installing the Linux FCoE Driver, Building the Driver for RHEL 5.x Linux
View all Dell QLogic Family of Adapters manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 33 highlights
Linux Driver Installation and Configuration: QLogic QME8242 Mezzanine Card User's Guide Unloading the Adapter Driver To replace an existing inbox driver with a new out-of-box iSCSI driver, unload the existing driver and load the new driver, qisioctl module and iqlremote daemon. To unload the driver, stop all applications using the driver, and then unload the driver. 1. Stop the iqlremote daemon by issuing the following commands: # service iqlremote stop 2. Unload the qisioctl module, using the modprobe command as follows: # modprobe -r qisioctl 3. To unload the driver using modprobe, issue the following command: # modprobe -r qla4xxx Rebuilding the RAM Disk To automatically load the driver by rebuilding the RAM disk to include the driver, follow these steps: 1. To create a backup copy of the RAM disk image, issue the following command: # cd /boot # cp initramfs-[kernel version].img initramfs-[kernel version].img.bak 2. Rebuild the initrd image with driver by issuing the following command: # mkinitrd -f initramfs-[kernel version].img `uname -r` 3. Reboot the host to boot from the new initrd image with new driver. NOTE: Depending on the server hardware, the RAMDISK file name may be different. Installing the Linux FCoE Driver This section provides procedures for installing the Linux FCoE driver for the following operating systems: Building the Driver for RHEL 5.x Linux Building the Driver for RHEL 6.0 Linux Building the Driver for SLES 10 SP3 Linux Building the Driver for SLES 11 and SLES11 SP1 Linux Building the Driver for RHEL 5.x Linux 1. In the directory that contains the source driver file, qla2xxx-src-x.xx.xx.xx.xx.xx-k.gz, issue the following commands: # tar -xzvf qla2xxx-src-x.xx.xx.xx.xx.xx-k.tar.gz # cd qla2xxx-src-x.xx.xx.xx.xx.xx-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/2.6.../extra/qlgc-qla2xxx directory. 3. Manually load the driver for Linux by issuing the following command: # modprobe -v qla2xxx To unload the driver, issue the following command: # modprobe -r qla2xxx 4. Automatically load the driver by rebuilding the RAM disk to include the driver as follows: file:///T|/htdocs/NETWORK/QLogic/71922/en/lin_di.htm[9/26/2012 4:25:33 PM]