Installing an Emulex HBA driver

If your Linux on System p host contains an Emulex host bus adapter (HBA), you must download and install the appropriate Emulex driver for the adapter, unless the Linux distribution already contains the correct driver at a supported level.

  1. Download the appropriate Emulex driver and associated files using the following steps:
    1. Go to the supported hardware list on the following website and find the specific operating system and then the Emulex HBA that is installed on your host machine.

      http://support.lenovo.com/us/en/products/servers/lenovo-storage

      The specific versions of the Emulex driver and the associated firmware version are indicated on the hardware list.

    2. Ensure that your Emulex HBA is running the correct firmware version. If you must update the firmware to the version listed on the hardware list, click the link for the firmware version to download and install the correct version.
    3. Click the link in the HBA Driver column.
    4. Download the driver file for the driver to a local disk.
    5. Extract the downloaded file.
  2. Install the Emulex HBA driver using the instructions in the downloaded file.
  3. Ensure that the SCSI time-out value for the Emulex HBA on a Linux host is set to 60. The default SCSI time-out value is 30. To verify the current time-out setting, check the setting in the /sys/block/sd*/device/time-out directory on the Emulex Linux host. The value must be 60. If it is not 60, you can set the value by running the following script:
    for i in /sys/block/sd*/device;do
      if cat $i/model | grep 2145;then
          echo 60 > $i/timeout
      fi
    done
    
    Note: You must make this adjustment every time the HBA driver is loaded; otherwise, the settings are lost when the host is restarted. To save the settings, put the previous code into an executable script, for example, /sbin/scsi_timeout, and then add the following line to /etc/modprobe.conf:

    install lpfc /sbin/modprobe --ignore-install lpfc;/sbin/scsi_timeout

  4. Restart the host.