[stgt] help tgt segfault

Tomasz Chmielewski mangoo at wpkg.org
Wed Dec 17 17:23:10 CET 2008


FUJITA Tomonori schrieb:
> On Wed, 17 Dec 2008 16:09:58 +0100
> Tomasz Chmielewski <mangoo at wpkg.org> wrote:
> 
>> Tomasz Chmielewski schrieb:
>>> FUJITA Tomonori schrieb:
>>>
>>>>> Which will result in:
>>>>>
>>>>> Dec 16 13:55:32 megathecus kernel: tgtd[4872]: segfault at 00000220 
>>>>> eip 0804f0b5 esp 77c43ff0 error 4
>>>> Hmm, unfortunately, I can't reproduce this.
>>> Strange, it is 100% reproducible here, on a x86 system. I didn't try 64 
>>> bit.
>>> I just do dmsetup suspend / wait a few seconds / dmsetup resume, while 
>>> the initiator is reading data, and tgtd segfaults.
>> It crashes if I wait about 120 seconds or more.
>> If I wait less, it does not crash.
> 
> I made sure that I wait about 120 seconds but I can't reproduce this
> (it takes about 120 seconds to see the abort and close messages in the
> log.
> 
> We should not see a series of 'conn_close' messages. Something
> unexpected happens at your box.
> 
> Can you try this and send the log? It doesn't fix the problem but
> gives more information.

once it didn't die after 120 secs and produced - this happened before the crash I pasted earlier:

Dec 17 16:48:03 megathecus tgtd: abort_task_set(988) found c0000a09 0
Dec 17 16:48:03 megathecus tgtd: iscsi_tcp_event_handler(167) connection closed 0x807028c
Dec 17 16:48:03 megathecus tgtd: conn_close(90) connection closed 0x807028c 3 0 97
Dec 17 16:48:06 megathecus tgtd: conn_close(90) connection closed 0x807028c 2 0 97
Dec 17 16:48:24 megathecus tgtd: conn_close(90) connection closed 0x807028c 1 0 97
Dec 17 16:49:22 megathecus tgtd: abort_task_set(988) found d0000a0d 0
Dec 17 16:49:22 megathecus tgtd: iscsi_tcp_event_handler(167) connection closed 0x807028c
Dec 17 16:49:22 megathecus tgtd: conn_close(90) connection closed 0x807028c 3 0 97
Dec 17 16:49:25 megathecus tgtd: conn_close(90) connection closed 0x807028c 2 0 97
Dec 17 16:49:32 megathecus tgtd: iscsi_scsi_cmd_done(1089) connection already closed 0x807028c 1
Dec 17 16:49:32 megathecus tgtd: tgt_event_modify(163) Cannot find event 134732888
Dec 17 16:49:32 megathecus tgtd: iscsi_event_modify(341) tgt_event_modify failed
Dec 17 16:49:32 megathecus tgtd: tgt_event_modify(163) Cannot find event 134732888
Dec 17 16:49:32 megathecus tgtd: iscsi_event_modify(341) tgt_event_modify failed
Dec 17 16:49:32 megathecus tgtd: tgt_event_modify(163) Cannot find event 134732888
Dec 17 16:49:32 megathecus tgtd: iscsi_event_modify(341) tgt_event_modify failed


-- 
Tomasz Chmielewski
http://wpkg.org
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list