The OneCommand Utility User Manual
Page 214
lpfc-install script exit code.
The lpfc-install script contains exit codes that can be useful in
diagnosing installation problems. See the lpfc-install script for a
complete listing of codes and definitions.
The OneCommand Manager application
software package will not install. An error
message states that:
“inserv Service Elxlpfc has to be enabled for
service ElxDiscSrvinserv: exiting
now/sbin/ inserv failed exit code 1.”
Reinstall the driver with the lpfc-install script.
The Emulex driver for Linux does not load in
ramdisk for a custom built kernel.
Custom built kernels are not supported by Emulex. However,
the Emulex install script will attempt to install the driver into a
ramdisk that follows the naming scheme used by Red Hat or
SLES kernels.
• The Red Hat naming scheme for IA64 ramdisk images is:
/boot/efi/efi/redhat/initrd-KERNELVERSION.img.
• The Red Hat naming scheme for ramdisk images on all other
architectures is: /boot/initrd-KERNELVERSION.img.
• SLES names follow a similar scheme for IA64.
If a custom built kernel has a ramdisk image that does not follow
the appropriate naming scheme, the name of the image can be
changed using the following procedure:
1. Change the name of the ramdisk image to match either the
Red Hat or SLES naming scheme, depending on the distribution
being used.
2. Update any file links to the OneCommand Manager
application ramdisk image.
3. Edit the boot loader configuration file:
(i.e., /etc/lilo.conf, /etc/yaboot.conf, /boot/grub/grub.conf,
/boot/grub/menu.lst), find any references to the old ramdisk
image name, and replace them with the new name.
4. Reboot the system to verify the changes.
5. Install the Emulex LPFC Linux driver kit.
The Linux SCSI subsystem only sees 8
LUNs when more are present.
Some SCSI drivers will not scan past 8 LUNs when the target
reports as a SCSI-2 device. Force a SCSI bus scan with
/usr/sbin/lpfc/lun_scan. SuSE supplies /bin/rescan-scsi-bus.sh
which can be changed to scan everything.
Cannot see any adapters.
Try the following solutions:
1. Perform an 'lsmod' to see if the Emulex drivers are loaded.
Look for an error message on the command line stating the
LPFC driver is not loaded. If this is the case, do an insmod of
the LPFC driver and re-launch the OneCommand Manager
application.
2. Exit the OneCommand Manager application and run
../stop_ocmanager. Then run ./ocmanager and
./start_elxdiscovery, and re-launch the OneCommand
Manager application. The adapters should be visible. If they
are not visible, reboot your system.
Table 6: Emulex Driver for Linux and OneCommand Manager Application Situations (Continued)
Situation
Resolution