Re: Emulex LP9002L-E HBA driver not working right
- From: pedro <levinep@xxxxxxxxxxx>
- Date: Fri, 25 Jan 2008 15:16:19 -0800 (PST)
On Jan 25, 1:19 am, mar...@xxxxxxxxxxxxxx wrote:
Hello All,
I'm trying to get some Emulex LP9002L-E HBAs working on some V440s
running Solaris 10u4. I've got everything patched up, and I'm using
the latest drivers from the Emulex site. I installed the driver
package first:
1 lpfc.1 Emulex LightPulse FC SCSI/IP Host Bus Adapter
driver
(sparc) Release 6.20j
reboot, then install the apps package:
1 HBAnyware Emulex HBAnyware FC Host Bus Adapter Remote
Manager
(sun4u) 3.3a22
At reboot, I get:
Jan 25 07:54:20 s_local@db1 rootnex: [ID 349649 kern.info] pcisch0 at
root: SAFARI 0x1c 0x600000
Jan 25 07:54:20 s_local@db1 genunix: [ID 936769 kern.info] pcisch0 is /
pci@1c,600000
Jan 25 07:54:20 s_local@db1 emlxs: [ID 349649 kern.info] [ B.
11DA]emlxs0: NOTICE: 100: Driver attach. (Emulex-S s10-64 sparc v2.20k
(2007.06.04.09.35))
Jan 25 07:54:20 s_local@db1 emlxs: [ID 349649 kern.info] [ B.
11DB]emlxs0: NOTICE: 100: Driver attach. (LP9002L Dev_id:f900
Sub_id:f900 Id:7)
Jan 25 07:54:20 s_local@db1 emlxs: [ID 349649 kern.info] [ B.
11E5]emlxs0: NOTICE: 100: Driver attach. (Firmware:3.90a7 Boot:3.20
Fcode:1.40a0)
Jan 25 07:54:20 s_local@db1 emlxs: [ID 349649 kern.info] [ B.
121E]emlxs0: NOTICE: 100: Driver attach. (SLI:2 MSI:0)
Jan 25 07:54:20 s_local@db1 emlxs: [ID 349649 kern.info] [ B.
1228]emlxs0: NOTICE: 100: Driver attach. (WWPN:10000000C9547903 WWNN:
20000000C9547903)
Jan 25 07:54:20 s_local@db1 emlxs: [ID 349649 kern.info] [ B.
1241]emlxs0: NOTICE: 100: Driver attach. (FW Library: LP10000-S:
v1.91x15)
Jan 25 07:54:20 s_local@db1 emlxs: [ID 349649 kern.info] [ B.
1241]emlxs0: NOTICE: 100: Driver attach. (FW Library: LP11000-S:
v2.70x1)
Jan 25 07:54:20 s_local@db1 emlxs: [ID 349649 kern.info] [ B.
1241]emlxs0: NOTICE: 100: Driver attach. (FW Library: LP11002-S:
v2.70x1)
Jan 25 07:54:20 s_local@db1 emlxs: [ID 349649 kern.info] [ B.
1241]emlxs0: NOTICE: 100: Driver attach. (FW Library: LPe11000-S:
v2.70x4)
Jan 25 07:54:20 s_local@db1 emlxs: [ID 349649 kern.info] [ B.
1241]emlxs0: NOTICE: 100: Driver attach. (FW Library: LPe11002-S:
v2.70x4)
Jan 25 07:54:20 s_local@db1 emlxs: [ID 349649 kern.info] [ B.
1241]emlxs0: NOTICE: 100: Driver attach. (FW Library: LPe11020-S:
v2.50a6)
Jan 25 07:54:20 s_local@db1 pcisch: [ID 370704 kern.info] PCI-device:
lpfc@1, emlxs0
Jan 25 07:54:20 s_local@db1 genunix: [ID 936769 kern.info] emlxs0 is /
pci@1c,600000/lpfc@1
Jan 25 07:54:20 s_local@db1 rootnex: [ID 349649 kern.info] pcisch1 at
root: SAFARI 0x1d 0x700000
Jan 25 07:54:20 s_local@db1 genunix: [ID 936769 kern.info] pcisch1 is /
pci@1d,700000
Jan 25 07:54:20 s_local@db1 emlxs: [ID 349649 kern.info] [ B.
11DA]emlxs1: NOTICE: 100: Driver attach. (Emulex-S s10-64 sparc v2.20k
(2007.06.04.09.35))
Jan 25 07:54:20 s_local@db1 emlxs: [ID 349649 kern.info] [ B.
11DB]emlxs1: NOTICE: 100: Driver attach. (LP9002L Dev_id:f900
Sub_id:f900 Id:7)
Jan 25 07:54:20 s_local@db1 emlxs: [ID 349649 kern.info] [ B.
11E5]emlxs1: NOTICE: 100: Driver attach. (Firmware:3.90a7 Boot:3.20
Fcode:1.40a0)
Jan 25 07:54:20 s_local@db1 emlxs: [ID 349649 kern.info] [ B.
121E]emlxs1: NOTICE: 100: Driver attach. (SLI:2 MSI:0)
Jan 25 07:54:20 s_local@db1 emlxs: [ID 349649 kern.info] [ B.
1228]emlxs1: NOTICE: 100: Driver attach. (WWPN:10000000C9547B34 WWNN:
20000000C9547B34)
Jan 25 07:54:20 s_local@db1 emlxs: [ID 349649 kern.info] [ B.
1241]emlxs1: NOTICE: 100: Driver attach. (FW Library: LP10000-S:
v1.91x15)
Jan 25 07:54:20 s_local@db1 emlxs: [ID 349649 kern.info] [ B.
1241]emlxs1: NOTICE: 100: Driver attach. (FW Library: LP11000-S:
v2.70x1)
Jan 25 07:54:20 s_local@db1 emlxs: [ID 349649 kern.info] [ B.
1241]emlxs1: NOTICE: 100: Driver attach. (FW Library: LP11002-S:
v2.70x1)
Jan 25 07:54:20 s_local@db1 emlxs: [ID 349649 kern.info] [ B.
1241]emlxs1: NOTICE: 100: Driver attach. (FW Library: LPe11000-S:
v2.70x4)
Jan 25 07:54:20 s_local@db1 emlxs: [ID 349649 kern.info] [ B.
1241]emlxs1: NOTICE: 100: Driver attach. (FW Library: LPe11002-S:
v2.70x4)
Jan 25 07:54:20 s_local@db1 emlxs: [ID 349649 kern.info] [ B.
1241]emlxs1: NOTICE: 100: Driver attach. (FW Library: LPe11020-S:
v2.50a6)
Jan 25 07:54:20 s_local@db1 pcisch: [ID 370704 kern.info] PCI-device:
lpfc@1, emlxs1
Jan 25 07:54:20 s_local@db1 genunix: [ID 936769 kern.info] emlxs1 is /
pci@1d,700000/lpfc@1
Jan 25 07:54:20 s_local@db1 emlxs: [ID 349649 kern.info] [ B.
047A]emlxs0: NOTICE: 720: Link up. (2Gb, fabric)
Jan 25 07:54:20 s_local@db1 emlxs: [ID 349649 kern.info] [ B.
047A]emlxs1: NOTICE: 720: Link up. (2Gb, fabric)
This shows that the driver seems to be attaching. prtdiag shows my
adapters in the 66mhz PCI slots. I run devfsadm just to be sure, but
I still have no /dev/lpfc . /usr/sbin/lpfc/lputil can't find my
interfaces, and on a test machine with all packages installed where I
can run hbanywhere java stuff, it can't find any HBAs either. cfgadm
shows:
Ap_Id Type Receptacle Occupant
Condition
c0 scsi-bus connected unconfigured
unknown
c1 scsi-bus connected configured
unknown
c2 fc-fabric connected unconfigured
unknown
c3 fc-fabric connected unconfigured
unknown
c4 scsi-bus connected unconfigured
unknown
usb0/1 unknown empty unconfigured
ok
usb0/2 unknown empty unconfigured
ok
usb1/1 unknown empty unconfigured
ok
usb1/2 unknown empty unconfigured
ok
I don't know if that's a problem. I try a "cfgadm -c unconfigure c2"
and then c3, and do a update_drv -f lpfc and I get:
lpfc.conf updated in the kernel.
devfsadm: driver failed to attach: lpfc
exit status = 1
Warning: Driver (lpfc) successfully added to system but failed to
attach
Am I trying the wrong things? A truss on lputil64 reveals that it's
trying to open /dev/lpfc to get to the devices, but it's not there so
it just helpfully tells me that there's 0 in the system.
Any advice would be appreciated.
Thanks,
Marcus Reid
Here are notes from a recent effort to do the same. Not sure if
they'll
all make sense, but perhaps they'll help:
Beginning with Solaris 10 update 1, there is a driver called emlxs
that
comes with Solaris and claims the HBAs, preventing the lpfc driver
from seeing the HBAs. To allow lpfc to see the HBAs:
Install package emlxu_kit_1.00n-sparc.tar
Run /opt/EMLXemlxu/bin/emlxdrv
A list of fiber cards shows up with driver info and possible commnads
It also gives the emlxdrv prompt: emlxdrv>
Run the following command at the prompt:
emlxdrv> set_lpfc f900
"set_lpfc" sets the driver and "f900" is the alias for the LP9002.
Reboot and the HBA card shows up in both the HBAnywhere
gui and the /usr/sbin/lpfc/lputil command line utility.
.
- References:
- Emulex LP9002L-E HBA driver not working right
- From: marcus
- Emulex LP9002L-E HBA driver not working right
- Prev by Date: Re: Solaris 10 gorups and OpenLDAP 2.3.39
- Next by Date: Re: LDAP client: credentialLevel=self and tls:sasl/GSSAPI
- Previous by thread: Re: Emulex LP9002L-E HBA driver not working right
- Next by thread: SunOS 5.9 sparc && Iomega HDD USB 2.0 Drive
- Index(es):
Relevant Pages
|