From: Matt <mdm@iinet.net.au>
To: Bart Van Assche <bvanassche@acm.org>
Cc: Sarah Sharp <sarah.a.sharp@linux.intel.com>,
Matt <mdm@iinet.net.au>,
linux-usb@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: Re: SCSI oops on USB disconnect, was: Issues with xHCI and USB 3.0
Date: Sun, 20 Nov 2011 15:52:20 +1100 [thread overview]
Message-ID: <4EC88784.7020901@iinet.net.au> (raw)
In-Reply-To: <CAO+b5-oY8qnhL=6tR2TO3HC1NJKEx_2x4SOTqFW5ZSnbf48Urg@mail.gmail.com>
On 18/11/2011 10:31 PM, Bart Van Assche wrote:
>
>> [ 325.497799] Call Trace:
>> [ 325.499007] [<ffffffff8122c4eb>] ? blk_peek_request+0x3f/0x1d2
>> [ 325.500236] [<ffffffff813148e3>] scsi_request_fn+0x48/0x409
>> [ 325.501461] [<ffffffff811163d4>] ? kmem_cache_free+0x72/0xab
>> [ 325.502685] [<ffffffff81227338>] __blk_run_queue+0x1b/0x1d
>> [ 325.503906] [<ffffffff8131428a>] scsi_run_queue+0x1c0/0x22d
>> [ 325.505126] [<ffffffff813153d4>] scsi_next_command+0x39/0x49
>> [ 325.506337] [<ffffffff81315895>] scsi_io_completion+0x45d/0x4d7
>> [ 325.507552] [<ffffffff8130dc14>] scsi_finish_command+0xe4/0xed
>> [ 325.508761] [<ffffffff81312a3e>] scsi_eh_flush_done_q+0xfc/0x124
>> [ 325.509971] [<ffffffff8131310e>] scsi_error_handler+0x383/0x591
>> [ 325.511175] [<ffffffff81312d8b>] ? scsi_eh_get_sense+0x183/0x183
>> [ 325.512380] [<ffffffff81072a17>] kthread+0x84/0x8c
>> [ 325.513580] [<ffffffff814b01f4>] kernel_thread_helper+0x4/0x10
>> [ 325.514782] [<ffffffff81072993>] ? kthread_worker_fn+0x148/0x148
>>
>> Hopefully the SCSI folks will be able to help you with that. James?
> Might be the same issue as this one:
> http://www.spinics.net/lists/linux-scsi/msg55497.html.
>
> Bart.
>
Thanks Bart -- your suggested patch fixed the oops I was experiencing.
However I am still experiencing some much more minor problems with the
attaching of these disks. I experience a significant pause (some sort
of timeout perhaps?) when initially accessing the disks which seems to
take about thirty to sixty seconds. The delay is coupled with dmesg
output similar to:
[ 254.478693] xhci_hcd 0000:03:00.0: WARN: Stalled endpoint
[ 254.478984] sd 5:0:0:1: [sdc] No Caching mode page present
[ 254.479016] sd 5:0:0:1: [sdc] Assuming drive cache: write through
[ 254.479050] sd 5:0:0:1: [sdc] Attached SCSI disk
[ 255.549968] hub 3-0:1.0: hub_suspend
[ 255.549976] usb usb3: bus auto-suspend
[ 284.618187] usb 4-1: reset SuperSpeed USB device number 2 using xhci_hcd
[ 284.628892] xhci_hcd 0000:03:00.0: WARN: short transfer on control ep
[ 284.628908] xhci_hcd 0000:03:00.0: xHCI xhci_drop_endpoint called
with disabled ep ffff880135f88900
[ 284.628911] xhci_hcd 0000:03:00.0: xHCI xhci_drop_endpoint called
with disabled ep ffff880135f88940
[ 284.629867] usb 4-1: Successful Endpoint Configure command
The full dmesg is uploaded here: http://pastebin.com/raw.php?i=39B9mdPR
(Sarah: I disabled the verbose xHCI debugging on my last kernel compile
-- please let me know if you require it to be switched on again)
After a few resets, the drives become active and will happily transfer
at approximately 100MB/sec which I'm quite comfortable with.
I'm not sure to whom I should pose the question as it's a storage
question over USB so please forgive the crosspost.
As always, I am happy to debug and retrieve whatever information is
required to investigate the issue; just let me know what you need.
Thanks once again.
Cheers,
Matt.
prev parent reply other threads:[~2011-11-20 4:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4EA54EBF.80905@iinet.net.au>
[not found] ` <20111025072957.GA5821@xanatos>
[not found] ` <4EA68418.9000504@iinet.net.au>
[not found] ` <20111025113458.GA4590@xanatos>
[not found] ` <4EA6B3FC.9010808@iinet.net.au>
[not found] ` <20111027112831.GB4790@xanatos>
[not found] ` <20111102190224.GB29845@xanatos>
[not found] ` <4EB24040.1060208@iinet.net.au>
[not found] ` <20111103202258.GA3585@xanatos>
[not found] ` <4EB32928.6000901@iinet.net.au>
[not found] ` <4EB32928.6000901-AFFH1GffN5hPR4JQBCEnsQ@public.gmane.org>
2011-11-04 14:48 ` SCSI oops on USB disconnect, was: Issues with xHCI and USB 3.0 Sarah Sharp
2011-11-10 12:52 ` Matt
2011-11-18 5:18 ` Matt
2011-11-18 11:31 ` Bart Van Assche
2011-11-20 4:52 ` Matt [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EC88784.7020901@iinet.net.au \
--to=mdm@iinet.net.au \
--cc=bvanassche@acm.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=sarah.a.sharp@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).