You are not logged in.

#1 2014-12-11 12:07:48

Pyrobisqit
Member
Registered: 2011-05-26
Posts: 23

[So-so-Solved?] USB hub errors on boot after upgrade

Hi, after a recent upgrade to a new kernel (suppose it's relevant), I'm getting a bunch of errors upon boot, and the GDM login screen is now delayed about 20 seconds. So, the system stays with the kernel boot messages for a few seconds, and then, GDM appears. All this time GDM is being delayed, the system looks "frozen", as in, the console cursor doesn't blink, and I can switch (Ctrl+Alt+F2-7) to other TTYs, but they won't show the login prompt (typical "username:" stuff). I suppose the system finally boots up due to a timeout. Can anyone tell me what's going on? I tried adding "iommu=pt" to the end of the kernel grub line, as per suggested on other forums with peopl presenting similar issues, but this won't fix it either.

dmesg output (only the relevant parts).

[   16.598129] usb 3-7: device descriptor read/64, error -110
[   16.701376] xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 1.
[   16.701381] usb 3-7: hub failed to enable device, error -22
[   32.012672] usb 3-7: device descriptor read/64, error -110
[   32.115857] xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 2.
[   32.115863] usb 3-7: hub failed to enable device, error -22
[   32.275830] usb 3-7: new full-speed USB device number 4 using xhci_hcd
[   37.289368] xhci_hcd 0000:00:14.0: Command completion event does not match command
[   42.702594] usb 3-7: device not accepting address 4, error -62
[   42.862567] usb 3-7: new full-speed USB device number 5 using xhci_hcd
[   47.869440] xhci_hcd 0000:00:14.0: Command completion event does not match command
[   47.869464] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[   53.079637] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[   53.282861] usb 3-7: device not accepting address 5, error -62
[   53.282910] usb usb3-port7: unable to enumerate USB device
[   53.442801] usb 3-8: new high-speed USB device number 6 using xhci_hcd

Last edited by Pyrobisqit (2014-12-20 21:34:23)

Offline

#2 2014-12-17 07:01:51

maxer456
Member
Registered: 2014-12-17
Posts: 2

Re: [So-so-Solved?] USB hub errors on boot after upgrade

I started having a problem similar to yours (possibly the same) not long ago as well. My output of dmesg is almost the same except for the bus and device numbers:

[...]
[   10.930923] usb 1-6: device descriptor read/64, error -110
[   11.034336] xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 1.
[   11.035370] usb 1-6: hub failed to enable device, error -22
[   11.194508] usb 1-6: new low-speed USB device number 3 using xhci_hcd
[   26.371365] usb 1-6: device descriptor read/64, error -110
[   26.474726] xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 2.
[   26.475450] usb 1-6: hub failed to enable device, error -22
[   26.634878] usb 1-6: new low-speed USB device number 4 using xhci_hcd
[   26.635711] usb 1-6: Device not responding to setup address.
[   26.838440] usb 1-6: Device not responding to setup address.
[   27.041970] usb 1-6: device not accepting address 4, error -71
[   27.202168] usb 1-6: new low-speed USB device number 5 using xhci_hcd
[   27.202993] usb 1-6: Device not responding to setup address.
[   27.405733] usb 1-6: Device not responding to setup address.
[   27.609259] usb 1-6: device not accepting address 5, error -71
[   27.610095] usb usb1-port6: unable to enumerate USB device
[...]

What I noticed though is that the device is my Wireless device (presumably Bluetooth from the following lsusb output?)

[...]
Bus 001 Device 006: ID 8087:07dc Intel Corp. 
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          224 Wireless
  bDeviceSubClass         1 Radio Frequency
  bDeviceProtocol         1 Bluetooth
  bMaxPacketSize0        64
  idVendor           0x8087 Intel Corp.
  idProduct          0x07dc 
  bcdDevice            0.01
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1
[...]

Does your output also refer to a usb wireless device? If so, then we have a lead. Otherwise, I have no idea what's causing this.

EDIT:
I looked a bit more into this and found that I have a certain package installed: usbip. This package includes two kernel modules, usbip-host and usbip-core. Turns out these modules need all your usb devices enumerated/initialised/whatever it is that is throwing errors at me. Since these modules get loaded by systemd before you get to a login prompt, they have to wait for the enumeration to finish. Once I stopped them from loading on boot, I got back my previous boot time. I can still see the errors in dmesg's output, but they occur much later and don't stop me from logging in.

Last edited by maxer456 (2014-12-17 07:25:16)

Offline

#3 2014-12-17 10:22:16

Pyrobisqit
Member
Registered: 2011-05-26
Posts: 23

Re: [So-so-Solved?] USB hub errors on boot after upgrade

Interesting! Your output matches mine character by character:

[pyrobisqit@sputnik ~]$ lsusb -d 8087:07dc -v

Bus 003 Device 002: ID 8087:07dc Intel Corp. 
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          224 Wireless
  bDeviceSubClass         1 Radio Frequency
  bDeviceProtocol         1 Bluetooth
  bMaxPacketSize0        64
  idVendor           0x8087 Intel Corp.
  idProduct          0x07dc 
  bcdDevice            0.01
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1
[...]

However, lately, the delayed login prompt has gotten back to speed, just right how it was before it started getting delayed. For no apparent reason (I suppose it's a kernel upgrade through pacman -Syu), it's now working. Also, usbip is not installed:

[pyrobisqit@sputnik ~]$ pacman -Ss usbip
community/usbip 3.18-1 (linux-tools)
    An USB device sharing system over IP network

Last edited by Pyrobisqit (2014-12-17 11:03:51)

Offline

#4 2014-12-20 20:39:18

maxer456
Member
Registered: 2014-12-17
Posts: 2

Re: [So-so-Solved?] USB hub errors on boot after upgrade

Good for you!

My system still throws these errors at me when I'm at the login prompt (I'm running without a DE) but it doesn't slow the bootup and my WiFi works anyway, so I'll leave it for now.

I guess this isn't really solved but perhaps you could consider adding some tag to the title anyway (or that's at least how I think this forum works, two posts hardly make me a veteran big_smile ).

Offline

#5 2014-12-20 21:34:41

Pyrobisqit
Member
Registered: 2011-05-26
Posts: 23

Re: [So-so-Solved?] USB hub errors on boot after upgrade

maxer456 wrote:

Good for you!

My system still throws these errors at me when I'm at the login prompt (I'm running without a DE) but it doesn't slow the bootup and my WiFi works anyway, so I'll leave it for now.

I guess this isn't really solved but perhaps you could consider adding some tag to the title anyway (or that's at least how I think this forum works, two posts hardly make me a veteran big_smile ).

OK! That'll do big_smile

Offline

#6 2015-10-04 01:31:47

kaptoxic
Member
Registered: 2013-07-31
Posts: 21

Re: [So-so-Solved?] USB hub errors on boot after upgrade

I am experiencing similar issues (delayed login, usb error messages):

Oct 03 21:16:04 machine kernel: usb 2-4: device descriptor read/64, error -110
Oct 03 21:16:19 machine kernel: usb 2-4: device descriptor read/64, error -110
Oct 03 21:16:35 machine kernel: usb 2-4: device descriptor read/64, error -110
Oct 03 21:16:50 machine kernel: usb 2-4: device descriptor read/64, error -110
Oct 03 21:16:56 machine kernel: xhci_hcd 0000:00:14.0: Command completion event does not match command
Oct 03 21:17:01 machine kernel: usb 2-4: device not accepting address 8, error -62
Oct 03 21:17:06 machine kernel: xhci_hcd 0000:00:14.0: Command completion event does not match command
Oct 03 21:17:12 machine kernel: usb 2-4: device not accepting address 10, error -62
Oct 03 21:17:12 machine kernel: usb usb2-port4: unable to enumerate USB device

I read that these messages might be related to faulty hardware (these links might be related: here, here, and here), but I hope it is not the case since my laptop was bought recently.

I am using 4.1.6-1-ARCH on t450s with a pro dock. I do not have usbip installed.

Any ideas what might be causing this?

Offline

#7 2015-10-04 01:33:31

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,911
Website

Re: [So-so-Solved?] USB hub errors on boot after upgrade

kaptoxic wrote:

I am experiencing similar issues

Then please open a new topic about your problem, and link back to this one if it is relevant. Don't bump old, solved, threads.

https://wiki.archlinux.org/index.php/Fo … bumping.22

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB