On Mon, 11 Aug 2025 08:16:06 +0200, Jiri Slaby wrote:
This was reported to break the USB on one box:
[Wed Aug 6 16:51:33 2025] [ T355745] usb 1-2: reset full-speed USB device number 12 using xhci_hcd [Wed Aug 6 16:51:34 2025] [ T355745] usb 1-2: device descriptor read/64, error -71 [Wed Aug 6 16:51:34 2025] [ T355745] usb 1-2: device descriptor read/64, error -71 [Wed Aug 6 16:51:34 2025] [ T355745] usb 1-2: reset full-speed USB device number 12 using xhci_hcd [Wed Aug 6 16:51:34 2025] [ T355745] usb 1-2: device descriptor read/64, error -71 [Wed Aug 6 16:51:35 2025] [ T355745] usb 1-2: device descriptor read/64, error -71 [Wed Aug 6 16:51:35 2025] [ T355745] usb 1-2: reset full-speed USB device number 12 using xhci_hcd [Wed Aug 6 16:51:35 2025] [ T355745] usb 1-2: Device not responding to setup address. [Wed Aug 6 16:51:35 2025] [ T355745] usb 1-2: Device not responding to setup address. [Wed Aug 6 16:51:35 2025] [ T355745] usb 1-2: device not accepting address 12, error -71 [Wed Aug 6 16:51:35 2025] [ T355745] usb 1-2: WARN: invalid context state for evaluate context command. [Wed Aug 6 16:51:36 2025] [ T355745] usb 1-2: reset full-speed USB device number 12 using xhci_hcd [Wed Aug 6 16:51:36 2025] [ C10] xhci_hcd 0000:0e:00.0: ERROR unknown event type 2 [Wed Aug 6 16:51:36 2025] [ T355745] usb 1-2: Device not responding to setup address. [Wed Aug 6 16:51:37 2025] [ C10] xhci_hcd 0000:0e:00.0: ERROR unknown event type 2 [Wed Aug 6 16:52:50 2025] [ T362645] xhci_hcd 0000:0e:00.0: Abort failed to stop command ring: -110 [Wed Aug 6 16:52:50 2025] [ T362645] xhci_hcd 0000:0e:00.0: xHCI host controller not responding, assume dead [Wed Aug 6 16:52:50 2025] [ T362645] xhci_hcd 0000:0e:00.0: HC died; cleaning up [Wed Aug 6 16:52:50 2025] [ T359046] usb 1-1: USB disconnect, device number 13 [Wed Aug 6 16:52:50 2025] [ T355745] xhci_hcd 0000:0e:00.0: Timeout while waiting for setup device command [Wed Aug 6 16:52:50 2025] [ T362645] usb 2-3: USB disconnect, device number 2 [Wed Aug 6 16:52:50 2025] [ T362839] cdc_acm 1-5:1.5: acm_port_activate - usb_submit_urb(ctrl irq) failed [Wed Aug 6 16:52:50 2025] [ T355745] usb 1-2: device not accepting address 12, error -62 [Wed Aug 6 16:52:50 2025] [ T359046] usb 1-2: USB disconnect, device number 12 [Wed Aug 6 16:52:50 2025] [ T359046] usb 1-3: USB disconnect, device number 4 [Wed Aug 6 16:52:50 2025] [ T359046] usb 1-3.1: USB disconnect, device number 6 [Wed Aug 6 16:52:50 2025] [ T359046] usb 1-4: USB disconnect, device number 16 [Wed Aug 6 16:52:50 2025] [ T359046] usb 1-5: USB disconnect, device number 15 [Wed Aug 6 16:52:50 2025] [ T359046] usb 1-7: USB disconnect, device number 8
Is the problem that this USB device fails to work, or that it takes down the whole bus while failing to work as usual?
The latter issue looks like some ASMedia xHCI controller being unhappy about something. What does 'lspci' say about this 0e:00.0?
So far I failed to repro this on v6.16.0 with a few of my ASMedias and a dummy device which never responds to any packet.
Can you mount debugfs and get these two files after the HC goes dead?
/sys/kernel/debug/usb/xhci/0000:0e:00.0/command-ring/trbs /sys/kernel/debug/usb/xhci/0000:0e:00.0/event-ring/trbs
Regards, Michal