Created attachment 301819 [details] dmesg log for thunderbolt dock re-plug After updating to kernel v5.19.9-arch1-1, usb ports on HP Thunderbolt Dock G2 stopped working. dmesg is getting flooded with the message: xhci_hcd 0000:30:00.0: Error while assigning device slot ID xhci_hcd 0000:30:00.0: Max number of devices this xHCI host supports is 64. usb usb6-port1: couldn't allocate usb_device Obviously I don't have 64+ devices connected. Strangely, if I boot with the thunderbolt dock connected, everything works fine. Unplugging and re-plugging the dock again results in unrecognized usb. I'm attaching the part of dmesg where I unplug and re-plug the thunderbolt dock. Note that all usb devices that are connected are correctly enumerated while unplugging. Rolling back to previous version of the kernel fixes the issue.
Ethernet port also does not work. So everything except the DisplayPorts on the dock stopped working with the kernel update.
Myself and another person have this bug also as discussed here: https://bbs.archlinux.org/viewtopic.php?pid=2057791
Hi, if the previous version of the kernel works then can you bisect this to a commit that caused the issue?
When plugging in a Yubico USB-C dongle to this Lenovo T470 (with the latest BIOS 1.71 installed), this happens with 5.19.9-200.fc36.x86_64 today (upgraded from 5.19.8-200.fc36.x86_64 where it worked just fine): Sep 19 09:34:40 kernel: pci 0000:05:00.0: [8086:15c0] type 01 class 0x060400 Sep 19 09:34:40 kernel: pci 0000:05:00.0: enabling Extended Tags Sep 19 09:34:40 kernel: pci 0000:05:00.0: supports D1 D2 Sep 19 09:34:40 kernel: pci 0000:05:00.0: PME# supported from D0 D1 D2 D3hot D3cold Sep 19 09:34:40 kernel: pci 0000:06:00.0: [8086:15c0] type 01 class 0x060400 Sep 19 09:34:40 kernel: pci 0000:06:00.0: enabling Extended Tags Sep 19 09:34:40 kernel: pci 0000:06:00.0: supports D1 D2 Sep 19 09:34:40 kernel: pci 0000:06:00.0: PME# supported from D0 D1 D2 D3hot D3cold Sep 19 09:34:40 kernel: pci 0000:06:01.0: [8086:15c0] type 01 class 0x060400 Sep 19 09:34:40 kernel: pci 0000:06:01.0: enabling Extended Tags Sep 19 09:34:40 kernel: pci 0000:06:01.0: supports D1 D2 Sep 19 09:34:40 kernel: pci 0000:06:01.0: PME# supported from D0 D1 D2 D3hot D3cold Sep 19 09:34:40 kernel: pci 0000:06:02.0: [8086:15c0] type 01 class 0x060400 Sep 19 09:34:40 kernel: pci 0000:06:02.0: enabling Extended Tags Sep 19 09:34:40 kernel: pci 0000:06:02.0: supports D1 D2 Sep 19 09:34:40 kernel: pci 0000:06:02.0: PME# supported from D0 D1 D2 D3hot D3cold Sep 19 09:34:40 kernel: pci 0000:05:00.0: PCI bridge to [bus 06-3d] Sep 19 09:34:40 kernel: pci 0000:05:00.0: bridge window [mem 0xd4000000-0xea0fffff] Sep 19 09:34:40 kernel: pci 0000:05:00.0: bridge window [mem 0xb0000000-0xd1ffffff 64bit pref] Sep 19 09:34:40 kernel: pci 0000:06:00.0: PCI bridge to [bus 07] Sep 19 09:34:40 kernel: pci 0000:06:00.0: bridge window [mem 0xea000000-0xea0fffff] Sep 19 09:34:40 kernel: pci 0000:06:01.0: PCI bridge to [bus 08-3c] Sep 19 09:34:40 kernel: pci 0000:06:01.0: bridge window [mem 0xd4000000-0xe9efffff] Sep 19 09:34:40 kernel: pci 0000:06:01.0: bridge window [mem 0xb0000000-0xd1ffffff 64bit pref] Sep 19 09:34:40 kernel: pci 0000:3d:00.0: [8086:15c1] type 00 class 0x0c0330 Sep 19 09:34:40 kernel: pci 0000:3d:00.0: reg 0x10: [mem 0xe9f00000-0xe9f0ffff] Sep 19 09:34:40 kernel: pci 0000:3d:00.0: enabling Extended Tags Sep 19 09:34:40 kernel: pci 0000:3d:00.0: supports D1 D2 Sep 19 09:34:40 kernel: pci 0000:3d:00.0: PME# supported from D0 D1 D2 D3hot D3cold Sep 19 09:34:40 kernel: pci 0000:3d:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x4 link at 0000:06:02.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link) Sep 19 09:34:40 kernel: pci 0000:06:02.0: PCI bridge to [bus 3d] Sep 19 09:34:40 kernel: pci 0000:06:02.0: bridge window [mem 0xe9f00000-0xe9ffffff] Sep 19 09:34:40 kernel: pci_bus 0000:06: Allocating resources Sep 19 09:34:40 kernel: pci 0000:06:01.0: bridge window [io 0x1000-0x0fff] to [bus 08-3c] add_size 1000 Sep 19 09:34:40 kernel: pci 0000:06:02.0: bridge window [io 0x1000-0x0fff] to [bus 3d] add_size 1000 Sep 19 09:34:40 kernel: pci 0000:06:02.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 3d] add_size 200000 add_align 100000 Sep 19 09:34:40 kernel: pci 0000:05:00.0: bridge window [io 0x1000-0x0fff] to [bus 06-3d] add_size 3000 Sep 19 09:34:40 kernel: pci 0000:05:00.0: BAR 13: no space for [io size 0x3000] Sep 19 09:34:40 kernel: pci 0000:05:00.0: BAR 13: failed to assign [io size 0x3000] Sep 19 09:34:40 kernel: pci 0000:05:00.0: BAR 13: no space for [io size 0x3000] Sep 19 09:34:40 kernel: pci 0000:05:00.0: BAR 13: failed to assign [io size 0x3000] Sep 19 09:34:40 kernel: pci 0000:06:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref] Sep 19 09:34:40 kernel: pci 0000:06:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref] Sep 19 09:34:40 kernel: pci 0000:06:01.0: BAR 13: no space for [io size 0x1000] Sep 19 09:34:40 kernel: pci 0000:06:01.0: BAR 13: failed to assign [io size 0x1000] Sep 19 09:34:40 kernel: pci 0000:06:02.0: BAR 13: no space for [io size 0x1000] Sep 19 09:34:40 kernel: pci 0000:06:02.0: BAR 13: failed to assign [io size 0x1000] Sep 19 09:34:40 kernel: pci 0000:06:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref] Sep 19 09:34:40 kernel: pci 0000:06:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref] Sep 19 09:34:40 kernel: pci 0000:06:02.0: BAR 13: no space for [io size 0x1000] Sep 19 09:34:40 kernel: pci 0000:06:02.0: BAR 13: failed to assign [io size 0x1000] Sep 19 09:34:40 kernel: pci 0000:06:01.0: BAR 13: no space for [io size 0x1000] Sep 19 09:34:40 kernel: pci 0000:06:01.0: BAR 13: failed to assign [io size 0x1000] Sep 19 09:34:40 kernel: pci 0000:06:00.0: PCI bridge to [bus 07] Sep 19 09:34:40 kernel: pci 0000:06:00.0: bridge window [mem 0xea000000-0xea0fffff] Sep 19 09:34:40 kernel: pci 0000:06:01.0: PCI bridge to [bus 08-3c] Sep 19 09:34:40 kernel: pci 0000:06:01.0: bridge window [mem 0xd4000000-0xe9efffff] Sep 19 09:34:40 kernel: pci 0000:06:01.0: bridge window [mem 0xb0000000-0xd1ffffff 64bit pref] Sep 19 09:34:40 kernel: pci 0000:06:02.0: PCI bridge to [bus 3d] Sep 19 09:34:40 kernel: pci 0000:06:02.0: bridge window [mem 0xe9f00000-0xe9ffffff] Sep 19 09:34:40 kernel: pci 0000:05:00.0: PCI bridge to [bus 06-3d] Sep 19 09:34:40 kernel: pci 0000:05:00.0: bridge window [mem 0xd4000000-0xea0fffff] Sep 19 09:34:40 kernel: pci 0000:05:00.0: bridge window [mem 0xb0000000-0xd1ffffff 64bit pref] Sep 19 09:34:40 kernel: xhci_hcd 0000:3d:00.0: xHCI Host Controller Sep 19 09:34:40 kernel: xhci_hcd 0000:3d:00.0: new USB bus registered, assigned bus number 3 Sep 19 09:34:40 kernel: xhci_hcd 0000:3d:00.0: hcc params 0x200077c1 hci version 0x110 quirks 0x0000000200009810 Sep 19 09:34:40 kernel: xhci_hcd 0000:3d:00.0: xHCI Host Controller Sep 19 09:34:40 kernel: xhci_hcd 0000:3d:00.0: new USB bus registered, assigned bus number 4 Sep 19 09:34:40 kernel: xhci_hcd 0000:3d:00.0: Host supports USB 3.1 Enhanced SuperSpeed Sep 19 09:34:40 kernel: usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.19 Sep 19 09:34:40 kernel: usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 Sep 19 09:34:40 kernel: usb usb3: Product: xHCI Host Controller Sep 19 09:34:40 kernel: usb usb3: Manufacturer: Linux 5.19.9-200.fc36.x86_64 xhci-hcd Sep 19 09:34:40 kernel: usb usb3: SerialNumber: 0000:3d:00.0 Sep 19 09:34:40 kernel: hub 3-0:1.0: USB hub found Sep 19 09:34:40 kernel: hub 3-0:1.0: 2 ports detected Sep 19 09:34:40 kernel: usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.19 Sep 19 09:34:40 kernel: usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 Sep 19 09:34:40 kernel: usb usb4: Product: xHCI Host Controller Sep 19 09:34:40 kernel: usb usb4: Manufacturer: Linux 5.19.9-200.fc36.x86_64 xhci-hcd Sep 19 09:34:40 kernel: usb usb4: SerialNumber: 0000:3d:00.0 Sep 19 09:34:40 kernel: hub 4-0:1.0: USB hub found Sep 19 09:34:40 kernel: hub 4-0:1.0: 2 ports detected Sep 19 09:34:40 kernel: typec port0: bound usb3-port1 (ops connector_ops) Sep 19 09:34:40 kernel: typec port0: bound usb4-port1 (ops connector_ops) Sep 19 09:34:40 kernel: DMAR: DRHD: handling fault status reg 2 Sep 19 09:34:40 kernel: DMAR: [INTR-REMAP] Request device [3d:00.0] fault index 0x8200 [fault reason 0x25] Blocked a compatibility format interrupt request This Yubico thingy should register itself as an input device, but doesn't anymore. Yes, I realize it's a distribution kernel, I'm just adding this here as an additional data point.
There are some IOMMU fixes between v5.19.8 and v5.19.9 that might be related as there are those DMAR faults in the dmesg. It should be pretty fast to bisect between v5.19.8 and v5.19.9 for the commit causing this.
I am seeing similar except my wireless is broken because the firmware can't load. https://bugzilla.redhat.com/show_bug.cgi?id=2127753 Among the errors from my dmesg attached over there: Sep 18 14:28:02 kernel: DMAR: DRHD: handling fault status reg 2 Sep 18 14:28:02 kernel: DMAR: [INTR-REMAP] Request device [01:00.0] fault index 0x8080 [fault reason 0x25] Blocked a compatibility format interrupt request After running through a bisect reverting just 9516acba29e322202674d18f4dc383879f7813a5 fixes it. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.19.y&id=9516acba29e322202674d18f4dc383879f7813a5
I reverted the single commit stated by Jason above from stock Arch 5.19.9 kernel and it fixed the USB issue with my TB19 dock.
I also had issues with my usb-c dock. Error while assigning device slot ID. Max number of devices this xHCI host supports is 64. Downgrading to 5.19.8.arch1-1 fixed my issues.
Hi all, Baolu posted a revert for that commit here: https://lore.kernel.org/linux-iommu/20220920081701.3453504-1-baolu.lu@linux.intel.com/ It is expected to land on stable trees soon.
Have the same issue after update kernel. Laptop: HUAWEI MACHC-WAX9 Intel® Core™ i7-10510U × 8 NVIDIA GeForce MX250 / Mesa Intel® UHD Graphics (CML GT2) Fedora Linux 36 (Workstation Edition) Gnome 42.4 Windows System Wayland Linux 5.19.9-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Sep 15 09:49:52 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux $ journalctl -b | grep -E "(xhci|\: usb)" Sep 20 11:40:25 runix kernel: usbcore: registered new interface driver usbfs Sep 20 11:40:25 runix kernel: usbcore: registered new interface driver hub Sep 20 11:40:25 runix kernel: usbcore: registered new device driver usb Sep 20 11:40:25 runix kernel: xhci_hcd 0000:00:14.0: xHCI Host Controller Sep 20 11:40:25 runix kernel: xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1 Sep 20 11:40:25 runix kernel: xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x110 quirks 0x0000000000009810 Sep 20 11:40:25 runix kernel: xhci_hcd 0000:00:14.0: xHCI Host Controller Sep 20 11:40:25 runix kernel: xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2 Sep 20 11:40:25 runix kernel: xhci_hcd 0000:00:14.0: Host supports USB 3.1 Enhanced SuperSpeed Sep 20 11:40:25 runix kernel: usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.19 Sep 20 11:40:25 runix kernel: usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 Sep 20 11:40:25 runix kernel: usb usb1: Product: xHCI Host Controller Sep 20 11:40:25 runix kernel: usb usb1: Manufacturer: Linux 5.19.9-200.fc36.x86_64 xhci-hcd Sep 20 11:40:25 runix kernel: usb usb1: SerialNumber: 0000:00:14.0 Sep 20 11:40:25 runix kernel: usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.19 Sep 20 11:40:25 runix kernel: usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 Sep 20 11:40:25 runix kernel: usb usb2: Product: xHCI Host Controller Sep 20 11:40:25 runix kernel: usb usb2: Manufacturer: Linux 5.19.9-200.fc36.x86_64 xhci-hcd Sep 20 11:40:25 runix kernel: usb usb2: SerialNumber: 0000:00:14.0 Sep 20 11:40:25 runix kernel: xhci_hcd 0000:3c:00.0: xHCI Host Controller Sep 20 11:40:25 runix kernel: xhci_hcd 0000:3c:00.0: new USB bus registered, assigned bus number 3 Sep 20 11:40:25 runix kernel: xhci_hcd 0000:3c:00.0: hcc params 0x200077c1 hci version 0x110 quirks 0x0000000200009810 Sep 20 11:40:25 runix kernel: xhci_hcd 0000:3c:00.0: xHCI Host Controller Sep 20 11:40:25 runix kernel: xhci_hcd 0000:3c:00.0: new USB bus registered, assigned bus number 4 Sep 20 11:40:25 runix kernel: xhci_hcd 0000:3c:00.0: Host supports USB 3.1 Enhanced SuperSpeed Sep 20 11:40:25 runix kernel: usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.19 Sep 20 11:40:25 runix kernel: usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 Sep 20 11:40:25 runix kernel: usb usb3: Product: xHCI Host Controller Sep 20 11:40:25 runix kernel: usb usb3: Manufacturer: Linux 5.19.9-200.fc36.x86_64 xhci-hcd Sep 20 11:40:25 runix kernel: usb usb3: SerialNumber: 0000:3c:00.0 Sep 20 11:40:25 runix kernel: usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.19 Sep 20 11:40:25 runix kernel: usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 Sep 20 11:40:25 runix kernel: usb usb4: Product: xHCI Host Controller Sep 20 11:40:25 runix kernel: usb usb4: Manufacturer: Linux 5.19.9-200.fc36.x86_64 xhci-hcd Sep 20 11:40:25 runix kernel: usb usb4: SerialNumber: 0000:3c:00.0 Sep 20 11:40:25 runix kernel: usbcore: registered new interface driver usbserial_generic Sep 20 11:40:25 runix kernel: usbserial: USB Serial support registered for generic Sep 20 11:40:25 runix kernel: usbcore: registered new interface driver usbhid Sep 20 11:40:25 runix kernel: usbhid: USB HID core driver Sep 20 11:40:25 runix kernel: usb 1-3: new full-speed USB device number 2 using xhci_hcd Sep 20 11:40:25 runix kernel: usb 1-3: New USB device found, idVendor=046d, idProduct=c548, bcdDevice= 5.01 Sep 20 11:40:25 runix kernel: usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Sep 20 11:40:25 runix kernel: usb 1-3: Product: USB Receiver Sep 20 11:40:25 runix kernel: usb 1-3: Manufacturer: Logitech Sep 20 11:40:25 runix kernel: usb 1-10: new full-speed USB device number 3 using xhci_hcd Sep 20 11:40:25 runix kernel: usb 1-10: New USB device found, idVendor=8087, idProduct=0aaa, bcdDevice= 0.02 Sep 20 11:40:25 runix kernel: usb 1-10: New USB device strings: Mfr=0, Product=0, SerialNumber=0 Sep 20 11:40:30 runix kernel: usbcore: registered new interface driver btusb Sep 20 11:40:33 runix kernel: xhci_hcd 0000:08:00.0: xHCI Host Controller Sep 20 11:40:33 runix kernel: xhci_hcd 0000:08:00.0: new USB bus registered, assigned bus number 5 Sep 20 11:40:33 runix kernel: xhci_hcd 0000:08:00.0: hcc params 0x200077c1 hci version 0x110 quirks 0x0000000200009810 Sep 20 11:40:33 runix kernel: xhci_hcd 0000:08:00.0: xHCI Host Controller Sep 20 11:40:33 runix kernel: xhci_hcd 0000:08:00.0: new USB bus registered, assigned bus number 6 Sep 20 11:40:33 runix kernel: xhci_hcd 0000:08:00.0: Host supports USB 3.1 Enhanced SuperSpeed Sep 20 11:40:33 runix kernel: usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.19 Sep 20 11:40:33 runix kernel: usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 Sep 20 11:40:33 runix kernel: usb usb5: Product: xHCI Host Controller Sep 20 11:40:33 runix kernel: usb usb5: Manufacturer: Linux 5.19.9-200.fc36.x86_64 xhci-hcd Sep 20 11:40:33 runix kernel: usb usb5: SerialNumber: 0000:08:00.0 Sep 20 11:40:33 runix kernel: usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.19 Sep 20 11:40:33 runix kernel: usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 Sep 20 11:40:33 runix kernel: usb usb6: Product: xHCI Host Controller Sep 20 11:40:33 runix kernel: usb usb6: Manufacturer: Linux 5.19.9-200.fc36.x86_64 xhci-hcd Sep 20 11:40:33 runix kernel: usb usb6: SerialNumber: 0000:08:00.0 Sep 20 11:40:41 runix kernel: xhci_hcd 0000:08:00.0: Error while assigning device slot ID Sep 20 11:40:41 runix kernel: xhci_hcd 0000:08:00.0: Max number of devices this xHCI host supports is 64. Sep 20 11:40:41 runix kernel: usb usb5-port1: couldn't allocate usb_device Sep 20 11:40:53 runix kernel: xhci_hcd 0000:08:00.0: Error while assigning device slot ID Sep 20 11:40:53 runix kernel: xhci_hcd 0000:08:00.0: Max number of devices this xHCI host supports is 64. Sep 20 11:40:53 runix kernel: usb usb6-port1: couldn't allocate usb_device Sep 20 11:41:05 runix kernel: xhci_hcd 0000:08:00.0: Error while assigning device slot ID Sep 20 11:41:05 runix kernel: xhci_hcd 0000:08:00.0: Max number of devices this xHCI host supports is 64. Sep 20 11:41:05 runix kernel: usb usb6-port2: couldn't allocate usb_device
I can confirm this issue is fixed in 5.19.11-arch1-1. Thanks!
Same here, fixed by updating to 5.19.11-arch1-1 today.
Likewise, kernel-5.19.11-200.fc36.x86_64 fixed my wireless problems. Thank you!
Also confirming this bug. Fedora kernel-5.19.9-200.fc36.x86_64 on a Dell XPS 13 9370. Both Thunderbolt capable usb-c ports are affected. The third one works (I belive its not Thunderbolt capable).