Bug 191681
Summary: | Thunderbolt 3 adapter fails to instantiate USB and device enumeration if already connected at boot time | ||
---|---|---|---|
Product: | Drivers | Reporter: | Chris Murphy (bugzilla) |
Component: | PCI | Assignee: | Greg Kroah-Hartman (greg) |
Status: | NEW --- | ||
Severity: | high | CC: | maxbowsher |
Priority: | P1 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
See Also: | https://bugzilla.redhat.com/show_bug.cgi?id=1381039 | ||
Kernel Version: | 4.11.0-0.rc3.git0.2.fc26.x86_64 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
normal behavior
failure dmesg dmidecode lspci -vvnn failure dmesg using pci=prealloc acpidump rdsosreport 4.11.0.rc3 |
Description
Chris Murphy
2017-01-01 19:28:36 UTC
Created attachment 249501 [details]
normal behavior
Adapter is not connected at boot time; is connected later and works as expected.
[ 59.241996] connect the adapter to the 1st USB-C (thunderbolt / gen2) port.
[ 114.499730] adapter disconnected
[ 134.361001] connect the adapter to the 2nd USB-C (thunderbolt / gen2) port.
[ 165.344026] adapter disconnected
Created attachment 249511 [details]
failure dmesg
Adapter is already connected at boot time.
[ 41.384191] disconnect adapter from port 1
[ 56.678193] connect adapter to port 2 - no USB is instantiated as it is for the normal dmesg case.
[ 78.498122] disconnect adapter from port 2
Created attachment 249521 [details]
dmidecode
Firmware is up to date. Problem happens with original and updated firmware.
Created attachment 249531 [details]
lspci -vvnn
Problem happens with Fedora kernels as well as mainline. kernel-4.9.0-1.fc26.x86_64 kernel-4.8.15-300.fc25.x86_64 On Sun, Jan 01, 2017 at 07:28:36PM +0000, bugzilla-daemon@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=191681 > > Bug ID: 191681 > Summary: Thunderbolt 3 adapter fails to instantiate USB and > device enumeration if already connected at boot time All USB bugs should be sent to the linux-usb@vger.kernel.org mailing list, and not entered into bugzilla. Please bring this issue up there, if it is still a problem in the latest kernel release. Upstream threads (cross posted): http://www.spinics.net/lists/linux-usb/msg151275.html http://www.spinics.net/lists/linux-pci/msg57110.html Setting see also to downstream bug. Created attachment 249871 [details]
failure dmesg using pci=prealloc
Created attachment 249881 [details]
acpidump
Switching component to PCI based on comments on the USB list. For reference here: Problem still happens with pci=realloc. Problem doesn't happen on Windows, or with GRUB. I get different kernel messages with 4.11.0.rc3, but the result is the same. [ 0.560375] localhost kernel: pci_bus 0000:37: busn_res: can not insert [bus 37] under [bus 02-06] (conflicts with (null) [bus 02-06]) [ 0.560396] localhost kernel: pci 0000:37:00.0: [8086:15b6] type 00 class 0x0c0330 [ 0.560421] localhost kernel: pci 0000:37:00.0: reg 0x10: [mem 0xb0000000-0xb000ffff] [ 0.560604] localhost kernel: pci 0000:37:00.0: supports D1 D2 [ 0.560605] localhost kernel: pci 0000:37:00.0: PME# supported from D0 D1 D2 D3hot D3cold [ 0.560799] localhost kernel: pci 0000:02:02.0: PCI bridge to [bus 37] [ 0.560812] localhost kernel: pci 0000:02:02.0: bridge window [mem 0xc7f00000-0xc7ffffff] [ 0.560820] localhost kernel: pci_bus 0000:37: [bus 37] partially hidden behind bridge 0000:02 [bus 02-06] [ 0.560871] localhost kernel: pci_bus 0000:38: busn_res: can not insert [bus 38-6b] under [bus 02-06] (conflicts with (null) [bus 02-06]) [ 0.560874] localhost kernel: pci 0000:02:04.0: PCI bridge to [bus 38-6b] [ 0.560887] localhost kernel: pci 0000:02:04.0: bridge window [mem 0xc8000000-0xddffffff] [ 0.560894] localhost kernel: pci 0000:02:04.0: bridge window [mem 0x70000000-0x99ffffff 64bit pref] [ 0.560896] localhost kernel: pci_bus 0000:38: [bus 38-6b] partially hidden behind bridge 0000:02 [bus 02-06] Created attachment 255725 [details]
rdsosreport 4.11.0.rc3
The problem doesn't happen in 4.16-rc4 although I'm not sure when it was fixed. |