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:
- Install the adapter driver. For specific adapter driver installation
instructions, see the installation instructions provided by your host adapter
vendor
- Verify that the Emulex adapter driver module is loaded using
the host system command lsmod. Look for the module
name beginning with lpfc.
- 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: - 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.
- 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.
- Verify that the Emulex adapter driver module is loading using the host
system command lsmod. Look for the module name beginning
with lpfc.
- 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: - 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)
- 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.
- 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.