I have upgraded to snv_129 and my dual port LP9002-DC is only showing up in the 
initiator mode. I would really appreciate if someone could please help me to 
get this HBA to work in target mode. Here is the relevant info (please let me 
know if you need anything else):

Emulex driver config (driver version used is 2.50i):

r...@opensolaris:~# grep -P "^[^#/\s]" /kernel/drv/emlxs.conf 
console-notices=0;
console-warnings=0;
console-errors=0;
log-notices=0xffffffff;
log-warnings=0xffffffff;
log-errors=0xffffffff;
num-iocbs=1024;
max-xfer-size=339968;
ub-bufs=1000;
network-on=1;
topology=0;
link-speed=0;
ack0=0;
cr-delay=0;
cr-count=1;
assign-alpa=0x00;
adisc-support=1;
pm-support=0;
num-nodes=0;
linkup-delay=10;
enable-npiv=0;
vport-restrict-login=1;
enable-auth=0;
target-mode=1;
ddi-forceattach=1;

r...@opensolaris:~# fcinfo hba-port
HBA Port WWN: 10000000c9328448
        Port Mode: Initiator
        Port ID: 0
        OS Device Name: /dev/cfg/c7
        Manufacturer: Emulex
        Model: LP9002L
        Firmware Version: 3.93a0 (C2D3.93A0)
        FCode/BIOS Version: Boot:5.00a5
        Serial Number: 0000C9328448
        Driver Name: emlxs
        Driver Version: 2.50i (2009.11.10.12.30)
        Type: unknown
        State: offline
        Supported Speeds: 1Gb 2Gb 
        Current Speed: not established 
        Node WWN: 20000000c9328448
        NPIV Not Supported
HBA Port WWN: 10000000c9328447
        Port Mode: Initiator
        Port ID: 0
        OS Device Name: /dev/cfg/c6
        Manufacturer: Emulex
        Model: LP9002L
        Firmware Version: 3.93a0 (C2D3.93A0)
        FCode/BIOS Version: Boot:5.00a5
        Serial Number: 0000C9328447
        Driver Name: emlxs
        Driver Version: 2.50i (2009.11.10.12.30)
        Type: unknown
        State: offline
        Supported Speeds: 1Gb 2Gb 
        Current Speed: not established 
        Node WWN: 20000000c9328447
        NPIV Not Supported

r...@opensolaris:~# dmesg|grep emlxs
Dec 14 01:39:21 opensolaris emlxs: [ID 709872 kern.warning] WARNING: emlxs: 
ddi_modopen drv/fct failed: err 2
Dec 14 01:39:25 opensolaris pcplusmp: [ID 805372 kern.info] pcplusmp: 
pci10df,f900 (emlxs) instance 0 irq 0x10 vector 0x42 ioapic 0x4 intin 0x10 is 
bound to cpu 1
Dec 14 01:39:35 opensolaris emlxs: [ID 349649 kern.info] [ 6.0ABE]emlxs0: 
NOTICE:1502: Firmware Library (LP10000-S: v1.92a1 (td192a1.all))
Dec 14 01:39:35 opensolaris emlxs: [ID 349649 kern.info] [ 6.0ABE]emlxs0: 
NOTICE:1502: Firmware Library (LP11000-S: v2.82a4 (bd282a4.all))
Dec 14 01:39:35 opensolaris emlxs: [ID 349649 kern.info] [ 6.0ABE]emlxs0: 
NOTICE:1502: Firmware Library (LP11002-S: v2.82a4 (bf282a4.all))
Dec 14 01:39:35 opensolaris emlxs: [ID 349649 kern.info] [ 6.0ABE]emlxs0: 
NOTICE:1502: Firmware Library (LPe11000-S: v2.82a4 (zd282a4.all))
Dec 14 01:39:35 opensolaris emlxs: [ID 349649 kern.info] [ 6.0ABE]emlxs0: 
NOTICE:1502: Firmware Library (LPe11002-S: v2.82a4 (zf282a4.all))
Dec 14 01:39:35 opensolaris emlxs: [ID 349649 kern.info] [ 6.0ABE]emlxs0: 
NOTICE:1502: Firmware Library (LPe12000-S: v1.11a5 (ud111a5.all))
Dec 14 01:39:35 opensolaris emlxs: [ID 349649 kern.info] [ B.1732]emlxs0: 
NOTICE: 100: Driver attach. (Emulex-S s11-64 i386 v2.50i (2009.11.10.12.30))
Dec 14 01:39:35 opensolaris emlxs: [ID 349649 kern.info] [ B.1735]emlxs0: 
NOTICE: 100: Driver attach. (LP9002L Dev_id:f900 Sub_id:f900 Id:5)
Dec 14 01:39:35 opensolaris emlxs: [ID 349649 kern.info] [ B.173C]emlxs0: 
NOTICE: 100: Driver attach. (Firmware:3.93a0 (C2D3.93A0) Boot:5.00a5)
Dec 14 01:39:35 opensolaris emlxs: [ID 349649 kern.info] [ B.176B]emlxs0: 
NOTICE: 100: Driver attach. (SLI:2 MSI:0 NPIV:0 FCA)
Dec 14 01:39:35 opensolaris emlxs: [ID 349649 kern.info] [ B.1771]emlxs0: 
NOTICE: 100: Driver attach. (WWPN:10000000C9328447 WWNN:20000000C9328447)
Dec 14 01:39:35 opensolaris pci_pci: [ID 370704 kern.info] PCI-device: 
pci10df,f...@4, emlxs0
Dec 14 01:39:35 opensolaris genunix: [ID 936769 kern.info] emlxs0 is 
/p...@0,0/pci10de,7...@8/pci8086,b...@8/pci10df,f...@4
Dec 14 01:39:35 opensolaris emlxs: [ID 709872 kern.warning] WARNING: emlxs: 
ddi_modopen drv/fct failed: err 2
Dec 14 01:39:38 opensolaris pcplusmp: [ID 805372 kern.info] pcplusmp: 
pci10df,f900 (emlxs) instance 1 irq 0x11 vector 0x43 ioapic 0x4 intin 0x11 is 
bound to cpu 0
Dec 14 01:39:48 opensolaris emlxs: [ID 349649 kern.info] [ B.1732]emlxs1: 
NOTICE: 100: Driver attach. (Emulex-S s11-64 i386 v2.50i (2009.11.10.12.30))
Dec 14 01:39:48 opensolaris emlxs: [ID 349649 kern.info] [ B.1735]emlxs1: 
NOTICE: 100: Driver attach. (LP9002L Dev_id:f900 Sub_id:f900 Id:5)
Dec 14 01:39:48 opensolaris emlxs: [ID 349649 kern.info] [ B.173C]emlxs1: 
NOTICE: 100: Driver attach. (Firmware:3.93a0 (C2D3.93A0) Boot:5.00a5)
Dec 14 01:39:48 opensolaris emlxs: [ID 349649 kern.info] [ B.176B]emlxs1: 
NOTICE: 100: Driver attach. (SLI:2 MSI:0 NPIV:0 FCA)
Dec 14 01:39:48 opensolaris emlxs: [ID 349649 kern.info] [ B.1771]emlxs1: 
NOTICE: 100: Driver attach. (WWPN:10000000C9328448 WWNN:20000000C9328448)
Dec 14 01:39:48 opensolaris pci_pci: [ID 370704 kern.info] PCI-device: 
pci10df,f...@5, emlxs1
Dec 14 01:39:48 opensolaris genunix: [ID 936769 kern.info] emlxs1 is 
/p...@0,0/pci10de,7...@8/pci8086,b...@8/pci10df,f...@5

r...@opensolaris:~# modinfo |grep emlxs
140 fffffffff8590000  b6e90 261   1  emlxs (SunFC emlxs FCA v20091110-2.50i)

I am still getting warning: "emlxs: ddi_modopen drv/fct failed: err 2", I was 
told that will be fixed in snv_129. As you can see it looks like that the 
driver attaches properly, the driver is also installed, driver config should be 
configured for target mode, but still target mode doesn't work. Is there 
anything else that I need to do in driver config or somewhere else to get 
target mode on this HBA to work?
-- 
This message posted from opensolaris.org
_______________________________________________
storage-discuss mailing list
storage-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to