[Stgt-devel] Stability problem
Konrad Bechler
kbechler
Thu May 15 15:37:02 CEST 2008
Hello,
I've got small, testing environment. I use Fedora 7 with
2.6.23.15-80.fc7 as a iSCSI target and Windows XP box with "Microsoft
iSCSI Initiator" as a initiator.
I configured stgt with only one target and one LUN:
Target 1: iqn.2008.05.eu.tgc.net:storage.disk1
System information:
Driver: iscsi
State: ready
I_T nexus information:
LUN information:
LUN: 0
Type: controller
SCSI ID: deadbeaf1:0
SCSI SN: beaf10
Size: 0 MB
Online: Yes
Removable media: No
Backing store: No backing store
LUN: 1
Type: disk
SCSI ID: deadbeaf1:1
SCSI SN: beaf11
Size: 10486 MB
Online: Yes
Removable media: No
Backing store: /data/disk1
Account information:
ACL information:
ALL
I can connect to this target. But when trying to format such drive, I've
got message, that formatting exited with error. When "quick format" box
is checked, tgtd aborts.
tgtd -f -d 9:
[....]
tgtd: bs_rdwr_request(114) io done 0x961f218 28 4096 4096
tgtd: bs_thread_ack_fn(82) found 0x961f218
tgtd: bs_thread_request_done(122) back to tgtd, 0x961f218
tgtd: iscsi_task_tx_start(1767) found a task 14090000 4096 0 0
tgtd: iscsi_data_rsp_build(982) 4096 4096 4096 8192 14090000
tgtd: __cmd_done(868) 8 (nil) 0x9620000 0 4096 0
tgtd: iscsi_task_tx_start(1792) no more data
tgtd: iscsi_scsi_cmd_rx_start(1474) 1 28 0 0 2048 1 15090000
tgtd: iscsi_task_queue(1419) 915 915 1
tgtd: target_cmd_queue(777) 0x961f218 28 1
tgtd: target_cmd_queue(796) 0x961f218 28 1 1
tgtd: bs_thread_worker_fn(151) got 0x961f218
tgtd: bs_rdwr_request(114) io done 0x961f218 28 2048 2048
tgtd: target_cmd_queue(807) 15090000 28 (nil) 0x9620000 65024 0 2048 0 4
tgtd: bs_thread_ack_fn(82) found 0x961f218
tgtd: iscsi_task_tx_start(1792) no more data
tgtd: bs_thread_request_done(122) back to tgtd, 0x961f218
tgtd: iscsi_task_tx_start(1767) found a task 15090000 2048 0 0
tgtd: iscsi_data_rsp_build(982) 2048 2048 2048 8192 15090000
tgtd: __cmd_done(868) 8 (nil) 0x9620000 0 2048 0
tgtd: iscsi_task_tx_start(1792) no more data
tgtd: iscsi_scsi_cmd_rx_start(1474) 1 1a 0 0 12 1 16090000
tgtd: iscsi_task_queue(1419) 916 916 1
tgtd: target_cmd_queue(777) 0x961f218 1a 1
tgtd: target_cmd_queue(796) 0x961f218 1a 1 1
tgtd: target_cmd_queue(807) 16090000 1a (nil) 0x9620000 0 0 12 0 0
tgtd: iscsi_scsi_cmd_done(1112) shrunk too big device read len 122 > 12
tgtd: iscsi_task_tx_start(1767) found a task 16090000 12 0 0
tgtd: iscsi_data_rsp_build(982) 12 12 12 8192 16090000
tgtd: __cmd_done(868) 0 (nil) 0x9620000 0 12 0
*** glibc detected *** tgtd: free(): invalid next size (fast):
0x09620000 ***
======= Backtrace: =========
/lib/libc.so.6[0x1addf1]
/lib/libc.so.6(cfree+0x90)[0x1b1430]
tgtd[0x8050d21]
tgtd[0x804ba5b]
tgtd[0x804baec]
tgtd[0x804c809]
tgtd[0x80514b8]
tgtd[0x8054c75]
/lib/libc.so.6(__libc_start_main+0xe0)[0x15bf70]
tgtd[0x8049cd1]
======= Memory map: ========
00110000-0012b000 r-xp 00000000 08:01 259601 /lib/ld-2.6.so
0012b000-0012c000 r-xp 0001a000 08:01 259601 /lib/ld-2.6.so
0012c000-0012d000 rwxp 0001b000 08:01 259601 /lib/ld-2.6.so
0012d000-0012e000 r-xp 0012d000 00:00 0 [vdso]
0012e000-00142000 r-xp 00000000 08:01 259632 /lib/libpthread-2.6.so
00142000-00143000 r-xp 00013000 08:01 259632 /lib/libpthread-2.6.so
00143000-00144000 rwxp 00014000 08:01 259632 /lib/libpthread-2.6.so
00144000-00146000 rwxp 00144000 00:00 0
00146000-00294000 r-xp 00000000 08:01 259608 /lib/libc-2.6.so
00294000-00296000 r-xp 0014e000 08:01 259608 /lib/libc-2.6.so
00296000-00297000 rwxp 00150000 08:01 259608 /lib/libc-2.6.so
00297000-0029a000 rwxp 00297000 00:00 0
0029a000-0029d000 r-xp 00000000 08:01 259614 /lib/libdl-2.6.so
0029d000-0029e000 r-xp 00002000 08:01 259614 /lib/libdl-2.6.so
0029e000-0029f000 rwxp 00003000 08:01 259614 /lib/libdl-2.6.so
003b0000-004cc000 r-xp 00000000 08:01 262405 /lib/libcrypto.so.0.9.8b
004cc000-004de000 rwxp 0011c000 08:01 262405 /lib/libcrypto.so.0.9.8b
004de000-004e2000 rwxp 004de000 00:00 0
00daf000-00dc1000 r-xp 00000000 08:01 262385 /lib/libz.so.1.2.3
00dc1000-00dc2000 rwxp 00011000 08:01 262385 /lib/libz.so.1.2.3
00de9000-00df4000 r-xp 00000000 08:01 262389
/lib/libgcc_s-4.1.2-20070503.so.1
00df4000-00df5000 rwxp 0000a000 08:01 262389
/lib/libgcc_s-4.1.2-20070503.so.1
08048000-08065000 r-xp 00000000 08:01 2192097 /usr/sbin/tgtd
08065000-08067000 rw-p 0001d000 08:01 2192097 /usr/sbin/tgtd
08067000-08068000 rw-p 08067000 00:00 0
09619000-0965b000 rw-p 09619000 00:00 0
b4c00000-b4c21000 rw-p b4c00000 00:00 0
b4c21000-b4d00000 ---p b4c21000 00:00 0
b4d3f000-b4d40000 ---p b4d3f000 00:00 0
b4d40000-b5740000 rw-p b4d40000 00:00 0
b5740000-b5741000 ---p b5740000 00:00 0
b5741000-b6141000 rw-p b5741000 00:00 0
b6141000-b6142000 ---p b6141000 00:00 0
b6142000-b6b42000 rw-p b6142000 00:00 0
b6b42000-b6b43000 ---p b6b42000 00:00 0
b6b43000-b7543000 rw-p b6b43000 00:00 0
b7543000-b7544000 ---p b7543000 00:00 0
b7544000-b7f47000 rw-p b7544000 00:00 0
bfd0c000-bfd21000 rw-p bffea000 00:00 0 [stack]
Aborted
[root at ISCSI1 /]# uname -a
Linux ISCSI1 2.6.23.15-80.fc7 #1 SMP Sun Feb 10 17:29:10 EST 2008 i686
i686 i386 GNU/Linux
[root at ISCSI1 /]# ldd --version
ldd (GNU libc) 2.6
tgt was fetched from git today.
Please advise, what can I do.
--
Z powa?aniem / With best regards,
Konrad Bechler
Network Administrator
Direct tel. +48 22 653 36 21
--
Baker Tilly Poland
www.bakertillypoland.eu
Baker Tilly Poland is an independent member of Baker Tilly International: www.bakertillyinternational.com
Baker Tilly Poland does not accept responsibility for the accuracy or completeness of this message, which
has been transmitted over a public network and is therefore capable of being intercepted or amended.
Baker Tilly Poland Sp. z o.o., KRS 0000067026, NIP 5252060079, Kap. zak?adowy 50.000 z?
Baker Tilly Poland Audit & Consulting Sp. z o.o., KRS 0000057559, NIP 5251557493, Kap. zak?adowy 120.000 z?
Siedziba: ul. Kr?lewska 27, 00-060 Warszawa, S?d Rejonowy dla m. st. Warszawy XII Wydzia? Gospodarczy KRS
More information about the stgt
mailing list