xhci: avoid futile stop endpoint command and host teardown
Subsystems (2)
cover xhci: avoid futile stop endpoint command and host teardown
This series is an attempt to avoid stop endpoint command failure leading to xhci teardown with messages:
xHCI host not responding to stop endpoint command
xHCI host controller not responding, assume dead
Series is based on a discussion with Michal and Xu Rao:
https://lore.kernel.org/linux-usb/[email protected]/
A Renesas xHC host with a device behind a disconnected hub failed to complete a stop endoint command immediately after a endpoint soft reset and restart. Michal had some plausible theories why stop endpoint command issued immediately after endpoint restart fails after disconnect.
Many of these cases can be avoided as xhci driver knows the rootport link state and can avoid futile transfer retry and recovery on link error or disconnect
I don't have a easy way to reproduce this myself, all testing is welcome
Thanks
Mathias
Mathias Nyman (3):
xhci: include all root port children in recovery prevention on link
error
xhci: prevent endpoint recovery after roothub disconnect
xhci: avoid xHC endpoint changes after disconnect or link error.
drivers/usb/host/xhci-ring.c | 50 +++++++++++++++++++++++++----------- drivers/usb/host/xhci.c | 9 ++++--- drivers/usb/host/xhci.h | 11 +++----- 3 files changed, 43 insertions(+), 27 deletions(-)
Signature · 1 line
2.43.0
PATCH 1/3 xhci: include all root port children in recovery prevention on link error
Driver already prevents useless transfer retry and endpoint recovery for devices directly connected to a root port with link errors.
These devices are either disconnecting or will be reset. Link is gone.
Move the flag indicating link error from the xhci device structure to the root port strucure, allowing all child devices behind hubs to easily check for root port link errors, avoiding useless transfer retries and endpoint recovery.
This extends the previous endpoint recovery prevention in
commit b8c3b718087b ("usb: xhci: Don't try to recover an endpoint if port is in error state.") Only root port link errors can be detected early by xhci driver,
not link errors between external hubs and their children.
--- drivers/usb/host/xhci-ring.c | 27 +++++++++++++++------------ drivers/usb/host/xhci.c | 4 +--- drivers/usb/host/xhci.h | 9 +-------- 3 files changed, 17 insertions(+), 23 deletions(-)
drivers/usb/host/xhci-ring.c +15 -12
@@ -993,7 +993,7 @@ static int xhci_handle_halted_endpoint(struct xhci_hcd *xhci,* Avoid resetting endpoint if link is inactive. Can cause host hang. * Device will be reset soon to recover the link so don't do anything */ -if (ep->vdev->flags &VDEV_PORT_ERROR ) +if (ep->vdev->rhub_port->link_inactive)return -ENODEV ;/* add td to cancelled list and let reset ep handler take care of it */
@@ -1992,13 +1992,15 @@ static void xhci_cavium_reset_phy_quirk(struct xhci_hcd *xhci)static void handle_port_status (struct xhci_hcd *xhci,union xhci_trb *event) {struct xhci_virt_device *vdev =NULL ; -struct usb_hcd *hcd; -u32 port_id; -u32 portsc, cmd_reg; -unsigned int hcd_portnum;struct xhci_bus_state *bus_state; -bool bogus_port_status = false;struct xhci_port *port; +struct usb_hcd *hcd; +bool bogus_port_status = false; +unsigned int hcd_portnum; +u32 cmd_reg; +u32 port_id; +u32 portsc; +u32 pls;/* Port status change events always have a successful completion code */ if (GET_COMP_CODE (le32_to_cpu (event->generic.field[2 ])) !=COMP_SUCCESS )
@@ -2035,6 +2037,7 @@ static void handle_port_status(struct xhci_hcd *xhci, union xhci_trb *event) bus_state = &port->rhub->bus_state; hcd_portnum = port->hcd_portnum; portsc =xhci_portsc_readl (port); + pls = portsc &PORT_PLS_MASK ;xhci_dbg (xhci,"Port change event, %d-%d, id %d, portsc: 0x%x\n" , hcd->self.busnum, hcd_portnum +1 , port_id, portsc);
@@ -2046,12 +2049,12 @@ static void handle_port_status(struct xhci_hcd *xhci, union xhci_trb *event)usb_hcd_resume_root_hub (hcd); } -if (vdev && (portsc &PORT_PLS_MASK ) ==XDEV_INACTIVE ) { -if (!(portsc &PORT_RESET )) - vdev->flags |=VDEV_PORT_ERROR ; - }else if (vdev && portsc &PORT_RC ) { - vdev->flags &= ~VDEV_PORT_ERROR ; - } +/* +* Tag broken links to avoid retries while hub driver sorts it out. +* Link status is not relible while port is in reset. +*/ +if (!(portsc &PORT_RESET )) + port->link_inactive = (pls ==XDEV_INACTIVE );if ((portsc &PORT_PLC ) && (portsc &PORT_PLS_MASK ) ==XDEV_RESUME ) {xhci_dbg (xhci,"port resume event for port %d\n" , port_id);
drivers/usb/host/xhci.c +1 -3
@@ -1667,7 +1667,7 @@ static int xhci_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flag goto free_priv; } -if (xhci->devs[slot_id]->flags &VDEV_PORT_ERROR ) { +if (xhci->devs[slot_id]->rhub_port->link_inactive) {xhci_dbg (xhci,"Can't queue urb, port error, link inactive\n" ); ret = -ENODEV ; goto free_priv;
@@ -4029,7 +4029,6 @@ static int xhci_discover_or_reset_device(struct usb_hcd *hcd, xhci_get_slot_state(xhci, virt_dev->out_ctx));xhci_dbg (xhci,"Not freeing device rings.\n" );/* Don't treat this as an error. May change my mind later. */ - virt_dev->flags =0 ; ret =0 ; goto command_cleanup;case COMP_SUCCESS :
@@ -4081,7 +4080,6 @@ static int xhci_discover_or_reset_device(struct usb_hcd *hcd, }/* If necessary, update the number of active TTs on this root port */ xhci_update_tt_active_eps (xhci, virt_dev, old_active_eps); - virt_dev->flags =0 ; ret =0 ; command_cleanup:
drivers/usb/host/xhci.h +1 -8
@@ -750,14 +750,6 @@ struct xhci_virt_device {struct xhci_port *rhub_port;struct xhci_interval_bw_table *bw_table;struct xhci_tt_bw_info *tt_info; -/* -* flags for state tracking based on events and issued commands. -* Software can not rely on states from output contexts because of -* latency between events and xHC updating output context values. -* See xhci 1.1 section 4.8.3 for more details -*/ -unsigned long flags; -#define VDEV_PORT_ERROR BIT(0)/* Port error, link inactive */ /* The current max exit latency for the enabled USB3 link states. */ u16 current_mel;
@@ -1478,6 +1470,7 @@ struct xhci_port {int hcd_portnum;struct xhci_hub *rhub;struct xhci_port_cap *port_cap; + unsigned int link_inactive:1; unsigned int lpm_incapable:1;unsigned long resume_timestamp;bool rexit_active;
Signature · 1 line
2.43.0
PATCH 2/3 xhci: prevent endpoint recovery after roothub disconnect
In reply to Mathias NymanPrevent transfer retry and endpoint recovery if the device or its parent disconnected from the roothub. Just like link error case.
There is a suspicion some xHC controllers may stop processing endpoint related commands after the last USB device disconnects from the host.
Disconnect often causes transaction errors, xhci driver tries to (soft) reset and restart the endpoint to recover it.
Hub driver again will cancel all pending URBs once disconnect is detected, stopping the endpoint right after (soft) reset restarted it. xHC controller sometimes fail to complete the stop endpoint command, leading to driver timing out, and tearing down xhci
Prevent extra endpoint (soft) reset after xhci driver is aware of the parent roothub port disconnect.
--- drivers/usb/host/xhci-ring.c | 12 ++++++++---- drivers/usb/host/xhci.h | 1 + 2 files changed, 9 insertions(+), 4 deletions(-)
drivers/usb/host/xhci-ring.c +8 -4
@@ -986,14 +986,16 @@ static int xhci_handle_halted_endpoint(struct xhci_hcd *xhci,struct xhci_td *td, enum xhci_ep_reset_type reset_type) { + struct xhci_port *rhub_port = ep->vdev->rhub_port;unsigned int slot_id = ep->vdev->slot_id;int err;/* -* Avoid resetting endpoint if link is inactive. Can cause host hang. -* Device will be reset soon to recover the link so don't do anything +* Avoid resetting endpoint if link is inactive or device disonnected. +* Can cause host hang. +* Device will be reset to recover an inactive link, so don't do anything */ -if (ep->vdev->rhub_port->link_inactive) +if (rhub_port->link_inactive || !rhub_port->connected)return -ENODEV ;/* add td to cancelled list and let reset ep handler take care of it */
@@ -2053,8 +2055,10 @@ static void handle_port_status(struct xhci_hcd *xhci, union xhci_trb *event)* Tag broken links to avoid retries while hub driver sorts it out. * Link status is not relible while port is in reset. */ -if (!(portsc &PORT_RESET )) +if (!(portsc &PORT_RESET )) { port->link_inactive = (pls ==XDEV_INACTIVE ); + port->connected = !!(portsc &PORT_CONNECT ); + }if ((portsc &PORT_PLC ) && (portsc &PORT_PLS_MASK ) ==XDEV_RESUME ) {xhci_dbg (xhci,"port resume event for port %d\n" , port_id);
drivers/usb/host/xhci.h +1 -0
@@ -1471,6 +1471,7 @@ struct xhci_port {struct xhci_hub *rhub;struct xhci_port_cap *port_cap; unsigned int link_inactive:1; + unsigned int connected:1; unsigned int lpm_incapable:1;unsigned long resume_timestamp;bool rexit_active;
Signature · 1 line
2.43.0
PATCH 3/3 xhci: avoid xHC endpoint changes after disconnect or link error.
In reply to Mathias NymanAvoid all extra endpoint state changes after the roothub link is lost due to disconnect or link error, and endpoint is known to be in a non-running state.
Rapid endpoint state changes involving endpoint reset, restart, and stopping the endpoint have caused xHC failures to complete stop endpoint command. xhci driver sees this as a fatal flaw and tears down xhci.
These endpoint state changes are normally part of recovery from transaction errors or URB cancel.
In this case recovery is not needed.
Add an endpoint state called EP_DROP_PENDING.
Set ep->ep_state |= EP_DROP_PENDING when an endpoint is found in a halted or stopped non-running state, and the roothub link is lost. Prevent endpoint from restarting.
URB cancel doesn't need to stop the endpoint if EP_DROP_PENDONG is set. URBs can be given back directly.
Endpoint is, and will remain stopped until it's dropped.
--- drivers/usb/host/xhci-ring.c | 19 ++++++++++++++++--- drivers/usb/host/xhci.c | 5 ++++- drivers/usb/host/xhci.h | 1 + 3 files changed, 21 insertions(+), 4 deletions(-)
drivers/usb/host/xhci-ring.c +16 -3
@@ -561,8 +561,8 @@ void xhci_ring_ep_doorbell(struct xhci_hcd *xhci,* pointer command pending because the device can choose to start any * stream once the endpoint is on the HW schedule. */ -if ((ep_state &EP_STOP_CMD_PENDING ) || (ep_state &SET_DEQ_PENDING ) || - (ep_state &EP_HALTED ) || (ep_state &EP_CLEARING_TT )) +if (ep_state & (EP_STOP_CMD_PENDING |SET_DEQ_PENDING |EP_HALTED | +EP_CLEARING_TT |EP_DROP_PENDING ))return ;trace_xhci_ring_ep_doorbell (slot_id,DB_VALUE (ep_index, stream_id));
@@ -995,8 +995,10 @@ static int xhci_handle_halted_endpoint(struct xhci_hcd *xhci,* Can cause host hang. * Device will be reset to recover an inactive link, so don't do anything */ -if (rhub_port->link_inactive || !rhub_port->connected) +if (rhub_port->link_inactive || !rhub_port->connected) { + ep->ep_state |=EP_DROP_PENDING ;return -ENODEV ; + }/* add td to cancelled list and let reset ep handler take care of it */ if (reset_type ==EP_HARD_RESET ) {
@@ -1066,6 +1068,13 @@ static int xhci_invalidate_cancelled_tds(struct xhci_virt_ep *ep) td->urb, td->urb->stream_id);continue ; } + +/* device disconnected or link error, ep will be dropped */ +if (ep->ep_state &EP_DROP_PENDING ) { + td->cancel_status =TD_CLEARED ; +continue ; + } +/* * If a ring stopped on the TD we need to cancel then we have to * move the xHC endpoint ring dequeue pointer past this TD.
@@ -1296,6 +1305,10 @@ static void xhci_handle_cmd_stop_ep(struct xhci_hcd *xhci, int slot_id, } } +/* link is inactive or disconnected, ep is not running and shouldn't be restarted */ +if (ep->vdev->rhub_port->link_inactive || !ep->vdev->rhub_port->connected) + ep->ep_state |=EP_DROP_PENDING ; +/* will queue a set TR deq if stopped on a cancelled, uncleared TD */ xhci_invalidate_cancelled_tds (ep); ep->ep_state &= ~EP_STOP_CMD_PENDING ;
drivers/usb/host/xhci.c +4 -1
@@ -1855,7 +1855,7 @@ static int xhci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) }/* In this case no commands are pending but the endpoint is stopped */ -if (ep->ep_state &EP_CLEARING_TT ) { +if (ep->ep_state & (EP_CLEARING_TT |EP_DROP_PENDING )) {/* and cancelled TDs can be given back right away */ xhci_dbg (xhci,"Invalidating TDs instantly on slot %d ep %d in state 0x%x\n" , urb->dev->slot_id, ep_index, ep->ep_state);
@@ -4083,6 +4083,9 @@ static int xhci_discover_or_reset_device(struct usb_hcd *hcd, ret =0 ; command_cleanup: +for (i =0 ; i <EP_CTX_PER_DEV ; i++) + virt_dev->eps[i].ep_state &= ~EP_DROP_PENDING ; +xhci_free_command (xhci, reset_device_cmd);return ret; }
drivers/usb/host/xhci.h +1 -0
@@ -674,6 +674,7 @@ struct xhci_virt_ep {#define EP_SOFT_CLEAR_TOGGLE BIT(7)/* usb_hub_clear_tt_buffer is in progress */ #define EP_CLEARING_TT BIT(8) +#define EP_DROP_PENDING BIT(9)/* port disconnect or link error, don't restart */ /* ---- Related to URB cancellation ---- */ struct list_head cancelled_td_list;struct xhci_hcd *xhci;
Signature · 1 line
2.43.0
Hi Mathias,
I tested this series on the Renesas uPD720201 xHCI controller with the GenesysLogic hub and RTL8153 device behind it.
The original failure is no longer reproduced. After unplugging the hub, the xHCI driver no longer tears down the host, and I no longer see:
xHCI host not responding to stop endpoint command xHCI host controller not responding, assume dead
The log also shows the new EP_DROP_PENDING path is used during disconnect, for example cancelled TDs are invalidated directly instead of queuing a futile Stop Endpoint command.
The full test log is included below for reference.
----- test log begin -----
2026-06-30T14:43:01.489660+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Port change event, 1-3, id 7, portsc: 0x202e1 2026-06-30T14:43:01.489675+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: handle_port_status: starting usb1 port polling. 2026-06-30T14:43:01.489682+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x202e1, return 0x10101 2026-06-30T14:43:01.489685+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: clear port3 connect change, portsc: 0x2e1 2026-06-30T14:43:01.489687+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x2e1, return 0x101 2026-06-30T14:43:01.528610+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x2e1, return 0x101 2026-06-30T14:43:01.564609+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x2e1, return 0x101 2026-06-30T14:43:01.568611+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Port change event, 2-3, id 3, portsc: 0xa021203 2026-06-30T14:43:01.568615+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: resume root hub 2026-06-30T14:43:01.568616+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: handle_port_status: starting usb2 port polling. 2026-06-30T14:43:01.596610+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 2-1 read: 0x2a0, return 0x2a0 2026-06-30T14:43:01.596613+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 2-2 read: 0x1263, return 0x263 2026-06-30T14:43:01.596614+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 2-3 read: 0x21203, return 0x10203 2026-06-30T14:43:01.596615+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: clear port3 connect change, portsc: 0x1203 2026-06-30T14:43:01.596615+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 2-4 read: 0x2a0, return 0x2a0 2026-06-30T14:43:01.596619+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x2e1, return 0x101 2026-06-30T14:43:01.636613+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x2e1, return 0x101 2026-06-30T14:43:01.636617+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:01.636618+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Slot 6 output ctx = 0x0x0000002002ac7000 (dma) 2026-06-30T14:43:01.636619+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Slot 6 input ctx = 0x0x000000201334b000 (dma) 2026-06-30T14:43:01.636620+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Set slot id 6 dcbaa entry 00000000e305d9d2 to 0x2002ac7000 2026-06-30T14:43:01.636621+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: set port reset, actual port 1-3 status = 0x331 2026-06-30T14:43:01.683298+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Port change event, 1-3, id 7, portsc: 0x200e03 2026-06-30T14:43:01.683302+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: handle_port_status: starting usb1 port polling. 2026-06-30T14:43:01.700622+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_hub_status_data: stopping usb2 port polling 2026-06-30T14:43:01.700628+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x200e03, return 0x100503 2026-06-30T14:43:01.704613+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: clear port3 reset change, portsc: 0xe03 2026-06-30T14:43:01.704618+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 2-3 read: 0x1203, return 0x203 2026-06-30T14:43:01.704621+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_hub_status_data: stopping usb2 port polling 2026-06-30T14:43:01.768615+08:00 uos-PC kernel: usb 1-3: new high-speed USB device number 6 using xhci_hcd 2026-06-30T14:43:01.768620+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Set root hub portnum to 7 2026-06-30T14:43:01.768621+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Set fake root hub portnum to 3 2026-06-30T14:43:01.768622+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: udev->tt = 0000000000000000 2026-06-30T14:43:01.768623+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: udev->ttport = 0x0 2026-06-30T14:43:01.768625+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:01.768626+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Successful setup context command 2026-06-30T14:43:01.768627+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Op regs DCBAA ptr = 0x0000201d47a000 2026-06-30T14:43:01.768628+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Slot ID 6 dcbaa entry @00000000e305d9d2 = 0x00002002ac7000 2026-06-30T14:43:01.768629+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Output Context DMA address = 0x2002ac7000 2026-06-30T14:43:01.768629+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Internal device address = 0 2026-06-30T14:43:01.768631+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Waiting for status stage event 2026-06-30T14:43:01.768632+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: set port reset, actual port 1-3 status = 0x331 2026-06-30T14:43:01.820611+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Port change event, 1-3, id 7, portsc: 0x200e03 2026-06-30T14:43:01.820616+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: handle_port_status: starting usb1 port polling. 2026-06-30T14:43:01.840610+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x200e03, return 0x100503 2026-06-30T14:43:01.840615+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: clear port3 reset change, portsc: 0xe03 2026-06-30T14:43:01.900613+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Resetting device with slot ID 6 2026-06-30T14:43:01.900618+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:01.900619+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Completed reset device command. 2026-06-30T14:43:01.900620+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Can't reset device (slot ID 6) in default state 2026-06-30T14:43:01.900627+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Not freeing device rings. 2026-06-30T14:43:01.900628+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:01.900629+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Successful setup address command 2026-06-30T14:43:01.900629+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Op regs DCBAA ptr = 0x0000201d47a000 2026-06-30T14:43:01.900630+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Slot ID 6 dcbaa entry @00000000e305d9d2 = 0x00002002ac7000 2026-06-30T14:43:01.900631+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Output Context DMA address = 0x2002ac7000 2026-06-30T14:43:01.900632+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Internal device address = 6 2026-06-30T14:43:01.920618+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:01.920625+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Slot 7 output ctx = 0x0x0000002010586000 (dma) 2026-06-30T14:43:01.920626+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Slot 7 input ctx = 0x0x00000020011f6000 (dma) 2026-06-30T14:43:01.920627+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Set slot id 7 dcbaa entry 0000000044029de2 to 0x2010586000 2026-06-30T14:43:01.920628+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 2-3 read: 0x1203, return 0x203 2026-06-30T14:43:01.920634+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: set port reset, actual port 2-3 status = 0x1311 2026-06-30T14:43:01.920635+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Port change event, 2-3, id 3, portsc: 0x201203 2026-06-30T14:43:01.920636+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: handle_port_status: starting usb2 port polling. 2026-06-30T14:43:01.920637+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Waiting for status stage event 2026-06-30T14:43:01.929990+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Waiting for status stage event 2026-06-30T14:43:01.929994+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Waiting for status stage event 2026-06-30T14:43:01.929995+08:00 uos-PC kernel: usb 1-3: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice= 6.55 2026-06-30T14:43:01.937132+08:00 uos-PC kernel: usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 2026-06-30T14:43:01.937137+08:00 uos-PC kernel: usb 1-3: Product: USB2.1 Hub 2026-06-30T14:43:01.945584+08:00 uos-PC kernel: usb 1-3: Manufacturer: GenesysLogic 2026-06-30T14:43:01.948615+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: add ep 0x81, slot id 6, new drop flags = 0x0, new add flags = 0x8 2026-06-30T14:43:01.948620+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_check_bandwidth called for udev 00000000549dc7fd 2026-06-30T14:43:01.948621+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:01.948622+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Successful Endpoint Configure command 2026-06-30T14:43:01.948623+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:01.948623+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Stopped on No-op or Link TRB for slot 6 ep 2 2026-06-30T14:43:01.948624+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:01.948627+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_hub_status_data: stopping usb1 port polling 2026-06-30T14:43:01.952620+08:00 uos-PC kernel: hub 1-3:1.0: USB hub found 2026-06-30T14:43:01.957200+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Waiting for status stage event 2026-06-30T14:43:01.957205+08:00 uos-PC kernel: hub 1-3:1.0: 4 ports detected 2026-06-30T14:43:01.960614+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xHCI version 100 needs hub TT think time and number of ports 2026-06-30T14:43:01.960619+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Set up configure endpoint for hub device. 2026-06-30T14:43:01.960620+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:01.960622+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Successful Endpoint Configure command 2026-06-30T14:43:01.992627+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 2-3 read: 0x201203, return 0x100203 2026-06-30T14:43:01.992639+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: clear port3 reset change, portsc: 0x1203 2026-06-30T14:43:01.992640+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: clear port3 warm(BH) reset change, portsc: 0x1203 2026-06-30T14:43:01.992641+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: clear port3 link state change, portsc: 0x1203 2026-06-30T14:43:01.992642+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: clear port3 connect change, portsc: 0x1203 2026-06-30T14:43:01.992643+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 2-3 read: 0x1203, return 0x203 2026-06-30T14:43:02.055885+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Set root hub portnum to 3 2026-06-30T14:43:02.055892+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Set fake root hub portnum to 3 2026-06-30T14:43:02.055894+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: udev->tt = 0000000000000000 2026-06-30T14:43:02.055895+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: udev->ttport = 0x0 2026-06-30T14:43:02.055896+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:02.055898+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Successful setup address command 2026-06-30T14:43:02.055899+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Op regs DCBAA ptr = 0x0000201d47a000 2026-06-30T14:43:02.055900+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Slot ID 7 dcbaa entry @0000000044029de2 = 0x00002010586000 2026-06-30T14:43:02.055901+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Output Context DMA address = 0x2010586000 2026-06-30T14:43:02.055902+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Internal device address = 7 2026-06-30T14:43:02.055903+08:00 uos-PC kernel: usb 2-3: new SuperSpeed USB device number 3 using xhci_hcd 2026-06-30T14:43:02.076954+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Waiting for status stage event 2026-06-30T14:43:02.086365+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Waiting for status stage event 2026-06-30T14:43:02.086371+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Waiting for status stage event 2026-06-30T14:43:02.086372+08:00 uos-PC kernel: usb 2-3: New USB device found, idVendor=05e3, idProduct=0626, bcdDevice= 6.55 2026-06-30T14:43:02.086376+08:00 uos-PC kernel: usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 2026-06-30T14:43:02.097402+08:00 uos-PC kernel: usb 2-3: Product: USB3.1 Hub 2026-06-30T14:43:02.097407+08:00 uos-PC kernel: usb 2-3: Manufacturer: GenesysLogic 2026-06-30T14:43:02.104615+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: add ep 0x81, slot id 7, new drop flags = 0x0, new add flags = 0x8 2026-06-30T14:43:02.104621+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_check_bandwidth called for udev 00000000a337f2a6 2026-06-30T14:43:02.104623+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:02.104624+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Successful Endpoint Configure command 2026-06-30T14:43:02.104626+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:02.104627+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Stopped on No-op or Link TRB for slot 7 ep 2 2026-06-30T14:43:02.104628+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:02.109576+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Waiting for status stage event 2026-06-30T14:43:02.109581+08:00 uos-PC kernel: hub 2-3:1.0: USB hub found 2026-06-30T14:43:02.114196+08:00 uos-PC kernel: hub 2-3:1.0: 4 ports detected 2026-06-30T14:43:02.116611+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xHCI version 100 needs hub TT think time and number of ports 2026-06-30T14:43:02.116616+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Set up configure endpoint for hub device. 2026-06-30T14:43:02.116618+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:02.116620+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Successful Endpoint Configure command 2026-06-30T14:43:02.172621+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:02.172633+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Slot 8 output ctx = 0x0x000000201ef4a000 (dma) 2026-06-30T14:43:02.172634+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Slot 8 input ctx = 0x0x000000201c0a8000 (dma) 2026-06-30T14:43:02.172635+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Set slot id 8 dcbaa entry 00000000a0b955d3 to 0x201ef4a000 2026-06-30T14:43:02.200613+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_hub_status_data: stopping usb2 port polling 2026-06-30T14:43:02.896624+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:02.896639+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Bad real port. 2026-06-30T14:43:02.896640+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:02.896641+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Slot 8 output ctx = 0x0x000000201ef4a000 (dma) 2026-06-30T14:43:02.896642+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Slot 8 input ctx = 0x0x000000201c0a8000 (dma) 2026-06-30T14:43:02.896643+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Set slot id 8 dcbaa entry 00000000a0b955d3 to 0x201ef4a000 2026-06-30T14:43:02.912612+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: ep 0x81 - asked for 2 bytes, 1 bytes untransferred 2026-06-30T14:43:02.980114+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Set root hub portnum to 3 2026-06-30T14:43:02.980120+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Set fake root hub portnum to 3 2026-06-30T14:43:02.980121+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: udev->tt = 0000000000000000 2026-06-30T14:43:02.980122+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: udev->ttport = 0x0 2026-06-30T14:43:02.980123+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:02.980124+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Successful setup address command 2026-06-30T14:43:02.980125+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Op regs DCBAA ptr = 0x0000201d47a000 2026-06-30T14:43:02.980126+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Slot ID 8 dcbaa entry @00000000a0b955d3 = 0x0000201ef4a000 2026-06-30T14:43:02.980127+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Output Context DMA address = 0x201ef4a000 2026-06-30T14:43:02.980128+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Internal device address = 8 2026-06-30T14:43:02.980129+08:00 uos-PC kernel: usb 2-3.1: new SuperSpeed USB device number 4 using xhci_hcd 2026-06-30T14:43:03.011180+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Waiting for status stage event 2026-06-30T14:43:03.011183+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Waiting for status stage event 2026-06-30T14:43:03.011184+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Waiting for status stage event 2026-06-30T14:43:03.011185+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Waiting for status stage event 2026-06-30T14:43:03.011187+08:00 uos-PC kernel: usb 2-3.1: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=31.00 2026-06-30T14:43:03.011189+08:00 uos-PC kernel: usb 2-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=6 2026-06-30T14:43:03.023351+08:00 uos-PC kernel: usb 2-3.1: Product: USB 10/100/1000 LAN 2026-06-30T14:43:03.023355+08:00 uos-PC kernel: usb 2-3.1: Manufacturer: Realtek 2026-06-30T14:43:03.032041+08:00 uos-PC kernel: usb 2-3.1: SerialNumber: 001000001 2026-06-30T14:43:03.032615+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: add ep 0x83, slot id 8, new drop flags = 0x0, new add flags = 0x80 2026-06-30T14:43:03.032621+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_check_bandwidth called for udev 00000000cdc8c433 2026-06-30T14:43:03.032623+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.036616+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Successful Endpoint Configure command 2026-06-30T14:43:03.036623+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.036624+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Stopped on No-op or Link TRB for slot 8 ep 6 2026-06-30T14:43:03.036625+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.036626+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Waiting for status stage event 2026-06-30T14:43:03.052620+08:00 uos-PC kernel: usbcore: registered new device driver r8152-cfgselector 2026-06-30T14:43:03.052631+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_drop_endpoint called for udev 00000000cdc8c433 2026-06-30T14:43:03.052633+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: drop ep 0x83, slot id 8, new drop flags = 0x80, new add flags = 0x0 2026-06-30T14:43:03.052634+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_check_bandwidth called for udev 00000000cdc8c433 2026-06-30T14:43:03.052635+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.052636+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Successful Endpoint Configure command 2026-06-30T14:43:03.052644+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_check_bandwidth called for udev 00000000cdc8c433 2026-06-30T14:43:03.056616+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: add ep 0x83, slot id 8, new drop flags = 0x0, new add flags = 0x81 2026-06-30T14:43:03.056622+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_check_bandwidth called for udev 00000000cdc8c433 2026-06-30T14:43:03.056623+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.056624+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Successful Endpoint Configure command 2026-06-30T14:43:03.056626+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.056627+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Stopped on No-op or Link TRB for slot 8 ep 6 2026-06-30T14:43:03.056628+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.060626+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_drop_endpoint called for udev 00000000cdc8c433 2026-06-30T14:43:03.060632+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: drop ep 0x83, slot id 8, new drop flags = 0x80, new add flags = 0x0 2026-06-30T14:43:03.060633+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_check_bandwidth called for udev 00000000cdc8c433 2026-06-30T14:43:03.060634+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.060636+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Successful Endpoint Configure command 2026-06-30T14:43:03.060637+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: add ep 0x81, slot id 8, new drop flags = 0x0, new add flags = 0x8 2026-06-30T14:43:03.060638+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: add ep 0x2, slot id 8, new drop flags = 0x0, new add flags = 0x18 2026-06-30T14:43:03.060639+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: add ep 0x83, slot id 8, new drop flags = 0x0, new add flags = 0x98 2026-06-30T14:43:03.060640+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_check_bandwidth called for udev 00000000cdc8c433 2026-06-30T14:43:03.060641+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.060642+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Successful Endpoint Configure command 2026-06-30T14:43:03.060643+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.060643+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Stopped on No-op or Link TRB for slot 8 ep 2 2026-06-30T14:43:03.060644+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.064613+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.064617+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Stopped on No-op or Link TRB for slot 8 ep 3 2026-06-30T14:43:03.064618+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.064620+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.064621+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Stopped on No-op or Link TRB for slot 8 ep 6 2026-06-30T14:43:03.064622+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.072611+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: ep 0x81 - asked for 2 bytes, 1 bytes untransferred 2026-06-30T14:43:03.088620+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: ep 0x81 - asked for 2 bytes, 1 bytes untransferred 2026-06-30T14:43:03.150213+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Resetting device with slot ID 8 2026-06-30T14:43:03.150219+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.150220+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Completed reset device command. 2026-06-30T14:43:03.150221+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Successful reset device command. 2026-06-30T14:43:03.158967+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.158973+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Successful setup address command 2026-06-30T14:43:03.158974+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Op regs DCBAA ptr = 0x0000201d47a000 2026-06-30T14:43:03.158975+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Slot ID 8 dcbaa entry @00000000a0b955d3 = 0x0000201ef4a000 2026-06-30T14:43:03.158977+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Output Context DMA address = 0x201ef4a000 2026-06-30T14:43:03.158978+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Internal device address = 8 2026-06-30T14:43:03.158979+08:00 uos-PC kernel: r8152-cfgselector 2-3.1: reset SuperSpeed USB device number 4 using xhci_hcd 2026-06-30T14:43:03.180095+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Waiting for status stage event 2026-06-30T14:43:03.180609+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: add ep 0x81, slot id 8, new drop flags = 0x0, new add flags = 0x8 2026-06-30T14:43:03.180612+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: add ep 0x2, slot id 8, new drop flags = 0x0, new add flags = 0x18 2026-06-30T14:43:03.180613+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: add ep 0x83, slot id 8, new drop flags = 0x0, new add flags = 0x98 2026-06-30T14:43:03.180615+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_check_bandwidth called for udev 00000000cdc8c433 2026-06-30T14:43:03.180617+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.184616+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Successful Endpoint Configure command 2026-06-30T14:43:03.184621+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.184622+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Stopped on No-op or Link TRB for slot 8 ep 2 2026-06-30T14:43:03.184623+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.184625+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.184626+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Stopped on No-op or Link TRB for slot 8 ep 3 2026-06-30T14:43:03.188613+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.188618+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.188619+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Stopped on No-op or Link TRB for slot 8 ep 6 2026-06-30T14:43:03.188620+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.256613+08:00 uos-PC kernel: r8152 2-3.1:1.0: load rtl8153b-2 v2 04/27/23 successfully 2026-06-30T14:43:03.324911+08:00 uos-PC kernel: r8152 2-3.1:1.0 eth0: v1.12.13 2026-06-30T14:43:03.324920+08:00 uos-PC kernel: usbcore: registered new interface driver r8152 2026-06-30T14:43:03.342181+08:00 uos-PC kernel: usbcore: registered new interface driver cdc_ether 2026-06-30T14:43:03.342195+08:00 uos-PC kernel: usbcore: registered new interface driver r8153_ecm 2026-06-30T14:43:03.352647+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Stalled endpoint for slot 8 ep 0 2026-06-30T14:43:03.352664+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Hard-reset ep 0, slot 8 2026-06-30T14:43:03.352666+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.352667+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Ignoring reset ep completion code of 1 2026-06-30T14:43:03.352669+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Removing canceled TD starting at 0x20109093b0 (dma) in stream 0 URB 000000002767c1a4 2026-06-30T14:43:03.352671+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Set TR Deq ptr 0x20109093e0, cycle 0 2026-06-30T14:43:03.352672+08:00 uos-PC kernel: 2026-06-30T14:43:03.352673+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.352674+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_giveback_invalidated_tds: Keep cancelled URB 000000002767c1a4 TD as cancel_status is 2 2026-06-30T14:43:03.352675+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Successful Set TR Deq Ptr cmd, deq = @20109093e0 2026-06-30T14:43:03.352677+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_handle_cmd_set_deq: Giveback cancelled URB 000000002767c1a4 TD 2026-06-30T14:43:03.352678+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Giveback URB 000000002767c1a4, len = 0, expected = 1024, status = -32 2026-06-30T14:43:03.352679+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_handle_cmd_set_deq: All TDs cleared, ring doorbell 2026-06-30T14:43:03.368686+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Stalled endpoint for slot 8 ep 0 2026-06-30T14:43:03.368695+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Hard-reset ep 0, slot 8 2026-06-30T14:43:03.368696+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.368697+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Ignoring reset ep completion code of 1 2026-06-30T14:43:03.368698+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Removing canceled TD starting at 0x20109093e0 (dma) in stream 0 URB 00000000d290122d 2026-06-30T14:43:03.368700+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Set TR Deq ptr 0x2010909410, cycle 0 2026-06-30T14:43:03.368701+08:00 uos-PC kernel: 2026-06-30T14:43:03.368702+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.368702+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_giveback_invalidated_tds: Keep cancelled URB 00000000d290122d TD as cancel_status is 2 2026-06-30T14:43:03.368789+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Successful Set TR Deq Ptr cmd, deq = @2010909410 2026-06-30T14:43:03.368801+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_handle_cmd_set_deq: Giveback cancelled URB 00000000d290122d TD 2026-06-30T14:43:03.368802+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Giveback URB 00000000d290122d, len = 0, expected = 1024, status = -32 2026-06-30T14:43:03.368803+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_handle_cmd_set_deq: All TDs cleared, ring doorbell 2026-06-30T14:43:03.380623+08:00 uos-PC kernel: r8152 2-3.1:1.0 enx2c16dba85d18: renamed from eth0 2026-06-30T14:43:03.444727+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Cancel URB 00000000f6111d3d, dev 3, ep 0x81, starting at offset 0x201a8a5230 2026-06-30T14:43:03.444741+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.444742+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Stopped on Transfer TRB for slot 6 ep 2 2026-06-30T14:43:03.444743+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Removing canceled TD starting at 0x201a8a5230 (dma) in stream 0 URB 00000000f6111d3d 2026-06-30T14:43:03.444745+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Set TR Deq ptr 0x201a8a5240, cycle 1 2026-06-30T14:43:03.444746+08:00 uos-PC kernel: 2026-06-30T14:43:03.444748+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.444761+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_giveback_invalidated_tds: Keep cancelled URB 00000000f6111d3d TD as cancel_status is 2 2026-06-30T14:43:03.444762+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Successful Set TR Deq Ptr cmd, deq = @201a8a5240 2026-06-30T14:43:03.444763+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_handle_cmd_set_deq: Giveback cancelled URB 00000000f6111d3d TD 2026-06-30T14:43:03.444765+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Giveback URB 00000000f6111d3d, len = 0, expected = 1, status = -115 2026-06-30T14:43:03.444765+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_handle_cmd_set_deq: All TDs cleared, ring doorbell 2026-06-30T14:43:03.444766+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:03.448630+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Stopped on No-op or Link TRB for slot 6 ep 0 2026-06-30T14:43:03.448637+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Set port 1-3 link state, portsc: 0xe03, write 0x10e61 2026-06-30T14:43:10.046898+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Transfer error for slot 8 ep 6 on endpoint 2026-06-30T14:43:10.046913+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Soft-reset ep 6, slot 8 2026-06-30T14:43:10.046914+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:10.048614+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Ignoring reset ep completion code of 1 2026-06-30T14:43:10.054899+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Port change event, 2-3, id 3, portsc: 0x202c0 2026-06-30T14:43:10.054906+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: handle_port_status: starting usb2 port polling. 2026-06-30T14:43:10.054908+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 2-3 read: 0x202c0, return 0x102c0 2026-06-30T14:43:10.054909+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: clear port3 connect change, portsc: 0x2c0 2026-06-30T14:43:10.060700+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Port change event, 1-3, id 7, portsc: 0x202a0 2026-06-30T14:43:10.060704+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: handle_port_status: starting usb1 port polling. 2026-06-30T14:43:10.060704+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x202a0, return 0x10100 2026-06-30T14:43:10.060705+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: clear port3 connect change, portsc: 0x2a0 2026-06-30T14:43:10.060707+08:00 uos-PC kernel: usb 1-3: USB disconnect, device number 6 2026-06-30T14:43:10.064693+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_drop_endpoint called for udev 00000000549dc7fd 2026-06-30T14:43:10.064706+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: drop ep 0x81, slot id 6, new drop flags = 0x8, new add flags = 0x0 2026-06-30T14:43:10.064707+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_check_bandwidth called for udev 00000000549dc7fd 2026-06-30T14:43:10.064708+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:10.064709+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Successful Endpoint Configure command 2026-06-30T14:43:10.064710+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:10.064711+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Transfer error for slot 8 ep 6 on endpoint 2026-06-30T14:43:10.064712+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x2a0, return 0x100 2026-06-30T14:43:10.085597+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 2-3 read: 0x2a0, return 0x2a0 2026-06-30T14:43:10.085608+08:00 uos-PC kernel: usb 2-3: USB disconnect, device number 3 2026-06-30T14:43:10.091979+08:00 uos-PC kernel: r8152-cfgselector 2-3.1: USB disconnect, device number 4 2026-06-30T14:43:10.092614+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Cancel URB 0000000031fec43b, dev 3.1, ep 0x83, starting at offset 0x2023d4ece0 2026-06-30T14:43:10.092619+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Invalidating TDs instantly on slot 8 ep 6 in state 0x400 2026-06-30T14:43:10.092620+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Removing canceled TD starting at 0x2023d4ece0 (dma) in stream 0 URB 0000000031fec43b 2026-06-30T14:43:10.092622+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_giveback_invalidated_tds: Giveback cancelled URB 0000000031fec43b TD 2026-06-30T14:43:10.104623+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x2a0, return 0x100 2026-06-30T14:43:10.136612+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_hub_status_data: stopping usb1 port polling 2026-06-30T14:43:10.136617+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_hub_status_data: stopping usb2 port polling 2026-06-30T14:43:10.136621+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x2a0, return 0x100 2026-06-30T14:43:10.156629+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_drop_endpoint called for udev 00000000cdc8c433 2026-06-30T14:43:10.156641+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: drop ep 0x81, slot id 8, new drop flags = 0x8, new add flags = 0x0 2026-06-30T14:43:10.156642+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_drop_endpoint called for udev 00000000cdc8c433 2026-06-30T14:43:10.156644+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: drop ep 0x2, slot id 8, new drop flags = 0x18, new add flags = 0x0 2026-06-30T14:43:10.156645+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_drop_endpoint called for udev 00000000cdc8c433 2026-06-30T14:43:10.156646+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: drop ep 0x83, slot id 8, new drop flags = 0x98, new add flags = 0x0 2026-06-30T14:43:10.156663+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_check_bandwidth called for udev 00000000cdc8c433 2026-06-30T14:43:10.156665+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:10.156666+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Successful Endpoint Configure command 2026-06-30T14:43:10.156667+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: endpoint disable with ep_state 0x400 2026-06-30T14:43:10.156668+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:10.156669+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Cancel URB 00000000480e2473, dev 3, ep 0x81, starting at offset 0x2006cb4030 2026-06-30T14:43:10.156670+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:10.156671+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Stopped on Transfer TRB for slot 7 ep 2 2026-06-30T14:43:10.156672+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Removing canceled TD starting at 0x2006cb4030 (dma) in stream 0 URB 00000000480e2473 2026-06-30T14:43:10.156673+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_giveback_invalidated_tds: Giveback cancelled URB 00000000480e2473 TD 2026-06-30T14:43:10.156674+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Giveback URB 00000000480e2473, len = 0, expected = 2, status = -115 2026-06-30T14:43:10.160626+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_drop_endpoint called for udev 00000000a337f2a6 2026-06-30T14:43:10.160637+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: drop ep 0x81, slot id 7, new drop flags = 0x8, new add flags = 0x0 2026-06-30T14:43:10.160638+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_check_bandwidth called for udev 00000000a337f2a6 2026-06-30T14:43:10.160639+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:10.160640+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Successful Endpoint Configure command 2026-06-30T14:43:10.160641+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: endpoint disable with ep_state 0x400 2026-06-30T14:43:10.160642+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: // Ding dong! 2026-06-30T14:43:10.160650+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 2-3 read: 0x2a0, return 0x2a0 2026-06-30T14:43:10.176614+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x2a0, return 0x100 2026-06-30T14:43:10.200616+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 2-3 read: 0x2a0, return 0x2a0 2026-06-30T14:43:10.212610+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x2a0, return 0x100 2026-06-30T14:43:10.236614+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 2-3 read: 0x2a0, return 0x2a0 2026-06-30T14:43:10.276618+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 2-3 read: 0x2a0, return 0x2a0 2026-06-30T14:43:10.316618+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: Get port status 2-3 read: 0x2a0, return 0x2a0 2026-06-30T14:43:10.316626+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: set port remote wake mask, actual port 2-1 status = 0xe0002a0 2026-06-30T14:43:10.316627+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: set port remote wake mask, actual port 2-2 status = 0xe001263 2026-06-30T14:43:10.316628+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: set port remote wake mask, actual port 2-3 status = 0xe0002a0 2026-06-30T14:43:10.316629+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: set port remote wake mask, actual port 2-4 status = 0xe0002a0 2026-06-30T14:43:10.316631+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xhci_hub_status_data: stopping usb2 port polling
----- test log end -----
Thanks,
Xu Rao
Quoted 11 lines · Xu Rao
Hi Mathias,
I tested this series on the Renesas uPD720201 xHCI controller with the GenesysLogic hub and RTL8153 device behind it.
The original failure is no longer reproduced. After unplugging the hub, the xHCI driver no longer tears down the host, and I no longer see:
xHCI host not responding to stop endpoint command xHCI host controller not responding, assume dead
Quoted 6 lines
The log also shows the new
EP_DROP_PENDINGpath is used during disconnect, for example cancelled TDs are invalidated directly instead of queuing a futile Stop Endpoint command.Tested-by Xu Rao <[email protected]>
Thanks for testing.
Do you think this series is enough for the Renesas uPD720201 controller issue and we can skip the 'Disable soft retry' patch?
Thanks
Mathias
From: Xu Rao <[email protected]>
Hi Mathias,
Quoted 8 lines
Quoted 8 lines
xHCI host not responding to stop endpoint command xHCI host controller not responding, assume dead
The log also shows the new
EP_DROP_PENDINGpath is used during disconnect, for example cancelled TDs are invalidated directly instead of queuing a futile Stop Endpoint command.
Quoted 6 lines
Quoted 1 line
Tested-by Xu Rao <[email protected]>Thanks for testing.
Do you think this series is enough for the Renesas uPD720201 controller issue and we can skip the 'Disable soft retry' patch?
Yes, I think this series is sufficient for the uPD720201 issue I reported, and the "Disable soft retry" patch can be skipped.
I tested the series with soft retry still enabled, and the original host teardown failure was no longer reproduced.
Thanks,
Xu Rao