Bug 65631

Summary: xhci regression: usb 3.0 hdd disconnects immediately
Product: Drivers Reporter: b3nmore
Component: USBAssignee: Greg Kroah-Hartman (greg)
Status: RESOLVED INVALID    
Severity: normal    
Priority: P1    
Hardware: x86-64   
OS: Linux   
URL: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1254261
Kernel Version: 3.8, 3.11, 3.12.0, 3.13 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg part about failing connection attempts

Description b3nmore 2013-11-24 17:51:07 UTC
Created attachment 115811 [details]
dmesg part about failing connection attempts

Originally filed under:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1254261

On a fresh saucey installation (kernel 3.11), I can not use my external usb 3.0 hdd on usb 3.0 ports, it only works on usb 2 ports. kernel log shows, that it disconnects immediately after it is plugged in. Then it continues to connect and disconnect indefinitely (q.v. attached dmesg log):

[ 2623.116141] usb 3-5: new SuperSpeed USB device number 2 using xhci_hcd
[ 2623.132574] usb 3-5: New USB device found, idVendor=1058, idProduct=0740
[ 2623.132582] usb 3-5: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 2623.132587] usb 3-5: Product: My Passport 0740
[ 2623.132591] usb 3-5: Manufacturer: Western Digital
[ 2623.132595] usb 3-5: SerialNumber: 575847314139315836343531
[ 2623.133533] usb-storage 3-5:1.0: USB Mass Storage device detected
[ 2623.133758] scsi7 : usb-storage 3-5:1.0
[ 2624.299678] usb 3-5: USB disconnect, device number 2
[ 2645.281554] scsi 7:0:0:0: Device offlined - not ready after error recovery
[ 2645.281727] usb 3-5: Set SEL for device-initiated U1 failed.
[ 2645.281730] usb 3-5: Set SEL for device-initiated U2 failed.
[ 2645.521559] usb 3-5: new SuperSpeed USB device number 3 using xhci_hcd
...

The same hw combination works with kernel 3.2 in precise, but not with 3.8 (see attachments in the linked report). I even tried 3.12 coming with trusty and the 3.13-rc1 ubuntu mainline kernel, but got the same log messages as with 3.11.
Comment 1 Greg Kroah-Hartman 2013-11-24 17:58:21 UTC
On Sun, Nov 24, 2013 at 05:51:07PM +0000, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=65631
> 
>             Bug ID: 65631
>            Summary: xhci regression: usb 3.0 hdd disconnects immediately

Please send this to the linux-usb@vger.kernel.org mailing list.
Comment 2 b3nmore 2013-11-27 18:32:03 UTC
As a last resort I upgraded the bios/uefi of the mainboard (B85M-G BIOS 0410 -> B85M-G BIOS 0703) and now it works.

Funny though, that 3.2 managed to circumvent whatever the bios messed up. Anyway, sorry for the noise.