Emulex OneCommand Manager Application User Manual (P006979-01A Version 5.2, August 2011)

The OneCommand Manager User Manual Page 260
rmmod fails to unload LPFC driver module
due to ERROR: Module LPFC is in use.
This message can appear when you attempt
to remove the driver and there is a Logical
Volume Group dependent on the driver.
Make the Logical Volume Group unavailable.
Type: lvchange -a n xxxxxxx
where xxxxxx is the Volume Group Name.
Slow targets or extended link faults on the
storage side may result in storage being
marked off-line by the mid-layer and
remaining off-line (not recovered) when the
link faults are corrected.
The 8.2 version of the driver should eliminate this problem.
However, if you experience off-line device issues, increase the
SCSI command timeout to a value greater than or equal to sixty
seconds. Emulex also provides a script which addresses this
issue (for 2.6 kernels). To access the lun_change_state.sh
script, click
http://www.emulex.com/files/downloads/linux/tools.html, then
click the link to the appropriate driver, and click the Linux tools
link.
Under certain conditions of an I/O load,
some targets cannot retire an I/O issued by a
Linux initiator within the default timeout of 30
seconds given by the SCSI midlayer. If the
situation is not corrected, the initiator-to-
target condition deteriorates into abort/
recovery storms leading to I/O failures in the
block layer. These types of failures are
preceded by a SCSI IO error of hex
6000000.
Emulex provides a script which addresses this issue. To access
the set_target_timeout.sh script, click
http://www.emulex.com/files/downloads/linux/tools.html, then
click the link to the appropriate driver, and click the Linux tools
link.
LPFC driver fails to recognize an adapter
and logs “unknown IOCB” messages in the
system log during driver load. The adapter is
running outdated firmware.
Upgrade adapter firmware to minimum supported revision listed
in installation guide (or newer).
rmmod of LPFC driver hangs and module
reference count is 0.
Due to a small race condition in the kernel it is possible for an
rmmod command to hang. Issue the rmmod -w command. If
this does not help, reboot the computer.
System panics when booted with a failed
adapter installed.
Remove the failed adapter and reboot.
rmmod fails to unload driver due to device or
resource busy. This message occurs when
you attempt to remove the driver without first
stopping the OneCommand Manager
application, when the OneCommand
Manager application is installed and running
or when FC disks connected to a LightPulse
adapter are mounted.
Stop the OneCommand Manager application before attempting
to unload the driver. The script is located in the
/usr/sbin/ocmanager directory.
Type: ./stop_ocmanager
Unmount any disks connected to the adapter. Unload the driver.
Type: rmmod lpfc
Driver install fails. The lpfc-install script
fails to install the driver.
The install script may fail for the following reasons:
• A previous version of the driver is installed. Run the
/usr/src/lpfc/lpfc-install --uninstall script and then try to install
the driver.
• The current driver is already installed.
• The kernel source does not match the standard kernel name
or you are running a custom kernel.
Table 7: Emulex Driver for Linux and OneCommand Manager Application Situations (Continued)
Situation Resolution