[Bug 1856161] Re: Thunderbolt dock fails to connect USB devices
After an update to 5.3.0-26-generic (and then some time passed), got a connection fail when unsuspending. The attached log is from journalctl -b -k with dyndbg enabled, from suspending (Jan 21, 23:58) through complete failure of the connection at 09:08:16 and a disconnect and reconnect that succeeded. ** Attachment added: "lp1856161-thunderbolt-debug.log" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+attachment/5322120/+files/lp1856161-thunderbolt-debug.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1856161 Title: Thunderbolt dock fails to connect USB devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1856161] Re: Thunderbolt dock fails to connect USB devices
With the current setup, I didn't manage to reproduce the problem yet today. Here's the debug log that you asked that includes booting with the thunderbolt connected, then disconnecting and reconnecting - all completing successfully. ** Attachment added: "okconnect.log" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+attachment/5317699/+files/okconnect.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1856161 Title: Thunderbolt dock fails to connect USB devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1856161] Re: Thunderbolt dock fails to connect USB devices
Can you please attach full dmesg, like `journalctl -b -k`? Also please don't tar it so I can view it directly in the browser. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1856161 Title: Thunderbolt dock fails to connect USB devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1856161] Re: Thunderbolt dock fails to connect USB devices
The `logitech-hidpp-device` is the Logitech unified receiver I have connected to the dock. It always generates lots of error messages like this, even when connected directly to the computer's built-in USB port. There's another Logitech unified receiver connected to the computer itself, for the mouse that travels with the laptop, and that doesn't do this behavior, it just looks like this (w/o debug logs): Dec 31 17:11:42 vesho kernel: usb 1-1: New USB device found, idVendor=046d, idProduct=c52b, bcdDevice=12.10 Dec 31 17:11:42 vesho kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Dec 31 17:11:42 vesho kernel: usb 1-1: Product: USB Receiver Dec 31 17:11:42 vesho kernel: usb 1-1: Manufacturer: Logitech Dec 31 17:11:42 vesho kernel: logitech-djreceiver 0003:046D:C52B.0090: hiddev0,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-:00:14.0-1/input2 Dec 31 17:11:42 vesho kernel: logitech-hidpp-device 0003:046D:4026.0091: HID++ 2.0 device connected. Dec 31 17:11:42 vesho kernel: input: Logitech T400 as /devices/pci:00/:00:14.0/usb1/1-1/1-1:1.2/0003:046D:C52B.0090/0003:046D:4026.0091/input/input115 Dec 31 17:11:42 vesho kernel: logitech-hidpp-device 0003:046D:4026.0091: input,hidraw2: USB HID v1.11 Keyboard [Logitech T400] on usb-:00:14.0-1/input2:1 According to fwupdmgr, they are both running an up to date firmware (both got updated recently, though they have a different "VersionBootloader" where the OK one has "BOT01.02_B0014" and the problematic one has "BOT01.02_B0015". Interestingly enough, at one point I got the "unknown event type 15" error from lp1766076 immediately when plugging in the problematic receiver to the dock, but I didn't manage to reproduce that. I'm going to try to work without the problematic receiver for a bit and see if things improve. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1856161 Title: Thunderbolt dock fails to connect USB devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1856161] Re: Thunderbolt dock fails to connect USB devices
I can see tons of logitech-hidpp-device errors and then xhci_hcd dies: Dec 31 13:33:19 vesho kernel: logitech-hidpp-device 0003:046D:402D.0029: error in parameter Dec 31 13:33:19 vesho kernel: xhci_hcd :0e:00.0: ep 0x83 - asked for 32 bytes, 17 bytes untransferred Dec 31 13:33:19 vesho kernel: logitech-hidpp-device 0003:046D:402D.0029: error in parameter Dec 31 13:33:19 vesho kernel: xhci_hcd :0e:00.0: xHCI host not responding to stop endpoint command. Dec 31 13:33:19 vesho kernel: xhci_hcd :0e:00.0: // Halt the HC Dec 31 13:33:19 vesho kernel: xhci_hcd :0e:00.0: xHCI host controller not responding, assume dead Dec 31 13:33:19 vesho kernel: xhci_hcd :0e:00.0: Killing URBs for slot ID 1, ep index 0 Dec 31 13:33:19 vesho kernel: xhci_hcd :0e:00.0: Killing URBs for slot ID 1, ep index 2 Dec 31 13:33:19 vesho kernel: xhci_hcd :0e:00.0: Killing URBs for slot ID 2, ep index 0 Dec 31 13:33:19 vesho kernel: xhci_hcd :0e:00.0: Killing URBs for slot ID 2, ep index 2 Dec 31 13:33:19 vesho kernel: xhci_hcd :0e:00.0: Killing URBs for slot ID 3, ep index 0 Dec 31 13:33:19 vesho kernel: xhci_hcd :0e:00.0: Killing URBs for slot ID 3, ep index 2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1856161 Title: Thunderbolt dock fails to connect USB devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1856161] Re: Thunderbolt dock fails to connect USB devices
And now, I managed to get a repro of the stated problem: USB controller fails to complete initialization when connecting the thunderbolt cable. This was 100% reproduceable for a few runs (logs 1 through 5), and only stopped reproducing when I removed an Android device that was sitting at the end of the USB chain - this is log 6 that successfully completed setup. ** Attachment added: "lp1856161-dyndbg-logs-connect-fail.tar.gz" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+attachment/5316692/+files/lp1856161-dyndbg-logs-connect-fail.tar.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1856161 Title: Thunderbolt dock fails to connect USB devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1856161] Re: Thunderbolt dock fails to connect USB devices
Attached kernel log of trying to recover from lp1766076 and failing. The log starts at the point where we do `echo -n $id > /sys/bus/pci/drivers/xhci_hcd/bind` at 13:05:44, and the driver gives up at 13:05:55. I'm actually not sure how relevant this is to this issue... ** Attachment added: "lp1856161-dyndbg-xhci-dead-failed-to-recover.log" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+attachment/5316690/+files/lp1856161-dyndbg-xhci-dead-failed-to-recover.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1856161 Title: Thunderbolt dock fails to connect USB devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1856161] Re: Thunderbolt dock fails to connect USB devices
With the `dyndbg` flag, I can't seem to reproduce the problem: I tried to connect and disconnect the cable a few times as well as rebooting (which was almost 100% guaranteed to cause this issue). I attached logs of the successful thunderbolt connection while running and a boot log with the dock already connected. There are things there that seemed to me like error messages that might be interesting regardless? I'll continue using the `dyndbg` flag and will report later this week if the problem has been reproduced (I connect the dock a could of times a day, usually when the computer is already on, but sometimes when it is suspended or off), or whether enabling the debug flag is a workaround :-p ** Attachment added: "lp1856161-dyndbg-logs.tar.gz" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+attachment/5316687/+files/lp1856161-dyndbg-logs.tar.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1856161 Title: Thunderbolt dock fails to connect USB devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1856161] Re: Thunderbolt dock fails to connect USB devices
Can you please boot with kernel parameter "dyndbg='file drivers/usb/* +p'" and attach dmesg once you reproduce the issue. The xhci reset part shouldn't be included. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1856161 Title: Thunderbolt dock fails to connect USB devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1856161] Re: Thunderbolt dock fails to connect USB devices
Since I started getting the bug 1766076 xhci failure, this problem has become more acute as the automatic workaround described in 1766076 no longer works - when resetting the xhci bus, the bus fails to be set up properly due to this issue and I'm left with a non-functioning system. See attached log for when trying to reset the xhci bus while all devices are connected to the dock. Currently my recovery procedure is either: - reset the bus again (manually) and pray for it to work (it does every 5-6 times) - or manually disconnect the USB chain (I've moved it to the front port so its more accessible); reset the bus; wait for everything to settle; count to 5; reconnect the USB chain. The counting part is important as if I attach the chain too early after the last xhci message in dmesg, it fails to setup with the same error as if it was connected during the reset. ** Attachment added: "reset-xhci-failure.log" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+attachment/5316520/+files/reset-xhci-failure.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1856161 Title: Thunderbolt dock fails to connect USB devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1856161] Re: Thunderbolt dock fails to connect USB devices
Tries booting with the chain disconnected from the dock, and as expected - the system boots correctly with the dock attached and built-in USB devices present, after which plugging the USB cable in works well. The problem seems to only be when external USB devices are connected to the dock. Here's how the dock's USB controller tree looks after everything is plugged in: 8< /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M ID 1d6b:0002 Linux Foundation 2.0 root hub |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/7p, 480M ID 0424:2807 Standard Microsystems Corp. Hub |__ Port 3: Dev 4, If 0, Class=Hub, Driver=hub/5p, 480M ID 0424:2734 Standard Microsystems Corp. |__ Port 4: Dev 7, If 2, Class=Audio, Driver=snd-usb-audio, 480M ID 03f0:a707 HP, Inc |__ Port 4: Dev 7, If 0, Class=Video, Driver=uvcvideo, 480M ID 03f0:a707 HP, Inc |__ Port 4: Dev 7, If 3, Class=Audio, Driver=snd-usb-audio, 480M ID 03f0:a707 HP, Inc |__ Port 4: Dev 7, If 1, Class=Video, Driver=uvcvideo, 480M ID 03f0:a707 HP, Inc |__ Port 2: Dev 6, If 0, Class=Hub, Driver=hub/4p, 480M ID 05e3:0608 Genesys Logic, Inc. Hub |__ Port 4: Dev 8, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M ID 04d9:2013 Holtek Semiconductor, Inc. Keyboard [Das Keyboard] |__ Port 4: Dev 8, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M ID 04d9:2013 Holtek Semiconductor, Inc. Keyboard [Das Keyboard] |__ Port 5: Dev 10, If 0, Class=Human Interface Device, Driver=usbhid, 480M ID 0424:274c Standard Microsystems Corp. |__ Port 1: Dev 5, If 0, Class=Hub, Driver=hub/5p, 480M ID 0424:2734 Standard Microsystems Corp. |__ Port 4: Dev 9, If 2, Class=Human Interface Device, Driver=usbhid, 12M ID 046d:c52b Logitech, Inc. Unifying Receiver |__ Port 4: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 12M ID 046d:c52b Logitech, Inc. Unifying Receiver |__ Port 4: Dev 9, If 1, Class=Human Interface Device, Driver=usbhid, 12M ID 046d:c52b Logitech, Inc. Unifying Receiver |__ Port 5: Dev 11, If 0, Class=Human Interface Device, Driver=usbhid, 480M ID 0424:274c Standard Microsystems Corp. |__ Port 5: Dev 3, If 0, Class=Audio, Driver=snd-usb-audio, 480M ID 0bda:4014 Realtek Semiconductor Corp. |__ Port 5: Dev 3, If 1, Class=Audio, Driver=snd-usb-audio, 480M ID 0bda:4014 Realtek Semiconductor Corp. |__ Port 5: Dev 3, If 2, Class=Audio, Driver=snd-usb-audio, 480M ID 0bda:4014 Realtek Semiconductor Corp. |__ Port 5: Dev 3, If 3, Class=Audio, Driver=snd-usb-audio, 480M ID 0bda:4014 Realtek Semiconductor Corp. 8< -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1856161 Title: Thunderbolt dock fails to connect USB devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1856161] Re: Thunderbolt dock fails to connect USB devices
As I mentioned in comment 22, connecting the thunderbolt dock without any additional USB devices plugged in, works well. After the controller initializes, I can plug in the rest of the devices and they get set up properly. Comment 22 has a dmesg log off that. I haven't tried booting with the dock connected without the additional USB devices, as that is not my use case (I don't usually shut down or reboot my computer), but I can try that later today. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1856161 Title: Thunderbolt dock fails to connect USB devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1856161] Re: Thunderbolt dock fails to connect USB devices
Does this happen when nothing is plugged to the dock? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1856161 Title: Thunderbolt dock fails to connect USB devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1856161] Re: Thunderbolt dock fails to connect USB devices
Sorry, the joy was (relatively) short-lived: Even with `/etc/default/grub` `GRUB_CMDLINE_LINUX_DEFAULT` setting set to empty, I can still reproduce this problem with the lp1766076 kernel: it definitely happens less - maybe 1 in 3 times instead of almost always - but it still happens. Here's a boot dmesg log of a failing boot with no (additional) kernel command line flags - xhci_hcd assumes the controller died on timestamp 27, after which none of the USB things on the dock work. ** Attachment added: "lp1766076-boot-dmesg.log" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+attachment/5314569/+files/lp1766076-boot-dmesg.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1856161 Title: Thunderbolt dock fails to connect USB devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1856161] Re: Thunderbolt dock fails to connect USB devices
Also connect/disconnect succeeds. See attached logs. There are other problems now, which the kernel flags were supposed to solve. I'd need to reboot a few times to figure out which flag causes the problem. ** Attachment added: "lp1766076-tb-reconnect-success.log" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+attachment/5314568/+files/lp1766076-tb-reconnect-success.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1856161 Title: Thunderbolt dock fails to connect USB devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1856161] Re: Thunderbolt dock fails to connect USB devices
with the lp1766076 kernel, removing all the parameters after "quiet" (I'm thinking the ones before that are required for successful boot), the thunderbolt connects successfully on boot. Attached dmesg log. ** Attachment added: "lp1766076-boot-dmesg-tbconnected.log" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+attachment/5314567/+files/lp1766076-boot-dmesg-tbconnected.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1856161 Title: Thunderbolt dock fails to connect USB devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1856161] Re: Thunderbolt dock fails to connect USB devices
Please remove all the kernel parameters. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1856161 Title: Thunderbolt dock fails to connect USB devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1856161] Re: Thunderbolt dock fails to connect USB devices
What I currently do, is to detach the USB cable from the dock, connect the thunderbolt cable to the computer, wait for everything to settle (either by looking at the dmesg log or just waiting for the dock audio device to be registered - which shows on the OSD), then connecting the USB cable. See attached dmesg log of this process. All of my devices are on the cable connected to the back of the dock - anything else listed in the log before timestamp 342 is internal to the dock (i.e. the built-in hub, audio device and NIC). ** Attachment added: "lp1766076-tb-reconnect-without-usb-chain.log" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+attachment/5314557/+files/lp1766076-tb-reconnect-without-usb-chain.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1856161 Title: Thunderbolt dock fails to connect USB devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1856161] Re: Thunderbolt dock fails to connect USB devices
Additionaly, with the lp1766076 kernel, after disconnecting the thunderbolt cable, reconnecting it again fails - attached a short dmesg log of just that. ** Attachment added: "lp1766076-tb-reconnect-fail-dmesg.log" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+attachment/5314556/+files/lp1766076-tb-reconnect-fail-dmesg.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1856161 Title: Thunderbolt dock fails to connect USB devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1856161] Re: Thunderbolt dock fails to connect USB devices
The current situation is that I can't use the thunderbolt dock's USB hub normally: it almost always fails to connect - with the generic Ubuntu kernel or with the "5.3.0-25-generic #27~lp1766076" kernel suggested in the comment above. Trying to boot with the lp1766076 kernel (which I'm currently running after the first boot), boot with the thunderbolt connected, xhci fails. I Attached dmesg log of that. ** Attachment added: "lp1766076-boot-dmesg.log" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+attachment/5314555/+files/lp1766076-boot-dmesg.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1856161 Title: Thunderbolt dock fails to connect USB devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1856161] Re: Thunderbolt dock fails to connect USB devices
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766076/comments/90 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1856161 Title: Thunderbolt dock fails to connect USB devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1856161/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1856161] Re: Thunderbolt dock fails to connect USB devices
I also just saw this during a forced XHCI reset (after the USB bus failed to connect): 8< [ 247.130032] usb 3-1.6.2.4: new low-speed USB device number 9 using xhci_hcd [ 247.388286] usb 3-1.6.2.4: New USB device found, idVendor=04d9, idProduct=2013, bcdDevice= 1.03 [ 247.388287] usb 3-1.6.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 247.388288] usb 3-1.6.2.4: Product: USB Keyboard [ 247.388289] usb 3-1.6.2.4: Manufacturer: [ 247.454042] usb 3-1.6.5: new high-speed USB device number 10 using xhci_hcd [ 247.511444] input: USB Keyboard as /devices/pci:00/:00:1d.6/:06:00.0/:07:01.0/:09:00.0/:0a:04.0/:0c:00.0/:0d:01.0/:0e:00.0/usb3/3-1/3-1.6/3-1.6.2/3-1.6.2.4/3-1.6.2.4:1.0/0003:04D9:2013.0014/input/input44 [ 247.570426] hid-generic 0003:04D9:2013.0014: input,hidraw4: USB HID v1.00 Keyboard [ USB Keyboard] on usb-:0e:00.0-1.6.2.4/input0 [ 247.583572] input: USB Keyboard System Control as /devices/pci:00/:00:1d.6/:06:00.0/:07:01.0/:09:00.0/:0a:04.0/:0c:00.0/:0d:01.0/:0e:00.0/usb3/3-1/3-1.6/3-1.6.2/3-1.6.2.4/3-1.6.2.4:1.1/0003:04D9:2013.0015/input/input45 [ 247.613793] usb 3-1.6.5: New USB device found, idVendor=0424, idProduct=274c, bcdDevice= 2.00 [ 247.613796] usb 3-1.6.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 247.613797] usb 3-1.6.5: Product: Hub Controller [ 247.613799] usb 3-1.6.5: Manufacturer: Microchip Tech [ 247.642290] input: USB Keyboard Consumer Control as /devices/pci:00/:00:1d.6/:06:00.0/:07:01.0/:09:00.0/:0a:04.0/:0c:00.0/:0d:01.0/:0e:00.0/usb3/3-1/3-1.6/3-1.6.2/3-1.6.2.4/3-1.6.2.4:1.1/0003:04D9:2013.0015/input/input46 [ 247.642466] hid-generic 0003:04D9:2013.0015: input,hidraw5: USB HID v1.00 Device [ USB Keyboard] on usb-:0e:00.0-1.6.2.4/input1 [ 247.703468] hid-generic 0003:0424:274C.0016: hiddev2,hidraw6: USB HID v1.10 Device [Microchip Tech Hub Controller] on usb-:0e:00.0-1.6.5/input0 [ 249.085573] xhci_hcd :0e:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 6 comp_code 13 [ 249.085576] xhci_hcd :0e:00.0: Looking for event-dma fffa2040 trb-start fffa2020 trb-end fffa2020 seg-start fffa2000 seg-end fffa2ff0 [ 249.086506] xhci_hcd :0e:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 6 comp_code 13 [ 249.086509] xhci_hcd :0e:00.0: Looking for event-dma fffa2050 trb-start fffa2020 trb-end fffa2020 seg-start fffa2000 seg-end fffa2ff0 [ 249.087505] xhci_hcd :0e:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 6 comp_code 13 [ 249.087509] xhci_hcd :0e:00.0: Looking for event-dma fffa2060 trb-start fffa2020 trb-end fffa2020 seg-start fffa2000 seg-end fffa2ff0 [ 249.088504] xhci_hcd :0e:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 6 comp_code 13 [ 249.088506] xhci_hcd :0e:00.0: Looking for event-dma fffa2070 trb-start fffa2020 trb-end fffa2020 seg-start fffa2000 seg-end fffa2ff0 [ 249.089505] xhci_hcd :0e:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 6 comp_code 13 [ 249.089506] xhci_hcd :0e:00.0: Looking for event-dma fffa2080 trb-start fffa2030 trb-end fffa2030 seg-start fffa2000 seg-end fffa2ff0 [ 249.090504] xhci_hcd :0e:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 6 comp_code 13 [ 249.090507] xhci_hcd :0e:00.0: Looking for event-dma fffa2090 trb-start fffa2030 trb-end fffa2030 seg-start fffa2000 seg-end fffa2ff0 [ 249.091507] xhci_hcd :0e:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 6 comp_code 13 [ 249.091511] xhci_hcd :0e:00.0: Looking for event-dma fffa20a0 trb-start fffa2030 trb-end fffa2030 seg-start fffa2000 seg-end fffa2ff0 [ 249.092507] xhci_hcd :0e:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 6 comp_code 13 [ 249.092510] xhci_hcd :0e:00.0: Looking for event-dma fffa20b0 trb-start fffa2030 trb-end fffa2030 seg-start fffa2000 seg-end fffa2ff0 [ 249.093505] xhci_hcd :0e:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 6 comp_code 13 [ 249.093509] xhci_hcd :0e:00.0: Looking for event-dma fffa20c0 trb-start fffa2030 trb-end fffa2030 seg-start fffa2000 seg-end fffa2ff0 [ 249.094507] xhci_hcd :0e:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 6 comp_code 13 [ 249.094512] xhci_hcd :0e:00.0: Looking for event-dma fffa20d0 trb-start fffa2030 trb-end
[Bug 1856161] Re: Thunderbolt dock fails to connect USB devices
apport information ** Tags added: apport-collected ** Description changed: Using Ubuntu eoan fully updated with kernel 5.3.0-24-generic on a Dell Precision 5520. When connecting a Dell Thunderbolt dock TB16, the USB bus connects very slowly (15~20 seconds) and sometimes does not connect at all and a failure is reported in dmesg: [ 117.834621] xhci_hcd :0e:00.0: xHCI host not responding to stop endpoint command. [ 117.850643] xhci_hcd :0e:00.0: Host halt failed, -110 [ 117.850644] xhci_hcd :0e:00.0: xHCI host controller not responding, assume dead [ 117.850679] xhci_hcd :0e:00.0: HC died; cleaning up [ 117.850717] xhci_hcd :0e:00.0: Timeout while waiting for configure endpoint command The slow connection seems to be a feature of the current updated firmware - the computer was not used for ~6 months due to a battery issue that was fixed, and after fixing the battery a new firmware was installed using the MS-Windows Dell software update utility. Both on Linux and MS-Windows the process of connecting the Thunderbolt dock completes after a much longer time than it used to in the beginning of the year. On the face of it it seems that the longer init process now hits timeouts in the xhci_hcd driver and depending on the exact timing often causes the xhci_hcd to give up and drop the USB Thunderbolt bus. This happens about 50% of the time, when connecting the Dock when the system is running, and a bit less when the system is booted or resumed from sleep when the dock is already connected. fwupdmgr report: -8<- Precision M5520 Thunderbolt Controller DeviceId: 51d36e5f8f25bea1d8707a72ab7b9386a98527ee Guid: c5364422-2ec3-5092-b30e-03bdb1a53e4a Summary: Unmatched performance for high-speed I/O Plugin: thunderbolt Flags:internal|updatable|require-ac|registered Vendor: Dell VendorId: TBT:0x00D4 Version: 26.01 VersionFormat:pair Icon: computer Created: 2019-12-12 Dell Thunderbolt Cable DeviceId: aa4dfab63945b6e8ad913550d241978e3562f8bf ParentDeviceId: 84edf044a6b53037732cfc7591b65a8d36384cc9 Guid: b4fd3cdf-4e3a-5090-a583-45367cfd6421 Plugin: thunderbolt Flags:updatable|require-ac|registered Vendor: Dell VendorId: TBT:0x00D4 Version: 16.00 VersionFormat:pair Icon: audio-card Created: 2019-12-12 Dell Thunderbolt Dock DeviceId: 64575ad9f31dbe3959942f4b2275c1c4d0ac2ac5 ParentDeviceId: 84edf044a6b53037732cfc7591b65a8d36384cc9 Guid: 76cc74d4-f062-5b93-a11c-8d2a58a25848 Plugin: thunderbolt Flags:updatable|require-ac|registered Vendor: Dell VendorId: TBT:0x00D4 Version: 16.00 VersionFormat:pair Icon: audio-card Created: 2019-12-12 Precision 5520 System Firmware DeviceId: f4b6e3af5b4bf8ad1f2ed2922b76df457271 Guid: 34578c72-11dc-4378-bc7f-b643866f598c Plugin: uefi Flags: internal|updatable|require-ac|supported|registered|needs-reboot Checksum: SHA1(f5dfd993019fd1ab6bdcb718f13a27d6f77a9a90) Checksum: SHA256(a35b224919bebade597cfbce372a235c96cb4c5489738804aec117ed92e85717) Version: 0.1.16.0 VersionLowest:0.1.16.0 VersionFormat:quad Icon: computer Created: 2019-12-12 UpdateState: success Synaptics VMM3320 inside Dell WD15/TB16/TB18 wired Dock DeviceId: 7b3cbc344094ace839263dd4711c84ea99bb6dc3 ParentDeviceId: 84edf044a6b53037732cfc7591b65a8d36384cc9 Guid: 152a9833-41e6-5c21-9dde-0ff8984f3e20 Guid: 0a52c8c7-26d5-59a0-ae44-6b00e276d775 Guid: 51000744-2de6-5a52-8a86-d5f69fd73d34 Summary: Multi-Stream Transport Device Plugin: synapticsmst Flags:updatable|registered Vendor: Synaptics Version: 3.10.002 VersionFormat:triplet Icon: computer Created: 2019-12-12 Synaptics VMM3330 inside Dell WD15/TB16/TB18 wired Dock DeviceId: d83854e8c81f5d47b0b99c8a3b42ae5127c75eb8 ParentDeviceId: 84edf044a6b53037732cfc7591b65a8d36384cc9 Guid: c0f73159-4fc0-509b-80f8-5f871f3751a8 Guid: be025b25-ca5c-546c-97c6-ee2160ba489d Guid: 190e8d7c-6bcf-5fab-94e7-4f8739eb90aa Summary: