OpenSolaris

Printable Version Enter a New Search
Bug ID 6687202
Synopsis target dumped core when deleting lun 0 when initiators are connected
State 10-Fix Delivered:Verified (Fix available in build)
Category:Subcategory storage_target:iscsi
Keywords samq_iscsi
Responsible Engineer Chris Liu
Reported Against snv_83 , snv_85 , snv_86 , snv_87
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_93
Fixed In snv_93
Release Fixed solaris_nevada(snv_93) , solaris_10u7(s10u7_04) (Bug ID:2167567)
Related Bugs 6498817 , 6684389 , 6688696 , 6699127
Submit Date 11-April-2008
Last Update Date 29-September-2008
Description
Target dumped core when deleting lun 0 and that has initiators conencted.

Target : Nevada83 + developement fixes (  xxxxx Wiscsitgtr :  PSTAMP:  haulass20080408163345 )

Saving core at the following location
 /net/eyelid-mn.central.sun.com/support/supporting-documentation/snap/<this bug number>

bash-3.2# mdb core.iscsitgtd.646
Loading modules: [ libumem.so.1 libc.so.1 libuutil.so.1 libavl.so.1 ld.so.1 ]
> $c
libc.so.1`_lwp_kill+0xa()
libc.so.1`raise+0x19()
libumem.so.1`umem_do_abort+0x1c()
libumem.so.1`umem_err_recoverable+0xc9()
libumem.so.1`process_free+0x199()
libumem.so.1`free+0x16()
libiscsitgt.so.1`node_free+0x25()
libiscsitgt.so.1`tgt_node_free+0x59()
remove_target_common+0x3b7()
remove_target+0x39f()
remove_func+0xf4()
parse_xml+0x8e()
main+0x427()
0x41360c()
> ::status
debugging core file of iscsitgtd (64-bit) from metis-blr
file: /usr/sbin/amd64/iscsitgtd
initial argv: /usr/sbin/iscsitgtd
threading model: native threads
status: process terminated by SIGABRT (Abort)

step to reproduce
1) cretae disk based target
iscsitadm create target --type disk --backing-store /dev/rdsk/c6t600A0B800026DBDE000018E6478C32E8d0s0  --lun 0 metis-india
2) discover the target from initiator using sendtargets discovery method.
3) verify that target has initiators connected
4) delete the lun 0, it will dump the core.
Work Around
N/A
Comments
N/A