Skip to contentSkip to conversation

3.18 regression: Error while assigning device slot ID, USB3 devices not detected

DISCUSSION Robert Hancock 4 participants 8 messages Jan 18, 2015 – Jan 20, 2015

lore
Share & tools
lore
#0 lore raw

I've got an Intel Haswell-based system with a Gigabyte Z87X-D3H motherboard under Fedora 21. After updating to the 3.18.2-200 Fedora kernel, I noticed some errors in dmesg and at least some of my USB3 ports don't recognize any USB3 devices plugged into them:

[    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

This worked fine under 3.17. Is this a known problem?

#1 lore raw
Quoted 18 lines · Robert Hancock

I've got an Intel Haswell-based system with a Gigabyte Z87X-D3H motherboard under Fedora 21. After updating to the 3.18.2-200 Fedora kernel, I noticed some errors in dmesg and at least some of my USB3 ports don't recognize any USB3 devices plugged into them:

[    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
Quoted 1 line

This worked fine under 3.17. Is this a known problem?

Yes it is, should be fixed in Linus's tree now and will be backported to the latest 3.18-stable tree in a week or so.

thanks,

greg k-h

#2 lore raw
Quoted 19 lines · Greg KH
Quoted 18 lines · Robert Hancock

I've got an Intel Haswell-based system with a Gigabyte Z87X-D3H motherboard under Fedora 21. After updating to the 3.18.2-200 Fedora kernel, I noticed some errors in dmesg and at least some of my USB3 ports don't recognize any USB3 devices plugged into them:

[    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
Quoted 4 lines
Quoted 1 line

This worked fine under 3.17. Is this a known problem?

Yes it is, should be fixed in Linus's tree now and will be backported to the latest 3.18-stable tree in a week or so.

Do you happen to know the commit id?

josh

#3 lore raw
Quoted 20 lines · Josh Boyer
Quoted 19 lines · Greg KH
Quoted 18 lines · Robert Hancock

I've got an Intel Haswell-based system with a Gigabyte Z87X-D3H motherboard under Fedora 21. After updating to the 3.18.2-200 Fedora kernel, I noticed some errors in dmesg and at least some of my USB3 ports don't recognize any USB3 devices plugged into them:

[    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
Quoted 6 lines
Quoted 4 lines
Quoted 1 line

This worked fine under 3.17. Is this a known problem?

Yes it is, should be fixed in Linus's tree now and will be backported to the latest 3.18-stable tree in a week or so.

Do you happen to know the commit id?

f161ead70fa6a62e432dff6e9dab8e3cfbeabea6

#4 lore raw
Quoted 21 lines · Greg KH
Quoted 20 lines · Josh Boyer
Quoted 19 lines · Greg KH
Quoted 18 lines · Robert Hancock

I've got an Intel Haswell-based system with a Gigabyte Z87X-D3H motherboard under Fedora 21. After updating to the 3.18.2-200 Fedora kernel, I noticed some errors in dmesg and at least some of my USB3 ports don't recognize any USB3 devices plugged into them:

[    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
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line

This worked fine under 3.17. Is this a known problem?

Yes it is, should be fixed in Linus's tree now and will be backported to the latest 3.18-stable tree in a week or so.

Do you happen to know the commit id?

f161ead70fa6a62e432dff6e9dab8e3cfbeabea6

Thanks!

josh

#5 lore raw
Quoted 24 lines · Josh Boyer
Quoted 23 lines · Greg KH
Quoted 22 lines · Josh Boyer
Quoted 21 lines · Greg KH
Quoted 19 lines · Robert Hancock

I've got an Intel Haswell-based system with a Gigabyte Z87X-D3H motherboard under Fedora 21. After updating to the 3.18.2-200 Fedora kernel, I noticed some errors in dmesg and at least some of my USB3 ports don't recognize any USB3 devices plugged into them:

[    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

This worked fine under 3.17. Is this a known problem?

Quoted 9 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

Yes it is, should be fixed in Linus's tree now and will be backported to the latest 3.18-stable tree in a week or so.

Do you happen to know the commit id?

f161ead70fa6a62e432dff6e9dab8e3cfbeabea6

Thanks!

Tell me if this fixed the issue.
I got this gut feeling this might be something else. It should have failed in 3.17 as well

-Mathias

#6 lore raw
Quoted 30 lines · Mathias Nyman
Quoted 29 lines · Josh Boyer
Quoted 28 lines · Greg KH
Quoted 26 lines · Josh Boyer
Quoted 19 lines · Greg KH
Quoted 18 lines · Robert Hancock

I've got an Intel Haswell-based system with a Gigabyte Z87X-D3H motherboard under Fedora 21. After updating to the 3.18.2-200 Fedora kernel, I noticed some errors in dmesg and at least some of my USB3 ports don't recognize any USB3 devices plugged into them:

[    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
Quoted 4 lines
Quoted 1 line

This worked fine under 3.17. Is this a known problem?

Yes it is, should be fixed in Linus's tree now and will be backported to the latest 3.18-stable tree in a week or so.

Do you happen to know the commit id?

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

f161ead70fa6a62e432dff6e9dab8e3cfbeabea6

Thanks!

Tell me if this fixed the issue.
I got this gut feeling this might be something else. It should have failed in 3.17 as well

OK. We're tracking this in the bug Robert filed here:

https://bugzilla.redhat.com/show_bug.cgi?id=1183289

The patch should be in the next Fedora kernel build, so hopefully we can get back to you soon.

josh

#7 lore raw
Quoted 41 lines · Josh Boyer
Quoted 30 lines · Mathias Nyman
Quoted 29 lines · Josh Boyer
Quoted 28 lines · Greg KH
Quoted 26 lines · Josh Boyer
Quoted 19 lines · Greg KH
Quoted 18 lines · Robert Hancock

I've got an Intel Haswell-based system with a Gigabyte Z87X-D3H motherboard under Fedora 21. After updating to the 3.18.2-200 Fedora kernel, I noticed some errors in dmesg and at least some of my USB3 ports don't recognize any USB3 devices plugged into them:

[    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
Quoted 4 lines
Quoted 1 line

This worked fine under 3.17. Is this a known problem?

Yes it is, should be fixed in Linus's tree now and will be backported to the latest 3.18-stable tree in a week or so.

Do you happen to know the commit id?

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

f161ead70fa6a62e432dff6e9dab8e3cfbeabea6

Thanks!

Tell me if this fixed the issue.
I got this gut feeling this might be something else. It should have failed in 3.17 as well

Quoted 6 lines

OK. We're tracking this in the bug Robert filed here:

https://bugzilla.redhat.com/show_bug.cgi?id=1183289

The patch should be in the next Fedora kernel build, so hopefully we can get back to you soon.

The patched build seems to fix the problem with the ports not recognizing SuperSpeed devices. I do get these errors in dmesg now though, which also weren't 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)

Full dmesg is attached to this bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=1183289