Operating System - Linux
1821194 Members
3256 Online
109631 Solutions
New Discussion юеВ

Emulex LP982 adapter can't be initialized

 
daisyqi
New Member

Emulex LP982 adapter can't be initialized

1. Hardware: rx2600, OS: RHEL3 update3
2. I download the Emulex driver from this web site:http://www.emulex.com/ts/docfc/linuxframe.htm,
Driver for Linux IA-64 Version 2.01g for Red Hat Enterprise Linux 3, with HBAnyware version 2.0a13 and lputil version 1.6a6, in an .rpm file (5.4 MB)
3. install lpfcdriver-2.01g-1.ia64.rpm
install HBAnyware-2.01g-1.ia64.rpm
4. cd /usr/src/linux/drivers/scsi/lpfc
make
make install
5. Run test with command:'insmod lpfcdd', I got an error msg: Using /lib/modules/2.4.21-20.EL/kernel/drivers/scsi/lpfcdd.o
/lib/modules/2.4.21-20.EL/kernel/drivers/scsi/lpfcdd.o: init_module:No such device
Hint: insmod errors can be caused by incorrect module parameters,including invalid IO or IRQ parameters.
You may find more info in syslog or dmesg
6. I checked dmesg:
Emulex LightPause FC SCSI/IP:2.01g 0sgt:1.08
PCI: Enabling device 40:01.0 (0156->0157)
lpfc0:0442:INe:Adapter failed to init, mbxCmd x88 CONFIG_PORT, mbxStatus x12 Data:x0
7. I find the error msg from the manual:
elx_mes0442: Adapter failed to init, mbxCmd CONFIG_PORT, mbxStatus DESCRIPTION: Adapter initialization failed when issuing a CONFIG_PORT mailbox command.DATA: (1) hbainitSEVERITY: ErrorLOG: AlwaysACTION: This error could indicate a hardware or firmware problem. If the problem persists, report the error to Technical Support.
Emulex Documentation, Drivers and Software
277
8. I'm not sure if i should find a patch or update the adapter firmware, which version i should apply
Is there someone can provide some info?

2 REPLIES 2
Ivajlo Yanakiev
Respected Contributor

Re: Emulex LP982 adapter can't be initialized

first you must load insmod lpfc
and after that insmod lpfcdd
chack what you have in /proc/scsi
you must have info about CTL and luns

try cat /proc/scsi/scsi

also be sure that you use right driver
I got this messages when I try to load wrong driver.

xyko_1
Esteemed Contributor

Re: Emulex LP982 adapter can't be initialized

Hi Daisy,

why don't you have used the installation process described in the installation manual ?

---------------------------------------------

Installing the Driver Kit

The lpfc-install script installs both the lpfc driver and the lpfcdfc driver RPMs. These RPMs install their driver sources to the /usr/src/lpfc directory, build their drivers for the currently running kernel, and then install the drivers to the proper directory for the currently running kernel.

Once the RPMs are installed, the lpfc-install script creates a new ramdisk for the currently running kernel so that the 'lpfc' driver is loaded when the kernel is initialized during system startup. The 'elxlpfc' init script is also installed and configured to start and stop the 'lpfcdfc' driver during system startup and shutdown.
Note Emulex strongly recommends uninstalling any previous driver kits before installing this driver kit. The 'lpfc-install' script for version 7.1 uninstalls previous 7.x driver kits and installs the current driver kit.

If you have a previous version of the 7.x driver installed, removal instructions are contained in this installation procedure, or you may refer to the "Removing a Previous 7.x Driver" section in this manual before attemping to install version 7.1.

If you have a version of the 2.x or 1.x driver installed, refer to the "Removing a 2.x or 1.x Driver" section in this manual before attempting to install version 7.1.

Note The HBAnyware├в ┬в and LightPulse├в ┬в (lputil) utilities are bundled together and must be installed separately from the driver. Refer to the "Installing the Utilities" section of this manual for more information.

To install the Emulex driver kit for Linux:

1. Install a supported Emulex host bus adapter in the system. Refer to the adapter's Installation manual for specific hardware installation instructions.
2. Download the driver from the Emulex web site or copy it to the system from the installation CD.
3. Log on as 'root' to a terminal, and unpack the tarball with the following command:
tar xzf lpfc-.tar.gz

4. Change to the directory that is extracted:
cd lpfc-/

Note Emulex strongly recommends uninstalling any previous driver kits before installing this driver kit. The 'lpfc-install' script uninstalls previous 7.x driver kits and installs the current driver kit. To uninstall any previous driver kits, execute the 'lpfc-install' script with the '--uninstall' option. Type:

./lpfc-install --uninstall

5. Execute the 'lpfc-install' script with no options to install the new driver kit. Type:
./lpfc-install

Note You can also use an alternate 7.x version lpfc.conf configuration file if you wish. For example, you may want to use a version 7.x lpfc.conf file that you customized.

To use an alternate lpfc.conf type:

./lpfc-install -c


Once the 'lpfc-install' script has completed successfully, the Emulex lpfc and lpfcdfc drivers are loaded, and Fibre Channel disks that are properly connected to the system are accessible. Reboot the system now to enable the newly added driver options in the ramdisk. You can also reboot the system later if you wish.

------------------------------------------
The complete manual URL is
http://www.emulex.com/ts/docfc/linux/71/indexinstall.htm

regards