Linux USB
 help / color / mirror / Atom feed
* [PATCH v2] xhci: pci: Disable soft retry for Renesas uPD720201
@ 2026-06-17 10:09 raoxu
  2026-06-18 14:03 ` Mathias Nyman
  0 siblings, 1 reply; 7+ messages in thread
From: raoxu @ 2026-06-17 10:09 UTC (permalink / raw)
  To: mathias.nyman; +Cc: gregkh, linux-usb, linux-kernel, raoxu, stable

From: Xu Rao <raoxu@uniontech.com>

The Renesas uPD720201 xHCI controller can fail to complete
a Stop Endpoint command after a transaction error on an interrupt
endpoint when soft retry is used.

This was reproduced with this setup:

  xHCI: Renesas uPD720201, PCI ID 1912:0014 rev 03
  dev:  USB Ethernet device with an integrated Genesys Logic
        USB3.1 hub, USB ID 05e3:0626, and a Realtek RTL8153
        Ethernet function, USB ID 0bda:8153

Reproducer:

  1. Plug the integrated USB hub and Ethernet device into the
     1912:0014 xHCI controller.
  2. Let r8152 bind to the 0bda:8153 RTL8153 Ethernet function
     behind the integrated hub.
  3. Bring the Ethernet device up.
  4. Hot-unplug the device.

The host reports a transaction error on the RTL8153 interrupt
endpoint, queues a soft reset, and later times out the Stop
Endpoint command while disconnecting the device:

  Transfer error for slot 8 ep 6 on endpoint
  Soft-reset ep 6, slot 8
  Ignoring reset ep completion code of 1
  xHCI host not responding to stop endpoint command
  xHCI host controller not responding, assume dead
  HC died; cleaning up

The Renesas 1912:0014 controller cannot safely use the xHCI soft
retry path. Set XHCI_NO_SOFT_RETRY for this controller so
transaction errors use the pre-soft-retry recovery path. With
this quirk the same hot-unplug test no longer times out the Stop
Endpoint command and the RTL8153 remains usable and stable.

Fixes: f8f80be501aa ("xhci: Use soft retry to recover faster from transaction errors")
Cc: stable@vger.kernel.org
Signed-off-by: Xu Rao <raoxu@uniontech.com>
---
Changes in v2:
- Add Cc: stable@vger.kernel.org.

 drivers/usb/host/xhci-pci.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
index 585b2f3117b0..d70c6a6a64bb 100644
--- a/drivers/usb/host/xhci-pci.c
+++ b/drivers/usb/host/xhci-pci.c
@@ -427,6 +427,7 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
 	if (pdev->vendor == PCI_VENDOR_ID_RENESAS &&
 	    pdev->device == 0x0014) {
 		xhci->quirks |= XHCI_ZERO_64B_REGS;
+		xhci->quirks |= XHCI_NO_SOFT_RETRY;
 	}
 	if (pdev->vendor == PCI_VENDOR_ID_RENESAS &&
 	    pdev->device == 0x0015) {
--
2.50.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH v2] xhci: pci: Disable soft retry for Renesas uPD720201
  2026-06-17 10:09 [PATCH v2] xhci: pci: Disable soft retry for Renesas uPD720201 raoxu
@ 2026-06-18 14:03 ` Mathias Nyman
  2026-06-19 10:42   ` Michal Pecio
  0 siblings, 1 reply; 7+ messages in thread
From: Mathias Nyman @ 2026-06-18 14:03 UTC (permalink / raw)
  To: raoxu, mathias.nyman; +Cc: gregkh, linux-usb, linux-kernel, stable

On 6/17/26 13:09, raoxu wrote:
> From: Xu Rao <raoxu@uniontech.com>
> 
> The Renesas uPD720201 xHCI controller can fail to complete
> a Stop Endpoint command after a transaction error on an interrupt
> endpoint when soft retry is used.
> 
> This was reproduced with this setup:
> 
>    xHCI: Renesas uPD720201, PCI ID 1912:0014 rev 03
>    dev:  USB Ethernet device with an integrated Genesys Logic
>          USB3.1 hub, USB ID 05e3:0626, and a Realtek RTL8153
>          Ethernet function, USB ID 0bda:8153
> 
> Reproducer:
> 
>    1. Plug the integrated USB hub and Ethernet device into the
>       1912:0014 xHCI controller.
>    2. Let r8152 bind to the 0bda:8153 RTL8153 Ethernet function
>       behind the integrated hub.
>    3. Bring the Ethernet device up.
>    4. Hot-unplug the device.
> 
> The host reports a transaction error on the RTL8153 interrupt
> endpoint, queues a soft reset, and later times out the Stop
> Endpoint command while disconnecting the device:
> 
>    Transfer error for slot 8 ep 6 on endpoint
>    Soft-reset ep 6, slot 8
>    Ignoring reset ep completion code of 1
>    xHCI host not responding to stop endpoint command
>    xHCI host controller not responding, assume dead
>    HC died; cleaning up
> 
> The Renesas 1912:0014 controller cannot safely use the xHCI soft
> retry path. Set XHCI_NO_SOFT_RETRY for this controller so
> transaction errors use the pre-soft-retry recovery path. With
> this quirk the same hot-unplug test no longer times out the Stop
> Endpoint command and the RTL8153 remains usable and stable.
> 
> Fixes: f8f80be501aa ("xhci: Use soft retry to recover faster from transaction errors")
> Cc: stable@vger.kernel.org
> Signed-off-by: Xu Rao <raoxu@uniontech.com>
> ---

Thanks, added

I'd appreciate your opinion on a related issue.
I'm thinking about trying to recover from these stop endpoint command timeouts.

While debugging this, did xHC controller otherwise seem somewhat functional?
Did you for example see port status change events, or transfer events
between queuing the stop endpoint command and the timeout?

Thanks
Mathias

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2] xhci: pci: Disable soft retry for Renesas uPD720201
  2026-06-18 14:03 ` Mathias Nyman
@ 2026-06-19 10:42   ` Michal Pecio
  2026-06-20 12:21     ` raoxu
                       ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Michal Pecio @ 2026-06-19 10:42 UTC (permalink / raw)
  To: Mathias Nyman
  Cc: raoxu, mathias.nyman, gregkh, linux-usb, linux-kernel, stable

[-- Attachment #1: Type: text/plain, Size: 4112 bytes --]

> On 6/17/26 13:09, raoxu wrote:
> > From: Xu Rao <raoxu@uniontech.com>
> > 
> > The Renesas uPD720201 xHCI controller can fail to complete
> > a Stop Endpoint command after a transaction error on an interrupt
> > endpoint when soft retry is used.
> > 
> > This was reproduced with this setup:
> > 
> >    xHCI: Renesas uPD720201, PCI ID 1912:0014 rev 03
> >    dev:  USB Ethernet device with an integrated Genesys Logic
> >          USB3.1 hub, USB ID 05e3:0626, and a Realtek RTL8153
> >          Ethernet function, USB ID 0bda:8153

Same thing with uPD720202 (1912:0015) here.

Is the hub even necessary? In my case I have one too, but I cannot
separate it from the RTL8153 for testing.

> > Reproducer:
> > 
> >    1. Plug the integrated USB hub and Ethernet device into the
> >       1912:0014 xHCI controller.
> >    2. Let r8152 bind to the 0bda:8153 RTL8153 Ethernet function
> >       behind the integrated hub.
> >    3. Bring the Ethernet device up.
> >    4. Hot-unplug the device.

In my case, necessary step 3.5: connect a cable and wait for the
"r8152: carrier on" message. Otherwise it disconnects cleanly.

> > The host reports a transaction error on the RTL8153 interrupt
> > endpoint, queues a soft reset, and later times out the Stop
> > Endpoint command while disconnecting the device:
> > 
> >    Transfer error for slot 8 ep 6 on endpoint
> >    Soft-reset ep 6, slot 8
> >    Ignoring reset ep completion code of 1
> >    xHCI host not responding to stop endpoint command
> >    xHCI host controller not responding, assume dead
> >    HC died; cleaning up

There is other stuff too, like concurrent teardown of a separate bulk
endpoint, not yet sure what exactly breaks these chips.

Would you mind to apply the attached debug patch, reproduce and post
dmesg from your system for comparison?

> > The Renesas 1912:0014 controller cannot safely use the xHCI soft
> > retry path. Set XHCI_NO_SOFT_RETRY for this controller so
> > transaction errors use the pre-soft-retry recovery path. With
> > this quirk the same hot-unplug test no longer times out the Stop
> > Endpoint command and the RTL8153 remains usable and stable.

A bit heavy handed, but we might find no better way.

On Thu, 18 Jun 2026 17:03:26 +0300, Mathias Nyman wrote:
> I'd appreciate your opinion on a related issue.
> I'm thinking about trying to recover from these stop endpoint command
> timeouts.

I can share a bit of mine. I tried aborting Stop EP on Etron and found
the EP in some bogus state afterwards (e.g. Running but Stop EP fails
with Context State Error, or Stopped but not responing to doorbells,
something like that, I don't remember). 

Per xHCI 4.6.9 there isn't really a case when this command should time
out, so it's always some internal bug/deadlock in the xHC and IMO good
chance that abort will leave at least this one EP or slot broken.

Another case is ASMedia, which doesn't seem to implement abort at all -
at least in my tests with Address Device and a dummy device that always
NAKs, abort simply waits for the command to finish (these chips have
internal 3 second timeout on Address Device). I would expect the same
for Stop EP, except that it likely lacks internal timeout. And the
driver will busy-wait for several seconds with IRQs disabled.

> While debugging this, did xHC controller otherwise seem somewhat
> functional? Did you for example see port status change events, or
> transfer events between queuing the stop endpoint command and the
> timeout?

Mouse continues to work until we kill the HC. And I can even abort the
command, but then some URB is never given back, so teardown of the USB
device gets stuck and IDK what would happen later.

Such recovery would be a bit of work, potential chip specific bugs and
frankly we can' be sure if the EP won't try to begin executing URBs.

The spec would advise to reset the broken chip, but that's also not
easy to do, particularly if we would like USB devices to maintain their
state. On the upside, I think it's similar to existing "USB persist"
mechanism, so core and drivers might be able to handle such things.

Regards,
Michal

[-- Attachment #2: xhci-ep-info.patch --]
[-- Type: text/x-patch, Size: 11398 bytes --]

From 69a5add743e203fe58267eb4ac58cdf46b42920c Mon Sep 17 00:00:00 2001
From: Michal Pecio <michal.pecio@gmail.com>
Date: Mon, 28 Oct 2024 21:08:17 +0100
Subject: [PATCH] EP info debug

---
 drivers/usb/host/xhci-ring.c | 62 ++++++++++++++++++++++++++++++++++--
 drivers/usb/host/xhci.c      | 14 ++++++++
 drivers/usb/host/xhci.h      | 28 ++++++++++++++++
 3 files changed, 102 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c
index d9ada94ee52c..e4fee00a00b8 100644
--- a/drivers/usb/host/xhci-ring.c
+++ b/drivers/usb/host/xhci-ring.c
@@ -421,6 +421,8 @@ static unsigned int xhci_ring_expansion_needed(struct xhci_hcd *xhci, struct xhc
 /* Ring the host controller doorbell after placing a command on the ring */
 void xhci_ring_cmd_db(struct xhci_hcd *xhci)
 {
+	xhci_ep_info(xhci, 0, -1, "xhci_ring_cmd_db cmd_ring_state %d\n", xhci->cmd_ring_state);
+
 	if (!(xhci->cmd_ring_state & CMD_RING_STATE_RUNNING))
 		return;
 
@@ -565,6 +567,10 @@ void xhci_ring_ep_doorbell(struct xhci_hcd *xhci,
 	    (ep_state & EP_HALTED) || (ep_state & EP_CLEARING_TT))
 		return;
 
+	struct xhci_ep_ctx *ep_ctx = xhci_get_ep_ctx(xhci, xhci->devs[slot_id]->out_ctx, ep_index);
+	if (GET_EP_CTX_STATE(READ_ONCE(ep_ctx)) != EP_STATE_RUNNING)
+		xhci_ep_info(xhci, slot_id, ep_index, "ring_ep_doorbell stream %d\n", stream_id);
+
 	trace_xhci_ring_ep_doorbell(slot_id, DB_VALUE(ep_index, stream_id));
 
 	writel(DB_VALUE(ep_index, stream_id), db_addr);
@@ -779,6 +785,8 @@ static int xhci_move_dequeue_past_td(struct xhci_hcd *xhci,
 
 	if (stream_id)
 		trb_sct = SCT_FOR_TRB(SCT_PRI_TR);
+	xhci_ep_info(xhci, slot_id, ep_index, "queue_set_tr_deq stream %d addr %.8llx\n",
+			stream_id, (u64) addr);
 	ret = queue_command(xhci, cmd,
 		lower_32_bits(addr) | trb_sct | new_cycle,
 		upper_32_bits(addr),
@@ -1239,8 +1247,6 @@ static void xhci_handle_cmd_stop_ep(struct xhci_hcd *xhci, int slot_id,
 			 * If the halt happened before Stop Endpoint failed, its transfer event
 			 * should have already been handled and Reset Endpoint should be pending.
 			 */
-			if (ep->ep_state & EP_HALTED)
-				goto reset_done;
 
 			if (ep->ep_state & EP_HAS_STREAMS) {
 				reset_type = EP_SOFT_RESET;
@@ -1250,6 +1256,12 @@ static void xhci_handle_cmd_stop_ep(struct xhci_hcd *xhci, int slot_id,
 				if (td)
 					td->status = -EPROTO;
 			}
+			xhci_ep_info(xhci, slot_id, ep_index, "handle_cmd_stop_ep stalled TD found %d handled %d\n",
+					!!td, !!(ep->ep_state & EP_HALTED));
+
+			if (ep->ep_state & EP_HALTED)
+				goto reset_done;
+
 			/* reset ep, reset handler cleans up cancelled tds */
 			err = xhci_handle_halted_endpoint(xhci, ep, td, reset_type);
 			xhci_dbg(xhci, "Stop ep completion resetting ep, status %d\n", err);
@@ -1872,6 +1884,10 @@ static void handle_cmd_completion(struct xhci_hcd *xhci,
 	}
 
 	cmd_type = TRB_FIELD_TO_TYPE(le32_to_cpu(cmd_trb->generic.field[3]));
+	int ep_index = TRB_TO_EP_INDEX(le32_to_cpu(cmd_trb->generic.field[3]));
+	xhci_ep_info(xhci, slot_id, ep_index, "handle_cmd_completion cmd_type %d comp_code %d\n",
+			cmd_type, cmd_comp_code);
+
 	switch (cmd_type) {
 	case TRB_ENABLE_SLOT:
 		xhci_handle_cmd_enable_slot(slot_id, cmd, cmd_comp_code);
@@ -2664,6 +2680,10 @@ static int handle_tx_event(struct xhci_hcd *xhci,
 	trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len));
 	ep_trb_dma = le64_to_cpu(event->buffer);
 
+	if (trb_comp_code != COMP_SUCCESS && trb_comp_code != COMP_SHORT_PACKET)
+		xhci_ep_info(xhci, slot_id, ep_index, "handle_tx_event comp_code %d trb_dma %.8llx\n",
+				trb_comp_code, (u64) ep_trb_dma);
+
 	ep = xhci_get_virt_ep(xhci, slot_id, ep_index);
 	if (!ep) {
 		xhci_err(xhci, "ERROR Invalid Transfer event\n");
@@ -2686,6 +2706,18 @@ static int handle_tx_event(struct xhci_hcd *xhci,
 	/* find the transfer trb this events points to */
 	ep_trb = xhci_dma_to_trb(ep_ring->deq_seg, ep_trb_dma, NULL);
 
+	if (trb_comp_code != COMP_SUCCESS && trb_comp_code != COMP_SHORT_PACKET) {
+		u32 remaining, ep_trb_len;
+
+		remaining = EVENT_TRB_LEN(le32_to_cpu(event->transfer_len));
+		ep_trb_len = ep_trb ?
+				TRB_LEN(le32_to_cpu(ep_trb->generic.field[2])) :
+				~0;
+
+		xhci_ep_info(xhci, slot_id, ep_index, "handle_tx_event stream_id %d trb_len %u missing %d\n",
+				ep_ring->stream_id, ep_trb_len, remaining);
+	}
+
 	/* Look for common error cases */
 	switch (trb_comp_code) {
 	/* Skip codes that require special handling depending on
@@ -4411,6 +4443,18 @@ static int queue_command(struct xhci_hcd *xhci, struct xhci_command *cmd,
 int xhci_queue_slot_control(struct xhci_hcd *xhci, struct xhci_command *cmd,
 		u32 trb_type, u32 slot_id)
 {
+	char *type = "wtf";
+
+	switch (trb_type) {
+	case TRB_ENABLE_SLOT:
+		type = "enable";
+		break;
+	case TRB_DISABLE_SLOT:
+		type = "disable";
+		break;
+	}
+	xhci_ep_info(xhci, slot_id, -1, "queue_%s_slot\n", type);
+
 	return queue_command(xhci, cmd, 0, 0, 0,
 			TRB_TYPE(trb_type) | SLOT_ID_FOR_TRB(slot_id), false);
 }
@@ -4419,6 +4463,9 @@ int xhci_queue_slot_control(struct xhci_hcd *xhci, struct xhci_command *cmd,
 int xhci_queue_address_device(struct xhci_hcd *xhci, struct xhci_command *cmd,
 		dma_addr_t in_ctx_ptr, u32 slot_id, enum xhci_setup_dev setup)
 {
+	xhci_ep_info(xhci, slot_id, -1, "queue_address_device bsr %d\n",
+			setup == SETUP_CONTEXT_ONLY);
+
 	return queue_command(xhci, cmd, lower_32_bits(in_ctx_ptr),
 			upper_32_bits(in_ctx_ptr), 0,
 			TRB_TYPE(TRB_ADDR_DEV) | SLOT_ID_FOR_TRB(slot_id)
@@ -4435,6 +4482,8 @@ int xhci_queue_vendor_command(struct xhci_hcd *xhci, struct xhci_command *cmd,
 int xhci_queue_reset_device(struct xhci_hcd *xhci, struct xhci_command *cmd,
 		u32 slot_id)
 {
+	xhci_ep_info(xhci, slot_id, -1, "queue_reset_device\n");
+
 	return queue_command(xhci, cmd, 0, 0, 0,
 			TRB_TYPE(TRB_RESET_DEV) | SLOT_ID_FOR_TRB(slot_id),
 			false);
@@ -4445,6 +4494,8 @@ int xhci_queue_configure_endpoint(struct xhci_hcd *xhci,
 		struct xhci_command *cmd, dma_addr_t in_ctx_ptr,
 		u32 slot_id, bool command_must_succeed)
 {
+	xhci_ep_info(xhci, slot_id, -1, "queue_configure_endpoint in_ctx %.8llx\n", (u64) in_ctx_ptr);
+
 	return queue_command(xhci, cmd, lower_32_bits(in_ctx_ptr),
 			upper_32_bits(in_ctx_ptr), 0,
 			TRB_TYPE(TRB_CONFIG_EP) | SLOT_ID_FOR_TRB(slot_id),
@@ -4466,6 +4517,8 @@ int xhci_queue_get_port_bw(struct xhci_hcd *xhci,
 int xhci_queue_evaluate_context(struct xhci_hcd *xhci, struct xhci_command *cmd,
 		dma_addr_t in_ctx_ptr, u32 slot_id, bool command_must_succeed)
 {
+	xhci_ep_info(xhci, slot_id, -1, "queue_evaluate_context in_ctx %.8llx\n", (u64) in_ctx_ptr);
+
 	return queue_command(xhci, cmd, lower_32_bits(in_ctx_ptr),
 			upper_32_bits(in_ctx_ptr), 0,
 			TRB_TYPE(TRB_EVAL_CONTEXT) | SLOT_ID_FOR_TRB(slot_id),
@@ -4484,6 +4537,8 @@ int xhci_queue_stop_endpoint(struct xhci_hcd *xhci, struct xhci_command *cmd,
 	u32 type = TRB_TYPE(TRB_STOP_RING);
 	u32 trb_suspend = SUSPEND_PORT_FOR_TRB(suspend);
 
+	xhci_ep_info(xhci, slot_id, ep_index, "queue_stop_endpoint suspend %d\n", suspend);
+
 	return queue_command(xhci, cmd, 0, 0, 0,
 			trb_slot_id | trb_ep_index | type | trb_suspend, false);
 }
@@ -4496,6 +4551,9 @@ int xhci_queue_reset_ep(struct xhci_hcd *xhci, struct xhci_command *cmd,
 	u32 trb_ep_index = EP_INDEX_FOR_TRB(ep_index);
 	u32 type = TRB_TYPE(TRB_RESET_EP);
 
+	xhci_ep_info(xhci, slot_id, ep_index, "queue_reset_endpoint tsp %d\n",
+			reset_type == EP_SOFT_RESET);
+
 	if (reset_type == EP_SOFT_RESET)
 		type |= TRB_TSP;
 
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index 849a568d0e63..0b96fd8bff12 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -1853,6 +1853,9 @@ static int xhci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
 
 	for (; i < urb_priv->num_tds; i++) {
 		td = &urb_priv->td[i];
+		xhci_ep_info(xhci, urb->dev->slot_id, ep_index, "xhci_urb_dequeue cancel TD at %.8llx stream %d\n",
+				(u64) xhci_trb_virt_to_dma(urb_priv->td[i].start_seg, urb_priv->td[i].start_trb),
+				urb->stream_id);
 		/* TD can already be on cancelled list if ep halted on it */
 		if (list_empty(&td->cancelled_td_list)) {
 			td->cancel_status = TD_DIRTY;
@@ -1969,6 +1972,7 @@ int xhci_drop_endpoint(struct usb_hcd *hcd, struct usb_device *udev,
 	u32 drop_flag;
 	u32 new_add_flags, new_drop_flags;
 	int ret;
+	int td_num = -1;
 
 	ret = xhci_check_args(hcd, udev, ep, 1, true, __func__);
 	if (ret <= 0)
@@ -1995,7 +1999,13 @@ int xhci_drop_endpoint(struct usb_hcd *hcd, struct usb_device *udev,
 	}
 
 	ep_index = xhci_get_endpoint_index(&ep->desc);
+	struct xhci_virt_ep *vep = &xhci->devs[udev->slot_id]->eps[ep_index];
+	if (vep && vep->ring)
+		td_num = list_count_nodes(&vep->ring->td_list);
 	ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index);
+	xhci_ep_info(xhci, udev->slot_id, ep_index, "xhci_drop_endpoint ctx_state %d td_num %d\n",
+			GET_EP_CTX_STATE(ep_ctx), td_num);
+
 	/* If the HC already knows the endpoint is disabled,
 	 * or the HCD has noted it is disabled, ignore this request
 	 */
@@ -2087,6 +2097,8 @@ int xhci_add_endpoint(struct usb_hcd *hcd, struct usb_device *udev,
 	}
 
 	ep_index = xhci_get_endpoint_index(&ep->desc);
+	xhci_ep_info(xhci, udev->slot_id, ep_index, "xhci_add_endpoint\n");
+
 	/* If this endpoint is already in use, and the upper layers are trying
 	 * to add it again without dropping it, reject the addition.
 	 */
@@ -3388,6 +3400,8 @@ static void xhci_endpoint_reset(struct usb_hcd *hcd,
 	xhci = hcd_to_xhci(hcd);
 	ep_index = xhci_get_endpoint_index(&host_ep->desc);
 
+	xhci_ep_info(xhci, udev->slot_id, ep_index, "xhci_endpoint_reset\n");
+
 	/*
 	 * Usb core assumes a max packet value for ep0 on FS devices until the
 	 * real value is read from the descriptor. Core resets Ep0 if values
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
index 32617dc155ac..c46bd4697c7a 100644
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -1747,6 +1747,34 @@ static inline bool xhci_has_one_roothub(struct xhci_hcd *xhci)
 #define xhci_info(xhci, fmt, args...) \
 	dev_info(xhci_to_hcd(xhci)->self.controller , fmt , ## args)
 
+#define xhci_ep_info(xhci, slot_id, ep_index, fmt, args...)				\
+	do {										\
+		int ep_state = 0xfff;							\
+		int ctx_state = 0xf;							\
+		u64 ep_deq = 0xffffffff;						\
+		u64 ctx_deq = 0xffffffff;						\
+		u64 ep_enq = 0xffffffff;						\
+		if (slot_id > 0 && slot_id < MAX_HC_SLOTS &&				\
+				ep_index >= 0 && ep_index < 32 &&			\
+				xhci->devs[slot_id]) {					\
+			struct xhci_virt_device *vdev = xhci->devs[slot_id];		\
+			struct xhci_virt_ep *ep = vdev->eps + ep_index;			\
+			struct xhci_ep_ctx *ep_ctx =					\
+				xhci_get_ep_ctx(xhci, vdev->out_ctx, ep_index);		\
+			if (ep->ring) {							\
+				ep_deq = xhci_trb_virt_to_dma(ep->ring->deq_seg,	\
+								ep->ring->dequeue);	\
+				ep_enq = xhci_trb_virt_to_dma(ep->ring->enq_seg,	\
+								ep->ring->enqueue);	\
+			}								\
+			ep_state = ep->ep_state;					\
+			ctx_state = GET_EP_CTX_STATE(READ_ONCE(ep_ctx));		\
+			ctx_deq = le64_to_cpu(READ_ONCE(ep_ctx->deq));			\
+		}									\
+		xhci_info(xhci, "%d/%d (%.3x/%x) [%.8llx/%.8llx/%.8llx] " fmt,		\
+				slot_id, ep_index, ep_state, ctx_state,			\
+				ep_deq, ctx_deq, ep_enq, ## args);			\
+	} while (0);
 /*
  * Registers should always be accessed with double word or quad word accesses.
  *
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH v2] xhci: pci: Disable soft retry for Renesas uPD720201
  2026-06-19 10:42   ` Michal Pecio
@ 2026-06-20 12:21     ` raoxu
  2026-06-22  6:21     ` raoxu
  2026-06-22 11:36     ` Mathias Nyman
  2 siblings, 0 replies; 7+ messages in thread
From: raoxu @ 2026-06-20 12:21 UTC (permalink / raw)
  To: michal.pecio
  Cc: gregkh, linux-kernel, linux-usb, mathias.nyman, mathias.nyman,
	raoxu, stable

Hi Michal,

Thanks for testing this and for sharing the additional details.

> > > The host reports a transaction error on the RTL8153 interrupt
> > > endpoint, queues a soft reset, and later times out the Stop
> > > Endpoint command while disconnecting the device:
> > >
> > >    Transfer error for slot 8 ep 6 on endpoint
> > >    Soft-reset ep 6, slot 8
> > >    Ignoring reset ep completion code of 1
> > >    xHCI host not responding to stop endpoint command
> > >    xHCI host controller not responding, assume dead
> > >    HC died; cleaning up
>
> There is other stuff too, like concurrent teardown of a separate bulk
> endpoint, not yet sure what exactly breaks these chips.
>
> Would you mind to apply the attached debug patch, reproduce and post
> dmesg from your system for comparison?

Sure. I will apply the debug patch, reproduce the issue next week, and
provide the complete dmesg output for comparison.

> > While debugging this, did xHC controller otherwise seem somewhat
> > functional? Did you for example see port status change events, or
> > transfer events between queuing the stop endpoint command and the
> > timeout?
>
> Mouse continues to work until we kill the HC. And I can even abort the
> command, but then some URB is never given back, so teardown of the USB
> device gets stuck and IDK what would happen later.

I observed the same behavior on my system. During the roughly five
second interval between queuing the Stop Endpoint command and the
command timeout, the USB keyboard and mouse remain fully functional.
They stop working only after the timeout handler marks the host
controller dead and starts the host cleanup.

This suggests that the controller is still processing transfer events
for other endpoints while the Stop Endpoint command is stuck.

Thanks,
Xu Rao


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2] xhci: pci: Disable soft retry for Renesas uPD720201
  2026-06-19 10:42   ` Michal Pecio
  2026-06-20 12:21     ` raoxu
@ 2026-06-22  6:21     ` raoxu
  2026-06-22 11:31       ` Mathias Nyman
  2026-06-22 11:36     ` Mathias Nyman
  2 siblings, 1 reply; 7+ messages in thread
From: raoxu @ 2026-06-22  6:21 UTC (permalink / raw)
  To: michal.pecio
  Cc: gregkh, linux-kernel, linux-usb, mathias.nyman, mathias.nyman,
	raoxu, stable

Hi Michal,

> > > The host reports a transaction error on the RTL8153 interrupt
> > > endpoint, queues a soft reset, and later times out the Stop
> > > Endpoint command while disconnecting the device:
> > >
> > >    Transfer error for slot 8 ep 6 on endpoint
> > >    Soft-reset ep 6, slot 8
> > >    Ignoring reset ep completion code of 1
> > >    xHCI host not responding to stop endpoint command
> > >    xHCI host controller not responding, assume dead
> > >    HC died; cleaning up
>
> There is other stuff too, like concurrent teardown of a separate bulk
> endpoint, not yet sure what exactly breaks these chips.
>
> Would you mind to apply the attached debug patch, reproduce and post
> dmesg from your system for comparison?

I applied the debug patch and reproduced the issue.
The XHCI_NO_SOFT_RETRY quirk was disabled during the test.

Short timeline from the log:
13:23:29 The USB hub with an integrated RTL8153 Ethernet adapter was
	 plugged in.
13:23:39 The USB hub was unplugged, and the endpoint error occurred.
13:23:44 The Stop Endpoint command timed out and the xHCI host was
         declared dead.

The complete dmesg output follows:

----- dmesg begin -----
2026-06-22T13:23:29.291089+08:00 uos-PC kernel: xhci_hcd:handle_port_status: xhci_hcd 0000:04:00.0: Port change event, 2-3, id 3, portsc: 0xa021203
2026-06-22T13:23:29.291105+08:00 uos-PC kernel: xhci_hcd:handle_port_status: xhci_hcd 0000:04:00.0: resume root hub
2026-06-22T13:23:29.291107+08:00 uos-PC kernel: xhci_hcd:handle_port_status: xhci_hcd 0000:04:00.0: handle_port_status: starting usb2 port polling.
2026-06-22T13:23:29.291108+08:00 uos-PC kernel: usbcore:usb_remote_wakeup: usb usb2: usb wakeup-resume
2026-06-22T13:23:29.291114+08:00 uos-PC kernel: usbcore:hcd_bus_resume: usb usb2: usb auto-resume
2026-06-22T13:23:29.291115+08:00 uos-PC kernel: usbcore:hub_resume: hub 2-0:1.0: hub_resume
2026-06-22T13:23:29.321052+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: Get port status 2-1 read: 0x2a0, return 0x2a0
2026-06-22T13:23:29.321058+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: Get port status 2-2 read: 0x1263, return 0x263
2026-06-22T13:23:29.321060+08:00 uos-PC kernel: usbcore:hub_activate: usb usb2-port2: status 0263 change 0000
2026-06-22T13:23:29.321061+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: Get port status 2-3 read: 0x21203, return 0x10203
2026-06-22T13:23:29.321062+08:00 uos-PC kernel: usbcore:hub_activate: usb usb2-port3: status 0203 change 0001
2026-06-22T13:23:29.321063+08:00 uos-PC kernel: xhci_hcd:xhci_clear_port_change_bit: xhci_hcd 0000:04:00.0: clear port3 connect change, portsc: 0x1203
2026-06-22T13:23:29.321064+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: Get port status 2-4 read: 0x2a0, return 0x2a0
2026-06-22T13:23:29.362901+08:00 uos-PC kernel: xhci_hcd:handle_port_status: xhci_hcd 0000:04:00.0: Port change event, 1-3, id 7, portsc: 0x202e1
2026-06-22T13:23:29.362905+08:00 uos-PC kernel: xhci_hcd:handle_port_status: xhci_hcd 0000:04:00.0: handle_port_status: starting usb1 port polling.
2026-06-22T13:23:29.362908+08:00 uos-PC kernel: usbcore:hub_event: hub 1-0:1.0: state 7 ports 4 chg 0000 evt 0008
2026-06-22T13:23:29.365052+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x202e1, return 0x10101
2026-06-22T13:23:29.365056+08:00 uos-PC kernel: xhci_hcd:xhci_clear_port_change_bit: xhci_hcd 0000:04:00.0: clear port3 connect change, portsc: 0x2e1
2026-06-22T13:23:29.365057+08:00 uos-PC kernel: usbcore:hub_port_connect_change: usb usb1-port3: status 0101, change 0001, 12 Mb/s
2026-06-22T13:23:29.365057+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x2e1, return 0x101
2026-06-22T13:23:29.401047+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x2e1, return 0x101
2026-06-22T13:23:29.421050+08:00 uos-PC kernel: xhci_hcd:xhci_hub_status_data: xhci_hcd 0000:04:00.0: xhci_hub_status_data: stopping usb1 port polling
2026-06-22T13:23:29.421054+08:00 uos-PC kernel: xhci_hcd:xhci_hub_status_data: xhci_hcd 0000:04:00.0: xhci_hub_status_data: stopping usb2 port polling
2026-06-22T13:23:29.433054+08:00 uos-PC kernel: usbcore:hub_event: hub 2-0:1.0: state 7 ports 4 chg 0008 evt 0000
2026-06-22T13:23:29.433059+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: Get port status 2-3 read: 0x1203, return 0x203
2026-06-22T13:23:29.433059+08:00 uos-PC kernel: usbcore:hub_port_connect_change: usb usb2-port3: status 0203, change 0000, 5.0 Gb/s
2026-06-22T13:23:29.433060+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_enable_slot
2026-06-22T13:23:29.433061+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:29.433061+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:29.433062+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 6/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 9 comp_code 1
2026-06-22T13:23:29.433064+08:00 uos-PC kernel: xhci_hcd:xhci_alloc_virt_device: xhci_hcd 0000:04:00.0: Slot 6 output ctx = 0x0x000000202074e000 (dma)
2026-06-22T13:23:29.433065+08:00 uos-PC kernel: xhci_hcd:xhci_alloc_virt_device: xhci_hcd 0000:04:00.0: Slot 6 input ctx = 0x0x000000200b52e000 (dma)
2026-06-22T13:23:29.433066+08:00 uos-PC kernel: xhci_hcd:xhci_alloc_virt_device: xhci_hcd 0000:04:00.0: Set slot id 6 dcbaa entry 000000009d531643 to 0x202074e000
2026-06-22T13:23:29.433068+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: Get port status 2-3 read: 0x1203, return 0x203
2026-06-22T13:23:29.433068+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: set port reset, actual port 2-3 status  = 0x1311
2026-06-22T13:23:29.433069+08:00 uos-PC kernel: xhci_hcd:handle_port_status: xhci_hcd 0000:04:00.0: Port change event, 2-3, id 3, portsc: 0x201203
2026-06-22T13:23:29.433070+08:00 uos-PC kernel: xhci_hcd:handle_port_status: xhci_hcd 0000:04:00.0: handle_port_status: starting usb2 port polling.
2026-06-22T13:23:29.433071+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x2e1, return 0x101
2026-06-22T13:23:29.473049+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x2e1, return 0x101
2026-06-22T13:23:29.501051+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: Get port status 2-3 read: 0x201203, return 0x100203
2026-06-22T13:23:29.501056+08:00 uos-PC kernel: xhci_hcd:xhci_clear_port_change_bit: xhci_hcd 0000:04:00.0: clear port3 reset change, portsc: 0x1203
2026-06-22T13:23:29.501058+08:00 uos-PC kernel: xhci_hcd:xhci_clear_port_change_bit: xhci_hcd 0000:04:00.0: clear port3 warm(BH) reset change, portsc: 0x1203
2026-06-22T13:23:29.501058+08:00 uos-PC kernel: xhci_hcd:xhci_clear_port_change_bit: xhci_hcd 0000:04:00.0: clear port3 link state change, portsc: 0x1203
2026-06-22T13:23:29.501059+08:00 uos-PC kernel: xhci_hcd:xhci_clear_port_change_bit: xhci_hcd 0000:04:00.0: clear port3 connect change, portsc: 0x1203
2026-06-22T13:23:29.501060+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: Get port status 2-3 read: 0x1203, return 0x203
2026-06-22T13:23:29.513048+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x2e1, return 0x101
2026-06-22T13:23:29.513053+08:00 uos-PC kernel: usbcore:hub_port_debounce: usb usb1-port3: debounce total 100ms stable 100ms status 0x101
2026-06-22T13:23:29.565054+08:00 uos-PC kernel: xhci_hcd:xhci_setup_addressable_virt_dev: xhci_hcd 0000:04:00.0: Set root hub portnum to 3
2026-06-22T13:23:29.565059+08:00 uos-PC kernel: xhci_hcd:xhci_setup_addressable_virt_dev: xhci_hcd 0000:04:00.0: Set fake root hub portnum to 3
2026-06-22T13:23:29.565060+08:00 uos-PC kernel: xhci_hcd:xhci_setup_addressable_virt_dev: xhci_hcd 0000:04:00.0: udev->tt = 0000000000000000
2026-06-22T13:23:29.565061+08:00 uos-PC kernel: xhci_hcd:xhci_setup_addressable_virt_dev: xhci_hcd 0000:04:00.0: udev->ttport = 0x0
2026-06-22T13:23:29.565061+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 6/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_address_device bsr 0
2026-06-22T13:23:29.565062+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:29.565069+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:29.565070+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 6/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 11 comp_code 1
2026-06-22T13:23:29.565071+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Successful setup address command
2026-06-22T13:23:29.565072+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Op regs DCBAA ptr = 0x000020021cc000
2026-06-22T13:23:29.565073+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Slot ID 6 dcbaa entry @000000009d531643 = 0x0000202074e000
2026-06-22T13:23:29.565073+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Output Context DMA address = 0x202074e000
2026-06-22T13:23:29.565074+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Internal device address = 6
2026-06-22T13:23:29.565075+08:00 uos-PC kernel: usb 2-3: new SuperSpeed USB device number 3 using xhci_hcd
2026-06-22T13:23:29.589051+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_enable_slot
2026-06-22T13:23:29.589054+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:29.589054+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:29.589055+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 9 comp_code 1
2026-06-22T13:23:29.589056+08:00 uos-PC kernel: xhci_hcd:xhci_alloc_virt_device: xhci_hcd 0000:04:00.0: Slot 7 output ctx = 0x0x000000200c093000 (dma)
2026-06-22T13:23:29.589057+08:00 uos-PC kernel: xhci_hcd:xhci_alloc_virt_device: xhci_hcd 0000:04:00.0: Slot 7 input ctx = 0x0x0000002006f06000 (dma)
2026-06-22T13:23:29.589063+08:00 uos-PC kernel: xhci_hcd:xhci_alloc_virt_device: xhci_hcd 0000:04:00.0: Set slot id 7 dcbaa entry 00000000048e82a9 to 0x200c093000
2026-06-22T13:23:29.589064+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: set port reset, actual port 1-3 status  = 0x331
2026-06-22T13:23:29.593056+08:00 uos-PC kernel: usbcore:usb_parse_endpoint: usb 2-3: skipped 1 descriptor after endpoint
2026-06-22T13:23:29.593061+08:00 uos-PC kernel: xhci_hcd:process_ctrl_td: xhci_hcd 0000:04:00.0: Waiting for status stage event
2026-06-22T13:23:29.593062+08:00 uos-PC kernel: usbcore:usb_get_langid: usb 2-3: default language 0x0409
2026-06-22T13:23:29.593063+08:00 uos-PC kernel: xhci_hcd:process_ctrl_td: xhci_hcd 0000:04:00.0: Waiting for status stage event
2026-06-22T13:23:29.593064+08:00 uos-PC kernel: xhci_hcd:process_ctrl_td: xhci_hcd 0000:04:00.0: Waiting for status stage event
2026-06-22T13:23:29.593064+08:00 uos-PC kernel: usbcore:usb_new_device: usb 2-3: udev 3, busnum 2, minor = 130
2026-06-22T13:23:29.593065+08:00 uos-PC kernel: usb 2-3: New USB device found, idVendor=05e3, idProduct=0626, bcdDevice= 6.55
2026-06-22T13:23:29.593070+08:00 uos-PC kernel: usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
2026-06-22T13:23:29.593072+08:00 uos-PC kernel: usb 2-3: Product: USB3.1 Hub
2026-06-22T13:23:29.593072+08:00 uos-PC kernel: usb 2-3: Manufacturer: GenesysLogic
2026-06-22T13:23:29.593073+08:00 uos-PC kernel: usbcore:usb_probe_device: usb 2-3: usb_probe_device
2026-06-22T13:23:29.593074+08:00 uos-PC kernel: usbcore:usb_choose_configuration: usb 2-3: configuration #1 chosen from 1 choice
2026-06-22T13:23:29.593075+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 6/2 (000/0) [ffffffff/00000000/ffffffff] xhci_add_endpoint
2026-06-22T13:23:29.593075+08:00 uos-PC kernel: xhci_hcd:xhci_add_endpoint: xhci_hcd 0000:04:00.0: add ep 0x81, slot id 6, new drop flags = 0x0, new add flags = 0x8
2026-06-22T13:23:29.593076+08:00 uos-PC kernel: xhci_hcd:xhci_check_bandwidth: xhci_hcd 0000:04:00.0: xhci_check_bandwidth called for udev 00000000e00147c8
2026-06-22T13:23:29.593078+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 6/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_configure_endpoint in_ctx 200b52e000
2026-06-22T13:23:29.593078+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:29.593079+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:29.597058+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 6/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 12 comp_code 1
2026-06-22T13:23:29.597063+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Successful Endpoint Configure command
2026-06-22T13:23:29.597063+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 6/2 (000/1) [2015a35000/2015a35001/2015a35000] xhci_endpoint_reset
2026-06-22T13:23:29.597064+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 6/2 (080/1) [2015a35000/2015a35001/2015a35000] queue_stop_endpoint suspend 0
2026-06-22T13:23:29.597065+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:29.597065+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:29.597072+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 6/2 (080/3) [2015a35000/2015a35001/2015a35000] handle_tx_event comp_code 27 trb_dma 2015a35000
2026-06-22T13:23:29.597073+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 6/2 (080/3) [2015a35000/2015a35001/2015a35000] handle_tx_event stream_id 0 trb_len 0 missing 0
2026-06-22T13:23:29.597074+08:00 uos-PC kernel: xhci_hcd:handle_tx_event: xhci_hcd 0000:04:00.0: Stopped on No-op or Link TRB for slot 6 ep 2
2026-06-22T13:23:29.597075+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 6/2 (080/3) [2015a35000/2015a35001/2015a35000] handle_cmd_completion cmd_type 15 comp_code 1
2026-06-22T13:23:29.597076+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 6/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_configure_endpoint in_ctx 2014823000
2026-06-22T13:23:29.597077+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:29.597077+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:29.597078+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 6/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 12 comp_code 1
2026-06-22T13:23:29.597079+08:00 uos-PC kernel: usbcore:usb_set_configuration: usb 2-3: adding 2-3:1.0 (config #1, interface 0)
2026-06-22T13:23:29.597080+08:00 uos-PC kernel: xhci_hcd:process_ctrl_td: xhci_hcd 0000:04:00.0: Waiting for status stage event
2026-06-22T13:23:29.597081+08:00 uos-PC kernel: usbcore:usb_probe_interface: hub 2-3:1.0: usb_probe_interface
2026-06-22T13:23:29.597082+08:00 uos-PC kernel: usbcore:usb_probe_interface: hub 2-3:1.0: usb_probe_interface - got id
2026-06-22T13:23:29.597083+08:00 uos-PC kernel: hub 2-3:1.0: USB hub found
2026-06-22T13:23:29.601055+08:00 uos-PC kernel: hub 2-3:1.0: 4 ports detected
2026-06-22T13:23:29.601060+08:00 uos-PC kernel: usbcore:hub_configure: hub 2-3:1.0: standalone hub
2026-06-22T13:23:29.601061+08:00 uos-PC kernel: usbcore:hub_configure: hub 2-3:1.0: ganged power switching
2026-06-22T13:23:29.601062+08:00 uos-PC kernel: usbcore:hub_configure: hub 2-3:1.0: global over-current protection
2026-06-22T13:23:29.601062+08:00 uos-PC kernel: usbcore:hub_configure: hub 2-3:1.0: TT requires at most 8 FS bit times (666 ns)
2026-06-22T13:23:29.601063+08:00 uos-PC kernel: usbcore:hub_configure: hub 2-3:1.0: power on to power good time: 0ms
2026-06-22T13:23:29.601064+08:00 uos-PC kernel: usbcore:hub_configure: hub 2-3:1.0: local power source is good
2026-06-22T13:23:29.601065+08:00 uos-PC kernel: usbcore:hub_configure: hub 2-3:1.0: no over-current condition exists
2026-06-22T13:23:29.601071+08:00 uos-PC kernel: xhci_hcd:xhci_update_hub_device: xhci_hcd 0000:04:00.0: xHCI version 100 needs hub TT think time and number of ports
2026-06-22T13:23:29.601072+08:00 uos-PC kernel: xhci_hcd:xhci_update_hub_device: xhci_hcd 0000:04:00.0: Set up configure endpoint for hub device.
2026-06-22T13:23:29.601073+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 6/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_configure_endpoint in_ctx 2014823000
2026-06-22T13:23:29.601073+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:29.601074+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:29.601075+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 6/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 12 comp_code 1
2026-06-22T13:23:29.601082+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Successful Endpoint Configure command
2026-06-22T13:23:29.601083+08:00 uos-PC kernel: usbcore:hub_power_on: hub 2-3:1.0: enabling power on all ports
2026-06-22T13:23:29.641059+08:00 uos-PC kernel: xhci_hcd:handle_port_status: xhci_hcd 0000:04:00.0: Port change event, 1-3, id 7, portsc: 0x200e03
2026-06-22T13:23:29.641070+08:00 uos-PC kernel: xhci_hcd:handle_port_status: xhci_hcd 0000:04:00.0: handle_port_status: starting usb1 port polling.
2026-06-22T13:23:29.657049+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x200e03, return 0x100503
2026-06-22T13:23:29.657052+08:00 uos-PC kernel: xhci_hcd:xhci_clear_port_change_bit: xhci_hcd 0000:04:00.0: clear port3 reset change, portsc: 0xe03
2026-06-22T13:23:29.669054+08:00 uos-PC kernel: xhci_hcd:xhci_hub_status_data: xhci_hcd 0000:04:00.0: xhci_hub_status_data: stopping usb1 port polling
2026-06-22T13:23:29.669060+08:00 uos-PC kernel: xhci_hcd:xhci_hub_status_data: xhci_hcd 0000:04:00.0: xhci_hub_status_data: stopping usb2 port polling
2026-06-22T13:23:29.705051+08:00 uos-PC kernel: usbcore:hub_activate: usb 2-3-port1: status 0203 change 0011
2026-06-22T13:23:29.721057+08:00 uos-PC kernel: usb 1-3: new high-speed USB device number 6 using xhci_hcd
2026-06-22T13:23:29.721063+08:00 uos-PC kernel: xhci_hcd:xhci_setup_addressable_virt_dev: xhci_hcd 0000:04:00.0: Set root hub portnum to 7
2026-06-22T13:23:29.721064+08:00 uos-PC kernel: xhci_hcd:xhci_setup_addressable_virt_dev: xhci_hcd 0000:04:00.0: Set fake root hub portnum to 3
2026-06-22T13:23:29.721065+08:00 uos-PC kernel: xhci_hcd:xhci_setup_addressable_virt_dev: xhci_hcd 0000:04:00.0: udev->tt = 0000000000000000
2026-06-22T13:23:29.721066+08:00 uos-PC kernel: xhci_hcd:xhci_setup_addressable_virt_dev: xhci_hcd 0000:04:00.0: udev->ttport = 0x0
2026-06-22T13:23:29.721067+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_address_device bsr 1
2026-06-22T13:23:29.721068+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:29.721068+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:29.721069+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 11 comp_code 1
2026-06-22T13:23:29.721070+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Successful setup context command
2026-06-22T13:23:29.721071+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Op regs DCBAA ptr = 0x000020021cc000
2026-06-22T13:23:29.721072+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Slot ID 7 dcbaa entry @00000000048e82a9 = 0x0000200c093000
2026-06-22T13:23:29.721073+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Output Context DMA address = 0x200c093000
2026-06-22T13:23:29.721080+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Internal device address = 0
2026-06-22T13:23:29.721081+08:00 uos-PC kernel: xhci_hcd:process_ctrl_td: xhci_hcd 0000:04:00.0: Waiting for status stage event
2026-06-22T13:23:29.721082+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: set port reset, actual port 1-3 status  = 0x331
2026-06-22T13:23:29.768636+08:00 uos-PC kernel: xhci_hcd:handle_port_status: xhci_hcd 0000:04:00.0: Port change event, 1-3, id 7, portsc: 0x200e03
2026-06-22T13:23:29.768641+08:00 uos-PC kernel: xhci_hcd:handle_port_status: xhci_hcd 0000:04:00.0: handle_port_status: starting usb1 port polling.
2026-06-22T13:23:29.789054+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x200e03, return 0x100503
2026-06-22T13:23:29.789059+08:00 uos-PC kernel: xhci_hcd:xhci_clear_port_change_bit: xhci_hcd 0000:04:00.0: clear port3 reset change, portsc: 0xe03
2026-06-22T13:23:29.813057+08:00 uos-PC kernel: usbcore:hub_event: hub 2-3:1.0: state 7 ports 4 chg 0002 evt 0000
2026-06-22T13:23:29.813064+08:00 uos-PC kernel: usbcore:hub_port_connect_change: usb 2-3-port1: status 0203, change 0000, 5.0 Gb/s
2026-06-22T13:23:29.853057+08:00 uos-PC kernel: xhci_hcd:xhci_discover_or_reset_device: xhci_hcd 0000:04:00.0: Resetting device with slot ID 7
2026-06-22T13:23:29.853063+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_reset_device
2026-06-22T13:23:29.853065+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:29.853066+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:29.853072+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 17 comp_code 19
2026-06-22T13:23:29.853074+08:00 uos-PC kernel: xhci_hcd:xhci_handle_cmd_reset_dev: xhci_hcd 0000:04:00.0: Completed reset device command.
2026-06-22T13:23:29.853074+08:00 uos-PC kernel: xhci_hcd:xhci_discover_or_reset_device: xhci_hcd 0000:04:00.0: Can't reset device (slot ID 7) in default state
2026-06-22T13:23:29.853075+08:00 uos-PC kernel: xhci_hcd:xhci_discover_or_reset_device: xhci_hcd 0000:04:00.0: Not freeing device rings.
2026-06-22T13:23:29.853076+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_address_device bsr 0
2026-06-22T13:23:29.853077+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:29.853078+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:29.853078+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 11 comp_code 1
2026-06-22T13:23:29.853079+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Successful setup address command
2026-06-22T13:23:29.853080+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Op regs DCBAA ptr = 0x000020021cc000
2026-06-22T13:23:29.853081+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Slot ID 7 dcbaa entry @00000000048e82a9 = 0x0000200c093000
2026-06-22T13:23:29.853083+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Output Context DMA address = 0x200c093000
2026-06-22T13:23:29.853084+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Internal device address = 7
2026-06-22T13:23:29.877057+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_enable_slot
2026-06-22T13:23:29.877064+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:29.877065+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:29.877066+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 9 comp_code 1
2026-06-22T13:23:29.877066+08:00 uos-PC kernel: xhci_hcd:xhci_alloc_virt_device: xhci_hcd 0000:04:00.0: Slot 8 output ctx = 0x0x0000002014823000 (dma)
2026-06-22T13:23:29.877067+08:00 uos-PC kernel: xhci_hcd:xhci_alloc_virt_device: xhci_hcd 0000:04:00.0: Slot 8 input ctx = 0x0x000000201888f000 (dma)
2026-06-22T13:23:29.877070+08:00 uos-PC kernel: xhci_hcd:xhci_alloc_virt_device: xhci_hcd 0000:04:00.0: Set slot id 8 dcbaa entry 0000000047596e38 to 0x2014823000
2026-06-22T13:23:29.881062+08:00 uos-PC kernel: xhci_hcd:process_ctrl_td: xhci_hcd 0000:04:00.0: Waiting for status stage event
2026-06-22T13:23:29.881068+08:00 uos-PC kernel: usbcore:usb_get_langid: usb 1-3: default language 0x0409
2026-06-22T13:23:29.881069+08:00 uos-PC kernel: xhci_hcd:process_ctrl_td: xhci_hcd 0000:04:00.0: Waiting for status stage event
2026-06-22T13:23:29.881069+08:00 uos-PC kernel: xhci_hcd:process_ctrl_td: xhci_hcd 0000:04:00.0: Waiting for status stage event
2026-06-22T13:23:29.881075+08:00 uos-PC kernel: usbcore:usb_new_device: usb 1-3: udev 6, busnum 1, minor = 5
2026-06-22T13:23:29.881076+08:00 uos-PC kernel: usb 1-3: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice= 6.55
2026-06-22T13:23:29.881077+08:00 uos-PC kernel: usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
2026-06-22T13:23:29.881078+08:00 uos-PC kernel: usb 1-3: Product: USB2.1 Hub
2026-06-22T13:23:29.881078+08:00 uos-PC kernel: usb 1-3: Manufacturer: GenesysLogic
2026-06-22T13:23:29.881079+08:00 uos-PC kernel: usbcore:usb_probe_device: usb 1-3: usb_probe_device
2026-06-22T13:23:29.881080+08:00 uos-PC kernel: usbcore:usb_choose_configuration: usb 1-3: configuration #1 chosen from 1 choice
2026-06-22T13:23:29.881081+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/2 (000/0) [ffffffff/00000000/ffffffff] xhci_add_endpoint
2026-06-22T13:23:29.881081+08:00 uos-PC kernel: xhci_hcd:xhci_add_endpoint: xhci_hcd 0000:04:00.0: add ep 0x81, slot id 7, new drop flags = 0x0, new add flags = 0x8
2026-06-22T13:23:29.881082+08:00 uos-PC kernel: xhci_hcd:xhci_check_bandwidth: xhci_hcd 0000:04:00.0: xhci_check_bandwidth called for udev 00000000ec865509
2026-06-22T13:23:29.881083+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_configure_endpoint in_ctx 2006f06000
2026-06-22T13:23:29.881084+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:29.881089+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:29.881090+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 12 comp_code 1
2026-06-22T13:23:29.881091+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Successful Endpoint Configure command
2026-06-22T13:23:29.881092+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/2 (000/1) [201fe3b000/201fe3b001/201fe3b000] xhci_endpoint_reset
2026-06-22T13:23:29.881093+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/2 (080/1) [201fe3b000/201fe3b001/201fe3b000] queue_stop_endpoint suspend 0
2026-06-22T13:23:29.881093+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:29.881094+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:29.881095+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/2 (080/3) [201fe3b000/201fe3b001/201fe3b000] handle_tx_event comp_code 27 trb_dma 201fe3b000
2026-06-22T13:23:29.881096+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/2 (080/3) [201fe3b000/201fe3b001/201fe3b000] handle_tx_event stream_id 0 trb_len 0 missing 0
2026-06-22T13:23:29.881098+08:00 uos-PC kernel: xhci_hcd:handle_tx_event: xhci_hcd 0000:04:00.0: Stopped on No-op or Link TRB for slot 7 ep 2
2026-06-22T13:23:29.881099+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/2 (080/3) [201fe3b000/201fe3b001/201fe3b000] handle_cmd_completion cmd_type 15 comp_code 1
2026-06-22T13:23:29.881100+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_configure_endpoint in_ctx 201fe43000
2026-06-22T13:23:29.881101+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:29.881101+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:29.885060+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 12 comp_code 1
2026-06-22T13:23:29.885065+08:00 uos-PC kernel: usbcore:usb_set_configuration: usb 1-3: adding 1-3:1.0 (config #1, interface 0)
2026-06-22T13:23:29.885066+08:00 uos-PC kernel: usbcore:usb_probe_interface: hub 1-3:1.0: usb_probe_interface
2026-06-22T13:23:29.885067+08:00 uos-PC kernel: usbcore:usb_probe_interface: hub 1-3:1.0: usb_probe_interface - got id
2026-06-22T13:23:29.885068+08:00 uos-PC kernel: hub 1-3:1.0: USB hub found
2026-06-22T13:23:29.885069+08:00 uos-PC kernel: xhci_hcd:process_ctrl_td: xhci_hcd 0000:04:00.0: Waiting for status stage event
2026-06-22T13:23:29.885070+08:00 uos-PC kernel: hub 1-3:1.0: 4 ports detected
2026-06-22T13:23:29.885071+08:00 uos-PC kernel: usbcore:hub_configure: hub 1-3:1.0: standalone hub
2026-06-22T13:23:29.885072+08:00 uos-PC kernel: usbcore:hub_configure: hub 1-3:1.0: ganged power switching
2026-06-22T13:23:29.885073+08:00 uos-PC kernel: usbcore:hub_configure: hub 1-3:1.0: global over-current protection
2026-06-22T13:23:29.885073+08:00 uos-PC kernel: usbcore:hub_configure: hub 1-3:1.0: Single TT
2026-06-22T13:23:29.885074+08:00 uos-PC kernel: usbcore:hub_configure: hub 1-3:1.0: TT requires at most 32 FS bit times (2664 ns)
2026-06-22T13:23:29.885075+08:00 uos-PC kernel: usbcore:hub_configure: hub 1-3:1.0: Port indicators are supported
2026-06-22T13:23:29.885075+08:00 uos-PC kernel: usbcore:hub_configure: hub 1-3:1.0: power on to power good time: 0ms
2026-06-22T13:23:29.885076+08:00 uos-PC kernel: usbcore:hub_configure: hub 1-3:1.0: local power source is good
2026-06-22T13:23:29.885077+08:00 uos-PC kernel: usbcore:hub_configure: hub 1-3:1.0: no over-current condition exists
2026-06-22T13:23:29.885078+08:00 uos-PC kernel: usbcore:link_peers_report: usb 1-3-port1: peered to 2-3-port1
2026-06-22T13:23:29.885079+08:00 uos-PC kernel: usbcore:link_peers_report: usb 1-3-port2: peered to 2-3-port2
2026-06-22T13:23:29.885079+08:00 uos-PC kernel: usbcore:link_peers_report: usb 1-3-port3: peered to 2-3-port3
2026-06-22T13:23:29.885080+08:00 uos-PC kernel: usbcore:link_peers_report: usb 1-3-port4: peered to 2-3-port4
2026-06-22T13:23:29.885088+08:00 uos-PC kernel: xhci_hcd:xhci_update_hub_device: xhci_hcd 0000:04:00.0: xHCI version 100 needs hub TT think time and number of ports
2026-06-22T13:23:29.885089+08:00 uos-PC kernel: xhci_hcd:xhci_update_hub_device: xhci_hcd 0000:04:00.0: Set up configure endpoint for hub device.
2026-06-22T13:23:29.885090+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_configure_endpoint in_ctx 201fe43000
2026-06-22T13:23:29.885090+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:29.885091+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:29.885092+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 12 comp_code 1
2026-06-22T13:23:29.885093+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Successful Endpoint Configure command
2026-06-22T13:23:29.885094+08:00 uos-PC kernel: usbcore:hub_power_on: hub 1-3:1.0: enabling power on all ports
2026-06-22T13:23:29.889065+08:00 uos-PC kernel: xhci_hcd:process_bulk_intr_td: xhci_hcd 0000:04:00.0: ep 0x81 - asked for 2 bytes, 1 bytes untransferred
2026-06-22T13:23:29.917073+08:00 uos-PC kernel: xhci_hcd:xhci_hub_status_data: xhci_hcd 0000:04:00.0: xhci_hub_status_data: stopping usb1 port polling
2026-06-22T13:23:29.965062+08:00 uos-PC kernel: xhci_hcd:xhci_setup_addressable_virt_dev: xhci_hcd 0000:04:00.0: Set root hub portnum to 3
2026-06-22T13:23:29.965071+08:00 uos-PC kernel: xhci_hcd:xhci_setup_addressable_virt_dev: xhci_hcd 0000:04:00.0: Set fake root hub portnum to 3
2026-06-22T13:23:29.965073+08:00 uos-PC kernel: xhci_hcd:xhci_setup_addressable_virt_dev: xhci_hcd 0000:04:00.0: udev->tt = 0000000000000000
2026-06-22T13:23:29.965073+08:00 uos-PC kernel: xhci_hcd:xhci_setup_addressable_virt_dev: xhci_hcd 0000:04:00.0: udev->ttport = 0x0
2026-06-22T13:23:29.965074+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_address_device bsr 0
2026-06-22T13:23:29.965082+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:29.965086+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:29.965087+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 11 comp_code 1
2026-06-22T13:23:29.965089+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Successful setup address command
2026-06-22T13:23:29.965090+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Op regs DCBAA ptr = 0x000020021cc000
2026-06-22T13:23:29.965090+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Slot ID 8 dcbaa entry @0000000047596e38 = 0x00002014823000
2026-06-22T13:23:29.965091+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Output Context DMA address = 0x2014823000
2026-06-22T13:23:29.965092+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Internal device address = 8
2026-06-22T13:23:29.965093+08:00 uos-PC kernel: usb 2-3.1: new SuperSpeed USB device number 4 using xhci_hcd
2026-06-22T13:23:29.985056+08:00 uos-PC kernel: usbcore:usb_detect_quirks: usb 2-3.1: USB quirks for this device: 0x400
2026-06-22T13:23:29.985064+08:00 uos-PC kernel: usbcore:usb_parse_endpoint: usb 2-3.1: skipped 1 descriptor after endpoint
2026-06-22T13:23:29.985065+08:00 uos-PC kernel: usbcore:usb_parse_endpoint: usb 2-3.1: skipped 1 descriptor after endpoint
2026-06-22T13:23:29.985065+08:00 uos-PC kernel: usbcore:usb_parse_endpoint: usb 2-3.1: skipped 1 descriptor after endpoint
2026-06-22T13:23:29.989079+08:00 uos-PC kernel: usbcore:usb_parse_interface: usb 2-3.1: skipped 3 descriptors after interface
2026-06-22T13:23:29.989086+08:00 uos-PC kernel: usbcore:usb_parse_endpoint: usb 2-3.1: skipped 1 descriptor after endpoint
2026-06-22T13:23:29.989087+08:00 uos-PC kernel: usbcore:usb_parse_endpoint: usb 2-3.1: skipped 1 descriptor after endpoint
2026-06-22T13:23:29.989088+08:00 uos-PC kernel: usbcore:usb_parse_endpoint: usb 2-3.1: skipped 1 descriptor after endpoint
2026-06-22T13:23:29.989089+08:00 uos-PC kernel: xhci_hcd:process_ctrl_td: xhci_hcd 0000:04:00.0: Waiting for status stage event
2026-06-22T13:23:29.989098+08:00 uos-PC kernel: usbcore:usb_get_langid: usb 2-3.1: default language 0x0409
2026-06-22T13:23:29.989099+08:00 uos-PC kernel: xhci_hcd:process_ctrl_td: xhci_hcd 0000:04:00.0: Waiting for status stage event
2026-06-22T13:23:29.989100+08:00 uos-PC kernel: xhci_hcd:process_ctrl_td: xhci_hcd 0000:04:00.0: Waiting for status stage event
2026-06-22T13:23:29.989101+08:00 uos-PC kernel: xhci_hcd:process_ctrl_td: xhci_hcd 0000:04:00.0: Waiting for status stage event
2026-06-22T13:23:29.989101+08:00 uos-PC kernel: usbcore:usb_new_device: usb 2-3.1: udev 4, busnum 2, minor = 131
2026-06-22T13:23:29.989102+08:00 uos-PC kernel: usb 2-3.1: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=31.00
2026-06-22T13:23:29.989103+08:00 uos-PC kernel: usb 2-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
2026-06-22T13:23:29.989104+08:00 uos-PC kernel: usb 2-3.1: Product: USB 10/100/1000 LAN
2026-06-22T13:23:29.989105+08:00 uos-PC kernel: usb 2-3.1: Manufacturer: Realtek
2026-06-22T13:23:29.989106+08:00 uos-PC kernel: usb 2-3.1: SerialNumber: 001000001
2026-06-22T13:23:29.989107+08:00 uos-PC kernel: usbcore:usb_probe_device: usb 2-3.1: usb_probe_device
2026-06-22T13:23:29.989108+08:00 uos-PC kernel: usbcore:usb_choose_configuration: usb 2-3.1: configuration #2 chosen from 2 choices
2026-06-22T13:23:29.989109+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (000/0) [ffffffff/00000000/ffffffff] xhci_add_endpoint
2026-06-22T13:23:29.989110+08:00 uos-PC kernel: xhci_hcd:xhci_add_endpoint: xhci_hcd 0000:04:00.0: add ep 0x83, slot id 8, new drop flags = 0x0, new add flags = 0x80
2026-06-22T13:23:29.989111+08:00 uos-PC kernel: xhci_hcd:xhci_check_bandwidth: xhci_hcd 0000:04:00.0: xhci_check_bandwidth called for udev 00000000b85d7ba3
2026-06-22T13:23:29.989112+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_configure_endpoint in_ctx 201888f000
2026-06-22T13:23:29.989113+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:29.989114+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:29.989115+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 12 comp_code 1
2026-06-22T13:23:29.989121+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Successful Endpoint Configure command
2026-06-22T13:23:29.989122+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (000/1) [200368a000/200368a001/200368a000] xhci_endpoint_reset
2026-06-22T13:23:29.989122+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (080/1) [200368a000/200368a001/200368a000] queue_stop_endpoint suspend 0
2026-06-22T13:23:29.989123+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:29.989124+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:29.989125+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (080/3) [200368a000/200368a001/200368a000] handle_tx_event comp_code 27 trb_dma 200368a000
2026-06-22T13:23:29.989126+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (080/3) [200368a000/200368a001/200368a000] handle_tx_event stream_id 0 trb_len 0 missing 0
2026-06-22T13:23:29.989127+08:00 uos-PC kernel: xhci_hcd:handle_tx_event: xhci_hcd 0000:04:00.0: Stopped on No-op or Link TRB for slot 8 ep 6
2026-06-22T13:23:29.993055+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (080/3) [200368a000/200368a001/200368a000] handle_cmd_completion cmd_type 15 comp_code 1
2026-06-22T13:23:29.993062+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_configure_endpoint in_ctx 201fe43000
2026-06-22T13:23:29.993063+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:29.993064+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:29.993064+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 12 comp_code 1
2026-06-22T13:23:29.993065+08:00 uos-PC kernel: usbcore:usb_set_configuration: usb 2-3.1: adding 2-3.1:2.0 (config #2, interface 0)
2026-06-22T13:23:29.993066+08:00 uos-PC kernel: xhci_hcd:process_ctrl_td: xhci_hcd 0000:04:00.0: Waiting for status stage event
2026-06-22T13:23:29.993072+08:00 uos-PC kernel: usbcore:usb_set_configuration: usb 2-3.1: adding 2-3.1:2.1 (config #2, interface 1)
2026-06-22T13:23:29.993074+08:00 uos-PC kernel: usbcore:hub_event: hub 2-3:1.0: state 7 ports 4 chg 0000 evt 0002
2026-06-22T13:23:29.993074+08:00 uos-PC kernel: usbcore:hub_event: hub 1-3:1.0: state 7 ports 4 chg 0000 evt 0000
2026-06-22T13:23:29.997105+08:00 uos-PC kernel: usbcore:hub_suspend: hub 1-3:1.0: hub_suspend
2026-06-22T13:23:29.997118+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Cancel URB 00000000cd08cff2, dev 3, ep 0x81, starting at offset 0x201fe3b000
2026-06-22T13:23:29.997120+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/2 (000/1) [201fe3b000/201fe3b001/201fe3b010] xhci_urb_dequeue cancel TD at 201fe3b000 stream 0
2026-06-22T13:23:29.997122+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/2 (004/1) [201fe3b000/201fe3b001/201fe3b010] queue_stop_endpoint suspend 0
2026-06-22T13:23:29.997123+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:29.997124+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:29.997125+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/2 (004/1) [201fe3b000/201fe3b001/201fe3b010] handle_tx_event comp_code 26 trb_dma 201fe3b000
2026-06-22T13:23:29.997126+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/2 (004/1) [201fe3b000/201fe3b001/201fe3b010] handle_tx_event stream_id 0 trb_len 1 missing 1
2026-06-22T13:23:29.997127+08:00 uos-PC kernel: xhci_hcd:handle_tx_event: xhci_hcd 0000:04:00.0: Stopped on Transfer TRB for slot 7 ep 2
2026-06-22T13:23:29.997127+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/2 (004/3) [201fe3b000/201fe3b001/201fe3b010] handle_cmd_completion cmd_type 15 comp_code 1
2026-06-22T13:23:29.997128+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Removing canceled TD starting at 0x201fe3b000 (dma) in stream 0 URB 00000000cd08cff2
2026-06-22T13:23:29.997130+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/2 (004/3) [201fe3b000/201fe3b001/201fe3b010] queue_set_tr_deq stream 0 addr 201fe3b010
2026-06-22T13:23:29.997131+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Set TR Deq ptr 0x201fe3b010, cycle 1
2026-06-22T13:23:29.997132+08:00 uos-PC kernel:
2026-06-22T13:23:29.997133+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:29.997134+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:29.997135+08:00 uos-PC kernel: xhci_hcd:xhci_giveback_invalidated_tds: xhci_hcd 0000:04:00.0: xhci_giveback_invalidated_tds: Keep cancelled URB 00000000cd08cff2 TD as cancel_status is 2
2026-06-22T13:23:29.997136+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/2 (001/3) [201fe3b000/201fe3b011/201fe3b010] handle_cmd_completion cmd_type 16 comp_code 1
2026-06-22T13:23:29.997137+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Successful Set TR Deq Ptr cmd, deq = @201fe3b010
2026-06-22T13:23:29.997138+08:00 uos-PC kernel: xhci_hcd:xhci_handle_cmd_set_deq: xhci_hcd 0000:04:00.0: xhci_handle_cmd_set_deq: Giveback cancelled URB 00000000cd08cff2 TD
2026-06-22T13:23:29.997139+08:00 uos-PC kernel: xhci_hcd:xhci_td_cleanup: xhci_hcd 0000:04:00.0: Giveback URB 00000000cd08cff2, len = 0, expected = 1, status = -115
2026-06-22T13:23:29.997140+08:00 uos-PC kernel: xhci_hcd:xhci_handle_cmd_set_deq: xhci_hcd 0000:04:00.0: xhci_handle_cmd_set_deq: All TDs cleared, ring doorbell
2026-06-22T13:23:30.009063+08:00 uos-PC kernel: usbcore: registered new device driver r8152-cfgselector
2026-06-22T13:23:30.009070+08:00 uos-PC kernel: usbcore:usb_disable_device: usb 2-3.1: unregistering interface 2-3.1:2.0
2026-06-22T13:23:30.009071+08:00 uos-PC kernel: usbcore:usb_disable_device: usb 2-3.1: unregistering interface 2-3.1:2.1
2026-06-22T13:23:30.009072+08:00 uos-PC kernel: usbcore:usb_disable_device: usb 2-3.1: usb_disable_device nuking non-ep0 URBs
2026-06-22T13:23:30.009073+08:00 uos-PC kernel: xhci_hcd:xhci_drop_endpoint: xhci_hcd 0000:04:00.0: xhci_drop_endpoint called for udev 00000000b85d7ba3
2026-06-22T13:23:30.009073+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (000/1) [200368a000/200368a001/200368a000] xhci_drop_endpoint ctx_state 1 td_num 0
2026-06-22T13:23:30.009083+08:00 uos-PC kernel: xhci_hcd:xhci_drop_endpoint: xhci_hcd 0000:04:00.0: drop ep 0x83, slot id 8, new drop flags = 0x80, new add flags = 0x0
2026-06-22T13:23:30.009084+08:00 uos-PC kernel: xhci_hcd:xhci_check_bandwidth: xhci_hcd 0000:04:00.0: xhci_check_bandwidth called for udev 00000000b85d7ba3
2026-06-22T13:23:30.009085+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_configure_endpoint in_ctx 201888f000
2026-06-22T13:23:30.009086+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:30.009087+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:30.009088+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 12 comp_code 1
2026-06-22T13:23:30.009088+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Successful Endpoint Configure command
2026-06-22T13:23:30.009089+08:00 uos-PC kernel: xhci_hcd:xhci_check_bandwidth: xhci_hcd 0000:04:00.0: xhci_check_bandwidth called for udev 00000000b85d7ba3
2026-06-22T13:23:30.009090+08:00 uos-PC kernel: usbcore:usb_probe_device: r8152-cfgselector 2-3.1: usb_probe_device
2026-06-22T13:23:30.009091+08:00 uos-PC kernel: usbcore:usb_choose_configuration: r8152-cfgselector 2-3.1: configuration #2 chosen from 2 choices
2026-06-22T13:23:30.009092+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (000/0) [ffffffff/200368a001/ffffffff] xhci_add_endpoint
2026-06-22T13:23:30.009093+08:00 uos-PC kernel: xhci_hcd:xhci_add_endpoint: xhci_hcd 0000:04:00.0: add ep 0x83, slot id 8, new drop flags = 0x0, new add flags = 0x81
2026-06-22T13:23:30.009095+08:00 uos-PC kernel: xhci_hcd:xhci_check_bandwidth: xhci_hcd 0000:04:00.0: xhci_check_bandwidth called for udev 00000000b85d7ba3
2026-06-22T13:23:30.009095+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_configure_endpoint in_ctx 201888f000
2026-06-22T13:23:30.009096+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:30.009097+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:30.013064+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/0 (000/1) [202182f480/202182f031/202182f480] queue_stop_endpoint suspend 1
2026-06-22T13:23:30.013070+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:30.013071+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:30.013071+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 12 comp_code 1
2026-06-22T13:23:30.013072+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Successful Endpoint Configure command
2026-06-22T13:23:30.013073+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (000/1) [200368a000/200368a001/200368a000] xhci_endpoint_reset
2026-06-22T13:23:30.013074+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (080/1) [200368a000/200368a001/200368a000] queue_stop_endpoint suspend 0
2026-06-22T13:23:30.013074+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:30.013076+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:30.013076+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/0 (000/3) [202182f480/202182f481/202182f480] handle_tx_event comp_code 27 trb_dma 202182f480
2026-06-22T13:23:30.013077+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/0 (000/3) [202182f480/202182f481/202182f480] handle_tx_event stream_id 0 trb_len 0 missing 0
2026-06-22T13:23:30.013078+08:00 uos-PC kernel: xhci_hcd:handle_tx_event: xhci_hcd 0000:04:00.0: Stopped on No-op or Link TRB for slot 7 ep 0
2026-06-22T13:23:30.013079+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/0 (000/3) [202182f480/202182f481/202182f480] handle_cmd_completion cmd_type 15 comp_code 1
2026-06-22T13:23:30.013079+08:00 uos-PC kernel: xhci_hcd:xhci_set_link_state: xhci_hcd 0000:04:00.0: Set port 1-3 link state, portsc: 0xe03, write 0x10e61
2026-06-22T13:23:30.013080+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (080/3) [200368a000/200368a001/200368a000] handle_tx_event comp_code 27 trb_dma 200368a000
2026-06-22T13:23:30.013081+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (080/3) [200368a000/200368a001/200368a000] handle_tx_event stream_id 0 trb_len 0 missing 0
2026-06-22T13:23:30.013082+08:00 uos-PC kernel: xhci_hcd:handle_tx_event: xhci_hcd 0000:04:00.0: Stopped on No-op or Link TRB for slot 8 ep 6
2026-06-22T13:23:30.013084+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (080/3) [200368a000/200368a001/200368a000] handle_cmd_completion cmd_type 15 comp_code 1
2026-06-22T13:23:30.013091+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_configure_endpoint in_ctx 201fe43000
2026-06-22T13:23:30.013093+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:30.013093+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:30.013094+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 12 comp_code 1
2026-06-22T13:23:30.013095+08:00 uos-PC kernel: usbcore:usb_set_configuration: r8152-cfgselector 2-3.1: adding 2-3.1:2.0 (config #2, interface 0)
2026-06-22T13:23:30.013096+08:00 uos-PC kernel: usbcore:usb_set_configuration: r8152-cfgselector 2-3.1: adding 2-3.1:2.1 (config #2, interface 1)
2026-06-22T13:23:30.013096+08:00 uos-PC kernel: usbcore:usb_disable_device: r8152-cfgselector 2-3.1: unregistering interface 2-3.1:2.0
2026-06-22T13:23:30.013097+08:00 uos-PC kernel: usbcore:usb_disable_device: r8152-cfgselector 2-3.1: unregistering interface 2-3.1:2.1
2026-06-22T13:23:30.013098+08:00 uos-PC kernel: usbcore:usb_disable_device: r8152-cfgselector 2-3.1: usb_disable_device nuking non-ep0 URBs
2026-06-22T13:23:30.013099+08:00 uos-PC kernel: xhci_hcd:xhci_drop_endpoint: xhci_hcd 0000:04:00.0: xhci_drop_endpoint called for udev 00000000b85d7ba3
2026-06-22T13:23:30.013099+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (000/1) [200368a000/200368a001/200368a000] xhci_drop_endpoint ctx_state 1 td_num 0
2026-06-22T13:23:30.013100+08:00 uos-PC kernel: xhci_hcd:xhci_drop_endpoint: xhci_hcd 0000:04:00.0: drop ep 0x83, slot id 8, new drop flags = 0x80, new add flags = 0x0
2026-06-22T13:23:30.013101+08:00 uos-PC kernel: xhci_hcd:xhci_check_bandwidth: xhci_hcd 0000:04:00.0: xhci_check_bandwidth called for udev 00000000b85d7ba3
2026-06-22T13:23:30.013102+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_configure_endpoint in_ctx 201888f000
2026-06-22T13:23:30.013104+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:30.013105+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:30.017056+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 12 comp_code 1
2026-06-22T13:23:30.017059+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Successful Endpoint Configure command
2026-06-22T13:23:30.017059+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/2 (000/0) [ffffffff/00000000/ffffffff] xhci_add_endpoint
2026-06-22T13:23:30.017060+08:00 uos-PC kernel: xhci_hcd:xhci_add_endpoint: xhci_hcd 0000:04:00.0: add ep 0x81, slot id 8, new drop flags = 0x0, new add flags = 0x8
2026-06-22T13:23:30.017061+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/3 (000/0) [ffffffff/00000000/ffffffff] xhci_add_endpoint
2026-06-22T13:23:30.017065+08:00 uos-PC kernel: xhci_hcd:xhci_add_endpoint: xhci_hcd 0000:04:00.0: add ep 0x2, slot id 8, new drop flags = 0x0, new add flags = 0x18
2026-06-22T13:23:30.017066+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (000/0) [ffffffff/200368a001/ffffffff] xhci_add_endpoint
2026-06-22T13:23:30.017067+08:00 uos-PC kernel: xhci_hcd:xhci_add_endpoint: xhci_hcd 0000:04:00.0: add ep 0x83, slot id 8, new drop flags = 0x0, new add flags = 0x98
2026-06-22T13:23:30.017069+08:00 uos-PC kernel: xhci_hcd:xhci_check_bandwidth: xhci_hcd 0000:04:00.0: xhci_check_bandwidth called for udev 00000000b85d7ba3
2026-06-22T13:23:30.017070+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_configure_endpoint in_ctx 201888f000
2026-06-22T13:23:30.017070+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:30.017071+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:30.017072+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 12 comp_code 1
2026-06-22T13:23:30.017072+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Successful Endpoint Configure command
2026-06-22T13:23:30.017073+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/2 (000/1) [200368a000/200368a001/200368a000] xhci_endpoint_reset
2026-06-22T13:23:30.017074+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/2 (080/1) [200368a000/200368a001/200368a000] queue_stop_endpoint suspend 0
2026-06-22T13:23:30.017075+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:30.017076+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:30.017076+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/2 (080/3) [200368a000/200368a001/200368a000] handle_tx_event comp_code 27 trb_dma 200368a000
2026-06-22T13:23:30.017077+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/2 (080/3) [200368a000/200368a001/200368a000] handle_tx_event stream_id 0 trb_len 0 missing 0
2026-06-22T13:23:30.017083+08:00 uos-PC kernel: xhci_hcd:handle_tx_event: xhci_hcd 0000:04:00.0: Stopped on No-op or Link TRB for slot 8 ep 2
2026-06-22T13:23:30.017084+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/2 (080/3) [200368a000/200368a001/200368a000] handle_cmd_completion cmd_type 15 comp_code 1
2026-06-22T13:23:30.017085+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_configure_endpoint in_ctx 201fe43000
2026-06-22T13:23:30.017086+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:30.017086+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:30.021061+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 12 comp_code 1
2026-06-22T13:23:30.021066+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/3 (000/1) [20119e9000/20119e9001/20119e9000] xhci_endpoint_reset
2026-06-22T13:23:30.021066+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/3 (080/1) [20119e9000/20119e9001/20119e9000] queue_stop_endpoint suspend 0
2026-06-22T13:23:30.021067+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:30.021068+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:30.021069+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/3 (080/3) [20119e9000/20119e9001/20119e9000] handle_tx_event comp_code 27 trb_dma 20119e9000
2026-06-22T13:23:30.021069+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/3 (080/3) [20119e9000/20119e9001/20119e9000] handle_tx_event stream_id 0 trb_len 0 missing 0
2026-06-22T13:23:30.021070+08:00 uos-PC kernel: xhci_hcd:handle_tx_event: xhci_hcd 0000:04:00.0: Stopped on No-op or Link TRB for slot 8 ep 3
2026-06-22T13:23:30.021071+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/3 (080/3) [20119e9000/20119e9001/20119e9000] handle_cmd_completion cmd_type 15 comp_code 1
2026-06-22T13:23:30.021072+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_configure_endpoint in_ctx 201fe43000
2026-06-22T13:23:30.021073+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:30.021074+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:30.021074+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 12 comp_code 1
2026-06-22T13:23:30.021075+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (000/1) [2014f4d000/2014f4d001/2014f4d000] xhci_endpoint_reset
2026-06-22T13:23:30.021076+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (080/1) [2014f4d000/2014f4d001/2014f4d000] queue_stop_endpoint suspend 0
2026-06-22T13:23:30.021077+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:30.021078+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:30.021079+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (080/3) [2014f4d000/2014f4d001/2014f4d000] handle_tx_event comp_code 27 trb_dma 2014f4d000
2026-06-22T13:23:30.021079+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (080/3) [2014f4d000/2014f4d001/2014f4d000] handle_tx_event stream_id 0 trb_len 0 missing 0
2026-06-22T13:23:30.021080+08:00 uos-PC kernel: xhci_hcd:handle_tx_event: xhci_hcd 0000:04:00.0: Stopped on No-op or Link TRB for slot 8 ep 6
2026-06-22T13:23:30.021081+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (080/3) [2014f4d000/2014f4d001/2014f4d000] handle_cmd_completion cmd_type 15 comp_code 1
2026-06-22T13:23:30.021082+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_configure_endpoint in_ctx 201fe43000
2026-06-22T13:23:30.021083+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:30.021083+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:30.025072+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 12 comp_code 1
2026-06-22T13:23:30.025078+08:00 uos-PC kernel: usbcore:usb_set_configuration: r8152-cfgselector 2-3.1: adding 2-3.1:1.0 (config #1, interface 0)
2026-06-22T13:23:30.025079+08:00 uos-PC kernel: usbcore:usb_probe_interface: r8152 2-3.1:1.0: usb_probe_interface
2026-06-22T13:23:30.025079+08:00 uos-PC kernel: usbcore:usb_probe_interface: r8152 2-3.1:1.0: usb_probe_interface - got id
2026-06-22T13:23:30.033050+08:00 uos-PC kernel: usbcore:usb_port_suspend: usb 1-3: usb auto-suspend, wakeup 1
2026-06-22T13:23:30.033054+08:00 uos-PC kernel: xhci_hcd:process_bulk_intr_td: xhci_hcd 0000:04:00.0: ep 0x81 - asked for 2 bytes, 1 bytes untransferred
2026-06-22T13:23:30.033055+08:00 uos-PC kernel: usbcore:hub_event: hub 2-3:1.0: state 7 ports 4 chg 0000 evt 0002
2026-06-22T13:23:30.113061+08:00 uos-PC kernel: xhci_hcd:xhci_discover_or_reset_device: xhci_hcd 0000:04:00.0: Resetting device with slot ID 8
2026-06-22T13:23:30.113070+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_reset_device
2026-06-22T13:23:30.113071+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:30.113071+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:30.113072+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 17 comp_code 1
2026-06-22T13:23:30.113073+08:00 uos-PC kernel: xhci_hcd:xhci_handle_cmd_reset_dev: xhci_hcd 0000:04:00.0: Completed reset device command.
2026-06-22T13:23:30.113081+08:00 uos-PC kernel: xhci_hcd:xhci_discover_or_reset_device: xhci_hcd 0000:04:00.0: Successful reset device command.
2026-06-22T13:23:30.113082+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_address_device bsr 0
2026-06-22T13:23:30.113083+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:30.113084+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:30.113085+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 11 comp_code 1
2026-06-22T13:23:30.113085+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Successful setup address command
2026-06-22T13:23:30.113086+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Op regs DCBAA ptr = 0x000020021cc000
2026-06-22T13:23:30.113087+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Slot ID 8 dcbaa entry @0000000047596e38 = 0x00002014823000
2026-06-22T13:23:30.113088+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Output Context DMA address = 0x2014823000
2026-06-22T13:23:30.113088+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Internal device address = 8
2026-06-22T13:23:30.113089+08:00 uos-PC kernel: r8152-cfgselector 2-3.1: reset SuperSpeed USB device number 4 using xhci_hcd
2026-06-22T13:23:30.133059+08:00 uos-PC kernel: usbcore:usb_detect_quirks: r8152-cfgselector 2-3.1: USB quirks for this device: 0x400
2026-06-22T13:23:30.133065+08:00 uos-PC kernel: xhci_hcd:process_ctrl_td: xhci_hcd 0000:04:00.0: Waiting for status stage event
2026-06-22T13:23:30.133066+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/2 (000/0) [ffffffff/200368a001/ffffffff] xhci_add_endpoint
2026-06-22T13:23:30.133067+08:00 uos-PC kernel: xhci_hcd:xhci_add_endpoint: xhci_hcd 0000:04:00.0: add ep 0x81, slot id 8, new drop flags = 0x0, new add flags = 0x8
2026-06-22T13:23:30.133068+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/3 (000/0) [ffffffff/20119e9001/ffffffff] xhci_add_endpoint
2026-06-22T13:23:30.133068+08:00 uos-PC kernel: xhci_hcd:xhci_add_endpoint: xhci_hcd 0000:04:00.0: add ep 0x2, slot id 8, new drop flags = 0x0, new add flags = 0x18
2026-06-22T13:23:30.133069+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (000/0) [ffffffff/2014f4d001/ffffffff] xhci_add_endpoint
2026-06-22T13:23:30.133077+08:00 uos-PC kernel: xhci_hcd:xhci_add_endpoint: xhci_hcd 0000:04:00.0: add ep 0x83, slot id 8, new drop flags = 0x0, new add flags = 0x98
2026-06-22T13:23:30.133078+08:00 uos-PC kernel: xhci_hcd:xhci_check_bandwidth: xhci_hcd 0000:04:00.0: xhci_check_bandwidth called for udev 00000000b85d7ba3
2026-06-22T13:23:30.133079+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_configure_endpoint in_ctx 201888f000
2026-06-22T13:23:30.133080+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:30.133080+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:30.137061+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 12 comp_code 1
2026-06-22T13:23:30.137067+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Successful Endpoint Configure command
2026-06-22T13:23:30.137068+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/2 (000/1) [2014f4d000/2014f4d001/2014f4d000] xhci_endpoint_reset
2026-06-22T13:23:30.137069+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/2 (080/1) [2014f4d000/2014f4d001/2014f4d000] queue_stop_endpoint suspend 0
2026-06-22T13:23:30.137070+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:30.137071+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:30.137078+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/2 (080/3) [2014f4d000/2014f4d001/2014f4d000] handle_tx_event comp_code 27 trb_dma 2014f4d000
2026-06-22T13:23:30.137079+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/2 (080/3) [2014f4d000/2014f4d001/2014f4d000] handle_tx_event stream_id 0 trb_len 0 missing 0
2026-06-22T13:23:30.137080+08:00 uos-PC kernel: xhci_hcd:handle_tx_event: xhci_hcd 0000:04:00.0: Stopped on No-op or Link TRB for slot 8 ep 2
2026-06-22T13:23:30.137081+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/2 (080/3) [2014f4d000/2014f4d001/2014f4d000] handle_cmd_completion cmd_type 15 comp_code 1
2026-06-22T13:23:30.137082+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_configure_endpoint in_ctx 201fe43000
2026-06-22T13:23:30.137082+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:30.137083+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:30.137084+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 12 comp_code 1
2026-06-22T13:23:30.137085+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/3 (000/1) [20119e9000/20119e9001/20119e9000] xhci_endpoint_reset
2026-06-22T13:23:30.137085+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/3 (080/1) [20119e9000/20119e9001/20119e9000] queue_stop_endpoint suspend 0
2026-06-22T13:23:30.137086+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:30.137087+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:30.137088+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/3 (080/3) [20119e9000/20119e9001/20119e9000] handle_tx_event comp_code 27 trb_dma 20119e9000
2026-06-22T13:23:30.137088+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/3 (080/3) [20119e9000/20119e9001/20119e9000] handle_tx_event stream_id 0 trb_len 0 missing 0
2026-06-22T13:23:30.137089+08:00 uos-PC kernel: xhci_hcd:handle_tx_event: xhci_hcd 0000:04:00.0: Stopped on No-op or Link TRB for slot 8 ep 3
2026-06-22T13:23:30.141060+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/3 (080/3) [20119e9000/20119e9001/20119e9000] handle_cmd_completion cmd_type 15 comp_code 1
2026-06-22T13:23:30.141066+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_configure_endpoint in_ctx 201fe43000
2026-06-22T13:23:30.141067+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:30.141068+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:30.141068+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 12 comp_code 1
2026-06-22T13:23:30.141069+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (000/1) [200368a000/200368a001/200368a000] xhci_endpoint_reset
2026-06-22T13:23:30.141076+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (080/1) [200368a000/200368a001/200368a000] queue_stop_endpoint suspend 0
2026-06-22T13:23:30.141078+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:30.141079+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:30.141079+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (080/3) [200368a000/200368a001/200368a000] handle_tx_event comp_code 27 trb_dma 200368a000
2026-06-22T13:23:30.141080+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (080/3) [200368a000/200368a001/200368a000] handle_tx_event stream_id 0 trb_len 0 missing 0
2026-06-22T13:23:30.141081+08:00 uos-PC kernel: xhci_hcd:handle_tx_event: xhci_hcd 0000:04:00.0: Stopped on No-op or Link TRB for slot 8 ep 6
2026-06-22T13:23:30.141081+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (080/3) [200368a000/200368a001/200368a000] handle_cmd_completion cmd_type 15 comp_code 1
2026-06-22T13:23:30.141082+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_configure_endpoint in_ctx 201fe43000
2026-06-22T13:23:30.141083+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:30.141084+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:30.141085+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 12 comp_code 1
2026-06-22T13:23:30.209052+08:00 uos-PC kernel: r8152 2-3.1:1.0: load rtl8153b-2 v2 04/27/23 successfully
2026-06-22T13:23:30.269062+08:00 uos-PC kernel: r8152 2-3.1:1.0 eth0: v1.12.13
2026-06-22T13:23:30.269079+08:00 uos-PC kernel: usbcore: registered new interface driver r8152
2026-06-22T13:23:30.273085+08:00 uos-PC kernel: usbcore: registered new interface driver cdc_ether
2026-06-22T13:23:30.277075+08:00 uos-PC kernel: usbcore: registered new interface driver r8153_ecm
2026-06-22T13:23:30.285111+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/0 (000/2) [200ca193b0/200ca193c0/200ca193e0] handle_tx_event comp_code 6 trb_dma 200ca193c0
2026-06-22T13:23:30.285123+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/0 (000/2) [200ca193b0/200ca193c0/200ca193e0] handle_tx_event stream_id 0 trb_len 1024 missing 1024
2026-06-22T13:23:30.285125+08:00 uos-PC kernel: xhci_hcd:handle_tx_event: xhci_hcd 0000:04:00.0: Stalled endpoint for slot 8 ep 0
2026-06-22T13:23:30.285128+08:00 uos-PC kernel: xhci_hcd:xhci_reset_halted_ep: xhci_hcd 0000:04:00.0: Hard-reset ep 0, slot 8
2026-06-22T13:23:30.285129+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/0 (040/2) [200ca193b0/200ca193c0/200ca193e0] queue_reset_endpoint tsp 0
2026-06-22T13:23:30.285130+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:30.285131+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:30.285132+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/0 (042/3) [200ca193b0/200ca193c0/200ca193e0] handle_cmd_completion cmd_type 14 comp_code 1
2026-06-22T13:23:30.285133+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Ignoring reset ep completion code of 1
2026-06-22T13:23:30.285134+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Removing canceled TD starting at 0x200ca193b0 (dma) in stream 0 URB 00000000f32725a0
2026-06-22T13:23:30.285135+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/0 (042/3) [200ca193b0/200ca193c0/200ca193e0] queue_set_tr_deq stream 0 addr 200ca193e0
2026-06-22T13:23:30.285137+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Set TR Deq ptr 0x200ca193e0, cycle 0
2026-06-22T13:23:30.285138+08:00 uos-PC kernel:
2026-06-22T13:23:30.285149+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:30.285151+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:30.285152+08:00 uos-PC kernel: xhci_hcd:xhci_giveback_invalidated_tds: xhci_hcd 0000:04:00.0: xhci_giveback_invalidated_tds: Keep cancelled URB 00000000f32725a0 TD as cancel_status is 2
2026-06-22T13:23:30.285154+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/0 (041/3) [200ca193b0/200ca193e0/200ca193e0] handle_cmd_completion cmd_type 16 comp_code 1
2026-06-22T13:23:30.285155+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Successful Set TR Deq Ptr cmd, deq = @200ca193e0
2026-06-22T13:23:30.285156+08:00 uos-PC kernel: xhci_hcd:xhci_handle_cmd_set_deq: xhci_hcd 0000:04:00.0: xhci_handle_cmd_set_deq: Giveback cancelled URB 00000000f32725a0 TD
2026-06-22T13:23:30.285157+08:00 uos-PC kernel: xhci_hcd:xhci_td_cleanup: xhci_hcd 0000:04:00.0: Giveback URB 00000000f32725a0, len = 0, expected = 1024, status = -32
2026-06-22T13:23:30.285157+08:00 uos-PC kernel: xhci_hcd:xhci_handle_cmd_set_deq: xhci_hcd 0000:04:00.0: xhci_handle_cmd_set_deq: All TDs cleared, ring doorbell
2026-06-22T13:23:30.301070+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/0 (040/3) [200ca193e0/200ca193e0/200ca19410] ring_ep_doorbell stream 0
2026-06-22T13:23:30.301079+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/0 (040/2) [200ca193e0/200ca193f0/200ca19410] handle_tx_event comp_code 6 trb_dma 200ca193f0
2026-06-22T13:23:30.301080+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/0 (040/2) [200ca193e0/200ca193f0/200ca19410] handle_tx_event stream_id 0 trb_len 1024 missing 1024
2026-06-22T13:23:30.301081+08:00 uos-PC kernel: xhci_hcd:handle_tx_event: xhci_hcd 0000:04:00.0: Stalled endpoint for slot 8 ep 0
2026-06-22T13:23:30.301082+08:00 uos-PC kernel: xhci_hcd:xhci_reset_halted_ep: xhci_hcd 0000:04:00.0: Hard-reset ep 0, slot 8
2026-06-22T13:23:30.301083+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/0 (040/2) [200ca193e0/200ca193f0/200ca19410] queue_reset_endpoint tsp 0
2026-06-22T13:23:30.301086+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:30.301087+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:30.301090+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/0 (042/3) [200ca193e0/200ca193f0/200ca19410] handle_cmd_completion cmd_type 14 comp_code 1
2026-06-22T13:23:30.301091+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Ignoring reset ep completion code of 1
2026-06-22T13:23:30.301092+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Removing canceled TD starting at 0x200ca193e0 (dma) in stream 0 URB 00000000f32725a0
2026-06-22T13:23:30.301093+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/0 (042/3) [200ca193e0/200ca193f0/200ca19410] queue_set_tr_deq stream 0 addr 200ca19410
2026-06-22T13:23:30.301094+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Set TR Deq ptr 0x200ca19410, cycle 0
2026-06-22T13:23:30.301096+08:00 uos-PC kernel:
2026-06-22T13:23:30.301097+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:30.301098+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:30.301099+08:00 uos-PC kernel: xhci_hcd:xhci_giveback_invalidated_tds: xhci_hcd 0000:04:00.0: xhci_giveback_invalidated_tds: Keep cancelled URB 00000000f32725a0 TD as cancel_status is 2
2026-06-22T13:23:30.301100+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/0 (041/3) [200ca193e0/200ca19410/200ca19410] handle_cmd_completion cmd_type 16 comp_code 1
2026-06-22T13:23:30.301101+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Successful Set TR Deq Ptr cmd, deq = @200ca19410
2026-06-22T13:23:30.301102+08:00 uos-PC kernel: xhci_hcd:xhci_handle_cmd_set_deq: xhci_hcd 0000:04:00.0: xhci_handle_cmd_set_deq: Giveback cancelled URB 00000000f32725a0 TD
2026-06-22T13:23:30.301103+08:00 uos-PC kernel: xhci_hcd:xhci_td_cleanup: xhci_hcd 0000:04:00.0: Giveback URB 00000000f32725a0, len = 0, expected = 1024, status = -32
2026-06-22T13:23:30.301104+08:00 uos-PC kernel: xhci_hcd:xhci_handle_cmd_set_deq: xhci_hcd 0000:04:00.0: xhci_handle_cmd_set_deq: All TDs cleared, ring doorbell
2026-06-22T13:23:30.309070+08:00 uos-PC kernel: r8152 2-3.1:1.0 enx2c16dba85d18: renamed from eth0
2026-06-22T13:23:30.345066+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/0 (040/3) [200ca19410/200ca19410/200ca19440] ring_ep_doorbell stream 0
2026-06-22T13:23:39.445959+08:00 uos-PC kernel: xhci_hcd:handle_port_status: xhci_hcd 0000:04:00.0: Port change event, 1-3, id 7, portsc: 0x202a0
2026-06-22T13:23:39.445974+08:00 uos-PC kernel: xhci_hcd:handle_port_status: xhci_hcd 0000:04:00.0: handle_port_status: starting usb1 port polling.
2026-06-22T13:23:39.445980+08:00 uos-PC kernel: usbcore:hub_event: hub 1-0:1.0: state 7 ports 4 chg 0000 evt 0008
2026-06-22T13:23:39.445989+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x202a0, return 0x10100
2026-06-22T13:23:39.449065+08:00 uos-PC kernel: xhci_hcd:xhci_clear_port_change_bit: xhci_hcd 0000:04:00.0: clear port3 connect change, portsc: 0x2a0
2026-06-22T13:23:39.449074+08:00 uos-PC kernel: usbcore:hub_port_connect_change: usb usb1-port3: status 0100, change 0001, 12 Mb/s
2026-06-22T13:23:39.449078+08:00 uos-PC kernel: usb 1-3: USB disconnect, device number 6
2026-06-22T13:23:39.449085+08:00 uos-PC kernel: usbcore:usb_disconnect: usb 1-3: unregistering device
2026-06-22T13:23:39.449087+08:00 uos-PC kernel: usbcore:usb_disable_device: usb 1-3: unregistering interface 1-3:1.0
2026-06-22T13:23:39.449087+08:00 uos-PC kernel: usbcore:usb_disable_device: usb 1-3: usb_disable_device nuking all URBs
2026-06-22T13:23:39.449088+08:00 uos-PC kernel: xhci_hcd:xhci_drop_endpoint: xhci_hcd 0000:04:00.0: xhci_drop_endpoint called for udev 00000000ec865509
2026-06-22T13:23:39.449089+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/2 (000/3) [201fe3b010/201fe3b011/201fe3b010] xhci_drop_endpoint ctx_state 3 td_num 0
2026-06-22T13:23:39.449090+08:00 uos-PC kernel: xhci_hcd:xhci_drop_endpoint: xhci_hcd 0000:04:00.0: drop ep 0x81, slot id 7, new drop flags = 0x8, new add flags = 0x0
2026-06-22T13:23:39.449092+08:00 uos-PC kernel: xhci_hcd:xhci_check_bandwidth: xhci_hcd 0000:04:00.0: xhci_check_bandwidth called for udev 00000000ec865509
2026-06-22T13:23:39.449093+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_configure_endpoint in_ctx 2006f06000
2026-06-22T13:23:39.449094+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:39.449095+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:39.449096+08:00 uos-PC kernel: xhci_hcd:handle_port_status: xhci_hcd 0000:04:00.0: Port change event, 2-3, id 3, portsc: 0x202c0
2026-06-22T13:23:39.449097+08:00 uos-PC kernel: xhci_hcd:handle_port_status: xhci_hcd 0000:04:00.0: handle_port_status: starting usb2 port polling.
2026-06-22T13:23:39.449098+08:00 uos-PC kernel: usbcore:hub_event: hub 2-0:1.0: state 7 ports 4 chg 0000 evt 0008
2026-06-22T13:23:39.449104+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: Get port status 2-3 read: 0x202c0, return 0x102c0
2026-06-22T13:23:39.449105+08:00 uos-PC kernel: xhci_hcd:xhci_clear_port_change_bit: xhci_hcd 0000:04:00.0: clear port3 connect change, portsc: 0x2c0
2026-06-22T13:23:39.449105+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 12 comp_code 1
2026-06-22T13:23:39.449107+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Successful Endpoint Configure command
2026-06-22T13:23:39.449108+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_disable_slot
2026-06-22T13:23:39.449108+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:39.449110+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:39.449111+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 10 comp_code 1
2026-06-22T13:23:39.449112+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x2a0, return 0x100
2026-06-22T13:23:39.457060+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (000/2) [200cb341b0/200cb341b1/200cb341c0] handle_tx_event comp_code 4 trb_dma 200cb341b0
2026-06-22T13:23:39.457070+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (000/2) [200cb341b0/200cb341b1/200cb341c0] handle_tx_event stream_id 0 trb_len 2 missing 2
2026-06-22T13:23:39.457071+08:00 uos-PC kernel: xhci_hcd:handle_tx_event: xhci_hcd 0000:04:00.0: Transfer error for slot 8 ep 6 on endpoint
2026-06-22T13:23:39.457072+08:00 uos-PC kernel: xhci_hcd:xhci_reset_halted_ep: xhci_hcd 0000:04:00.0: Soft-reset ep 6, slot 8
2026-06-22T13:23:39.457072+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (000/2) [200cb341b0/200cb341b1/200cb341c0] queue_reset_endpoint tsp 1
2026-06-22T13:23:39.457073+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:39.457074+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:39.457082+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (002/3) [200cb341b0/200cb341b1/200cb341c0] handle_cmd_completion cmd_type 14 comp_code 1
2026-06-22T13:23:39.457084+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Ignoring reset ep completion code of 1
2026-06-22T13:23:39.457084+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (000/3) [200cb341b0/200cb341b1/200cb341c0] ring_ep_doorbell stream 0
2026-06-22T13:23:39.477064+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: Get port status 2-3 read: 0x2a0, return 0x2a0
2026-06-22T13:23:39.477069+08:00 uos-PC kernel: usbcore:port_event: usb usb2-port3: Wait for inactive link disconnect detect
2026-06-22T13:23:39.477070+08:00 uos-PC kernel: usbcore:hub_port_connect_change: usb usb2-port3: status 02a0, change 0001, 5.0 Gb/s
2026-06-22T13:23:39.477071+08:00 uos-PC kernel: usb 2-3: USB disconnect, device number 3
2026-06-22T13:23:39.477071+08:00 uos-PC kernel: r8152-cfgselector 2-3.1: USB disconnect, device number 4
2026-06-22T13:23:39.477072+08:00 uos-PC kernel: usbcore:usb_disconnect: r8152-cfgselector 2-3.1: unregistering device
2026-06-22T13:23:39.477079+08:00 uos-PC kernel: usbcore:usb_disable_device: r8152-cfgselector 2-3.1: unregistering interface 2-3.1:1.0
2026-06-22T13:23:39.477080+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Cancel URB 000000005c134e45, dev 3.1, ep 0x83, starting at offset 0x200cb341b0
2026-06-22T13:23:39.477082+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (000/3) [200cb341b0/200cb341b1/200cb341c0] xhci_urb_dequeue cancel TD at 200cb341b0 stream 0
2026-06-22T13:23:39.477082+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (004/3) [200cb341b0/200cb341b1/200cb341c0] queue_stop_endpoint suspend 0
2026-06-22T13:23:39.477083+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 0/-1 (fff/f) [ffffffff/ffffffff/ffffffff] xhci_ring_cmd_db cmd_ring_state 1
2026-06-22T13:23:39.477084+08:00 uos-PC kernel: xhci_hcd:xhci_ring_cmd_db: xhci_hcd 0000:04:00.0: // Ding dong!
2026-06-22T13:23:39.477085+08:00 uos-PC kernel: usbcore:usb_hcd_flush_endpoint: xhci_hcd 0000:04:00.0: shutdown urb 000000005c134e45 ep3in-intr
2026-06-22T13:23:39.489048+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x2a0, return 0x100
2026-06-22T13:23:39.525050+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x2a0, return 0x100
2026-06-22T13:23:39.561050+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x2a0, return 0x100
2026-06-22T13:23:39.581068+08:00 uos-PC kernel: xhci_hcd:xhci_hub_status_data: xhci_hcd 0000:04:00.0: xhci_hub_status_data: stopping usb2 port polling
2026-06-22T13:23:39.581073+08:00 uos-PC kernel: xhci_hcd:xhci_hub_status_data: xhci_hcd 0000:04:00.0: xhci_hub_status_data: stopping usb1 port polling
2026-06-22T13:23:39.597050+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x2a0, return 0x100
2026-06-22T13:23:39.597055+08:00 uos-PC kernel: usbcore:hub_port_debounce: usb usb1-port3: debounce total 100ms stable 100ms status 0x100
2026-06-22T13:23:44.565110+08:00 uos-PC kernel: xhci_hcd:xhci_handle_command_timeout: xhci_hcd 0000:04:00.0: Command timeout, USBSTS: 0x00000000
2026-06-22T13:23:44.565132+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xHCI host not responding to stop endpoint command
2026-06-22T13:23:44.565133+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: // Halt the HC
2026-06-22T13:23:44.565134+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: xHCI host controller not responding, assume dead
2026-06-22T13:23:44.565135+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Killing URBs for slot ID 1, ep index 0
2026-06-22T13:23:44.565136+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Killing URBs for slot ID 1, ep index 2
2026-06-22T13:23:44.565137+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Killing URBs for slot ID 2, ep index 0
2026-06-22T13:23:44.565138+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Killing URBs for slot ID 2, ep index 2
2026-06-22T13:23:44.565139+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Killing URBs for slot ID 3, ep index 0
2026-06-22T13:23:44.565149+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Killing URBs for slot ID 3, ep index 2
2026-06-22T13:23:44.565150+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Killing URBs for slot ID 4, ep index 0
2026-06-22T13:23:44.565152+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Killing URBs for slot ID 4, ep index 2
2026-06-22T13:23:44.565165+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Killing URBs for slot ID 5, ep index 0
2026-06-22T13:23:44.565167+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Killing URBs for slot ID 5, ep index 2
2026-06-22T13:23:44.565168+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Killing URBs for slot ID 5, ep index 4
2026-06-22T13:23:44.565169+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Killing URBs for slot ID 6, ep index 0
2026-06-22T13:23:44.565170+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Killing URBs for slot ID 6, ep index 2
2026-06-22T13:23:44.565172+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Killing URBs for slot ID 8, ep index 0
2026-06-22T13:23:44.565173+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Killing URBs for slot ID 8, ep index 2
2026-06-22T13:23:44.565174+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Killing URBs for slot ID 8, ep index 3
2026-06-22T13:23:44.565174+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Killing URBs for slot ID 8, ep index 6
2026-06-22T13:23:44.565176+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: HC died; cleaning up
2026-06-22T13:23:44.565177+08:00 uos-PC kernel: r8152 2-3.1:1.0 enx2c16dba85d18: Stop submitting intr, status -108
2026-06-22T13:23:44.565178+08:00 uos-PC kernel: usbcore:hub_event: hub 1-0:1.0: state 0 ports 4 chg 0000 evt 0000
2026-06-22T13:23:44.565178+08:00 uos-PC kernel: usb 1-1: USB disconnect, device number 2
2026-06-22T13:23:44.565180+08:00 uos-PC kernel: usb 1-1.3: USB disconnect, device number 4
2026-06-22T13:23:44.565180+08:00 uos-PC kernel: usbcore:usb_disconnect: usb 1-1.3: unregistering device
2026-06-22T13:23:44.565181+08:00 uos-PC kernel: usbcore:usb_disable_device: usb 1-1.3: unregistering interface 1-1.3:1.0
2026-06-22T13:23:44.637078+08:00 uos-PC kernel: usbcore:usb_disable_device: r8152-cfgselector 2-3.1: usb_disable_device nuking all URBs
2026-06-22T13:23:44.637093+08:00 uos-PC kernel: usbcore:usb_disconnect: usb 2-3: unregistering device
2026-06-22T13:23:44.637095+08:00 uos-PC kernel: usbcore:usb_disable_device: usb 2-3: unregistering interface 2-3:1.0
2026-06-22T13:23:44.637096+08:00 uos-PC kernel: usbcore:usb_disable_device: usb 2-3: usb_disable_device nuking all URBs
2026-06-22T13:23:44.637097+08:00 uos-PC kernel: usbcore:hub_event: hub 2-0:1.0: state 0 ports 4 chg 0000 evt 0000
2026-06-22T13:23:44.637098+08:00 uos-PC kernel: usb 2-2: USB disconnect, device number 2
2026-06-22T13:23:44.637099+08:00 uos-PC kernel: usbcore:usb_disconnect: usb 2-2: unregistering device
2026-06-22T13:23:44.637108+08:00 uos-PC kernel: usbcore:usb_disable_device: usb 2-2: unregistering interface 2-2:1.0
2026-06-22T13:23:44.637192+08:00 uos-PC kernel: usbcore:usb_disable_device: usb 2-2: usb_disable_device nuking all URBs
2026-06-22T13:23:44.669064+08:00 uos-PC kernel: usbcore:usb_disable_device: usb 1-1.3: usb_disable_device nuking all URBs
2026-06-22T13:23:44.669075+08:00 uos-PC kernel: usbcore:usb_disconnect: usb 1-1: unregistering device
2026-06-22T13:23:44.669076+08:00 uos-PC kernel: usbcore:usb_disable_device: usb 1-1: unregistering interface 1-1:1.0
2026-06-22T13:23:44.669077+08:00 uos-PC kernel: usbcore:usb_disable_device: usb 1-1: usb_disable_device nuking all URBs
2026-06-22T13:23:44.669079+08:00 uos-PC kernel: usb 1-2: USB disconnect, device number 3
2026-06-22T13:23:44.669081+08:00 uos-PC kernel: usbcore:usb_disconnect: usb 1-2: unregistering device
2026-06-22T13:23:44.669082+08:00 uos-PC kernel: usbcore:usb_disable_device: usb 1-2: unregistering interface 1-2:1.0
2026-06-22T13:23:44.669083+08:00 uos-PC kernel: usbcore:usb_disable_device: usb 1-2: usb_disable_device nuking all URBs
2026-06-22T13:23:44.669084+08:00 uos-PC kernel: usb 1-4: USB disconnect, device number 5
2026-06-22T13:23:44.669085+08:00 uos-PC kernel: usbcore:usb_disconnect: usb 1-4: unregistering device
2026-06-22T13:23:44.669085+08:00 uos-PC kernel: usbcore:usb_disable_device: usb 1-4: unregistering interface 1-4:1.0
2026-06-22T13:23:44.797059+08:00 uos-PC kernel: usbcore:usb_disable_device: usb 1-4: unregistering interface 1-4:1.1
2026-06-22T13:23:44.981134+08:00 uos-PC kernel: usbcore:usb_disable_device: usb 1-4: usb_disable_device nuking all URBs
----- dmesg end -----

Thanks,
Xu Rao

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2] xhci: pci: Disable soft retry for Renesas uPD720201
  2026-06-22  6:21     ` raoxu
@ 2026-06-22 11:31       ` Mathias Nyman
  0 siblings, 0 replies; 7+ messages in thread
From: Mathias Nyman @ 2026-06-22 11:31 UTC (permalink / raw)
  To: raoxu, michal.pecio
  Cc: gregkh, linux-kernel, linux-usb, mathias.nyman, stable

On 6/22/26 09:21, raoxu wrote:
> Hi Michal,
> 
>>>> The host reports a transaction error on the RTL8153 interrupt
>>>> endpoint, queues a soft reset, and later times out the Stop
>>>> Endpoint command while disconnecting the device:
>>>>
>>>>     Transfer error for slot 8 ep 6 on endpoint
>>>>     Soft-reset ep 6, slot 8
>>>>     Ignoring reset ep completion code of 1
>>>>     xHCI host not responding to stop endpoint command
>>>>     xHCI host controller not responding, assume dead
>>>>     HC died; cleaning up
>>
>> There is other stuff too, like concurrent teardown of a separate bulk
>> endpoint, not yet sure what exactly breaks these chips.
>>
>> Would you mind to apply the attached debug patch, reproduce and post
>> dmesg from your system for comparison?
> 
> I applied the debug patch and reproduced the issue.
> The XHCI_NO_SOFT_RETRY quirk was disabled during the test.
> 
> Short timeline from the log:
> 13:23:29 The USB hub with an integrated RTL8153 Ethernet adapter was
> 	 plugged in.
> 13:23:39 The USB hub was unplugged, and the endpoint error occurred.
> 13:23:44 The Stop Endpoint command timed out and the xHCI host was
>           declared dead.
> 
> The complete dmesg output follows:

Thanks,
I think there are some steps we could do to avoid soft retry, restart, and stopping
an endpoint we know is behind a disconnected parent.

> 
> ----- dmesg begin -----
> 2026-06-22T13:23:39.445959+08:00 uos-PC kernel: xhci_hcd:handle_port_status: xhci_hcd 0000:04:00.0: Port change event, 1-3, id 7, portsc: 0x202a0

usb2 part of hub disconnect now known by xhci driver

> 2026-06-22T13:23:39.449096+08:00 uos-PC kernel: xhci_hcd:handle_port_status: xhci_hcd 0000:04:00.0: Port change event, 2-3, id 3, portsc: 0x202c0

usb3 part of hub disconnect now known by xhci driver

> 2026-06-22T13:23:39.449108+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/-1 (fff/f) [ffffffff/ffffffff/ffffffff] queue_disable_slot
> 2026-06-22T13:23:39.449111+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 7/-1 (fff/f) [ffffffff/ffffffff/ffffffff] handle_cmd_completion cmd_type 10 comp_code 1

hub slot now disabled

> 2026-06-22T13:23:39.449112+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: Get port status 1-3 read: 0x2a0, return 0x100
> 2026-06-22T13:23:39.457060+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (000/2) [200cb341b0/200cb341b1/200cb341c0] handle_tx_event comp_code 4 trb_dma 200cb341b0
> 2026-06-22T13:23:39.457070+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (000/2) [200cb341b0/200cb341b1/200cb341c0] handle_tx_event stream_id 0 trb_len 2 missing 2
> 2026-06-22T13:23:39.457071+08:00 uos-PC kernel: xhci_hcd:handle_tx_event: xhci_hcd 0000:04:00.0: Transfer error for slot 8 ep 6 on endpoint

transfer error on realtek ethernet child device behind the disconnected hub

> 2026-06-22T13:23:39.457072+08:00 uos-PC kernel: xhci_hcd:xhci_reset_halted_ep: xhci_hcd 0000:04:00.0: Soft-reset ep 6, slot 8

Try to soft reset/retry. (xhci driver knows parent is disconnected, need a fix that avoids soft retry here)

> 2026-06-22T13:23:39.457072+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (000/2) [200cb341b0/200cb341b1/200cb341c0] queue_reset_endpoint tsp 1
> 2026-06-22T13:23:39.457082+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (002/3) [200cb341b0/200cb341b1/200cb341c0] handle_cmd_completion cmd_type 14 comp_code 1

> 2026-06-22T13:23:39.457084+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (000/3) [200cb341b0/200cb341b1/200cb341c0] ring_ep_doorbell stream 0

Tried to restart ring after soft retry, we know parent is gone, should write a fix that avoids restarting ring.


> 2026-06-22T13:23:39.477064+08:00 uos-PC kernel: xhci_hcd:xhci_hub_control: xhci_hcd 0000:04:00.0: Get port status 2-3 read: 0x2a0, return 0x2a0
> 2026-06-22T13:23:39.477069+08:00 uos-PC kernel: usbcore:port_event: usb usb2-port3: Wait for inactive link disconnect detect
> 2026-06-22T13:23:39.477070+08:00 uos-PC kernel: usbcore:hub_port_connect_change: usb usb2-port3: status 02a0, change 0001, 5.0 Gb/s
> 2026-06-22T13:23:39.477071+08:00 uos-PC kernel: usb 2-3: USB disconnect, device number 3
> 2026-06-22T13:23:39.477071+08:00 uos-PC kernel: r8152-cfgselector 2-3.1: USB disconnect, device number 4
> 2026-06-22T13:23:39.477072+08:00 uos-PC kernel: usbcore:usb_disconnect: r8152-cfgselector 2-3.1: unregistering device
> 2026-06-22T13:23:39.477079+08:00 uos-PC kernel: usbcore:usb_disable_device: r8152-cfgselector 2-3.1: unregistering interface 2-3.1:1.0
> 2026-06-22T13:23:39.477080+08:00 uos-PC kernel: xhci_hcd:xhci_dbg_trace: xhci_hcd 0000:04:00.0: Cancel URB 000000005c134e45, dev 3.1, ep 0x83, starting at offset 0x200cb341b0

Cancel the realtek URB we tried to soft retry earlier.

> 2026-06-22T13:23:39.477082+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (000/3) [200cb341b0/200cb341b1/200cb341c0] xhci_urb_dequeue cancel TD at 200cb341b0 stream 0
> 2026-06-22T13:23:39.477082+08:00 uos-PC kernel: xhci_hcd 0000:04:00.0: 8/6 (004/3) [200cb341b0/200cb341b1/200cb341c0] queue_stop_endpoint suspend 0

queue stop endpoint to cancel URB for realtek device.
Endpoint context still shows endpoint is in "stopped" state.
Note that we restarted the endpoint 20ms earlier, endpoint context might not have updated yet.

> 2026-06-22T13:23:44.565110+08:00 uos-PC kernel: xhci_hcd:xhci_handle_command_timeout: xhci_hcd 0000:04:00.0: Command timeout, USBSTS: 0x00000000

Stop endpoint command times out.

-Mathias

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2] xhci: pci: Disable soft retry for Renesas uPD720201
  2026-06-19 10:42   ` Michal Pecio
  2026-06-20 12:21     ` raoxu
  2026-06-22  6:21     ` raoxu
@ 2026-06-22 11:36     ` Mathias Nyman
  2 siblings, 0 replies; 7+ messages in thread
From: Mathias Nyman @ 2026-06-22 11:36 UTC (permalink / raw)
  To: Michal Pecio
  Cc: raoxu, mathias.nyman, gregkh, linux-usb, linux-kernel, stable

On 6/19/26 13:42, Michal Pecio wrote:
>> On 6/17/26 13:09, raoxu wrote:
>>> From: Xu Rao <raoxu@uniontech.com>
>>>
>>> The Renesas uPD720201 xHCI controller can fail to complete
>>> a Stop Endpoint command after a transaction error on an interrupt
>>> endpoint when soft retry is used.
>>>
>>> This was reproduced with this setup:
>>>
>>>     xHCI: Renesas uPD720201, PCI ID 1912:0014 rev 03
>>>     dev:  USB Ethernet device with an integrated Genesys Logic
>>>           USB3.1 hub, USB ID 05e3:0626, and a Realtek RTL8153
>>>           Ethernet function, USB ID 0bda:8153
> 
> Same thing with uPD720202 (1912:0015) here.
> 
> Is the hub even necessary? In my case I have one too, but I cannot
> separate it from the RTL8153 for testing.
> 
>>> Reproducer:
>>>
>>>     1. Plug the integrated USB hub and Ethernet device into the
>>>        1912:0014 xHCI controller.
>>>     2. Let r8152 bind to the 0bda:8153 RTL8153 Ethernet function
>>>        behind the integrated hub.
>>>     3. Bring the Ethernet device up.
>>>     4. Hot-unplug the device.
> 
> In my case, necessary step 3.5: connect a cable and wait for the
> "r8152: carrier on" message. Otherwise it disconnects cleanly.
> 
>>> The host reports a transaction error on the RTL8153 interrupt
>>> endpoint, queues a soft reset, and later times out the Stop
>>> Endpoint command while disconnecting the device:
>>>
>>>     Transfer error for slot 8 ep 6 on endpoint
>>>     Soft-reset ep 6, slot 8
>>>     Ignoring reset ep completion code of 1
>>>     xHCI host not responding to stop endpoint command
>>>     xHCI host controller not responding, assume dead
>>>     HC died; cleaning up
> 
> There is other stuff too, like concurrent teardown of a separate bulk
> endpoint, not yet sure what exactly breaks these chips.
> 
> Would you mind to apply the attached debug patch, reproduce and post
> dmesg from your system for comparison?
> 
>>> The Renesas 1912:0014 controller cannot safely use the xHCI soft
>>> retry path. Set XHCI_NO_SOFT_RETRY for this controller so
>>> transaction errors use the pre-soft-retry recovery path. With
>>> this quirk the same hot-unplug test no longer times out the Stop
>>> Endpoint command and the RTL8153 remains usable and stable.
> 
> A bit heavy handed, but we might find no better way.
> 
> On Thu, 18 Jun 2026 17:03:26 +0300, Mathias Nyman wrote:
>> I'd appreciate your opinion on a related issue.
>> I'm thinking about trying to recover from these stop endpoint command
>> timeouts.
> 
> I can share a bit of mine. I tried aborting Stop EP on Etron and found
> the EP in some bogus state afterwards (e.g. Running but Stop EP fails
> with Context State Error, or Stopped but not responing to doorbells,
> something like that, I don't remember).
> 
> Per xHCI 4.6.9 there isn't really a case when this command should time
> out, so it's always some internal bug/deadlock in the xHC and IMO good
> chance that abort will leave at least this one EP or slot broken.
> 
> Another case is ASMedia, which doesn't seem to implement abort at all -
> at least in my tests with Address Device and a dummy device that always
> NAKs, abort simply waits for the command to finish (these chips have
> internal 3 second timeout on Address Device). I would expect the same
> for Stop EP, except that it likely lacks internal timeout. And the
> driver will busy-wait for several seconds with IRQs disabled.
> 
>> While debugging this, did xHC controller otherwise seem somewhat
>> functional? Did you for example see port status change events, or
>> transfer events between queuing the stop endpoint command and the
>> timeout?
> 
> Mouse continues to work until we kill the HC. And I can even abort the
> command, but then some URB is never given back, so teardown of the USB
> device gets stuck and IDK what would happen later.
> 
> Such recovery would be a bit of work, potential chip specific bugs and
> frankly we can' be sure if the EP won't try to begin executing URBs.

Thanks, sounds like simple recovery by just canceling the command and moving
on might not be the best approach.

If root port is disconnected or link in error state (link:Inactive) then
we could avoid all soft retries and ring restarts for child devices.

This could avoid queuing the problematic stop endpoint command as well.

Thanks
Mathias



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-06-22 11:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-17 10:09 [PATCH v2] xhci: pci: Disable soft retry for Renesas uPD720201 raoxu
2026-06-18 14:03 ` Mathias Nyman
2026-06-19 10:42   ` Michal Pecio
2026-06-20 12:21     ` raoxu
2026-06-22  6:21     ` raoxu
2026-06-22 11:31       ` Mathias Nyman
2026-06-22 11:36     ` Mathias Nyman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox