Bug 1132666

Summary: kernel with UAS fails probing hard drive
Product: [Fedora] Fedora Reporter: Julien Ducourthial <jducourt>
Component: kernelAssignee: Josh Boyer <jwboyer>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 20CC: gansalmon, hdegoede, itamar, jonathan, kernel-maint, madhu.chinakonda, mchehab
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: kernel-3.16.2-300.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-30 03:58:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Julien Ducourthial 2014-08-21 19:17:24 UTC
Description of problem:
With 3.15 kernels my external USB3 enclosure is no more mounted.
(ID 174c:55aa ASMedia Technology Inc. ASM1051 SATA 3Gb/s bridge)

Version-Release number of selected component (if applicable):
3.15.10-200.fc20


How reproducible:
Always.

Steps to Reproduce:
1.Plug the enclosure to an USB3 port.
2.
3.

Actual results:
The drive is not recognized :
 23:22:20 blackbone.local kernel: usb 9-4: new SuperSpeed USB device number 3 using xhci_hcd
août 20 23:22:20 blackbone.local kernel: usb 9-4: New USB device found, idVendor=174c, idProduct=55aa
août 20 23:22:20 blackbone.local kernel: usb 9-4: New USB device strings: Mfr=2, Product=3, SerialNumber=1
août 20 23:22:20 blackbone.local kernel: usb 9-4: Product: ICY BOX IB-366StU3+B
août 20 23:22:20 blackbone.local kernel: usb 9-4: Manufacturer: ICY BOX 
août 20 23:22:20 blackbone.local kernel: usb 9-4: SerialNumber: 123456789012
août 20 23:22:20 blackbone.local kernel: xhci_hcd 0000:05:00.0: ERROR: unexpected command completion code 0x11.
août 20 23:22:20 blackbone.local kernel: uas: probe of 9-4:1.0 failed with error -12



Expected results:
sd 6:0:0:0: [sdc] 1465149168 512-byte logical blocks: (750 GB/698 GiB)
...

Additional info:
using quirks=174c:55aa:u makes the drive works ok with the 3.15 kernel.

USB3 controller is (from lspci) :
05:00.0 USB controller: VIA Technologies, Inc. VL80x xHCI USB 3.0 Controller (rev 01)

Comment 1 Julien Ducourthial 2014-08-21 19:19:38 UTC
sorry the drive is recognized but fails to initialize.

Comment 2 Hans de Goede 2014-08-26 13:53:18 UTC
Hi,

Thanks for the bug report.

Josh, excellent timing for CC-ing me on this bug, I've just posted a patch fixing this yesterday, and asked gkh to get the fix into 3.17, with  a CC: stable@.... # 3.15  :

http://www.spinics.net/lists/linux-usb/msg112554.html

It we be good if you (Josh) could cherry pick this into the Fedora kernels for now.

Regards,

Hans

Comment 3 Hans de Goede 2014-08-26 13:55:35 UTC
Julien, to confirm that this really is the same issue, can you please do a:

lspci -nn

And then copy and paste the result here ?

Specifically I want to know if the device id for your usb controller is 0x3432 .

Comment 4 Josh Boyer 2014-08-26 13:57:12 UTC
OK, will do.  Thanks.

Comment 5 Julien Ducourthial 2014-08-26 17:04:22 UTC
(In reply to Hans de Goede from comment #3)
> Julien, to confirm that this really is the same issue, can you please do a:
> 
> lspci -nn
> 
> And then copy and paste the result here ?
> 
> Specifically I want to know if the device id for your usb controller is
> 0x3432 .

The device is what you expected : 0x3432, here's the output of lspci -nn :

05:00.0 USB controller [0c03]: VIA Technologies, Inc. VL80x xHCI USB 3.0 Controller [1106:3432] (rev 01)

Thanks.

Comment 6 Josh Boyer 2014-08-27 13:37:57 UTC
Patch applied to the relevant branches.  Thanks again Hans.

Comment 7 Fedora Update System 2014-08-28 12:17:54 UTC
kernel-3.15.10-201.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/kernel-3.15.10-201.fc20

Comment 8 Fedora Update System 2014-08-30 03:58:12 UTC
kernel-3.15.10-201.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2014-09-06 12:46:08 UTC
kernel-3.16.2-300.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/kernel-3.16.2-300.fc21

Comment 10 Fedora Update System 2014-09-23 05:00:15 UTC
kernel-3.16.2-300.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.