Do you have some module that is hooking into the scsi layer or iscsi
modules? Just wondering what the "sim_try_to_abort_cmd" call is. Where
are you hooking in? Have you also modified the iscsi tools?

During this test, is the target able to respond to iscsi level IO, but
just not scsi commands? I see iscsi nops are successful, but the scsi
scan related commands like REPORT_LUNS are never replied to by the
target. The scsi error handler then runs. Some aborts work, but
eventually we do not get a response to one, and that results in the
device getting offlined. I then see something is trying to delete the
session (the upstream iscsi tools would normally not do this).

It then looks like we hit a bug in the scsi layer. The scsi layer keeps
trying to send a inquiry, but because we are deleting the session, the
iscsi layer fails the command with DID_TRANSPORT_FAILFAST. This then
goes on for minutes until you stop taking the trace.

To debug this some more, we will need to get some scsi layer tracing.
Did you run that scsi_logging_level command? Could you also check the
current kernel?


On 04/20/2014 05:18 AM, Cale, Yonatan wrote:
> Hi Mike, are the logs supposed to come out in /var/log/messages?
> If so, here's the "messages" file.
> The problem happened between " Sun Apr 20 09:59:04 UTC 2014 " and " Sun Apr 
> 20 10:06:50 UTC 2014", I would guess around 10:02
> Good luck, you have like infinite log lines to look at :P
> 
> 
> -----Original Message-----
> From: Mike Christie [mailto:[email protected]] 
> Sent: Thursday, April 17, 2014 8:57 PM
> To: [email protected]
> Cc: Cale, Yonatan; [email protected]
> Subject: Re: Target reboot -> iscsiadm rescan Stuck
> 
> On 04/17/2014 12:53 PM, Mike Christie wrote:
>>
>> scsi_logging_level --scan 7 -s
> 
> Actually could you also enable error logging too?
> 
> scsi_logging_level --scan 7 --error 7 -s
> 

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to