# uname -a
Linux 1void 6.12.9_1 #1 SMP PREEMPT_DYNAMIC Fri Jan 10 00:53:27 UTC 2025 x86_64 
GNU/Linux

OK. I'm getting somewhere and starting to get a pretty picture of what
is likely transpiring!

My xhci_hcd fail on this bug is occurring on my second bus. (eg. dmesg
|grep 2-4 -> usb 2-4)  This is second USB bus on the Gigabyte "Z790 UD
AC" make/model board is the 5GB USB device!

lsusb -t
Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/9p, 20000M/x2
  Port 004: Dev 009, If 0, Class=Hub, Driver=hub/4p, 5000M
  Port 006: Dev 018, If 0, Class=Mass Storage, Driver=usb-storage, 5000M

DEVICE IDs idVendor=0451, idProduct=8041 (hub)
dmesg |grep 2-4
[    6.497899] usb 2-4: new SuperSpeed USB device number 2 using xhci_hcd
[    6.509171] usb 2-4: New USB device found, idVendor=0451, idProduct=8041, 
bcdDevice= 1.00
[    6.509175] usb 2-4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    6.509932] hub 2-4:1.0: USB hub found
[    6.509959] hub 2-4:1.0: 4 ports detected

Looks like this is occurring on the Gigabyte Z790 UD AC 1 x USB 3.2 Gen
2 bus/ports, red port rated for 5Gb/s and reporting 5000Mb/s via Linux
USB utilities.

Since this 5GB USB tech is likely new, likely seeing a bug with with
either the BIOS/EFI initialization of the on-board motherboard USB 5GB
PCI device, or a kernel driver bug with initialization of the on-board
motherboard USB 5GB PCI device.  I'm more less guessing, the bug is
Linux kernel driver related, as I'm not seeing significant similar
delays with Windows 11.

This bug is still occurring apparently randomly, from reboot to cold
start, without apparent pattern here.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1749961

Title:
  xhci_hcd: TRB DMA errors reported with ASMedia ASM1142 USB 3.1
  Controller

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Trusty:
  Won't Fix
Status in linux source package in Xenial:
  Confirmed
Status in linux source package in Bionic:
  Confirmed
Status in linux source package in Focal:
  Confirmed
Status in linux package in Debian:
  Confirmed

Bug description:
  It was observed that while trying to use a 4K USB webcam connected to
  USB port provided by ASMedia ASM1142 USB 3.1 Controller, the webcam
  does not work and kernel log shows the following messages:

  [431.928016] xhci_hcd 0000:12:00.0: ERROR Transfer event TRB DMA ptr not part 
of current TD ep_index 2 comp_code 13
  [431.928021] xhci_hcd 0000:12:00.0: Looking for event-dma 0000003f3330e020 
trb-start 0000003f3330e000 trb-end 0000003f3330e000 seg-start 0000003f3330e000 
seg-end 0000003f3330eff0
  [431.928024] xhci_hcd 0000:12:00.0: ERROR Transfer event TRB DMA ptr not part 
of current TD ep_index 2 comp_code 13
  [431.928026] xhci_hcd 0000:12:00.0: Looking for event-dma 0000003f3330e030 
trb-start 0000003f3330e000 trb-end 0000003f3330e000 seg-start 0000003f3330e000 
seg-end 0000003f3330eff0
  [431.928027] xhci_hcd 0000:12:00.0: ERROR Transfer event TRB DMA ptr not part 
of current TD ep_index 2 comp_code 13
  [431.928029] xhci_hcd 0000:12:00.0: Looking for event-dma 0000003f3330e050 
trb-start 0000003f3330e000 trb-end 0000003f3330e000 seg-start 0000003f3330e000 
seg-end 0000003f3330eff0
  [431.928386] xhci_hcd 0000:12:00.0: ERROR Transfer event TRB DMA ptr not part 
of current TD ep_index 2 comp_code 13

  A similar issue was already reported on Launchpad:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1667750

  The fix to this issue seems to be the following patch:
  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9da5a109

  Tests in our scenario with this patch proved still broken. Our next
  approach is to modify the patch a bit and re-test.

  This LP will be used to document our progress in the investigation.

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1749961/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to