v4.1.4 xhci: 50%~66% chance of "HC died; cleaning up" on boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have one machine which fails to get a working USB bus on at least
every other boot. This machine having no PS2 ports, bus failure means
no keyboard, and a forced power cycle (sadly, there is no accessible
reset button) to try again.

This is with vanilla kernel as of v4.1.4 tag, but I do not know if this
is a regression (new machine).

Visible USB-related boot messages (boot with "quiet" kernel parameter
to avoid scrolling, messages typed from a screenshot):

[ 7.25] xhci_hcd 0000:00:14.0: Command completion event does not match command
[12.26] usb 1-1: hub failed to enable device, error -62
[24.93] xhci_hcd 0000:00:14.0: Stopped the command ring railed, maybe the host is dead
[24.93] xhci_hcd 0000:00:14.0: Abort command ring failed
[24.93] xhci_hcd 0000:00:14.0: HC died; cleaning up
[24.93] usb usb1-port1: couldn't allocate usb_device
[25.13] usb 2-1: device not accepting address 2, error -62
[25.13] usb usb2-port1: couldn't allocate usb_device

Some data from a successful boot (here, without keyboard attached,
keyboard presence does not seem to affect boot success chances):

# lsusb
Bus 002 Device 004: ID 05e3:0617 Genesys Logic, Inc. 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 1005:b155 Apacer Technology, Inc. 
Bus 001 Device 003: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

# lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 5000M
    |__ Port 1: Dev 4, If 0, Class=Hub, Driver=hub/4p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 480M
    |__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/4p, 480M
    |__ Port 4: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 480M

# lspci | grep '[exuo]HCI'
00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series USB xHCI (rev 0e)

# cat /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 55
model name      : Intel(R) Celeron(R) CPU  J1800  @ 2.41GHz
stepping        : 8
microcode       : 0x811
[...]

This machine has an UEFI bios with legacy support enabled. It boots
on USB (the mass storage device in bus 1, port 4). Grub, kernel &
initrd loading work fine under bios emulation control.

What can I do to debug this issue further ?
Would there be a way to tell the driver to retry when HC dies so I can
at least get the full logs written to disk ? (at a glance, I do not
see one in the source)

Regards,
-- 
Vincent Pelletier
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux