I also have the issue. Using Proxmox 7.2 (Debian Bullseye) with a Lenovo M910q core-i7-7700T, using two TPLink UE300 (RTL8153) USB to 1Gbe Ethernet adapters. Each one is stable in a lower USB slot. Swapping the adapters does not change the behavior and only impacts the USB device in the higher slot. Changes to different ports without change.
Easily reproducible with the following commands. Basically I'm trying to plumb bond0 again, which works initially, I get the xhci_hcd warning, and the link is down again. System details are also below. root@higgins:~# dmesg -C ; ifup -a ; ip link | grep enx ; \ > dmesg -H ; dmesg -C ; sleep 70 ; \ > ip link | grep enx ; dmesg -H 3: enxd03745be5afc: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0 state UP mode DEFAULT group default qlen 1000 16: enx54af9786ab11: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0 state UP mode DEFAULT group default qlen 1000 [Sep 3 11:05] device enx54af9786ab11 entered promiscuous mode [ +0.001236] bond0: (slave enx54af9786ab11): Enslaving as a backup interface with a down link [ +0.006363] vmbr0: the hash_elasticity option has been deprecated and is always 16 [ +0.013972] r8152 2-4:1.0 enx54af9786ab11: Promiscuous mode enabled [ +0.001344] r8152 2-4:1.0 enx54af9786ab11: carrier on 3: enxd03745be5afc: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0 state UP mode DEFAULT group default qlen 1000 17: enx54af9786ab11: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 [Sep 3 11:05] bond0: (slave enx54af9786ab11): link status definitely up, 1000 Mbps full duplex [Sep 3 11:06] usb 2-4: USB disconnect, device number 12 [ +0.001544] xhci_hcd 0000:00:14.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state. [ +0.001435] bond0: (slave enx54af9786ab11): Releasing backup interface [ +0.029081] device enx54af9786ab11 left promiscuous mode [ +0.316190] usb 2-4: new SuperSpeed USB device number 13 using xhci_hcd [ +0.022053] usb 2-4: New USB device found, idVendor=2357, idProduct=0601, bcdDevice=30.00 [ +0.001297] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=6 [ +0.001337] usb 2-4: Product: USB 10/100/1000 LAN [ +0.001261] usb 2-4: Manufacturer: TP-Link [ +0.001208] usb 2-4: SerialNumber: 000001 [ +0.137200] usb 2-4: reset SuperSpeed USB device number 13 using xhci_hcd [ +0.049197] r8152 2-4:1.0: load rtl8153a-4 v2 02/07/20 successfully [ +0.030905] r8152 2-4:1.0 eth0: v1.12.12 [ +0.007834] r8152 2-4:1.0 enx54af9786ab11: renamed from eth0 root@higgins:~# ------- System Details ------- root@higgins:~# uname -a Linux higgins 5.15.39-4-pve #1 SMP PVE 5.15.39-4 (Mon, 08 Aug 2022 15:11:15 +0200) x86_64 GNU/Linux root@higgins:~# lspci -k -nn | grep -B2 xhci 00:14.0 USB controller [0c03]: Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller [8086:a2af] Subsystem: Lenovo 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller [17aa:310b] Kernel driver in use: xhci_hcd Kernel modules: xhci_pci root@higgins:~# lsusb -tv /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 5000M ID 1d6b:0003 Linux Foundation 3.0 root hub |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M ID 2357:0601 TP-Link UE300 10/100/1000 LAN (ethernet mode) [Realtek RTL8153] |__ Port 4: Dev 13, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M ID 2357:0601 TP-Link UE300 10/100/1000 LAN (ethernet mode) [Realtek RTL8153] /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M ID 1d6b:0002 Linux Foundation 2.0 root hub root@higgins:~# modinfo r8152 filename: /lib/modules/5.15.39-4-pve/kernel/drivers/net/usb/r8152.ko version: v1.12.12 license: GPL description: Realtek RTL8152/RTL8153 Based USB Ethernet Adapters author: Realtek linux nic maintainers <nic_s...@realtek.com> firmware: rtl_nic/rtl8156b-2.fw firmware: rtl_nic/rtl8156a-2.fw firmware: rtl_nic/rtl8153c-1.fw firmware: rtl_nic/rtl8153b-2.fw firmware: rtl_nic/rtl8153a-4.fw firmware: rtl_nic/rtl8153a-3.fw firmware: rtl_nic/rtl8153a-2.fw srcversion: 9144C27A9617457A5BEE55E alias: usb:v2357p0601d*dc*dsc*dp*ic02isc06ip00in* alias: usb:v2357p0601d*dc*dsc*dp*icFFisc*ip*in* alias: usb:v0955p09FFd*dc*dsc*dp*ic02isc06ip00in* alias: usb:v0955p09FFd*dc*dsc*dp*icFFisc*ip*in* alias: usb:v13B1p0041d*dc*dsc*dp*ic02isc06ip00in* alias: usb:v13B1p0041d*dc*dsc*dp*icFFisc*ip*in* alias: usb:v17EFpA387d*dc*dsc*dp*ic02isc06ip00in* alias: usb:v17EFpA387d*dc*dsc*dp*icFFisc*ip*in* alias: usb:v17EFp721Ed*dc*dsc*dp*ic02isc06ip00in* alias: usb:v17EFp721Ed*dc*dsc*dp*icFFisc*ip*in* alias: usb:v17EFp7214d*dc*dsc*dp*ic02isc06ip00in* alias: usb:v17EFp7214d*dc*dsc*dp*icFFisc*ip*in* alias: usb:v17EFp720Cd*dc*dsc*dp*ic02isc06ip00in* alias: usb:v17EFp720Cd*dc*dsc*dp*icFFisc*ip*in* alias: usb:v17EFp7205d*dc*dsc*dp*ic02isc06ip00in* alias: usb:v17EFp7205d*dc*dsc*dp*icFFisc*ip*in* alias: usb:v17EFp3082d*dc*dsc*dp*ic02isc06ip00in* alias: usb:v17EFp3082d*dc*dsc*dp*icFFisc*ip*in* alias: usb:v17EFp3069d*dc*dsc*dp*ic02isc06ip00in* alias: usb:v17EFp3069d*dc*dsc*dp*icFFisc*ip*in* alias: usb:v17EFp3062d*dc*dsc*dp*ic02isc06ip00in* alias: usb:v17EFp3062d*dc*dsc*dp*icFFisc*ip*in* alias: usb:v17EFp304Fd*dc*dsc*dp*ic02isc06ip00in* alias: usb:v17EFp304Fd*dc*dsc*dp*icFFisc*ip*in* alias: usb:v04E8pA101d*dc*dsc*dp*ic02isc06ip00in* alias: usb:v04E8pA101d*dc*dsc*dp*icFFisc*ip*in* alias: usb:v045Ep0927d*dc*dsc*dp*ic02isc06ip00in* alias: usb:v045Ep0927d*dc*dsc*dp*icFFisc*ip*in* alias: usb:v045Ep07C6d*dc*dsc*dp*ic02isc06ip00in* alias: usb:v045Ep07C6d*dc*dsc*dp*icFFisc*ip*in* alias: usb:v045Ep07ABd*dc*dsc*dp*ic02isc06ip00in* alias: usb:v045Ep07ABd*dc*dsc*dp*icFFisc*ip*in* alias: usb:v0BDAp8156d*dc*dsc*dp*ic02isc06ip00in* alias: usb:v0BDAp8156d*dc*dsc*dp*icFFisc*ip*in* alias: usb:v0BDAp8155d*dc*dsc*dp*ic02isc06ip00in* alias: usb:v0BDAp8155d*dc*dsc*dp*icFFisc*ip*in* alias: usb:v0BDAp8153d*dc*dsc*dp*ic02isc06ip00in* alias: usb:v0BDAp8153d*dc*dsc*dp*icFFisc*ip*in* alias: usb:v0BDAp8152d*dc*dsc*dp*ic02isc06ip00in* alias: usb:v0BDAp8152d*dc*dsc*dp*icFFisc*ip*in* alias: usb:v0BDAp8053d*dc*dsc*dp*ic02isc06ip00in* alias: usb:v0BDAp8053d*dc*dsc*dp*icFFisc*ip*in* alias: usb:v0BDAp8050d*dc*dsc*dp*ic02isc06ip00in* alias: usb:v0BDAp8050d*dc*dsc*dp*icFFisc*ip*in* depends: mii retpoline: Y intree: Y name: r8152 vermagic: 5.15.39-4-pve SMP mod_unload modversions root@higgins:~# tail -1000 /var/log/messages | grep usb | grep 09:39 Sep 3 09:39:26 higgins kernel: [ 1.547421] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15 Sep 3 09:39:26 higgins kernel: [ 1.547426] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 Sep 3 09:39:26 higgins kernel: [ 1.547429] usb usb1: Product: xHCI Host Controller Sep 3 09:39:26 higgins kernel: [ 1.547431] usb usb1: Manufacturer: Linux 5.15.39-4-pve xhci-hcd Sep 3 09:39:26 higgins kernel: [ 1.547434] usb usb1: SerialNumber: 0000:00:14.0 Sep 3 09:39:26 higgins kernel: [ 1.549759] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15 Sep 3 09:39:26 higgins kernel: [ 1.549763] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 Sep 3 09:39:26 higgins kernel: [ 1.549766] usb usb2: Product: xHCI Host Controller Sep 3 09:39:26 higgins kernel: [ 1.549769] usb usb2: Manufacturer: Linux 5.15.39-4-pve xhci-hcd Sep 3 09:39:26 higgins kernel: [ 1.549771] usb usb2: SerialNumber: 0000:00:14.0 Sep 3 09:39:26 higgins kernel: [ 1.551090] usb: port power management may be unreliable Sep 3 09:39:26 higgins kernel: [ 1.889622] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd Sep 3 09:39:26 higgins kernel: [ 1.912268] usb 2-1: New USB device found, idVendor=2357, idProduct=0601, bcdDevice=30.00 Sep 3 09:39:26 higgins kernel: [ 1.912273] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=6 Sep 3 09:39:26 higgins kernel: [ 1.912276] usb 2-1: Product: USB 10/100/1000 LAN Sep 3 09:39:26 higgins kernel: [ 1.912278] usb 2-1: Manufacturer: TP-LINK Sep 3 09:39:26 higgins kernel: [ 1.912280] usb 2-1: SerialNumber: 000001000000 Sep 3 09:39:26 higgins kernel: [ 2.045666] usb 2-4: new SuperSpeed USB device number 3 using xhci_hcd Sep 3 09:39:26 higgins kernel: [ 2.068477] usb 2-4: New USB device found, idVendor=2357, idProduct=0601, bcdDevice=30.00 Sep 3 09:39:26 higgins kernel: [ 2.068498] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=6 Sep 3 09:39:26 higgins kernel: [ 2.068514] usb 2-4: Product: USB 10/100/1000 LAN Sep 3 09:39:26 higgins kernel: [ 2.068525] usb 2-4: Manufacturer: TP-Link Sep 3 09:39:26 higgins kernel: [ 2.068535] usb 2-4: SerialNumber: 000001 Sep 3 09:39:26 higgins kernel: [ 4.110138] usbcore: registered new interface driver r8152 Sep 3 09:39:26 higgins kernel: [ 4.198806] usbcore: registered new interface driver cdc_ether Sep 3 09:39:26 higgins kernel: [ 4.282161] usb 2-1: reset SuperSpeed USB device number 2 using xhci_hcd Sep 3 09:39:26 higgins kernel: [ 4.429911] usb 2-4: reset SuperSpeed USB device number 3 using xhci_hcd -- 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