I've an issue with the iSCSI target (not COMSTAR) in b107. When I apply a
TargetPortGroupTag restriction to a target iscsitgtd core dumps. Remove the
tpgt from the iSCSI target and the initiator can successfully connect. For
testing I'm not using any ACLs or CHAP though I have applied these and it made
no difference. Has anyone else encountered this?
# uname -a
SunOS sol-nv-b107 5.11 snv_107 i86pc i386 i86pc
# iscsitadm list tpgt -v
TPGT: 1
IP Address: 192.168.2.10
# iscsitadm list target -v
Target: pool1/iscsi/target0-lun0
iSCSI Name: iqn.1986-03.com.sun:02:88513779-f9ec-6023-cadf-e2e1112b039d
Alias: pool1/iscsi/target0-lun0
Connections: 0
ACL list:
TPGT list:
TPGT: 1
LUN information:
LUN: 0
GUID: 600144f04991ab40000050569676ab00
VID: SUN
PID: SOLARIS
Type: disk
Size: 500M
Backing store: /dev/zvol/rdsk/pool1/iscsi/target0-lun0
Status: online
# truss -f -p `pgrep iscsitgtd` 2>&1 >/dev/null | tail -20
688/11: lwp_unpark(1) = 0
688/11: pollsys(0xFFFFFD7FFDD70F88, 1, 0xFFFFFD7FFDD70F60, 0x00000000)
= 1
688/11: recv(3, "0480\0\0\0\0\010\0\0\0\0".., 48, 64) = 48
688/11: time() = 1234287001
688/1: lwp_park(0x00000000, 0) = 0
688/11: lwp_unpark(1) = 0
688/11: read(3, " S e n d T a r g e t s =".., 16) = 16
688/11: time() = 1234287001
688/1: lwp_park(0x00000000, 0) = 0
688/11: lwp_unpark(1) = 0
688/11: time() = 1234287001
688/1: lwp_park(0x00000000, 0) = 0
688/11: lwp_unpark(1) = 0
688/11: time() = 1234287001
688/11: lwp_unpark(1) = 0
688/1: lwp_park(0x00000000, 0) = 0
688/11: Incurred fault #6, FLTBOUNDS %pc = 0xFFFFFD7FFF089EA9
688/11: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
688/11: Received signal #11, SIGSEGV [default]
688/11: siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
# mdb core
Loading modules: [ libumem.so.1 libc.so.1 libuutil.so.1 libavl.so.1
libnvpair.so.1 ld.so.1 ]
> ::stack
libnsl.so.1`inet_pton4+0x19()
libnsl.so.1`inet_pton+0x14()
convert_local_tpgt+0xa5()
add_target_address+0x84()
add_targets+0xd3()
parse_text+0x2df()
handle_text_msg+0x1eb()
iscsi_full_feature+0x2a2()
conn_poller+0xc1()
libc.so.1`_thrp_setup+0x8d()
libc.so.1`_lwp_start()
> ::status
debugging core file of iscsitgtd (64-bit) from sol-nv-b107
file: /usr/sbin/amd64/iscsitgtd
initial argv: /usr/sbin/iscsitgtd
threading model: native threads
status: process terminated by SIGSEGV (Segmentation Fault), addr=0
> ::quit
I can provide snoop capture of the session thought there is nothing to see
other than the absence of a response to the client's SendTargets=All request.
--
This message posted from opensolaris.org
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss