пятница

[Bug 1749961]

Have this problem in Raspberry Pi hosts with 6.8.0, while Intel hosts
with the same USB Ethernet do not complain.

# uname -a
Linux XX 6.8.0-1013-raspi #14-Ubuntu SMP PREEMPT_DYNAMIC Wed Oct 2 15:14:53 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux

# dmesg
[170385.819352] usb 3-1: Disable of device-initiated U1 failed.
[170385.819381] usb 3-1: Disable of device-initiated U2 failed.
[170385.841365] xhci-hcd xhci-hcd.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[170385.841386] cdc_ncm 3-1:2.0 enx3c8cf860689d: unregister 'cdc_ncm' usb-xhci-hcd.0-1, CDC NCM (NO ZLP)
[170385.841640] xhci-hcd xhci-hcd.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[170385.873312] usb 3-1: Enable of device-initiated U1 failed.
[170385.937301] usb 3-1: Enable of device-initiated U2 failed.
[170386.161431] usb 3-1: reset SuperSpeed USB device number 2 using xhci-hcd
[170386.301112] cdc_ncm 3-1:2.0: MAC-Address: 3c:8c:f8:60:68:9d
[170386.301121] cdc_ncm 3-1:2.0: setting rx_max = 16384
[170386.301181] cdc_ncm 3-1:2.0: setting tx_max = 16384
[170386.301953] cdc_ncm 3-1:2.0 eth1: register 'cdc_ncm' at usb-xhci-hcd.0-1, CDC NCM (NO ZLP), 3c:8c:f8:60:68:9d
[170386.358603] cdc_ncm 3-1:2.0 enx3c8cf860689d: renamed from eth1

# lsusb
...
Bus 003 Device 002: ID 20f4:e02c TRENDnet TUC-ET2G(v2.0R)
...


Same device works on:
# uname -a
Linux YY 6.8.0-48-generic #48~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 7 11:24:13 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

# lsusb
...
Bus 004 Device 003: ID 20f4:e02c TRENDnet TUC-ET2G(v2.0R)
Bus 004 Device 002: ID 20f4:e02c TRENDnet TUC-ET2G(v2.0R)
...

--
You received this bug notification because you are subscribed to linux
in Ubuntu.
Matching subscriptions: Bgg, Bmail, Nb
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

Комментариев нет:

Отправить комментарий