From: Stuart Foster <smf.linux-XZoyATsUNX5Wk0Htik3J/w@public.gmane.org>
To: Alan Stern <stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org>
Cc: "Martin K. Petersen"
<martin.petersen-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>,
Ed Tomlinson <edt-Yad3+ZauZac@public.gmane.org>,
USB list <linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
SCSI development list
<linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Kernel 3.10.3 "reset SuperSpeed USB device number 2 using xhci_hcd"
Date: Mon, 29 Jul 2013 08:21:38 +0100 [thread overview]
Message-ID: <51F61802.3020907@ntlworld.com> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1307281505410.18237-100000-pYrvlCTfrz9XsRXLowluHWD2FQJk+8+b@public.gmane.org>
On 07/28/13 20:28, Alan Stern wrote:
> On Sat, 27 Jul 2013, Stuart Foster wrote:
>
>> On 07/27/13 20:34, Alan Stern wrote:
>>> On Sat, 27 Jul 2013, Stuart Foster wrote:
>>>
>>>> On 07/27/13 15:58, Alan Stern wrote:
>>>>> On Sat, 27 Jul 2013, Stuart Foster wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I have started having problems with an external USB 3 diskdrive, the
>>>>>> problems started when I moved from the 3.10.2 kernel to 3.10.3.
>>>>>> The machine is a ASUS M5A97 PRO, BIOS 1604.
>>>>>
>>>>> On Sat, 27 Jul 2013, Ed Tomlinson wrote:
>>>>>
>>>>>> Hi
>>>>>>
>>>>>> Same problem here with 3.10.3. Dmesg filtered with 'hci'.
>>>>>
>>>>> Each of you, please post a usbmon trace showing what happens when the
>>>>> drive is plugged in.
>>>>>
>>>>> Alan Stern
>>>>>
>>>>>
>>>> Hi Alan
>>>>
>>>> Herewith the log you requested.
>>>
>>> The trace shows that something is sending an invalid INQUIRY command
>>> (one with a 512-byte transfer length) to the drive. Normally such
>>> things are done by user programs, but in this case it looks more like
>>> the command came from somewhere in the kernel. I have no idea where.
>>>
>>> Did you change anything besides the kernel when going from 3.10.2 to
>>> 3.10.3?
>>>
>>> If you boot now into a 3.10.2 kernel, does the drive work?
>>>
>>> What happens if you plug the drive into a USB-2 port? (I expect it
>>> will make no difference at all.)
>>>
>>> Alan Stern
>>>
>>>
>> Hi Alan,
>>
>> The config between 3.10.2 and 3.10.3 did not change.
>>
>> The drive works correctly on 3.10.2 (I usually keep the previous kernel
>> available just in case).
>>
>> On 3.10.3 the drive fails in a similar manner when plugged into a USB-2
>> port.
>>
>> For interest I have tried the USB-3 drive in the USB-2 ports on an IBM
>> thinkpad R51 laptop that is also running 3.10.3 and that fails also.
>>
>> Conversely I have tried a USB-2 drive on both the IBM and my ASUS
>> machine and that works fine on 3.10.3 in all available USB ports.
>
> Thank you. I was able to duplicate the problem on my own machine and
> track down the bug.
>
> It was introduced by commit 98dcc2946adb (SCSI: sd: Update WRITE SAME
> heuristics). This commit adds a call to scsi_get_vpd_page() in
> sd_read_write_same() without first checking sd_try_extended_inquiry().
> As noted in the latter routine, VPD inquiries will crash some devices.
>
> Martin, this bug needs to be fixed in 3.11. As far as the stable
> kernels are concerned, the best thing for now may simply be to revert
> it.
>
> Alan Stern
>
>
Hi Alan,
Thanks for the update I will look forward to a solution.
regards
Stuart Foster
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2013-07-29 7:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <51F44125.2040803@ntlworld.com>
2013-07-28 19:28 ` Kernel 3.10.3 "reset SuperSpeed USB device number 2 using xhci_hcd" Alan Stern
[not found] ` <Pine.LNX.4.44L0.1307281505410.18237-100000-pYrvlCTfrz9XsRXLowluHWD2FQJk+8+b@public.gmane.org>
2013-07-29 7:21 ` Stuart Foster [this message]
2013-07-29 15:06 ` Martin K. Petersen
2013-07-29 15:23 ` Alan Stern
2013-07-29 15:28 ` Martin K. Petersen
2013-07-29 16:33 ` Stuart Foster
2013-07-30 18:44 ` Alan Stern
2013-07-31 2:58 ` Martin K. Petersen
2013-07-31 14:50 ` Alan Stern
2013-08-02 10:32 ` Peter Wu
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=51F61802.3020907@ntlworld.com \
--to=smf.linux-xzoyatsunx5wk0htik3j/w@public.gmane.org \
--cc=edt-Yad3+ZauZac@public.gmane.org \
--cc=linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=martin.petersen-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org \
--cc=stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.