Dell QLogic Family of Adapters User Manual page 34

Qlogic qme8242 mezzanine card user's guide
Table of Contents

Advertisement

Linux Driver Installation and Configuration: QLogic QME8242 Mezzanine Card User's Guide
a. Edit the /etc/modprobe.conf file and add the following entry (if they are not present):
alias scsi_hostadapterX qla2xxx
where, X is based on the order of the SCSI modules being loaded.
b. Create a backup copy of the RAMDISK image by issuing the following commands:
# cd /boot
# cp initrd-[kernel version].img initrd-[kernel version].img.bak
# mkinitrd -f initrd-[kernel version].img `uname -r`
NOTE: Depending on the server hardware, the RAMDISK file name may be different.
c. To load the driver, reboot the host.
Building the Driver for RHEL 6.0 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:
a. Edit the /etc/modprobe.conf file and add the following entry (if they are not present):
alias scsi_hostadapterX qla2xxx
where, X is based on the order of the SCSI modules being loaded.
b. 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
# mkinitrd -f /boot/initramfs-[kernel version].img `uname -r`
NOTE: Depending on the server hardware, the RAMDISK file name may be different.
c. To load the driver, reboot the host.
Building the Driver for SLES 10 SP3 Linux
1. In the directory that contains the source driver file, qla2xxx-src-vx.xx.xx.xx.xx.x-k4.tar.gz, issue the following
commands:
# tar -xzvf qla2xxx-src-vx.xx.xx.xx.xx.x-k4.tar.gz
# cd qla2xxx-x.xx.xx.xx.xx.x-k4
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:
file:///T|/htdocs/NETWORK/QLogic/71922/en/lin_di.htm[9/26/2012 4:25:33 PM]

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qme8242 mezzanine

Table of Contents