Re: 5.11.17: xhci_hcd 0000:0a:00.3: WARN Event TRB for slot 3 ep 12 with no TDs queued?

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

 



Hi

On 2.5.2021 18.22, Udo van den Heuvel wrote:
> Hello,
> 
> When 5.11.17 gives me a load of:
> 
> xhci_hcd 0000:0a:00.3: WARN Event TRB for slot 3 ep 12 with no TDs queued
> 
> What happened?

Either your host is sending spurious events, or more likely this TD (transfer descriptor)
was already handled and given back by driver due some event mid TD.
Host still has this TD cached and generates events for last entry of TD after xhci driver gave it back.

> What can I do (to help) fix it?

First try 5.12 (just came out) It has some xhci driver changes in this area.

If that doesn't help please take dynamic debug logs and xhci traces:

mount -t debugfs none /sys/kernel/debug
echo 'module xhci_hcd =p' >/sys/kernel/debug/dynamic_debug/control
echo 'module usbcore =p' >/sys/kernel/debug/dynamic_debug/control
echo 81920 > /sys/kernel/debug/tracing/buffer_size_kb
echo 1 > /sys/kernel/debug/tracing/events/xhci-hcd/enable
< trigger the issue >
Send output of dmesg
Send content of /sys/kernel/debug/tracing/trace

Trace can be huge, dmesg helps me find the right place in trace.

Thanks
-Mathias



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

  Powered by Linux