Re: Disconnecting an USB3 device from xhci-port isn't detected properly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08.02.2013 08:35, Greg KH wrote:
> On Fri, Feb 08, 2013 at 09:22:09AM +0100, Matthias Schniedermeyer wrote:
> > On 07.02.2013 07:05, Greg KH wrote:
> > > On Thu, Feb 07, 2013 at 02:42:05PM +0100, Matthias Schniedermeyer wrote:
> > > > Hi
> > > > 
> > > > 
> > > > After updating from 3.7.2 to 3.7.6 disconnecting a USB3 device from a 
> > > > xhci-port isn't detected properly anymore. After removing a 32GB stick 
> > > > the only line in syslog i can see is:
> > > > sdc: detected capacity change from 31625052160 to 0
> > > > /dev/sdc is still there.
> > > > Reconnecting the device results in "usb 3-1: USB disconnect, device number 2"
> > > > immediatly followed by the normal slew of "new device found" messages.
> > > > 
> > > > I tested the usb-stick on an ehci-port and there is worked normaly.
> > > > 
> > > > I'm quite sure i read a similar bug-report a little while ago on LKML, 
> > > > is this bug already known and on the way to be fixed (in 3.7.7)?
> > > 
> > > Possibly, we have a bunch of USB 3 patches queued up for 3.7.7, give me
> > > a day or so to get 3.7.7-rc1 out for review, and it would be great if
> > > you could test it then to see if it solves the issue for you or not.
> > 
> > And the short answert to that is: No
> 
> Ugh.
> 
> Can you run 'git bisect' to track down the offending commit?

The change is in v3.7.2..v3.7.3

Git bisect points to this commit:
f7965c0846d74b270e246c1470ca955d5078eb07

After i "patch -R"ed that in 3.7.6 detection of disconnect worked again.

And in anticipation of the next question:
Yes that bug is in 3.8-rc6 (& latest of a few minutes ago) too.
"patch -R"ing the diff worked (only tested with latest).


It appears that there are either not that many people that disconnect 
USB3 devices and/or people that reguarly update to bleeding edge 
(stable) kernels. ;-)




-- 

Matthias
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux