Installing and updating an Emulex driver on an Intel™ or AMD host running Linux

This section describes how to install and update an Emulex fibre-channel adapter driver on an Intel host running the Linux operating system.

Perform the following steps to install an Emulex adapter driver:
  1. Install the adapter driver. For specific adapter driver installation instructions, see the installation instructions provided by your host adapter vendor
    Notes:
    1. The Interoperability Matrix (at http://www.ibm.com/servers/storage/disk/ds6000/) provides supported driver levels for your Emulex adapter.
    2. If the supported level differs from the preinstalled version of the driver, go to Downloading and installing a host adapter driver or http://www.emulex.com.
    3. Most Linux distributions now provide Emulex adapter driver support as part of the kernel package.
  2. Verify that the Emulex adapter driver module is loaded using the host system command lsmod. Look for the module name beginning with lpfc.
  3. Determine the kernel version that you are running. You can obtain this version by running the host system command uname -r. The version can be either 2.4x or 2.6x.
    Notes:
    1. For 2.4 kernels, you can find the driver version in the top line of the /proc/scsi/lpfc/n, where n is the host adapter port that is represented as a SCSI host bus in Linux. For example, Emulex LightPulse FC SCSI 7.1.1.14.
    2. For 2.6 kernels, because of the migration to sysfx, the driver version might not be available in the /proc/scsi/lpfc/n directory. If this is the case, go to the /proc/scsi/lpfc directory and record the values. Type cat /sys/class/scsi_host/host n /lpfc_drvr_version, where n is each of the values recorded from the /proc/scsi/lpfc directory.

To determine which firmware version is currently installed on your host system, perform the following steps:

Note: The Interoperability Matrix at http://www.ibm.com/servers/storage/disk/ds6000/ provides the supported driver levels for your Emulex adapter. If the supported firmware level is not correct, contact IBM hardware support to assist you in upgrading the Emulex adapter firmware.
  1. Verify that the Emulex adapter driver module is loading using the host system command lsmod. Look for the module name beginning with lpfc.
  2. Determine the kernel version that you are running. Obtain the version by running the host system command uname -r. The version can be either 2.4x or 2.6x.
    Notes:
    1. For 2.4 kernels, you can find the firmware version by typing cat /proc/scsi/lpfc/n, where n is the host adapter port that is represented as a SCSI host bus in Linux. For example, Firmware Version: 1.81 (H2D1.81X1)
    2. For 2.6 kernels, because of the migration to sysfx, the driver version might not be available in /proc/scsi/lpfc/n. If this is the case, record the values that are represented in the /proc/scsi/lpfc directory. Then type cat /sys/class/scsi_host/hostn/fwrev, where n is each of the values recorded from the /proc/scsi/lpfc directory.
  3. Perform one of the following steps to bring the new driver online:
    • Reboot the server. This is the most efficient option.
    • Remove and add the module using the modprobe Linux command.
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.