Bug 1183289

Summary: USB3 devices broken in 3.18 kernel
Product: [Fedora] Fedora Reporter: Robert Hancock <hancockrwd>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 21CC: amessina, gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, mchehab, prd-fedora
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kernel-3.18.3-201.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-26 02:30:46 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:
Attachments:
Description Flags
Full dmesg output
none
dmesg with updated kernel none

Description Robert Hancock 2015-01-18 05:50:01 UTC
Description of problem:
USB3 devices connected to USB3 ports are not recognized at all under the 3.18 kernel (no output in dmesg when device connected). These errors in dmesg seem related:

[    0.560838] xhci_hcd 0000:00:14.0: Error while assigning device slot ID
[    0.560912] xhci_hcd 0000:00:14.0: Max number of devices this xHCI host supports is 32.
[    0.560990] usb usb2-port2: couldn't allocate usb_device
[    0.561098] xhci_hcd 0000:00:14.0: Error while assigning device slot ID
[    0.561163] xhci_hcd 0000:00:14.0: Max number of devices this xHCI host supports is 32.
[    0.561239] usb usb2-port5: couldn't allocate usb_device
[    0.561344] xhci_hcd 0000:00:14.0: Error while assigning device slot ID
[    0.561409] xhci_hcd 0000:00:14.0: Max number of devices this xHCI host supports is 32.
[    0.561484] usb usb2-port6: couldn't allocate usb_device


Version-Release number of selected component (if applicable):
kernel-3.18.2-200.fc21.x86_64

How reproducible:
Every time

Steps to Reproduce:
1.Connect USB3 device to USB3 port
2.
3.

Actual results:
Device not recognized 

Expected results:
Device works

Additional info:

Comment 1 Robert Hancock 2015-01-18 05:50:57 UTC
Created attachment 981111 [details]
Full dmesg output

Comment 2 Robert Hancock 2015-01-18 19:44:41 UTC
Reported to LKML:

https://lkml.org/lkml/2015/1/18/17

Greg KH says "should be fixed in Linus's tree now and will be backported to
the latest 3.18-stable tree in a week or so."

Comment 3 Fedora Update System 2015-01-19 20:49:05 UTC
kernel-3.18.3-201.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/kernel-3.18.3-201.fc21

Comment 4 Robert Hancock 2015-01-20 00:47:40 UTC
Confirmed that USB3 devices work in 3.18.3-201.fc21. However, I did notice these errors in dmesg that I didn't get in 3.17:

[    0.881967] usb: failed to peer 1-9-port1 and 2-5-port1 by location (1-9-port1:none) (2-5-port1:usb1-port11)
[    0.881968] usb 1-9-port1: failed to peer to 2-5-port1 (-16)
[    0.881969] usb: port power management may be unreliable
[    0.881993] usb: failed to peer 1-9-port2 and 2-5-port2 by location (1-9-port2:none) (2-5-port2:usb1-port12)
[    0.881994] usb 1-9-port2: failed to peer to 2-5-port2 (-16)
[    0.882015] usb: failed to peer 1-9-port3 and 2-5-port3 by location (1-9-port3:none) (2-5-port3:usb1-port13)
[    0.882016] usb 1-9-port3: failed to peer to 2-5-port3 (-16)
[    0.882037] usb: failed to peer 1-9-port4 and 2-5-port4 by location (1-9-port4:none) (2-5-port4:usb1-port14)
[    0.882038] usb 1-9-port4: failed to peer to 2-5-port4 (-16)

I am not sure if they are related to this problem or not.

Comment 5 Robert Hancock 2015-01-20 00:50:30 UTC
Created attachment 981662 [details]
dmesg with updated kernel

Comment 6 Fedora Update System 2015-01-20 21:05:01 UTC
Package kernel-3.18.3-201.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kernel-3.18.3-201.fc21'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-0937/kernel-3.18.3-201.fc21
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2015-01-26 02:30:46 UTC
kernel-3.18.3-201.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.