Bug 1600126 - Dell TB16 dock: xHCI host controller dies on USB device connection
Summary: Dell TB16 dock: xHCI host controller dies on USB device connection
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 28
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-11 13:29 UTC by Alexey Brodkin
Modified: 2023-05-03 22:19 UTC (History)
30 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-28 19:05:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
dmesg contents before and during xHCI controller problem (177.57 KB, text/plain)
2018-07-11 13:29 UTC, Alexey Brodkin
no flags Details
lsusb -v output after reconnection of the docking station (when all devices work again) (94.75 KB, text/plain)
2018-07-11 13:30 UTC, Alexey Brodkin
no flags Details
dmidecode (31.12 KB, text/plain)
2018-07-11 13:32 UTC, Alexey Brodkin
no flags Details
dmesg contents before and during xHCI controller problem (kernel 4.17.11) (35.84 KB, text/plain)
2018-08-07 15:09 UTC, Alexey Brodkin
no flags Details
TB16 1.0.2 firmware MST2 update version not changing (205.48 KB, image/png)
2019-03-02 12:49 UTC, Tore H. Larsen
no flags Details
usbmon of keyboard and mouse as they fall out (1.08 MB, text/plain)
2019-03-20 07:50 UTC, Tore H. Larsen
no flags Details
journal since boot when keyboard and mouse as they fall out (18.45 KB, application/x-xz)
2019-03-20 07:53 UTC, Tore H. Larsen
no flags Details

Description Alexey Brodkin 2018-07-11 13:29:29 UTC
Created attachment 1458088 [details]
dmesg contents before and during xHCI controller problem

Description of problem:
I've got Dell 7480 laptop connected to Dell TB16 Thunderbolt docking station.
Once in a while when USB device gets connected to Dell TB16 dock its xHCI controller "dies". To recover its functionality it's required to reconnect Thunderbolt cable.

What's interesting video output to external monitor connected to the same one dock works all the time flawlessly.

Version-Release number of selected component (if applicable):
Currently I'm on Fedora-28 with kernel 4.17.3-200.fc28.x86_64 but that issues has been seen from the very beginning.

How reproducible:
Once in a while, i.e. not on every connection of USB device but pretty often. Like every 10th time.

Steps to Reproduce:
1. Plug-in USB device (could be anything like FTDI USB-to-Serial cable, smartphone, anything)repeat.

2. Wait for at least a minute (for USB device gets recognized and if xHCI controller stops to respond kernel will disable it which will be visible if there's something like mouse/keyboard/audiocard is connected to the dock as well - so it will stop to work)

3. If nothing happens - unplug and repeat from (1).

Actual results:
In dmesg the following will appear:
----------------------------------->8--------------------------------
[ 6163.713341] usb 3-1.3: new high-speed USB device number 9 using xhci_hcd
[ 6169.421418] usb 3-1.3: device descriptor read/all, error -110
[ 6175.966362] xhci_hcd 0000:0b:00.0: xHCI host not responding to stop endpoint command.
[ 6176.057213] xhci_hcd 0000:0b:00.0: Host halt failed, -110
[ 6176.057214] xhci_hcd 0000:0b:00.0: xHCI host controller not responding, assume dead
[ 6176.057224] r8152 4-1.1:1.0 enp11s0u1u1: Stop submitting intr, status -108
[ 6176.057227] r8152 4-1.2:1.0 enp11s0u1u2: Stop submitting intr, status -108
[ 6176.057235] xhci_hcd 0000:0b:00.0: HC died; cleaning up
[ 6176.057300] usb 3-1-port3: cannot disable (err = -110)
[ 6176.057332] usb 3-1-port3: couldn't allocate usb_device
[ 6176.057338] usb 3-1.5: USB disconnect, device number 3
[ 6176.057386] usb 3-1: USB disconnect, device number 2
[ 6176.057713] usb 4-1: USB disconnect, device number 2
[ 6176.057715] usb 4-1.1: USB disconnect, device number 3
[ 6176.058335] usb 3-1.7: USB disconnect, device number 4
[ 6176.058336] usb 3-1.7.1: USB disconnect, device number 5
[ 6176.080309] usb 4-1.2: USB disconnect, device number 4
[ 6176.080776] usb 3-1.7.3: USB disconnect, device number 6
[ 6176.105211] usb 3-1.7.4: USB disconnect, device number 8
----------------------------------->8--------------------------------

Expected results:
New USB device to work as expected and xHCI controller to continue its work flawlessly.

Comment 1 Alexey Brodkin 2018-07-11 13:30:58 UTC
Created attachment 1458089 [details]
lsusb -v output after reconnection of the docking station (when all devices work again)

Comment 2 Alexey Brodkin 2018-07-11 13:32:11 UTC
Created attachment 1458090 [details]
dmidecode

Comment 3 Alexey Brodkin 2018-07-11 13:35:36 UTC
Note attached dmesg output was produced with enabled dyndbg for xhci_hcd.

Comment 4 Eric P 2018-07-20 20:45:07 UTC
I have a Dell XPS 9360 with a TB16.  It worked flawlessly until the past month or so.  

This link shows how you can disable the xhci autosuspend to work around this.
https://bugzilla.kernel.org/show_bug.cgi?id=199681

This link and message thread describes a patch to fix it:
https://marc.info/?l=linux-usb&m=152605665812321&w=2

Comment 5 Alexey Brodkin 2018-07-23 07:28:39 UTC
Eric, my situation looks a bit different because it's on xHCI controller of the TB16 dock that fails. That said all the USB peripherals attached to the laptop itself continue to work flawlessly all the time.

Anyways there's already a fix from Mathias [1] in Linus' tree.

Once it gets back-ported to 4.17.y branch and corresponding kernel update
hits Fedora's repos we'll see if it makes any difference.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=229bc19fd7aca4f37964af06e3583c1c8f36b5d6

Comment 6 Alexey Brodkin 2018-08-07 15:08:08 UTC
Looks like Mathias' fix doesn't help me.

---------------------->8------------------
# uname -a
Linux abrodkin-7480l 4.17.11-200.fc28.x86_64 #1 SMP Mon Jul 30 15:21:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
---------------------->8------------------

Still on insertion of new USB devices I'm seeing:
---------------------->8------------------
[22599.689808] usb 3-1.3: USB disconnect, device number 3
[22657.741207] usb 3-1.6: new high-speed USB device number 9 using xhci_hcd
[22662.266053] pcieport 0000:00:1c.4: AER: Corrected error received: id=00e4
[22662.266072] pcieport 0000:00:1c.4: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e4(Transmitter ID)
[22662.266087] pcieport 0000:00:1c.4:   device [8086:9d14] error status/mask=00001000/00002000
[22662.266097] pcieport 0000:00:1c.4:    [12] Replay Timer Timeout  
[22663.630899] usb 3-1.6: unable to get BOS descriptor set
...
[22665.055618] r8152 4-1.2:1.0 enp11s0u1u2: Tx timeout
[22670.174250] xhci_hcd 0000:0b:00.0: xHCI host not responding to stop endpoint command.
[22670.264718] xhci_hcd 0000:0b:00.0: Host halt failed, -110
[22670.264719] xhci_hcd 0000:0b:00.0: xHCI host controller not responding, assume dead
---------------------->8------------------

More complete dmesg output attached.

Comment 7 Alexey Brodkin 2018-08-07 15:09:12 UTC
Created attachment 1474027 [details]
dmesg contents before and during xHCI controller problem (kernel 4.17.11)

Comment 8 Eric P 2018-08-08 18:12:54 UTC
Just for completeness, running kernel 4.17.11-200.fc28.x86_64 my TB16 is working again.  If I plug in the tb cable and it is not working (50% of the time now?), I hit the snooze/wake button on the tb dock, and a moment later I hit it again.  When the computer wakes, keyboard, mouse, local network are all working.

It's much better - no reboot needed, no system lockup.

Comment 9 Eric P 2018-08-09 15:07:20 UTC
I spoke too soon.  I'll work on recreating the condition that led to TB16 not working and providing log details.

Comment 10 Pizoo 2018-09-18 03:53:04 UTC
Full disclosure I am running Arch and not Red Hat. 

Kernel 4.18.7-arch1-1-ARCH
XPS 9570
TB16

Posting here because I am affected by this bug also and wanna keep on top of any new developments. Very frustrating because unplugging and replugging the dock will bring the USBs back but this causes the monitors to die. Only fix is to power cycle the laptop.

This is the dmesg output
----------------------------------------------------
[10727.087651] xhci_hcd 0000:0a:00.0: xHCI host not responding to stop endpoint command.
[10727.202880] xhci_hcd 0000:0a:00.0: Host halt failed, -110
[10727.202881] xhci_hcd 0000:0a:00.0: xHCI host controller not responding, assume dead
[10727.202889] usb 3-1.1: cannot submit urb (err = -108)
[10727.202961] r8152 4-1.2:1.0 ens4u1u2: Tx status -108
[10727.202966] r8152 4-1.2:1.0 ens4u1u2: Tx status -108
[10727.202972] r8152 4-1.2:1.0 ens4u1u2: Tx status -108
[10727.202978] r8152 4-1.2:1.0 ens4u1u2: Tx status -108
[10727.203009] xhci_hcd 0000:0a:00.0: HC died; cleaning up
[10727.203016] xhci_hcd 0000:0a:00.0: Timeout waiting for reset device command
[10727.203041] ftdi_sio ttyUSB0: failed to get modem status: -110
[10727.203082] usb 3-1.1: cannot submit urb 0, error -19: no device
[10727.203459] usb 3-1: USB disconnect, device number 2
[10727.203461] usb 3-1.1: USB disconnect, device number 16
[10727.203496] usb 4-1: USB disconnect, device number 2
[10727.203497] usb 4-1.2: USB disconnect, device number 3
[10727.204063] usb 3-1.3: USB disconnect, device number 3
[10727.204165] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[10727.204178] ftdi_sio 3-1.3:1.0: device disconnected
[10727.204295] usb 3-1.5: USB disconnect, device number 5
[10727.204746] usb 3-1.7: USB disconnect, device number 6
[10727.237098] audit: type=1130 audit(1537239699.459:113): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[10727.614377] usb 3-1.7.3: device not accepting address 17, error -108
[10727.614465] usb 3-1.7-port3: couldn't allocate usb_device
[10727.614487] usb 3-1.7.4: USB disconnect, device number 8
[10737.011960] audit: type=1131 audit(1537239709.236:114): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

Comment 11 Constantine Karnacevych 2018-10-26 17:29:53 UTC
can confirm with Dell XPS l702x

# dmesg | grep -i usb
[    0.059142] ACPI: bus type USB registered
[    0.059142] usbcore: registered new interface driver usbfs
[    0.059142] usbcore: registered new interface driver hub
[    0.059142] usbcore: registered new device driver usb
[    0.839308] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.839496] ehci-pci 0000:00:1a.0: new USB bus registered, assigned bus number 1
[    0.850086] ehci-pci 0000:00:1a.0: USB 2.0 started, EHCI 1.00
[    0.850159] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.18
[    0.850161] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.850162] usb usb1: Product: EHCI Host Controller
[    0.850164] usb usb1: Manufacturer: Linux 4.18.16-200.fc28.x86_64 ehci_hcd
[    0.850165] usb usb1: SerialNumber: 0000:00:1a.0
[    0.850358] hub 1-0:1.0: USB hub found
[    0.850677] ehci-pci 0000:00:1d.0: new USB bus registered, assigned bus number 2
[    0.861094] ehci-pci 0000:00:1d.0: USB 2.0 started, EHCI 1.00
[    0.861184] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.18
[    0.861187] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.861188] usb usb2: Product: EHCI Host Controller
[    0.861190] usb usb2: Manufacturer: Linux 4.18.16-200.fc28.x86_64 ehci_hcd
[    0.861191] usb usb2: SerialNumber: 0000:00:1d.0
[    0.861465] hub 2-0:1.0: USB hub found
[    0.861591] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.861609] uhci_hcd: USB Universal Host Controller Interface driver
[    0.861824] xhci_hcd 0000:04:00.0: new USB bus registered, assigned bus number 3
[    0.862272] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.18
[    0.862273] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.862275] usb usb3: Product: xHCI Host Controller
[    0.862276] usb usb3: Manufacturer: Linux 4.18.16-200.fc28.x86_64 xhci-hcd
[    0.862278] usb usb3: SerialNumber: 0000:04:00.0
[    0.862450] hub 3-0:1.0: USB hub found
[    0.862669] xhci_hcd 0000:04:00.0: new USB bus registered, assigned bus number 4
[    0.862673] xhci_hcd 0000:04:00.0: Host supports USB 3.0  SuperSpeed
[    0.865405] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.865426] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.18
[    0.865428] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.865429] usb usb4: Product: xHCI Host Controller
[    0.865431] usb usb4: Manufacturer: Linux 4.18.16-200.fc28.x86_64 xhci-hcd
[    0.865432] usb usb4: SerialNumber: 0000:04:00.0
[    0.865574] hub 4-0:1.0: USB hub found
[    0.865707] usbcore: registered new interface driver usbserial_generic
[    0.865713] usbserial: USB Serial support registered for generic
[    0.872445] usbcore: registered new interface driver usbhid
[    0.872447] usbhid: USB HID core driver
[    1.170129] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    1.186076] usb 2-1: new high-speed USB device number 2 using ehci-pci
[    1.298936] usb 1-1: New USB device found, idVendor=8087, idProduct=0024, bcdDevice= 0.00
[    1.298944] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.299668] hub 1-1:1.0: USB hub found
[    1.314866] usb 2-1: New USB device found, idVendor=8087, idProduct=0024, bcdDevice= 0.00
[    1.314874] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.315432] hub 2-1:1.0: USB hub found
[    1.576130] usb 1-1.4: new high-speed USB device number 3 using ehci-pci
[    1.592093] usb 2-1.1: new full-speed USB device number 3 using ehci-pci
[    1.656476] usb 1-1.4: New USB device found, idVendor=0408, idProduct=2fb1, bcdDevice= 9.01
[    1.656487] usb 1-1.4: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[    1.656493] usb 1-1.4: Product: Laptop_Integrated_Webcam_2HDM
[    1.656499] usb 1-1.4: Manufacturer: CN07CN2C786641CU0AFBA00
[    1.675463] usb 2-1.1: New USB device found, idVendor=046d, idProduct=c52b, bcdDevice=24.00
[    1.675470] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.675475] usb 2-1.1: Product: USB Receiver
[    1.675479] usb 2-1.1: Manufacturer: Logitech
[    1.749095] usb 2-1.5: new full-speed USB device number 4 using ehci-pci
[    1.829884] usb 2-1.5: New USB device found, idVendor=8087, idProduct=07dc, bcdDevice= 0.00
[    1.829892] usb 2-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.819049] logitech-djreceiver 0003:046D:C52B.0003: hiddev96,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:1d.0-1.1/input2
[    2.925989] input: Logitech Unifying Device. Wireless PID:4009 Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.2/0003:046D:C52B.0003/0003:046D:4009.0004/input/input7
[    2.926108] hid-generic 0003:046D:4009.0004: input,hidraw1: USB HID v1.11 Mouse [Logitech Unifying Device. Wireless PID:4009] on usb-0000:00:1d.0-1.1:1
[    2.953844] input: Logitech M315/M235 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.2/0003:046D:C52B.0003/0003:046D:4009.0004/input/input11
[    2.953954] logitech-hidpp-device 0003:046D:4009.0004: input,hidraw1: USB HID v1.11 Mouse [Logitech M315/M235] on usb-0000:00:1d.0-1.1:1
[    6.419201] usbcore: registered new interface driver btusb
[    6.530870] input: Laptop_Integrated_Webcam_2HDM:  as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input19
[    6.530988] usbcore: registered new interface driver uvcvideo
[    6.530989] USB Video Class driver (1.1.1)
[ 5492.620292] usb 3-1: new high-speed USB device number 2 using xhci_hcd
[ 5502.981970] usb usb3-port1: couldn't allocate usb_device
[ 5502.981998] usb usb4-port1: couldn't allocate usb_device

Comment 12 Constantine Karnacevych 2018-10-26 22:36:07 UTC
# dmesg | grep -i "usb\|hci"
[    0.059142] ACPI: bus type USB registered
[    0.059142] usbcore: registered new interface driver usbfs
[    0.059142] usbcore: registered new interface driver hub
[    0.059142] usbcore: registered new device driver usb
[    0.818021] ahci 0000:00:1f.2: version 3.0
[    0.818176] ahci 0000:00:1f.2: SSS flag set, parallel bus scan disabled
[    0.829108] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 6 ports 6 Gbps 0x33 impl SATA mode
[    0.829112] ahci 0000:00:1f.2: flags: 64bit ncq sntf stag pm led clo pio slum part ems sxs apst
[    0.838545] scsi host0: ahci
[    0.838753] scsi host1: ahci
[    0.838830] scsi host2: ahci
[    0.838931] scsi host3: ahci
[    0.839012] scsi host4: ahci
[    0.839112] scsi host5: ahci
[    0.839308] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.839312] ehci-pci: EHCI PCI platform driver
[    0.839421] ehci-pci 0000:00:1a.0: EHCI Host Controller
[    0.839496] ehci-pci 0000:00:1a.0: new USB bus registered, assigned bus number 1
[    0.839512] ehci-pci 0000:00:1a.0: debug port 2
[    0.843431] ehci-pci 0000:00:1a.0: cache line size of 64 is not supported
[    0.843442] ehci-pci 0000:00:1a.0: irq 16, io mem 0xf3c0a000
[    0.850086] ehci-pci 0000:00:1a.0: USB 2.0 started, EHCI 1.00
[    0.850159] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.18
[    0.850161] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.850162] usb usb1: Product: EHCI Host Controller
[    0.850164] usb usb1: Manufacturer: Linux 4.18.16-200.fc28.x86_64 ehci_hcd
[    0.850165] usb usb1: SerialNumber: 0000:00:1a.0
[    0.850358] hub 1-0:1.0: USB hub found
[    0.850586] ehci-pci 0000:00:1d.0: EHCI Host Controller
[    0.850677] ehci-pci 0000:00:1d.0: new USB bus registered, assigned bus number 2
[    0.850690] ehci-pci 0000:00:1d.0: debug port 2
[    0.854599] ehci-pci 0000:00:1d.0: cache line size of 64 is not supported
[    0.854610] ehci-pci 0000:00:1d.0: irq 23, io mem 0xf3c09000
[    0.861094] ehci-pci 0000:00:1d.0: USB 2.0 started, EHCI 1.00
[    0.861184] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.18
[    0.861187] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.861188] usb usb2: Product: EHCI Host Controller
[    0.861190] usb usb2: Manufacturer: Linux 4.18.16-200.fc28.x86_64 ehci_hcd
[    0.861191] usb usb2: SerialNumber: 0000:00:1d.0
[    0.861465] hub 2-0:1.0: USB hub found
[    0.861591] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.861597] ohci-pci: OHCI PCI platform driver
[    0.861609] uhci_hcd: USB Universal Host Controller Interface driver
[    0.861746] xhci_hcd 0000:04:00.0: xHCI Host Controller
[    0.861824] xhci_hcd 0000:04:00.0: new USB bus registered, assigned bus number 3
[    0.861955] xhci_hcd 0000:04:00.0: hcc params 0x014042cb hci version 0x96 quirks 0x0000000000000004
[    0.862272] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.18
[    0.862273] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.862275] usb usb3: Product: xHCI Host Controller
[    0.862276] usb usb3: Manufacturer: Linux 4.18.16-200.fc28.x86_64 xhci-hcd
[    0.862278] usb usb3: SerialNumber: 0000:04:00.0
[    0.862450] hub 3-0:1.0: USB hub found
[    0.862577] xhci_hcd 0000:04:00.0: xHCI Host Controller
[    0.862669] xhci_hcd 0000:04:00.0: new USB bus registered, assigned bus number 4
[    0.862673] xhci_hcd 0000:04:00.0: Host supports USB 3.0  SuperSpeed
[    0.865405] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.865426] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.18
[    0.865428] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.865429] usb usb4: Product: xHCI Host Controller
[    0.865431] usb usb4: Manufacturer: Linux 4.18.16-200.fc28.x86_64 xhci-hcd
[    0.865432] usb usb4: SerialNumber: 0000:04:00.0
[    0.865574] hub 4-0:1.0: USB hub found
[    0.865707] usbcore: registered new interface driver usbserial_generic
[    0.865713] usbserial: USB Serial support registered for generic
[    0.872445] usbcore: registered new interface driver usbhid
[    0.872447] usbhid: USB HID core driver
[    1.170129] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    1.186076] usb 2-1: new high-speed USB device number 2 using ehci-pci
[    1.298936] usb 1-1: New USB device found, idVendor=8087, idProduct=0024, bcdDevice= 0.00
[    1.298944] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.299668] hub 1-1:1.0: USB hub found
[    1.314866] usb 2-1: New USB device found, idVendor=8087, idProduct=0024, bcdDevice= 0.00
[    1.314874] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.315432] hub 2-1:1.0: USB hub found
[    1.576130] usb 1-1.4: new high-speed USB device number 3 using ehci-pci
[    1.592093] usb 2-1.1: new full-speed USB device number 3 using ehci-pci
[    1.656476] usb 1-1.4: New USB device found, idVendor=0408, idProduct=2fb1, bcdDevice= 9.01
[    1.656487] usb 1-1.4: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[    1.656493] usb 1-1.4: Product: Laptop_Integrated_Webcam_2HDM
[    1.656499] usb 1-1.4: Manufacturer: CN07CN2C786641CU0AFBA00
[    1.675463] usb 2-1.1: New USB device found, idVendor=046d, idProduct=c52b, bcdDevice=24.00
[    1.675470] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.675475] usb 2-1.1: Product: USB Receiver
[    1.675479] usb 2-1.1: Manufacturer: Logitech
[    1.749095] usb 2-1.5: new full-speed USB device number 4 using ehci-pci
[    1.829884] usb 2-1.5: New USB device found, idVendor=8087, idProduct=07dc, bcdDevice= 0.00
[    1.829892] usb 2-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.819049] logitech-djreceiver 0003:046D:C52B.0003: hiddev96,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:1d.0-1.1/input2
[    2.925989] input: Logitech Unifying Device. Wireless PID:4009 Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.2/0003:046D:C52B.0003/0003:046D:4009.0004/input/input7
[    2.926108] hid-generic 0003:046D:4009.0004: input,hidraw1: USB HID v1.11 Mouse [Logitech Unifying Device. Wireless PID:4009] on usb-0000:00:1d.0-1.1:1
[    2.953844] input: Logitech M315/M235 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.2/0003:046D:C52B.0003/0003:046D:4009.0004/input/input11
[    2.953954] logitech-hidpp-device 0003:046D:4009.0004: input,hidraw1: USB HID v1.11 Mouse [Logitech M315/M235] on usb-0000:00:1d.0-1.1:1
[    6.362901] Bluetooth: HCI device and connection manager initialized
[    6.362906] Bluetooth: HCI socket layer initialized
[    6.419201] usbcore: registered new interface driver btusb
[    6.461738] Bluetooth: hci0: read Intel version: 370710018001290c00
[    6.463678] bluetooth hci0: Direct firmware load for intel/ibt-hw-37.7.10-fw-1.80.1.29.c.bseq failed with error -2
[    6.463682] Bluetooth: hci0 failed to open Intel firmware file: intel/ibt-hw-37.7.10-fw-1.80.1.29.c.bseq(-2)
[    6.463977] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.7.bseq
[    6.475752] Bluetooth: hci0: Intel firmware patch completed
[    6.530870] input: Laptop_Integrated_Webcam_2HDM:  as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input19
[    6.530988] usbcore: registered new interface driver uvcvideo
[    6.530989] USB Video Class driver (1.1.1)
[ 5492.620292] usb 3-1: new high-speed USB device number 2 using xhci_hcd
[ 5502.929278] xhci_hcd 0000:04:00.0: xHCI host not responding to stop endpoint command.
[ 5502.981825] xhci_hcd 0000:04:00.0: Host halt failed, -110
[ 5502.981829] xhci_hcd 0000:04:00.0: xHCI host controller not responding, assume dead
[ 5502.981854] xhci_hcd 0000:04:00.0: HC died; cleaning up
[ 5502.981970] usb usb3-port1: couldn't allocate usb_device
[ 5502.981998] usb usb4-port1: couldn't allocate usb_device

Comment 13 Michael D 2018-11-15 05:09:14 UTC
I use Intel Powertop and experienced this issue everytime my mouse idled.
I set every device on the TB16 dock to be BAD.

However, after a few idles my mouse will stop working and my (Code) keyboard will blink when I try to type on it.

This is on Fedora 28 and 29 kernel 4.18.17-300.fc29.x86_64.

I believe this is an ACPI issue as I see both of these around when the failur occurs:


Nov 14 23:58:56 mopbook snapd[2271]: udevmon.go:184: udev monitor observed remove event for unknown device "/sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/0000:02:02.0/0000:39:00.0/usb4/>
Nov 14 23:58:56 mopbook kernel: pcieport 0000:02:00.0: Refused to change power state, currently in D3
Nov 14 23:58:56 mopbook kernel: pci_raw_set_power_state: 6 callbacks suppressed
Nov 14 23:58:56 mopbook kernel: xhci_hcd 0000:39:00.0: USB bus 3 deregistered
Nov 14 23:58:56 mopbook kernel: xhci_hcd 0000:39:00.0: Host not accessible, reset failed.
Nov 14 23:58:56 mopbook kernel: xhci_hcd 0000:39:00.0: Host halt failed, -19
Nov 14 23:58:56 mopbook kernel: usb usb3: USB disconnect, device number 1
Nov 14 23:58:56 mopbook kernel: xhci_hcd 0000:39:00.0: remove, state 4
Nov 14 23:58:56 mopbook kernel: xhci_hcd 0000:39:00.0: USB bus 4 deregistered
Nov 14 23:58:56 mopbook snapd[2271]: udevmon.go:184: udev monitor observed remove event for unknown device "/sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/0000:02:02.0/0000:39:00.0/usb4/>
Nov 14 23:58:56 mopbook NetworkManager[783]: <info>  [1542257936.1720] device (enp57s0u1u2): state change: unavailable -> unmanaged (reason 'removed', sys-iface-state: 'removed')
Nov 14 23:58:56 mopbook kernel: usb 3-1.7: USB disconnect, device number 5
Nov 14 23:58:56 mopbook kernel: r8152 4-1.2:1.0 enp57s0u1u2: Stop submitting intr, status -108
Nov 14 23:58:56 mopbook kernel: xhci_hcd 0000:39:00.0: Timeout while waiting for configure endpoint command
Nov 14 23:58:56 mopbook kernel: xhci_hcd 0000:39:00.0: xHCI host controller not responding, assume dead
Nov 14 23:58:56 mopbook gnome-shell[1519]: Could not release device (13,82): GDBus.Error:org.freedesktop.login1.DeviceNotTaken: Device not taken
Nov 14 23:58:56 mopbook gnome-shell[1519]: Could not release device (13,69): GDBus.Error:org.freedesktop.login1.DeviceNotTaken: Device not taken
Nov 14 23:58:56 mopbook kernel: usb 4-1.2: USB disconnect, device number 3
Nov 14 23:58:56 mopbook kernel: usb 4-1: USB disconnect, device number 2
Nov 14 23:58:56 mopbook kernel: usb usb4: USB disconnect, device number 1
Nov 14 23:58:56 mopbook kernel: xhci_hcd 0000:39:00.0: remove, state 1
Nov 14 23:58:56 mopbook gsd-media-keys[1810]: Unable to get default source
Nov 14 23:58:55 mopbook kernel: usb 3-1.6: USB disconnect, device number 4
Nov 14 23:58:55 mopbook kernel: usb 3-1.5: USB disconnect, device number 3
Nov 14 23:58:55 mopbook kernel: usb 3-1: USB disconnect, device number 2
Nov 14 23:58:53 mopbook gsd-color[1802]: no xrandr-DP-3 device found: Failed to find output xrandr-DP-3

Comment 14 Justin M. Forbes 2019-01-29 16:26:23 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There are a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 28 kernel bugs.

Fedora 28 has now been rebased to 4.20.5-100.fc28.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 29, and are still experiencing this issue, please change the version to Fedora 29.

If you experience different issues, please open a new bug report for those.

Comment 15 Fred Blaise 2019-02-03 17:32:53 UTC
Still valid on kernel 4.20.2 (I am on opensuse, but same exact behavior happens).

Comment 16 Arcadiy Ivanov 2019-02-05 15:55:16 UTC
Still valid on F29 4.20.6-200.

This is a Thunderbolt specific issue but not necessarily a Dell or TB16 issue. Looks indeed like a ACPI/PCI-E bug to me.

This is with Startech TB3DKM2DP:

Unsuccessful plugin (USB failed):

[34942.820631] ACPI BIOS Error (bug): Failure creating [\_GPE._E42.SPRT], AE_ALREADY_EXISTS (20181003/dswload2-316)
[34942.820651] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20181003/psobject-221)
[34942.820660] ACPI Error: Method parse/execution failed \_GPE._E42, AE_ALREADY_EXISTS (20181003/psparse-516)
[34942.820673] ACPI Error: Method parse/execution failed \_GPE._E42, AE_ALREADY_EXISTS (20181003/psparse-516)
[34942.820689] ACPI Error: AE_ALREADY_EXISTS, while evaluating GPE method [_E42] (20181003/evgpe-509)
[34942.928593] pci 0000:04:00.0: [8086:1576] type 01 class 0x060400
[34942.928666] pci 0000:04:00.0: enabling Extended Tags
[34942.928755] pci 0000:04:00.0: supports D1 D2
[34942.928757] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[34942.929146] pci 0000:05:00.0: [8086:1576] type 01 class 0x060400
[34942.929213] pci 0000:05:00.0: enabling Extended Tags
[34942.929313] pci 0000:05:00.0: supports D1 D2
[34942.929315] pci 0000:05:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[34942.929459] pci 0000:05:01.0: [8086:1576] type 01 class 0x060400
[34942.929523] pci 0000:05:01.0: enabling Extended Tags
[34942.929609] pci 0000:05:01.0: supports D1 D2
[34942.929611] pci 0000:05:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[34942.929740] pci 0000:05:02.0: [8086:1576] type 01 class 0x060400
[34942.929809] pci 0000:05:02.0: enabling Extended Tags
[34942.929907] pci 0000:05:02.0: supports D1 D2
[34942.929910] pci 0000:05:02.0: PME# supported from D0 D1 D2 D3hot D3cold
[34942.930098] pci 0000:04:00.0: PCI bridge to [bus 05-3c]
[34942.930124] pci 0000:04:00.0:   bridge window [mem 0xc4000000-0xda0fffff]
[34942.930132] pci 0000:04:00.0:   bridge window [mem 0x80000000-0xa1ffffff 64bit pref]
[34942.930243] pci 0000:06:00.0: [8086:1575] type 00 class 0x088000
[34942.930282] pci 0000:06:00.0: reg 0x10: [mem 0xda000000-0xda03ffff]
[34942.930298] pci 0000:06:00.0: reg 0x14: [mem 0xda040000-0xda040fff]
[34942.930368] pci 0000:06:00.0: enabling Extended Tags
[34942.930486] pci 0000:06:00.0: supports D1 D2
[34942.930489] pci 0000:06:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[34942.930746] pci 0000:05:00.0: PCI bridge to [bus 06]
[34942.930763] pci 0000:05:00.0:   bridge window [mem 0xda000000-0xda0fffff]
[34942.930889] pci 0000:07:00.0: [8086:15d3] type 01 class 0x060400
[34942.931019] pci 0000:07:00.0: enabling Extended Tags
[34942.931218] pci 0000:07:00.0: supports D1 D2
[34942.931222] pci 0000:07:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[34942.931331] pci 0000:07:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x4 link at 0000:05:01.0 (capable of 31.504 Gb/s with 8 GT/s x4 link)
[34942.934236] pci 0000:05:01.0: PCI bridge to [bus 07-3b]
[34942.934253] pci 0000:05:01.0:   bridge window [mem 0xc4000000-0xd9efffff]
[34942.934261] pci 0000:05:01.0:   bridge window [mem 0x80000000-0xa1ffffff 64bit pref]
[34942.934413] pci 0000:08:00.0: [8086:15d3] type 01 class 0x060400
[34942.934546] pci 0000:08:00.0: enabling Extended Tags
[34942.934725] pci 0000:08:00.0: supports D1 D2
[34942.934728] pci 0000:08:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[34942.934977] pci 0000:08:01.0: [8086:15d3] type 01 class 0x060400
[34942.935112] pci 0000:08:01.0: enabling Extended Tags
[34942.935319] pci 0000:08:01.0: supports D1 D2
[34942.935324] pci 0000:08:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[34942.935641] pci 0000:07:00.0: PCI bridge to [bus 08-3b]
[34942.935666] pci 0000:07:00.0:   bridge window [mem 0xc4000000-0xd9efffff]
[34942.935681] pci 0000:07:00.0:   bridge window [mem 0x80000000-0xa1ffffff 64bit pref]
[34942.935845] pci 0000:09:00.0: [1b21:1142] type 00 class 0x0c0330
[34942.935926] pci 0000:09:00.0: reg 0x10: [mem 0xc4000000-0xc4007fff 64bit]
[34942.936252] pci 0000:09:00.0: PME# supported from D3cold
[34942.939180] pci 0000:08:00.0: PCI bridge to [bus 09]
[34942.939208] pci 0000:08:00.0:   bridge window [mem 0xc4000000-0xc40fffff]
[34942.939391] pci 0000:0a:00.0: [8086:1533] type 00 class 0x020000
[34942.939469] pci 0000:0a:00.0: reg 0x10: [mem 0xc4100000-0xc41fffff]
[34942.939516] pci 0000:0a:00.0: reg 0x18: [io  0x0000-0x001f]
[34942.939540] pci 0000:0a:00.0: reg 0x1c: [mem 0xc4200000-0xc4203fff]
[34942.939608] pci 0000:0a:00.0: reg 0x30: [mem 0xc4300000-0xc43fffff pref]
[34942.939858] pci 0000:0a:00.0: PME# supported from D0 D3hot D3cold
[34942.943228] pci 0000:08:01.0: PCI bridge to [bus 0a]
[34942.943252] pci 0000:08:01.0:   bridge window [mem 0xc4100000-0xc44fffff]
[34942.943415] pci 0000:05:02.0: PCI bridge to [bus 3c]
[34942.943428] pci 0000:05:02.0:   bridge window [mem 0xd9f00000-0xd9ffffff]
[34942.943466] pci_bus 0000:05: Allocating resources
[34942.943617] pci 0000:04:00.0: BAR 13: assigned [io  0x2000-0x2fff]
[34942.943624] pci 0000:05:01.0: BAR 13: assigned [io  0x2000-0x2fff]
[34942.943629] pci 0000:05:00.0: PCI bridge to [bus 06]
[34942.943638] pci 0000:05:00.0:   bridge window [mem 0xda000000-0xda0fffff]
[34942.943651] pci 0000:07:00.0: BAR 13: assigned [io  0x2000-0x2fff]
[34942.943656] pci 0000:08:01.0: BAR 13: assigned [io  0x2000-0x2fff]
[34942.943660] pci 0000:08:00.0: PCI bridge to [bus 09]
[34942.943673] pci 0000:08:00.0:   bridge window [mem 0xc4000000-0xc40fffff]
[34942.943696] pci 0000:0a:00.0: BAR 2: assigned [io  0x2000-0x201f]
[34942.943709] pci 0000:08:01.0: PCI bridge to [bus 0a]
[34942.943715] pci 0000:08:01.0:   bridge window [io  0x2000-0x2fff]
[34942.943730] pci 0000:08:01.0:   bridge window [mem 0xc4100000-0xc44fffff]
[34942.943750] pci 0000:07:00.0: PCI bridge to [bus 08-3b]
[34942.943756] pci 0000:07:00.0:   bridge window [io  0x2000-0x2fff]
[34942.943768] pci 0000:07:00.0:   bridge window [mem 0xc4000000-0xd9efffff]
[34942.943777] pci 0000:07:00.0:   bridge window [mem 0x80000000-0xa1ffffff 64bit pref]
[34942.943791] pci 0000:05:01.0: PCI bridge to [bus 07-3b]
[34942.943796] pci 0000:05:01.0:   bridge window [io  0x2000-0x2fff]
[34942.943804] pci 0000:05:01.0:   bridge window [mem 0xc4000000-0xd9efffff]
[34942.943811] pci 0000:05:01.0:   bridge window [mem 0x80000000-0xa1ffffff 64bit pref]
[34942.943820] pci 0000:05:02.0: PCI bridge to [bus 3c]
[34942.943828] pci 0000:05:02.0:   bridge window [mem 0xd9f00000-0xd9ffffff]
[34942.943840] pci 0000:04:00.0: PCI bridge to [bus 05-3c]
[34942.943845] pci 0000:04:00.0:   bridge window [io  0x2000-0x2fff]
[34942.943853] pci 0000:04:00.0:   bridge window [mem 0xc4000000-0xda0fffff]
[34942.943859] pci 0000:04:00.0:   bridge window [mem 0x80000000-0xa1ffffff 64bit pref]
[34942.944046] pcieport 0000:04:00.0: enabling device (0006 -> 0007)
[34942.944530] pcieport 0000:05:01.0: enabling device (0006 -> 0007)
[34942.945065] pcieport 0000:07:00.0: enabling device (0006 -> 0007)
[34942.945748] pcieport 0000:08:01.0: enabling device (0006 -> 0007)
[34942.946062] pci 0000:09:00.0: enabling device (0000 -> 0002)
[34942.946684] xhci_hcd 0000:09:00.0: xHCI Host Controller
[34942.946779] xhci_hcd 0000:09:00.0: new USB bus registered, assigned bus number 3
[34942.948682] dca service started, version 1.12.1
[34942.976612] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[34942.976615] igb: Copyright (c) 2007-2014 Intel Corporation.
[34943.007469] xhci_hcd 0000:09:00.0: hcc params 0x0200e081 hci version 0x100 quirks 0x0000000010000410
[34943.007843] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.20
[34943.007845] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[34943.007846] usb usb3: Product: xHCI Host Controller
[34943.007848] usb usb3: Manufacturer: Linux 4.20.6-200.fc29.x86_64 xhci-hcd
[34943.007849] usb usb3: SerialNumber: 0000:09:00.0
[34943.007981] hub 3-0:1.0: USB hub found
[34943.008007] hub 3-0:1.0: 2 ports detected
[34943.008149] xhci_hcd 0000:09:00.0: xHCI Host Controller
[34943.008216] xhci_hcd 0000:09:00.0: new USB bus registered, assigned bus number 4
[34943.008220] xhci_hcd 0000:09:00.0: Host supports USB 3.0  SuperSpeed
[34943.008313] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[34943.008326] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.20
[34943.008328] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[34943.008329] usb usb4: Product: xHCI Host Controller
[34943.008331] usb usb4: Manufacturer: Linux 4.20.6-200.fc29.x86_64 xhci-hcd
[34943.008332] usb usb4: SerialNumber: 0000:09:00.0
[34943.008494] hub 4-0:1.0: USB hub found
[34943.008506] hub 4-0:1.0: 2 ports detected
[34943.008647] igb 0000:0a:00.0: enabling device (0000 -> 0002)
[34943.038664] pps pps0: new PPS source ptp1
[34943.038668] igb 0000:0a:00.0: added PHC on eth0
[34943.038683] igb 0000:0a:00.0: Intel(R) Gigabit Ethernet Network Connection
[34943.038685] igb 0000:0a:00.0: eth0: (PCIe:2.5Gb/s:Width x1) e8:ea:6a:2d:d1:13
[34943.038818] igb 0000:0a:00.0: eth0: PBA No: 000200-000
[34943.038821] igb 0000:0a:00.0: Using MSI-X interrupts. 4 rx queue(s), 4 tx queue(s)
[34943.395181] usb 3-1: new high-speed USB device number 2 using xhci_hcd
[34943.459239] xhci_hcd 0000:09:00.0: xHCI host controller not responding, assume dead
[34943.459250] xhci_hcd 0000:09:00.0: HC died; cleaning up
[34943.459255] xhci_hcd 0000:09:00.0: Timeout while waiting for setup device command
[34943.459260] usb 3-1: hub failed to enable device, error -62
[34943.459292] usb usb4-port1: couldn't allocate usb_device
[34943.459311] usb usb3-port1: couldn't allocate usb_device
[34943.801312] igb 0000:0a:00.0 enp10s0f0: renamed from eth0
[34943.828121] IPv6: ADDRCONF(NETDEV_UP): enp10s0f0: link is not ready
[34943.828319] igb 0000:0a:00.0 enp10s0f0: PCIe link lost
[34944.160131] IPv6: ADDRCONF(NETDEV_UP): enp10s0f0: link is not ready
[34946.943022] [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS.
[36411.415647] wlp2s0: AP has invalid WMM params (AIFSN=1 for ACI 2), will use 2
[36411.415651] wlp2s0: AP has invalid WMM params (AIFSN=1 for ACI 3), will use 2
[37498.764154] [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS.


Unplug:

[38883.729430] thunderbolt 0000:06:00.0: no switch exists at 1.1, ignoring
[38883.994012] igb 0000:0a:00.0: removed PHC on enp10s0f0
[38884.054916] xhci_hcd 0000:09:00.0: remove, state 1
[38884.054924] usb usb4: USB disconnect, device number 1
[38884.055126] xhci_hcd 0000:09:00.0: USB bus 4 deregistered
[38884.055239] xhci_hcd 0000:09:00.0: remove, state 1
[38884.055245] usb usb3: USB disconnect, device number 1
[38884.055420] xhci_hcd 0000:09:00.0: Host halt failed, -19
[38884.055423] xhci_hcd 0000:09:00.0: Host not accessible, reset failed.
[38884.055601] xhci_hcd 0000:09:00.0: USB bus 3 deregistered
[38884.055895] pci_bus 0000:09: busn_res: [bus 09] is released
[38884.055995] pci_bus 0000:0a: busn_res: [bus 0a] is released
[38884.056037] pci_bus 0000:08: busn_res: [bus 08-3b] is released
[38884.056273] pci_bus 0000:05: Allocating resources
[38886.303726] [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS.
[38894.521691] pci_bus 0000:05: Allocating resources
[38899.046277] pcieport 0000:05:02.0: Refused to change power state, currently in D3
[38899.047898] pcieport 0000:05:00.0: Refused to change power state, currently in D3
[38899.049464] pci_bus 0000:06: busn_res: [bus 06] is released
[38899.049547] pci_bus 0000:07: busn_res: [bus 07-3b] is released
[38899.049659] pci_bus 0000:3c: busn_res: [bus 3c] is released
[38899.049723] pci_bus 0000:05: busn_res: [bus 05-3c] is released

Plug back in (USB success):

[38909.805648] ACPI BIOS Error (bug): Failure creating [\_GPE._E42.SPRT], AE_ALREADY_EXISTS (20181003/dswload2-316)
[38909.805672] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20181003/psobject-221)
[38909.805683] ACPI Error: Method parse/execution failed \_GPE._E42, AE_ALREADY_EXISTS (20181003/psparse-516)
[38909.805699] ACPI Error: Method parse/execution failed \_GPE._E42, AE_ALREADY_EXISTS (20181003/psparse-516)
[38909.805722] ACPI Error: AE_ALREADY_EXISTS, while evaluating GPE method [_E42] (20181003/evgpe-509)
[38910.115799] pci 0000:04:00.0: [8086:1576] type 01 class 0x060400
[38910.115863] pci 0000:04:00.0: enabling Extended Tags
[38910.115950] pci 0000:04:00.0: supports D1 D2
[38910.115952] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[38910.116337] pci 0000:05:00.0: [8086:1576] type 01 class 0x060400
[38910.116406] pci 0000:05:00.0: enabling Extended Tags
[38910.116505] pci 0000:05:00.0: supports D1 D2
[38910.116507] pci 0000:05:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[38910.116649] pci 0000:05:01.0: [8086:1576] type 01 class 0x060400
[38910.116713] pci 0000:05:01.0: enabling Extended Tags
[38910.116798] pci 0000:05:01.0: supports D1 D2
[38910.116800] pci 0000:05:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[38910.116920] pci 0000:05:02.0: [8086:1576] type 01 class 0x060400
[38910.116984] pci 0000:05:02.0: enabling Extended Tags
[38910.117066] pci 0000:05:02.0: supports D1 D2
[38910.117068] pci 0000:05:02.0: PME# supported from D0 D1 D2 D3hot D3cold
[38910.117209] pci 0000:04:00.0: PCI bridge to [bus 05-3c]
[38910.117222] pci 0000:04:00.0:   bridge window [mem 0xc4000000-0xda0fffff]
[38910.117229] pci 0000:04:00.0:   bridge window [mem 0x80000000-0xa1ffffff 64bit pref]
[38910.117319] pci 0000:06:00.0: [8086:1575] type 00 class 0x088000
[38910.117372] pci 0000:06:00.0: reg 0x10: [mem 0xda000000-0xda03ffff]
[38910.117387] pci 0000:06:00.0: reg 0x14: [mem 0xda040000-0xda040fff]
[38910.117459] pci 0000:06:00.0: enabling Extended Tags
[38910.117571] pci 0000:06:00.0: supports D1 D2
[38910.117574] pci 0000:06:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[38910.117823] pci 0000:05:00.0: PCI bridge to [bus 06]
[38910.117835] pci 0000:05:00.0:   bridge window [mem 0xda000000-0xda0fffff]
[38910.117936] pci 0000:07:00.0: [8086:15d3] type 01 class 0x060400
[38910.118058] pci 0000:07:00.0: enabling Extended Tags
[38910.118227] pci 0000:07:00.0: supports D1 D2
[38910.118230] pci 0000:07:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[38910.118366] pci 0000:07:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x4 link at 0000:05:01.0 (capable of 31.504 Gb/s with 8 GT/s x4 link)
[38910.121353] pci 0000:05:01.0: PCI bridge to [bus 07-3b]
[38910.121370] pci 0000:05:01.0:   bridge window [mem 0xc4000000-0xd9efffff]
[38910.121379] pci 0000:05:01.0:   bridge window [mem 0x80000000-0xa1ffffff 64bit pref]
[38910.121519] pci 0000:08:00.0: [8086:15d3] type 01 class 0x060400
[38910.121652] pci 0000:08:00.0: enabling Extended Tags
[38910.121833] pci 0000:08:00.0: supports D1 D2
[38910.121835] pci 0000:08:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[38910.122054] pci 0000:08:01.0: [8086:15d3] type 01 class 0x060400
[38910.122185] pci 0000:08:01.0: enabling Extended Tags
[38910.122380] pci 0000:08:01.0: supports D1 D2
[38910.122384] pci 0000:08:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[38910.122702] pci 0000:07:00.0: PCI bridge to [bus 08-3b]
[38910.122726] pci 0000:07:00.0:   bridge window [mem 0xc4000000-0xd9efffff]
[38910.122741] pci 0000:07:00.0:   bridge window [mem 0x80000000-0xa1ffffff 64bit pref]
[38910.122944] pci 0000:09:00.0: [1b21:1142] type 00 class 0x0c0330
[38910.123031] pci 0000:09:00.0: reg 0x10: [mem 0xc4000000-0xc4007fff 64bit]
[38910.123390] pci 0000:09:00.0: PME# supported from D3cold
[38910.126384] pci 0000:08:00.0: PCI bridge to [bus 09]
[38910.126417] pci 0000:08:00.0:   bridge window [mem 0xc4000000-0xc40fffff]
[38910.126650] pci 0000:0a:00.0: [8086:1533] type 00 class 0x020000
[38910.126741] pci 0000:0a:00.0: reg 0x10: [mem 0xc4100000-0xc41fffff]
[38910.126792] pci 0000:0a:00.0: reg 0x18: [io  0x0000-0x001f]
[38910.126819] pci 0000:0a:00.0: reg 0x1c: [mem 0xc4200000-0xc4203fff]
[38910.126891] pci 0000:0a:00.0: reg 0x30: [mem 0xc4300000-0xc43fffff pref]
[38910.127155] pci 0000:0a:00.0: PME# supported from D0 D3hot D3cold
[38910.130417] pci 0000:08:01.0: PCI bridge to [bus 0a]
[38910.130445] pci 0000:08:01.0:   bridge window [mem 0xc4100000-0xc44fffff]
[38910.130653] pci 0000:05:02.0: PCI bridge to [bus 3c]
[38910.130669] pci 0000:05:02.0:   bridge window [mem 0xd9f00000-0xd9ffffff]
[38910.130712] pci_bus 0000:05: Allocating resources
[38910.130874] pci 0000:04:00.0: BAR 13: assigned [io  0x2000-0x2fff]
[38910.130880] pci 0000:05:01.0: BAR 13: assigned [io  0x2000-0x2fff]
[38910.130886] pci 0000:05:00.0: PCI bridge to [bus 06]
[38910.130897] pci 0000:05:00.0:   bridge window [mem 0xda000000-0xda0fffff]
[38910.130913] pci 0000:07:00.0: BAR 13: assigned [io  0x2000-0x2fff]
[38910.130919] pci 0000:08:01.0: BAR 13: assigned [io  0x2000-0x2fff]
[38910.130924] pci 0000:08:00.0: PCI bridge to [bus 09]
[38910.130938] pci 0000:08:00.0:   bridge window [mem 0xc4000000-0xc40fffff]
[38910.130962] pci 0000:0a:00.0: BAR 2: assigned [io  0x2000-0x201f]
[38910.130976] pci 0000:08:01.0: PCI bridge to [bus 0a]
[38910.130984] pci 0000:08:01.0:   bridge window [io  0x2000-0x2fff]
[38910.130997] pci 0000:08:01.0:   bridge window [mem 0xc4100000-0xc44fffff]
[38910.131021] pci 0000:07:00.0: PCI bridge to [bus 08-3b]
[38910.131030] pci 0000:07:00.0:   bridge window [io  0x2000-0x2fff]
[38910.131046] pci 0000:07:00.0:   bridge window [mem 0xc4000000-0xd9efffff]
[38910.131059] pci 0000:07:00.0:   bridge window [mem 0x80000000-0xa1ffffff 64bit pref]
[38910.131078] pci 0000:05:01.0: PCI bridge to [bus 07-3b]
[38910.131087] pci 0000:05:01.0:   bridge window [io  0x2000-0x2fff]
[38910.131099] pci 0000:05:01.0:   bridge window [mem 0xc4000000-0xd9efffff]
[38910.131110] pci 0000:05:01.0:   bridge window [mem 0x80000000-0xa1ffffff 64bit pref]
[38910.131125] pci 0000:05:02.0: PCI bridge to [bus 3c]
[38910.131138] pci 0000:05:02.0:   bridge window [mem 0xd9f00000-0xd9ffffff]
[38910.131155] pci 0000:04:00.0: PCI bridge to [bus 05-3c]
[38910.131164] pci 0000:04:00.0:   bridge window [io  0x2000-0x2fff]
[38910.131176] pci 0000:04:00.0:   bridge window [mem 0xc4000000-0xda0fffff]
[38910.131186] pci 0000:04:00.0:   bridge window [mem 0x80000000-0xa1ffffff 64bit pref]
[38910.131478] pcieport 0000:04:00.0: enabling device (0006 -> 0007)
[38910.132164] pcieport 0000:05:01.0: enabling device (0006 -> 0007)
[38910.789450] pcieport 0000:07:00.0: enabling device (0006 -> 0007)
[38910.789861] pcieport 0000:08:01.0: enabling device (0006 -> 0007)
[38910.790037] pci 0000:09:00.0: enabling device (0000 -> 0002)
[38910.790233] xhci_hcd 0000:09:00.0: xHCI Host Controller
[38910.790283] xhci_hcd 0000:09:00.0: new USB bus registered, assigned bus number 3
[38910.850971] xhci_hcd 0000:09:00.0: hcc params 0x0200e081 hci version 0x100 quirks 0x0000000010000410
[38910.851432] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.20
[38910.851434] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[38910.851436] usb usb3: Product: xHCI Host Controller
[38910.851437] usb usb3: Manufacturer: Linux 4.20.6-200.fc29.x86_64 xhci-hcd
[38910.851439] usb usb3: SerialNumber: 0000:09:00.0
[38910.851644] hub 3-0:1.0: USB hub found
[38910.851655] hub 3-0:1.0: 2 ports detected
[38910.851783] xhci_hcd 0000:09:00.0: xHCI Host Controller
[38910.851873] xhci_hcd 0000:09:00.0: new USB bus registered, assigned bus number 4
[38910.851875] xhci_hcd 0000:09:00.0: Host supports USB 3.0  SuperSpeed
[38910.851931] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[38910.851944] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.20
[38910.851945] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[38910.851946] usb usb4: Product: xHCI Host Controller
[38910.851948] usb usb4: Manufacturer: Linux 4.20.6-200.fc29.x86_64 xhci-hcd
[38910.851949] usb usb4: SerialNumber: 0000:09:00.0
[38910.852041] hub 4-0:1.0: USB hub found
[38910.852051] hub 4-0:1.0: 2 ports detected
[38910.852217] igb 0000:0a:00.0: enabling device (0000 -> 0002)
[38910.882013] pps pps0: new PPS source ptp1
[38910.882018] igb 0000:0a:00.0: added PHC on eth0
[38910.882020] igb 0000:0a:00.0: Intel(R) Gigabit Ethernet Network Connection
[38910.882023] igb 0000:0a:00.0: eth0: (PCIe:2.5Gb/s:Width x1) e8:ea:6a:2d:d1:13
[38910.882134] igb 0000:0a:00.0: eth0: PBA No: 000200-000
[38910.882136] igb 0000:0a:00.0: Using MSI-X interrupts. 4 rx queue(s), 4 tx queue(s)
[38910.886092] igb 0000:0a:00.0 enp10s0: renamed from eth0
[38910.901686] IPv6: ADDRCONF(NETDEV_UP): enp10s0: link is not ready
[38910.927841] IPv6: ADDRCONF(NETDEV_UP): enp10s0: link is not ready
[38911.165175] thunderbolt 0-1: new device found, vendor=0x6f device=0xc
[38911.165178] thunderbolt 0-1: StarTech.com TB3DKM2DP
[38911.235541] usb 3-1: new high-speed USB device number 2 using xhci_hcd
[38911.440389] usb 3-1: New USB device found, idVendor=0bda, idProduct=5411, bcdDevice= 1.21
[38911.440401] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[38911.440408] usb 3-1: Product: 4-Port USB 2.0 Hub
[38911.440413] usb 3-1: Manufacturer: Generic
[38911.444586] hub 3-1:1.0: USB hub found
[38911.446735] hub 3-1:1.0: 4 ports detected
[38911.546094] usb 4-1: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[38911.576562] usb 4-1: New USB device found, idVendor=0bda, idProduct=0411, bcdDevice= 1.21
[38911.576572] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[38911.576579] usb 4-1: Product: 4-Port USB 3.0 Hub
[38911.576585] usb 4-1: Manufacturer: Generic
[38911.584636] hub 4-1:1.0: USB hub found
[38911.587274] hub 4-1:1.0: 4 ports detected
[38911.735267] usb 3-1.4: new full-speed USB device number 3 using xhci_hcd
[38911.851789] usb 3-1.4: New USB device found, idVendor=062a, idProduct=5918, bcdDevice= 1.02
[38911.851799] usb 3-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[38911.851805] usb 3-1.4: Product: 2.4G Keyboard Mouse
[38911.851810] usb 3-1.4: Manufacturer: MOSART Semi.
[38911.859878] input: MOSART Semi. 2.4G Keyboard Mouse as /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:01.0/0000:07:00.0/0000:08:00.0/0000:09:00.0/usb3/3-1/3-1.4/3-1.4:1.0/0003:062A:5918.0003/input/input26
[38911.911615] hid-generic 0003:062A:5918.0003: input,hidraw0: USB HID v1.10 Keyboard [MOSART Semi. 2.4G Keyboard Mouse] on usb-0000:09:00.0-1.4/input0
[38911.913866] input: MOSART Semi. 2.4G Keyboard Mouse as /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:01.0/0000:07:00.0/0000:08:00.0/0000:09:00.0/usb3/3-1/3-1.4/3-1.4:1.1/0003:062A:5918.0004/input/input27
[38911.914217] input: MOSART Semi. 2.4G Keyboard Mouse Consumer Control as /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:01.0/0000:07:00.0/0000:08:00.0/0000:09:00.0/usb3/3-1/3-1.4/3-1.4:1.1/0003:062A:5918.0004/input/input28
[38911.965577] input: MOSART Semi. 2.4G Keyboard Mouse System Control as /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:01.0/0000:07:00.0/0000:08:00.0/0000:09:00.0/usb3/3-1/3-1.4/3-1.4:1.1/0003:062A:5918.0004/input/input29
[38911.965723] input: MOSART Semi. 2.4G Keyboard Mouse as /devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:01.0/0000:07:00.0/0000:08:00.0/0000:09:00.0/usb3/3-1/3-1.4/3-1.4:1.1/0003:062A:5918.0004/input/input30
[38911.965947] hid-generic 0003:062A:5918.0004: input,hiddev96,hidraw1: USB HID v1.10 Mouse [MOSART Semi. 2.4G Keyboard Mouse] on usb-0000:09:00.0-1.4/input1
[38914.455494] [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS.

Looks like something is racing inside USB initializer.

Comment 17 Tore H. Larsen 2019-03-02 12:46:57 UTC
Dell 5530 fw 1.8.1, TB16 fw 1.0.2.   Kernel 4.20.13-200.fc29. Dell HID Keyboard not working. Registeres and works for a few seconds, possibly minutes.

No matter what USB port kbd is in, it fails.   Notice that Dell TB16 fw 1.0.2  MST2 firmware fails to update.   Hardware?

Ref attached picture.

# lsusb -t
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/7p, 5000M
        |__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/5p, 5000M
        |__ Port 2: Dev 4, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/7p, 480M
        |__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/5p, 480M
            |__ Port 2: Dev 10, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 5: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 480M
            |__ Port 1: Dev 6, If 0, Class=Hub, Driver=hub/4p, 480M
                |__ Port 4: Dev 8, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
                |__ Port 4: Dev 8, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 4: Dev 4, If 0, Class=Vendor Specific Class, Driver=pl2303, 12M
        |__ Port 5: Dev 5, If 0, Class=Audio, Driver=snd-usb-audio, 480M
        |__ Port 5: Dev 5, If 1, Class=Audio, Driver=snd-usb-audio, 480M
        |__ Port 5: Dev 5, If 2, Class=Audio, Driver=snd-usb-audio, 480M
        |__ Port 5: Dev 5, If 3, Class=Audio, Driver=snd-usb-audio, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 10000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
    |__ Port 4: Dev 2, If 1, Class=Wireless, Driver=btusb, 12M
    |__ Port 4: Dev 2, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 12: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 12: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M

From usbview
USB 2.0 Hub [MTT] -> Dell Wired Multimedia Keyboard
Manufacturer: Dell
Speed: 1.5Mb/s (low)
USB Version:  1.10
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 8
Number of Configurations: 1
Vendor Id: 413c
Product Id: 2110
Revision Number:  0.06

Config Number: 1
	Number of Interfaces: 2
	Attributes: a0
	MaxPower Needed:  98mA

	Interface Number: 0
		Name: usbhid
		Alternate Number: 0
		Class: 03(HID  ) 
		Sub Class: 01
		Protocol: 01
		Number of Endpoints: 1

			Endpoint Address: 81
			Direction: in
			Attribute: 3
			Type: Int.
			Max Packet Size: 8
			Interval: 10ms

	Interface Number: 1
		Name: usbhid
		Alternate Number: 0
		Class: 03(HID  ) 
		Sub Class: 01
		Protocol: 02
		Number of Endpoints: 1

			Endpoint Address: 82
			Direction: in
			Attribute: 3
			Type: Int.
			Max Packet Size: 8
			Interval: 10ms

Comment 18 Tore H. Larsen 2019-03-02 12:49:20 UTC
Created attachment 1540034 [details]
TB16 1.0.2 firmware MST2 update version not changing

Comment 19 Tore H. Larsen 2019-03-02 13:09:39 UTC
Updated Realtek driver r8152 to 2.11 using https://aur.archlinux.org/packages/r8152-dkms/  seem to have made config more stable.

Comment 20 Tore H. Larsen 2019-03-02 17:06:53 UTC
Everything worked fine until connecting my phone for chargeing.

<snip>
[    3.595920] input: Dell Dell Wired Multimedia Keyboard Mouse as /devices/pci0000:00/0000:00:1b.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000:06:04.0/0000:08:00.0/0000:09:01.0/0000:0a:00.0/usb3/3-1/3-1.1/3-1.1.1/3-1.1.1.4/3-1.1.1.4:1.1/0003:413C:2110.0004/input/input11
[    3.596146] input: Dell Dell Wired Multimedia Keyboard System Control as /devices/pci0000:00/0000:00:1b.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000:06:04.0/0000:08:00.0/0000:09:01.0/0000:0a:00.0/usb3/3-1/3-1.1/3-1.1.1/3-1.1.1.4/3-1.1.1.4:1.1/0003:413C:2110.0004/input/input12
[    3.648139] input: Dell Dell Wired Multimedia Keyboard Consumer Control as /devices/pci0000:00/0000:00:1b.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/0000:06:04.0/0000:08:00.0/0000:09:01.0/0000:0a:00.0/usb3/3-1/3-1.1/3-1.1.1/3-1.1.1.4/3-1.1.1.4:1.1/0003:413C:2110.0004/input/input13
[    3.648347] hid-generic 0003:413C:2110.0004: input,hiddev97,hidraw3: USB HID v1.10 Mouse [Dell Dell Wired Multimedia Keyboard] on usb-0000:0a:00.0-1.1.1.4/input1
[    8.748988] input: Integrated_Webcam_HD: Integrate as /devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0/input/input37
[    8.749087] usbcore: registered new interface driver uvcvideo
[    8.751902] usbcore: registered new interface driver btusb
[    9.068277] usb 4-1.2: reset SuperSpeed Gen 1 USB device number 4 using xhci_hcd
[    9.202721] usbcore: registered new interface driver pl2303
[    9.202733] usbserial: USB Serial support registered for pl2303
[    9.205002] usb 3-1.4: pl2303 converter now attached to ttyUSB0
[   10.238154] usbcore: registered new interface driver snd-usb-audio
[14681.602650] usb 3-1.1.4: new high-speed USB device number 10 using xhci_hcd
[14682.305680] usb 3-1.1.4: device descriptor read/64, error -71
[14682.504420] usb 3-1.1.4: New USB device found, idVendor=0e8d, idProduct=2008, bcdDevice=ff.ff
[14682.504426] usb 3-1.1.4: New USB device strings: Mfr=3, Product=4, SerialNumber=5
[14682.504430] usb 3-1.1.4: Product: Z
[14682.504434] usb 3-1.1.4: Manufacturer: MediaTek
[14682.504438] usb 3-1.1.4: SerialNumber: 0123456789ABCDEF
[14683.691045] usb 3-1.1.4: reset high-speed USB device number 10 using xhci_hcd
[14715.005853] Modules linked in: squashfs zstd_decompress xxhash loop rfcomm tun ipt_MASQUERADE nf_conntrack_netlink xt_addrtype br_netfilter bridge stp llc ccm nf_conntrack_netbios_ns nf_conntrack_broadcast devlink xt_CT ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ebtable_nat ip6table_nat nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat_ipv4 nf_nat iptable_mangle iptable_raw iptable_security nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set nfnetlink overlay ebtable_filter ebtables ip6table_filter ip6_tables vmnet(OE) ppdev parport_pc parport fuse vmw_vsock_vmci_transport vsock cmac bnep vmw_vmci vboxdrv(OE) vmmon(OE) sunrpc vfat fat dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua snd_usb_audio snd_usbmidi_lib pl2303 snd_rawmidi btusb btrtl btbcm btintel uvcvideo bluetooth videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev media ecdh_generic nvidia_drm(POE) nvidia_modeset(POE) nvidia_uvm(OE) snd_hda_codec_hdmi nvidia(POE)
[14726.433793] usb 3-1.4: Failed to suspend device, error -110
[14726.434309] usb 3-1: USB disconnect, device number 2
[14726.434311] usb 3-1.1: USB disconnect, device number 3
[14726.434765] usb 4-1: USB disconnect, device number 2
[14726.434768] usb 4-1.1: USB disconnect, device number 3
[14726.435119] usb 4-1.2: USB disconnect, device number 4
[14726.637539] usb 3-1.1.4: device not accepting address 10, error -22
[14726.637584] usb 3-1.1.1: USB disconnect, device number 6
[14726.637586] usb 3-1.1.1.4: USB disconnect, device number 9
[14726.744140] usb 3-1.1.2: USB disconnect, device number 7
[14726.763891] usb 3-1.1.4: USB disconnect, device number 10
[14726.764040] usb 3-1.1.5: USB disconnect, device number 8
[14726.764537] usb 3-1.4: USB disconnect, device number 4
[14726.764817] usb 3-1.5: USB disconnect, device number 5

and usbmon

ffff88cb02b7c800 1616786097 C Zo:3:005:7 0:8:15360:0 6 0:0:288 0:288:288 0:576:288 0:864:288 0:1152:288 0:1440:288 1728 >
ffff88cb02b7c800 1616786131 S Zo:3:005:7 -115:8:15360 6 -18:0:288 -18:288:288 -18:576:288 -18:864:288 -18:1152:288 -18:1440:288 1728 = 28aeffb1 adffd6a5 ffd7a3ff b49affe0 97ffe18c ffc989ff b77dff11 7bff9c70
ffff88cb02b7ea00 1616792054 C Zo:3:005:7 0:8:15408:0 6 0:0:288 0:288:288 0:576:288 0:864:288 0:1152:288 0:1440:288 1728 >
ffff88cb02b7ea00 1616792089 S Zo:3:005:7 -115:8:15408 6 -18:0:288 -18:288:288 -18:576:288 -18:864:288 -18:1152:288 -18:1440:288 1728 = 75cbffd0 cbffe7c4 ff54c5ff afbfff9d c0ff0fbd ff32beff 24bdff2e befffdbe

<inserted phone here>

ffff88cbda277e40 1653975743 C Co:3:002:0 -2 0
ffff88ca57e4e9c0 1653975754 S Ci:3:004:0 s 80 00 0000 0000 0002 2 <
ffff88ca57e4e9c0 1653975755 E Ci:3:004:0 -22 0
ffff88cc121560c0 1653975760 C Ii:3:002:1 -108:2048 0
ffff88cc11cc1cc0 1653975762 C Ii:3:003:1 -108:2048 0
ffff88cbf4081240 1653975783 C Ii:3:005:5 -108:128 0
ffff88cb02b7f400 1653975784 C Zo:3:005:7 -108:8:15456:0 6 -18:0:0 -18:288:0 -18:576:0 -18:864:0 -18:1152:0 -18:1440:0 0
ffff88cb02b7c800 1653975786 C Zo:3:005:7 -108:8:15504:0 6 -18:0:0 -18:288:0 -18:576:0 -18:864:0 -18:1152:0 -18:1440:0 0
ffff88cb02b7ea00 1653975786 C Zo:3:005:7 -108:8:15552:0 6 -18:0:0 -18:288:0 -18:576:0 -18:864:0 -18:1152:0 -18:1440:0 0
ffff88cc0fdb5f00 1653975788 C Ii:3:006:1 -108:2048 0
ffff88cc0d044b40 1653975790 C Ii:3:007:1 -108:8 0
ffff88cc0d7b2000 1653975794 C Ii:3:009:1 -108:8 0
ffff88cc0d7c10c0 1653975796 C Ii:3:009:2 -108:8 0
ffff88cc12103000 1654307580 C Ii:3:001:1 -2:2048 0

and xhci_hcd teardown occurs

Comment 21 Tore H. Larsen 2019-03-02 17:38:29 UTC
Some observations. 

# systemctl stop adb
# systemctl disable adb

is smart. It definitly triggers it faster.

Tested with 4.18.18-300.fc29 kernel.  Hotplug of phone, and

[  305.131588] CPU0: Package temperature/speed normal
[  305.270310] hub 4-1:1.0: hub_ext_port_status failed (err = -110)
[  307.318573] usb 4-1.1: Port disable: can't disable remote wake
[  307.637251] usb 3-1.4: Failed to suspend device, error -110
[  308.341361] usb 4-1-port1: cannot disable (err = -110)
[  309.173378] ------------[ cut here ]------------
[  309.173395] NETDEV WATCHDOG: ens4u1u2 (r8152): transmit queue 0 timed out
[  309.173427] WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:461 dev_watchdog+0x1f3/0x200
[  309.173428] Modules linked in: squashfs zstd_decompress xxhash loop rfcomm tun ipt_MASQUERADE nf_conntrack_netlink xt_addrtype br_netfilter bridge stp llc ccm devlink nf_conntrack_netbios_ns nf_conntrack_broadcast xt_CT ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ebtable_nat ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat iptable_mangle iptable_raw iptable_security nf_conntrack ip_set nfnetlink overlay ebtable_filter ebtables ip6table_filter ip6_tables vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vmnet(OE) ppdev cmac parport_pc parport fuse vmw_vsock_vmci_transport vsock vboxdrv(OE) vmw_vmci bnep vmmon(OE) sunrpc vfat fat dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua
[  309.173496]  snd_usb_audio snd_usbmidi_lib snd_rawmidi pl2303 cdc_ether r8152(OE) usbnet mii btusb uvcvideo btrtl btbcm videobuf2_vmalloc btintel videobuf2_memops videobuf2_v4l2 bluetooth videobuf2_common videodev media ecdh_generic nvidia_drm(POE) nvidia_modeset(POE) nvidia_uvm(OE) snd_hda_codec_hdmi nvidia(POE) wacom hid_multitouch arc4 dell_rbtn snd_hda_codec_realtek iTCO_wdt snd_hda_codec_generic iTCO_vendor_support mei_wdt intel_rapl iwlmvm x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_intel dell_laptop mac80211 snd_hda_codec dell_smm_hwmon kvm snd_hda_core irqbypass snd_hwdep crct10dif_pclmul snd_seq crc32_pclmul snd_seq_device ghash_clmulni_intel snd_pcm intel_cstate intel_uncore iwlwifi intel_rapl_perf dell_wmi dell_smbios dcdbas cfg80211 snd_timer rtsx_pci_ms wmi_bmof
[  309.173558]  dell_wmi_descriptor joydev intel_wmi_thunderbolt memstick thunderbolt snd ucsi_acpi i2c_i801 soundcore typec_ucsi rfkill ipmi_devintf ipmi_msghandler typec idma64 int3403_thermal mei_me dell_smo8800 mei processor_thermal_device intel_lpss_pci intel_hid int340x_thermal_zone intel_lpss pcc_cpufreq intel_soc_dts_iosf intel_pch_thermal int3400_thermal sparse_keymap acpi_pad acpi_thermal_rel acpi_cpufreq binfmt_misc xfs libcrc32c i915 i2c_algo_bit rtsx_pci_sdmmc drm_kms_helper mmc_core nvme mxm_wmi drm crc32c_intel nvme_core rtsx_pci serio_raw i2c_hid video wmi
[  309.173608] CPU: 1 PID: 0 Comm: swapper/1 Tainted: P           OE     4.18.18-300.fc29.x86_64 #1
[  309.173609] Hardware name: Dell Inc. Precision 5530/0GN6M8, BIOS 1.8.1 02/01/2019
[  309.173614] RIP: 0010:dev_watchdog+0x1f3/0x200
[  309.173615] Code: 00 48 63 4d e8 eb 93 4c 89 e7 c6 05 a5 47 b5 00 01 e8 b1 e4 fc ff 89 d9 4c 89 e6 48 c7 c7 08 e0 17 95 48 89 c2 e8 b7 73 8c ff <0f> 0b eb c0 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 41 57 41 56 
[  309.173670] RSP: 0018:ffff8a069bc43e98 EFLAGS: 00010282
[  309.173673] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000000000083f
[  309.173674] RDX: 0000000000000000 RSI: 00000000000000f6 RDI: 000000000000083f
[  309.173676] RBP: ffff8a0682dd8478 R08: 0000000000000050 R09: 0000000000000003
[  309.173678] R10: 0000000000000000 R11: 0000000000000001 R12: ffff8a0682dd8000
[  309.173679] R13: 0000000000000001 R14: ffff8a069bc43ee8 R15: 0000000000000000
[  309.173682] FS:  0000000000000000(0000) GS:ffff8a069bc40000(0000) knlGS:0000000000000000
[  309.173684] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  309.173686] CR2: 0000278cca03b000 CR3: 00000006a620a001 CR4: 00000000003606e0
[  309.173688] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  309.173690] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  309.173691] Call Trace:
[  309.173694]  <IRQ>
[  309.173702]  ? pfifo_fast_dequeue+0x160/0x160
[  309.173707]  call_timer_fn+0x2b/0x130
[  309.173711]  run_timer_softirq+0x3ad/0x3e0
[  309.173716]  ? tick_sched_timer+0x37/0x70
[  309.173719]  ? __hrtimer_run_queues+0x110/0x280
[  309.173728]  __do_softirq+0xe3/0x2eb
[  309.173734]  irq_exit+0x100/0x110
[  309.173739]  smp_apic_timer_interrupt+0x74/0x140
[  309.173743]  apic_timer_interrupt+0xf/0x20
[  309.173745]  </IRQ>
[  309.173750] RIP: 0010:cpuidle_enter_state+0xb7/0x2a0
[  309.173751] Code: e8 ae 40 98 ff 80 7c 24 03 00 74 17 9c 58 0f 1f 44 00 00 f6 c4 02 0f 85 d7 01 00 00 31 ff e8 40 e5 9d ff fb 66 0f 1f 44 00 00 <48> b8 ff ff ff ff f3 01 00 00 4c 29 f3 ba ff ff ff 7f 48 39 c3 7f 
[  309.173807] RSP: 0018:ffff9e928320be98 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
[  309.173810] RAX: ffff8a069bc60e80 RBX: 00000047fc2b0317 RCX: 000000000000001f
[  309.173811] RDX: 00000047fc2b0317 RSI: 000000002c13bf1e RDI: 0000000000000000
[  309.173813] RBP: 0000000000000008 R08: 0000000000000002 R09: 0000000000020700
[  309.173815] R10: 000000db670f3035 R11: ffff8a069bc5fce8 R12: ffff8a069bc6b708
[  309.173816] R13: ffffffff952d54b8 R14: 00000047fc09c42a R15: 0000000000000000
[  309.173822]  ? cpuidle_enter_state+0x92/0x2a0
[  309.173828]  do_idle+0x226/0x260
[  309.173832]  cpu_startup_entry+0x6f/0x80
[  309.173837]  start_secondary+0x1a7/0x200
[  309.173842]  secondary_startup_64+0xa5/0xb0
[  309.173845] ---[ end trace f8302e9f5430c10a ]---
[  309.173854] r8152 4-1.2:1.0 ens4u1u2: Tx timeout
[  309.366372] usb 4-1.1: USB disconnect, device number 3
[  309.667820] usb 4-1.1: new SuperSpeed Gen 1 USB device number 5 using xhci_hcd
[  309.695540] usb 4-1.1: New USB device found, idVendor=0424, idProduct=5734, bcdDevice= 1.30
[  309.695546] usb 4-1.1: New USB device strings: Mfr=2, Product=3, SerialNumber=0
[  309.695549] usb 4-1.1: Product: USB5734
[  309.695552] usb 4-1.1: Manufacturer: Microchip Tech
[  309.700393] hub 4-1.1:1.0: USB hub found
[  309.700788] hub 4-1.1:1.0: 5 ports detected
[  310.263567] xhci_hcd 0000:0a:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 0 comp_code 1
[  310.263570] xhci_hcd 0000:0a:00.0: Looking for event-dma 0000000851c11360 trb-start 0000000851c11370 trb-end 0000000851c11390 seg-start 0000000851c11000 seg-end 0000000851c11ff0
[  313.552939] xhci_hcd 0000:0a:00.0: ERROR unknown event type 15
[  313.553413] xhci_hcd 0000:0a:00.0: ERROR mismatched command completion event
[  314.293279] r8152 4-1.2:1.0 ens4u1u2: Tx timeout
[  316.341161] xhci_hcd 0000:0a:00.0: xHCI host not responding to stop endpoint command.
[  316.341215] xhci_hcd 0000:0a:00.0: xHCI host controller not responding, assume dead
[  316.341269] usb 4-1.1: Failed to suspend device, error -110
[  316.341288] usb 3-1.5: Failed to suspend device, error -22
[  316.341289] xhci_hcd 0000:0a:00.0: HC died; cleaning up
[  316.341361] usb 3-1: USB disconnect, device number 2
[  316.341365] usb 3-1.1: USB disconnect, device number 3
[  316.341369] usb 3-1.1.1: USB disconnect, device number 6
[  316.341373] usb 3-1.1.1.4: USB disconnect, device number 9
[  316.354176] usb 4-1: USB disconnect, device number 2
[  316.354180] usb 4-1.1: USB disconnect, device number 5
[  316.354653] usb 4-1.2: USB disconnect, device number 4
[  316.459651] usb 3-1.1.2: USB disconnect, device number 7
[  316.476512] usb 3-1.1.4: USB disconnect, device number 11
[  316.476906] usb 3-1.1.5: USB disconnect, device number 8
[  316.478064] usb 3-1.4: USB disconnect, device number 4
[  316.478235] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[  316.478253] pl2303 3-1.4:1.0: device disconnected
[  316.478397] usb 3-1.5: USB disconnect, device number 5
[  316.573165] userif-3: sent link down event.
[  316.573167] userif-3: sent link up event.

Comment 22 Tore H. Larsen 2019-03-02 17:50:59 UTC
Kernel 4.20.13-200.fc29,  hotplugging phone

[  201.309765] usb 3-1.1.4: new high-speed USB device number 10 using xhci_hcd
[  201.399904] usb 3-1.1.4: New USB device found, idVendor=0e8d, idProduct=2008, bcdDevice=ff.ff
[  201.399907] usb 3-1.1.4: New USB device strings: Mfr=3, Product=4, SerialNumber=5
[  201.399909] usb 3-1.1.4: Product: Z
[  201.399911] usb 3-1.1.4: Manufacturer: MediaTek
[  201.399913] usb 3-1.1.4: SerialNumber: 0123456789ABCDEF
[  215.730900] usb 3-1.1.4: USB disconnect, device number 10
[  215.931098] usb 3-1.1.4: new high-speed USB device number 11 using xhci_hcd
[  216.020843] usb 3-1.1.4: New USB device found, idVendor=0e8d, idProduct=2008, bcdDevice=ff.ff
[  216.020846] usb 3-1.1.4: New USB device strings: Mfr=3, Product=4, SerialNumber=5
[  216.020847] usb 3-1.1.4: Product: Z
[  216.020849] usb 3-1.1.4: Manufacturer: MediaTek
[  216.020850] usb 3-1.1.4: SerialNumber: 0123456789ABCDEF
[  221.619832] usb 3-1.1.4: USB disconnect, device number 11
[  221.844647] usb 3-1.1.4: new high-speed USB device number 12 using xhci_hcd
[  221.933874] usb 3-1.1.4: New USB device found, idVendor=0e8d, idProduct=2008, bcdDevice=ff.ff
[  221.933877] usb 3-1.1.4: New USB device strings: Mfr=3, Product=4, SerialNumber=5
[  221.933878] usb 3-1.1.4: Product: Z
[  221.933880] usb 3-1.1.4: Manufacturer: MediaTek
[  221.933881] usb 3-1.1.4: SerialNumber: 0123456789ABCDEF
[  222.387915] usb 3-1.1.4: USB disconnect, device number 12
[  222.573644] usb 3-1.1.4: new high-speed USB device number 13 using xhci_hcd
[  234.432665] i2c_designware i2c_designware.1: controller timed out
[  235.456669] i2c_designware i2c_designware.1: controller timed out
[  236.352656] ------------[ cut here ]------------
[  236.352657] NETDEV WATCHDOG: ens4u1u2 (r8152): transmit queue 0 timed out
[  236.352668] WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:461 dev_watchdog+0x1f3/0x200
[  236.352669] Modules linked in: squashfs zstd_decompress xxhash loop rfcomm tun ipt_MASQUERADE nf_conntrack_netlink xt_addrtype br_netfilter bridge stp llc ccm devlink nf_conntrack_netbios_ns nf_conntrack_broadcast xt_CT ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ebtable_nat ip6table_nat nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat_ipv4 nf_nat iptable_mangle iptable_raw iptable_security nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set nfnetlink overlay ebtable_filter ebtables ip6table_filter ip6_tables vmnet(OE) ppdev parport_pc parport fuse vmw_vsock_vmci_transport vsock vmw_vmci vboxdrv(OE) vmmon(OE) cmac bnep sunrpc vfat fat dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua snd_usb_audio pl2303 snd_usbmidi_lib snd_rawmidi btusb uvcvideo btrtl btbcm btintel videobuf2_vmalloc videobuf2_memops bluetooth videobuf2_v4l2 videobuf2_common videodev media ecdh_generic nvidia_drm(POE) nvidia_modeset(POE) nvidia_uvm(OE) snd_hda_codec_hdmi nvidia(POE)
[  236.352690]  wacom hid_multitouch arc4 dell_rbtn intel_rapl iwlmvm x86_pkg_temp_thermal intel_powerclamp mei_wdt coretemp iTCO_wdt mac80211 iTCO_vendor_support kvm_intel crct10dif_pclmul dell_laptop crc32_pclmul dell_smm_hwmon snd_hda_codec_realtek snd_hda_codec_generic ghash_clmulni_intel intel_cstate intel_uncore snd_hda_intel intel_rapl_perf snd_hda_codec iwlwifi snd_hda_core snd_hwdep snd_seq snd_seq_device dell_wmi snd_pcm dell_smbios joydev dcdbas cfg80211 dell_wmi_descriptor intel_wmi_thunderbolt wmi_bmof snd_timer thunderbolt snd idma64 rtsx_pci_ms ucsi_acpi intel_lpss_pci soundcore i2c_i801 memstick rfkill mei_me ipmi_devintf typec_ucsi mei ipmi_msghandler intel_lpss typec int3403_thermal dell_smo8800 processor_thermal_device int340x_thermal_zone intel_soc_dts_iosf intel_hid int3400_thermal intel_pch_thermal pcc_cpufreq acpi_pad sparse_keymap acpi_thermal_rel binfmt_misc xfs libcrc32c i915 kvmgt mdev vfio kvm rtsx_pci_sdmmc mmc_core irqbypass i2c_algo_bit drm_kms_helper r8152(OE)
[  236.352726]  mxm_wmi drm nvme nvme_core rtsx_pci serio_raw i2c_hid crc32c_intel pinctrl_cannonlake video wmi pinctrl_intel
[  236.352731] CPU: 1 PID: 0 Comm: swapper/1 Tainted: P           OE     4.20.13-200.fc29.x86_64 #1
[  236.352731] Hardware name: Dell Inc. Precision 5530/0GN6M8, BIOS 1.8.1 02/01/2019
[  236.352732] RIP: 0010:dev_watchdog+0x1f3/0x200
[  236.352733] Code: 00 48 63 4d e0 eb 93 4c 89 e7 c6 05 b0 8c b2 00 01 e8 b1 85 fc ff 89 d9 4c 89 e6 48 c7 c7 a8 7b 18 ae 48 89 c2 e8 d7 60 8a ff <0f> 0b eb c0 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 41 57 41 56
[  236.352734] RSP: 0018:ffff913b5c243e98 EFLAGS: 00010282
[  236.352734] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000006
[  236.352735] RDX: 0000000000000007 RSI: 0000000000000082 RDI: ffff913b5c2568c0
[  236.352735] RBP: ffff913b3ffe7480 R08: 0000000000000050 R09: 0000000000000003
[  236.352736] R10: 0000000000000000 R11: 0000000000000001 R12: ffff913b3ffe7000
[  236.352736] R13: 0000000000000001 R14: ffff913b5c243ee8 R15: 0000000000000000
[  236.352737] FS:  0000000000000000(0000) GS:ffff913b5c240000(0000) knlGS:0000000000000000
[  236.352737] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  236.352738] CR2: 00007fb53812a000 CR3: 00000002e920a003 CR4: 00000000003606e0
[  236.352739] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  236.352739] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  236.352739] Call Trace:
[  236.352740]  <IRQ>
[  236.352743]  ? pfifo_fast_dequeue+0x160/0x160
[  236.352745]  call_timer_fn+0x2b/0x130
[  236.352746]  run_timer_softirq+0x3ad/0x3e0
[  236.352748]  ? enqueue_hrtimer+0x38/0x90
[  236.352749]  ? __hrtimer_run_queues+0x130/0x280
[  236.352751]  __do_softirq+0xe3/0x30a
[  236.352752]  ? ktime_get+0x36/0xa0
[  236.352753]  irq_exit+0x100/0x110
[  236.352755]  smp_apic_timer_interrupt+0x74/0x140
[  236.352756]  apic_timer_interrupt+0xf/0x20
[  236.352757]  </IRQ>
[  236.352759] RIP: 0010:cpuidle_enter_state+0xb9/0x330
[  236.352759] Code: e8 cc c0 96 ff 80 7c 24 0b 00 74 17 9c 58 0f 1f 44 00 00 f6 c4 02 0f 85 4c 02 00 00 31 ff e8 fe 80 9c ff fb 66 0f 1f 44 00 00 <85> ed 0f 88 1a 02 00 00 48 b8 ff ff ff ff f3 01 00 00 48 2b 1c 24
[  236.352760] RSP: 0018:ffffb43e03203ea0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
[  236.352761] RAX: ffff913b5c260f00 RBX: 0000003707b744cc RCX: 000000000000001f
[  236.352761] RDX: 0000003707b744cc RSI: 000000002c13bf1e RDI: 0000000000000000
[  236.352761] RBP: 0000000000000004 R08: 0000000000000000 R09: 00000000000207c0
[  236.352762] R10: 000000a9471b1476 R11: ffff913b5c25fd84 R12: ffffffffae2cf1f8
[  236.352762] R13: ffff913b5c26b900 R14: 0000000000000004 R15: 0000000000000000
[  236.352764]  do_idle+0x226/0x260
[  236.352765]  cpu_startup_entry+0x19/0x20
[  236.352767]  start_secondary+0x1a7/0x200
[  236.352769]  secondary_startup_64+0xa4/0xb0
[  236.352770] ---[ end trace b61dd8dc5f12749d ]---
[  236.352772] r8152 4-1.2:1.0 ens4u1u2: Tx timeout
[  236.480667] i2c_designware i2c_designware.1: controller timed out
[  237.504662] i2c_designware i2c_designware.1: controller timed out
[  238.528659] i2c_designware i2c_designware.1: controller timed out
[  239.553649] i2c_designware i2c_designware.1: controller timed out
[  240.577662] i2c_designware i2c_designware.1: controller timed out
[  241.600654] i2c_designware i2c_designware.1: controller timed out
[  242.624643] i2c_designware i2c_designware.1: controller timed out
[  243.648649] i2c_designware i2c_designware.1: controller timed out
[  244.672644] i2c_designware i2c_designware.1: controller timed out
[  245.696643] i2c_designware i2c_designware.1: controller timed out
[  246.721638] i2c_designware i2c_designware.1: controller timed out
[  247.744644] i2c_designware i2c_designware.1: controller timed out
[  248.768634] i2c_designware i2c_designware.1: controller timed out
[  249.792637] i2c_designware i2c_designware.1: controller timed out
[  250.817630] i2c_designware i2c_designware.1: controller timed out
[  251.840636] i2c_designware i2c_designware.1: controller timed out
[  252.864865] i2c_designware i2c_designware.1: controller timed out
[  253.888629] i2c_designware i2c_designware.1: controller timed out
[  254.912626] i2c_designware i2c_designware.1: controller timed out
[  255.936621] i2c_designware i2c_designware.1: controller timed out
[  256.961615] i2c_designware i2c_designware.1: controller timed out
[  257.984619] i2c_designware i2c_designware.1: controller timed out
[  259.009612] i2c_designware i2c_designware.1: controller timed out
[  260.032624] i2c_designware i2c_designware.1: controller timed out
[  261.056612] i2c_designware i2c_designware.1: controller timed out
[  262.080622] i2c_designware i2c_designware.1: controller timed out
[  263.104609] i2c_designware i2c_designware.1: controller timed out
[  264.128606] i2c_designware i2c_designware.1: controller timed out
[  265.152613] i2c_designware i2c_designware.1: controller timed out
[  265.651959] xhci_hcd 0000:0a:00.0: Abort failed to stop command ring: -110
[  265.651999] xhci_hcd 0000:0a:00.0: xHCI host controller not responding, assume dead
[  265.652004] xhci_hcd 0000:0a:00.0: xHCI host not responding to stop endpoint command.
[  265.652023] xhci_hcd 0000:0a:00.0: xHCI host not responding to stop endpoint command.
[  265.652047] watchdog: BUG: soft lockup - CPU#11 stuck for 34s! [tlp:31993]
[  265.652049] Modules linked in: squashfs zstd_decompress xxhash loop rfcomm tun ipt_MASQUERADE nf_conntrack_netlink xt_addrtype br_netfilter bridge stp llc ccm devlink nf_conntrack_netbios_ns nf_conntrack_broadcast xt_CT ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ebtable_nat ip6table_nat nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat
[  265.652059] r8152 4-1.2:1.0 ens4u1u2: Tx status -108
[  265.652059]  nf_nat_ipv4 nf_nat iptable_mangle iptable_raw iptable_security
[  265.652061] r8152 4-1.2:1.0 ens4u1u2: Tx status -108
[  265.652061]  nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4
[  265.652063] r8152 4-1.2:1.0 ens4u1u2: Tx status -108
[  265.652094]  ip_set nfnetlink overlay ebtable_filter ebtables
[  265.652096] r8152 4-1.2:1.0 ens4u1u2: Tx status -108
[  265.652096]  ip6table_filter ip6_tables vmnet(OE) ppdev parport_pc parport fuse vmw_vsock_vmci_transport vsock vmw_vmci vboxdrv(OE) vmmon(OE) cmac bnep sunrpc vfat fat dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua snd_usb_audio pl2303 snd_usbmidi_lib snd_rawmidi btusb
[  265.652107] usb 4-1.1: Failed to suspend device, error -22
[  265.652107]  uvcvideo btrtl
[  265.652109] xhci_hcd 0000:0a:00.0: HC died; cleaning up
[  265.652110]  btbcm btintel videobuf2_vmalloc videobuf2_memops bluetooth videobuf2_v4l2 videobuf2_common videodev media ecdh_generic nvidia_drm(POE) nvidia_modeset(POE) nvidia_uvm(OE) snd_hda_codec_hdmi nvidia(POE) wacom hid_multitouch arc4 dell_rbtn intel_rapl iwlmvm x86_pkg_temp_thermal intel_powerclamp mei_wdt coretemp iTCO_wdt mac80211 iTCO_vendor_support kvm_intel crct10dif_pclmul dell_laptop crc32_pclmul dell_smm_hwmon snd_hda_codec_realtek snd_hda_codec_generic ghash_clmulni_intel intel_cstate intel_uncore snd_hda_intel intel_rapl_perf snd_hda_codec iwlwifi snd_hda_core snd_hwdep snd_seq snd_seq_device dell_wmi snd_pcm dell_smbios joydev dcdbas cfg80211 dell_wmi_descriptor intel_wmi_thunderbolt wmi_bmof snd_timer thunderbolt snd idma64 rtsx_pci_ms ucsi_acpi intel_lpss_pci soundcore i2c_i801 memstick rfkill mei_me ipmi_devintf typec_ucsi mei ipmi_msghandler intel_lpss typec int3403_thermal dell_smo8800 processor_thermal_device int340x_thermal_zone intel_soc_dts_iosf intel_hid
[  265.652136]  int3400_thermal intel_pch_thermal pcc_cpufreq acpi_pad sparse_keymap acpi_thermal_rel binfmt_misc xfs libcrc32c i915 kvmgt mdev vfio kvm rtsx_pci_sdmmc mmc_core irqbypass i2c_algo_bit drm_kms_helper r8152(OE) mxm_wmi drm nvme nvme_core rtsx_pci serio_raw i2c_hid crc32c_intel pinctrl_cannonlake video wmi pinctrl_intel
[  265.652149] CPU: 11 PID: 31993 Comm: tlp Tainted: P        W  OE     4.20.13-200.fc29.x86_64 #1
[  265.652149] Hardware name: Dell Inc. Precision 5530/0GN6M8, BIOS 1.8.1 02/01/2019
[  265.652153] RIP: 0010:_raw_spin_unlock_irqrestore+0xd/0x20
[  265.652155] Code: 00 00 8b 07 85 c0 75 0b ba 01 00 00 00 f0 0f b1 17 74 03 31 c0 c3 b8 01 00 00 00 c3 90 0f 1f 44 00 00 c6 07 00 48 89 f7 57 9d <0f> 1f 44 00 00 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1f 44
[  265.652156] RSP: 0018:ffff913b5c4c3e90 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff13
[  265.652157] RAX: 0000000000000000 RBX: ffff913b51c38048 RCX: 0000000000000000
[  265.652158] RDX: ffffb43e04978020 RSI: 0000000000000206 RDI: 0000000000000206
[  265.652158] RBP: ffff913b57d20230 R08: 0000000000000080 R09: 0000000000000003
[  265.652159] R10: 0000000000000000 R11: 0000000000000001 R12: ffff913b57d2027c
[  265.652160] R13: 0000000000000206 R14: ffff913b5c4c3ee8 R15: 0000000000000000
[  265.652161] FS:  00007f6321d29740(0000) GS:ffff913b5c4c0000(0000) knlGS:0000000000000000
[  265.652161] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  265.652162] CR2: 000055824be3c998 CR3: 00000006b7594002 CR4: 00000000003606e0
[  265.652163] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  265.652164] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  265.652164] Call Trace:
[  265.652166]  <IRQ>
[  265.652170]  xhci_stop_endpoint_command_watchdog+0x98/0xc0
[  265.652173]  ? xhci_hc_died+0x20/0x20
[  265.652176]  call_timer_fn+0x2b/0x130
[  265.652178]  run_timer_softirq+0x3ad/0x3e0
[  265.652180]  ? enqueue_hrtimer+0x38/0x90
[  265.652182]  ? __hrtimer_run_queues+0x130/0x280
[  265.652184]  __do_softirq+0xe3/0x30a
[  265.652186]  irq_exit+0x100/0x110
[  265.652188]  smp_apic_timer_interrupt+0x74/0x140
[  265.652190]  apic_timer_interrupt+0xf/0x20
[  265.652191]  </IRQ>
[  265.652193] RIP: 0010:smp_call_function_single+0xce/0xf0
[  265.652194] Code: 8b 4c 24 38 65 48 33 0c 25 28 00 00 00 75 34 c9 c3 48 89 d1 48 89 f2 48 89 e6 e8 7d fe ff ff 8b 54 24 18 83 e2 01 74 0b f3 90 <8b> 54 24 18 83 e2 01 75 f5 eb ca 8b 05 d1 22 85 01 85 c0 75 88 0f
[  265.652195] RSP: 0018:ffffb43e1279fd00 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13
[  265.652196] RAX: 0000000000000000 RBX: ffffb43e1279fda0 RCX: 0000000000000830
[  265.652197] RDX: 0000000000000001 RSI: 00000000000008fb RDI: 0000000000000830
[  265.652197] RBP: ffffb43e1279fd58 R08: 0000000000000000 R09: ffffffffae178bb6
[  265.652198] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000002
[  265.652199] R13: ffff913b52107200 R14: ffffffffae30be80 R15: ffff9139d52e11a0
[  265.652202]  ? sbitmap_bitmap_show+0x1d0/0x1d0
[  265.652204]  rdmsrl_on_cpu+0x57/0x80
[  265.652206]  store_energy_performance_preference+0xa3/0x140
[  265.652208]  store+0x6f/0x90
[  265.652210]  kernfs_fop_write+0x116/0x190
[  265.652213]  __vfs_write+0x36/0x1a0
[  265.652213] xhci_hcd 0000:0a:00.0: xHCI host not responding to stop endpoint command.
[  265.652216]  ? selinux_file_permission+0xf0/0x130
[  265.652218]  ? security_file_permission+0x2c/0xb0
[  265.652219]  vfs_write+0xa5/0x1a0
[  265.652221]  ksys_write+0x4f/0xb0
[  265.652223]  do_syscall_64+0x5b/0x160
[  265.652225]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  265.652226] RIP: 0033:0x7f6321e19ff8
[  265.652228] Code: 89 02 48 c7 c0 ff ff ff ff eb b3 0f 1f 80 00 00 00 00 f3 0f 1e fa 48 8d 05 25 77 0d 00 8b 00 85 c0 75 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 41 54 49 89 d4 55
[  265.652228] RSP: 002b:00007ffc04e9cf78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[  265.652229] RAX: ffffffffffffffda RBX: 0000000000000014 RCX: 00007f6321e19ff8
[  265.652230] RDX: 0000000000000014 RSI: 000055824bf0d060 RDI: 0000000000000001
[  265.652230] RBP: 000055824bf0d060 R08: 000000000000000a R09: 00007f6321eabe80
[  265.652231] R10: 000000000000000a R11: 0000000000000246 R12: 00007f6321eed780
[  265.652231] R13: 0000000000000014 R14: 00007f6321ee8740 R15: 0000000000000014
[  265.652299] xhci_hcd 0000:0a:00.0: xHCI host not responding to stop endpoint command.
[  265.652663] xhci_hcd 0000:0a:00.0: Timeout while waiting for setup device command
[  265.652689] r8152 4-1.2:1.0 ens4u1u2: Tx timeout
[  265.652701] usb 3-1.4: Failed to suspend device, error -110
[  265.652868] usb 3-1: USB disconnect, device number 2
[  265.652869] usb 3-1.1: USB disconnect, device number 3
[  265.652872] usb 4-1: USB disconnect, device number 2
[  265.652874] usb 4-1.1: USB disconnect, device number 3
[  265.653892] usb 4-1.2: USB disconnect, device number 4
[  265.893256] userif-3: sent link down event.
[  265.893258] userif-3: sent link up event.
[  266.064905] usb 3-1.1.4: device not accepting address 13, error -108
[  266.065341] usb 3-1.1-port4: couldn't allocate usb_device
[  266.065366] usb 3-1.1.1: USB disconnect, device number 6
[  266.065371] usb 3-1.1.1.4: USB disconnect, device number 9
[  266.174198] usb 3-1.1.2: USB disconnect, device number 7
[  266.187899] usb 3-1.1.5: USB disconnect, device number 8
[  266.188449] usb 3-1.4: USB disconnect, device number 4
[  266.188595] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[  266.188617] pl2303 3-1.4:1.0: device disconnected
[  266.188761] usb 3-1.5: USB disconnect, device number 5

Comment 23 Michael D 2019-03-05 05:09:40 UTC
I'd just like to update, disabling pm in Intel Powertop for the usb hub that is in the dock helped reduce the frequency of the dock dying. However, it _will_ still die after a period of time which is exasperated in the presence of idle times (such as when reading a document).

Comment 24 Tore H. Larsen 2019-03-05 15:42:44 UTC
It would seem 5.0.0-300.fc30.x86_64 fixes things for me.   Been hotplugging mouse and stuff while downloading 5 iso's through r8152 (default v1.09.9) on TB16 while using HID devices connected to Dell screen.
All good so far.

Comment 25 Tore H. Larsen 2019-03-05 16:49:30 UTC
Spoke too soon again.  If you reboot from Linux w/above kernel, into Linux, kbd stops working after some time.

However, if you boot Windows10 (assuming dual-boot) first and let Win10 initialize TB16 etc and then boot Linux, kbd works fine. Even after hotplugging phone and other usb hw.

It would seem booting windows *once* prior to booting Linux is a workaround. Maybe Win10 (with latest updates, Dell TB16 patches) resets ASM1042A and/or Alpine Ridge chip properly?

Comment 26 Tore H. Larsen 2019-03-11 15:47:41 UTC
Tested 5.0.1-300.fc30.x86_64.  WorARound is still to boot Windows10 before you boot Linux, and you will not loose kbd.  
And I can hotplug mobile phone into any USB port (internaly on laptop, on TB16 dock, on monitor USB ports).

uid/gid's are anonymized. 

# fwupdmgr get-devices 
Precision 15 M5530  Thunderbolt Controller
  DeviceId:             01234567890123456789012345678901234567891
  Guid:                 abcdef01-2346-6789-abce-f0123456789a <- TBT-abcdef01-native
  Summary:              Unmatched performance for high-speed I/O
  Plugin:               thunderbolt
  Flags:                internal|updatable|registered
  Vendor:               Dell
  VendorId:             TBT:0x00D4
  Version:              33.00
  Icon:                 computer
  Created:              2019-03-11

Dell Thunderbolt Cable
  DeviceId:             01234567890123456789012345678901234567891
  ParentDeviceId:       01234567890123456789012345678901234567891
  Guid:                 abcdef01-2346-6789-abce-f0123456789a <- TBT-00d41034
  Plugin:               thunderbolt
  Flags:                updatable|registered
  Vendor:               Dell
  VendorId:             TBT:0x00D4
  Version:              16.00
  Icon:                 audio-card
  Created:              2019-03-11

Dell Thunderbolt Dock
  DeviceId:             01234567890123456789012345678901234567891
  ParentDeviceId:       01234567890123456789012345678901234567891
  Guid:                 abcdef01-2346-6789-abce-f0123456789a <- TBT-00d41034
  Plugin:               thunderbolt
  Flags:                updatable|registered
  Vendor:               Dell
  VendorId:             TBT:0x00D4
  Version:              27.00
  Icon:                 audio-card
  Created:              2019-03-11

Precision 5530 System Firmware
  DeviceId:             01234567890123456789012345678901234567891
  Guid:                 abcdef01-2346-6789-abce-f0123456789a
  Plugin:               uefi
  Flags:                internal|updatable|require-ac|supported|registered|needs-reboot
  Version:              0.1.8.1
  VersionLowest:        0.1.8.1
  Icon:                 computer
  Created:              2019-03-11
  UpdateState:          success

Dell TB16 EC
  DeviceId:             01234567890123456789012345678901234567891
  ParentDeviceId:       01234567890123456789012345678901234567891
  Guid:                 abcdef01-2346-6789-abce-f0123456789a
  Summary:              A Thunderbolt™ 3 docking station
  Plugin:               uefi
  Flags:                updatable|require-ac|registered|needs-reboot
  Vendor:               Dell Inc.
  Version:              1.0.0.16
  Icon:                 computer
  Created:              2019-03-11

Dell TB16 Thunderbolt Cable
  DeviceId:             01234567890123456789012345678901234567891
  ParentDeviceId:       01234567890123456789012345678901234567891
  Guid:                 abcdef01-2346-6789-abce-f0123456789a
  Summary:              A Thunderbolt™ 3 docking station
  Plugin:               uefi
  Flags:                updatable|require-ac|registered|needs-reboot
  Vendor:               Dell Inc.
  Version:              0.0.3.18
  Icon:                 computer
  Created:              2019-03-11

Dell TB16 Port Controller 1
  DeviceId:             01234567890123456789012345678901234567891
  ParentDeviceId:       01234567890123456789012345678901234567891
  Guid:                 abcdef01-2346-6789-abce-f0123456789a
  Summary:              A Thunderbolt™ 3 docking station
  Plugin:               uefi
  Flags:                updatable|require-ac|registered|needs-reboot
  Vendor:               Dell Inc.
  Version:              0.1.2.17
  Icon:                 computer
  Created:              2019-03-11

Dell TB16 Port Controller 2
  DeviceId:             01234567890123456789012345678901234567891
  ParentDeviceId:       01234567890123456789012345678901234567891
  Guid:                 abcdef01-2346-6789-abce-f0123456789a
  Summary:              A Thunderbolt™ 3 docking station
  Plugin:               uefi
  Flags:                updatable|require-ac|registered|needs-reboot
  Vendor:               Dell Inc.
  Version:              0.1.2.50
  Icon:                 computer
  Created:              2019-03-11

PC401 NVMe SK hynix 1TB
  DeviceId:             01234567890123456789012345678901234567891
  Guid:                 abcdef01-2346-6789-abce-f0123456789a <- NVME\VEN_1C5C&DEV_1527
  Guid:                 abcdef01-2346-6789-abce-f0123456789a <- NVME\VEN_1C5C
  Guid:                 abcdef01-2346-6789-abce-f0123456789a <- PC401 NVMe SK hynix 1TB
  Serial:               EJ84N123456789L
  Summary:              NVM Express Solid State Drive
  Plugin:               nvme
  Flags:                internal|updatable|require-ac|registered|needs-reboot
  Vendor:               SK hynix
  VendorId:             NVME:0x1C5C
  Version:              80003E00
  Icon:                 drive-harddisk
  Created:              2019-03-11

# inxi -F
System:    Host: srl-torel01 Kernel: 5.0.1-300.fc30.x86_64 x86_64 bits: 64 Desktop: Gnome 3.30.2 
           Distro: Fedora release 29 (Twenty Nine) 
Machine:   Type: Laptop System: Dell product: Precision 5530 v: N/A serial: BZPZTP2 
           Mobo: Dell model: 0GN6M8 v: A02 serial: /XXXXXXX/CNCMK1234L567L/ UEFI: Dell v: 1.8.1 date: 02/01/2019 
Battery:   ID-1: BAT0 charge: 62.0 Wh condition: 83.8/97.0 Wh (86%) 
CPU:       Topology: 6-Core model: Intel Core i9-8950HK bits: 64 type: MT MCP L2 cache: 12.0 MiB 
           Speed: 800 MHz min/max: 800/4800 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 
           9: 800 10: 800 11: 800 12: 800 
Graphics:  Device-1: Intel UHD Graphics 630 driver: i915 v: kernel 
           Device-2: NVIDIA GP107GLM [Quadro P2000 Mobile] driver: nvidia v: 418.43 
           Display: server: Fedora Project X.org 1.20.4 driver: none resolution: 3840x2160~60Hz 
           OpenGL: renderer: Quadro P2000/PCIe/SSE2 v: 4.6.0 NVIDIA 418.43 
Audio:     Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel 
           Device-2: Realtek type: USB driver: snd-usb-audio 
           Sound Server: ALSA v: k5.0.1-300.fc30.x86_64 
Network:   Device-1: Intel Wireless-AC 9260 driver: iwlwifi 
           IF: wlp59s0 state: up mac: 94:b8:6d:00:01:02 
           Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152 
           IF: ens4u1u2 state: up speed: 1000 Mbps duplex: full mac: d4:81:d7:12:34:56 
           IF-ID-1: docker0 state: down mac: 02:00:11:22:33:44 
           IF-ID-2: via_vpn state: down mac: N/A 
Drives:    Local Storage: total: 953.87 GiB used: 433.99 GiB (45.5%) 
           ID-1: /dev/nvme0n1 vendor: SK Hynix model: PC401 NVMe 1TB size: 953.87 GiB 
Partition: ID-1: / size: 199.90 GiB used: 162.03 GiB (81.1%) fs: xfs dev: /dev/nvme0n1p5 
           ID-2: swap-1 size: 32.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/nvme0n1p7 
Sensors:   System Temperatures: cpu: 73.0 C mobo: N/A gpu: nvidia temp: 50 C 
           Fan Speeds (RPM): cpu: 3212 fan-2: 3212 
Info:      Processes: 452 Uptime: 24m Memory: 31.06 GiB used: 7.22 GiB (23.3%) Shell: bash inxi: 3.0.32

Comment 28 Tore H. Larsen 2019-03-20 07:48:52 UTC
Tested kernel 5.0.3-300. After rebooting Linux twice, ran usbmon -i usb5 -fu. Last portion before kbd and mouse hangs below. Mouse comes back after a minute or so, but keyboard never works again.

Log and journalctl attached.   

Booted windows10 and then booted Fedora and all is well for the rest of the day. Even hotplugging TB16 works fine.

ffff964b1e91b180 3056879548 C Ii:5:006:1 0:8 4 = 0002ff00
ffff964b1e91b180 3056879563 S Ii:5:006:1 -115:8 4 <
ffff964b1e91b180 3056943593 C Ii:5:006:1 0:8 4 = 00010000
ffff964b1e91b180 3056943605 S Ii:5:006:1 -115:8 4 <
ffff964b1e91b180 3056951560 C Ii:5:006:1 0:8 4 = 0002ff00
ffff964b1e91b180 3056951575 S Ii:5:006:1 -115:8 4 <
ffff964b1e91b180 3056959608 C Ii:5:006:1 0:8 4 = 00020000
ffff964b1e91b180 3056959615 S Ii:5:006:1 -115:8 4 <
ffff964b1e91b180 3056967566 C Ii:5:006:1 0:8 4 = 0002fe00
ffff964b1e91b180 3056967572 S Ii:5:006:1 -115:8 4 <
ffff964b1e91b180 3056983611 C Ii:5:006:1 0:8 4 = 0001ff00
ffff964b1e91b180 3056983620 S Ii:5:006:1 -115:8 4 <
ffff964b1e91b180 3057015595 C Ii:5:006:1 0:8 4 = 0001ff00
ffff964b1e91b180 3057015607 S Ii:5:006:1 -115:8 4 <
ffff964b1e91b180 3057071961 C Ii:5:006:1 -71:8 0
ffff964b1e91b180 3057085495 S Ii:5:006:1 -115:8 4 <
ffff964ac1e67b40 3074287165 C Ii:5:007:1 -71:8 0
ffff964ac1e67b40 3074300476 S Ii:5:007:1 -115:8 8 <
ffff964ad0a81840 3117304750 C Ii:5:003:1 0:2048 1 = 04
ffff964ad0a81840 3117304773 S Ii:5:003:1 -115:2048 1 <
ffff9649b34c3e40 3117304813 S Ci:5:003:0 s a3 00 0000 0002 0004 4 <
ffff9649b34c3e40 3117304909 C Ci:5:003:0 0 4 = 00010100
ffff9649b34c3e40 3117304949 S Co:5:003:0 s 23 01 0010 0002 0000 0
ffff9649b34c3e40 3117305061 C Co:5:003:0 0 0
ffff964b1e91b180 3117306011 C Ii:5:006:1 -108:8 0
ffff9649b34c3e40 3117334635 S Ci:5:003:0 s a3 00 0000 0002 0004 4 <
ffff9649b34c3e40 3117334759 C Ci:5:003:0 0 4 = 00010000
ffff9649b34c3e40 3117362439 S Ci:5:003:0 s a3 00 0000 0002 0004 4 <
ffff9649b34c3e40 3117362497 C Ci:5:003:0 0 4 = 00010000
ffff9649b34c3d80 3117390495 S Ci:5:003:0 s a3 00 0000 0002 0004 4 <
ffff9649b34c3d80 3117390632 C Ci:5:003:0 0 4 = 00010000
ffff9649b34c3d80 3117417494 S Ci:5:003:0 s a3 00 0000 0002 0004 4 <
ffff9649b34c3d80 3117417630 C Ci:5:003:0 0 4 = 00010000
ffff9649b34c3d80 3117444581 S Ci:5:003:0 s a3 00 0000 0002 0004 4 <
ffff9649b34c3d80 3117444690 C Ci:5:003:0 0 4 = 00010000
ffff964ad0a81840 3118584983 C Ii:5:003:1 0:2048 1 = 04
ffff964ad0a81840 3118585006 S Ii:5:003:1 -115:2048 1 <
ffff9649b34c3d80 3118585051 S Ci:5:003:0 s a3 00 0000 0002 0004 4 <
ffff9649b34c3d80 3118585201 C Ci:5:003:0 0 4 = 01030100
ffff9649b34c3d80 3118585245 S Co:5:003:0 s 23 01 0010 0002 0000 0
ffff9649b34c3d80 3118585293 C Co:5:003:0 0 0
ffff9649b34c3d80 3118585320 S Ci:5:003:0 s a3 00 0000 0002 0004 4 <
ffff9649b34c3d80 3118586061 C Ci:5:003:0 0 4 = 01030000
ffff9649b34c3d80 3118612601 S Ci:5:003:0 s a3 00 0000 0002 0004 4 <
ffff9649b34c3d80 3118612713 C Ci:5:003:0 0 4 = 01030000
ffff9649b34c3d80 3118639549 S Ci:5:003:0 s a3 00 0000 0002 0004 4 <
ffff9649b34c3d80 3118639638 C Ci:5:003:0 0 4 = 01030000
ffff9649b34c3d80 3118666760 S Ci:5:003:0 s a3 00 0000 0002 0004 4 <
ffff9649b34c3d80 3118666919 C Ci:5:003:0 0 4 = 01030000
ffff9649b34c3d80 3118693698 S Ci:5:003:0 s a3 00 0000 0002 0004 4 <
ffff9649b34c3d80 3118693845 C Ci:5:003:0 0 4 = 01030000
ffff9649b34c3d80 3118694340 S Co:5:003:0 s 23 03 0004 0002 0000 0
ffff9649b34c3d80 3118694457 C Co:5:003:0 0 0
ffff9649b34c3d80 3118706532 S Ci:5:003:0 s a3 00 0000 0002 0004 4 <
ffff9649b34c3d80 3118706720 C Ci:5:003:0 0 4 = 11030000
ffff9649b34c3d80 3118718543 S Ci:5:003:0 s a3 00 0000 0002 0004 4 <
ffff9649b34c3d80 3118718650 C Ci:5:003:0 0 4 = 03031000
ffff9649b34c3d80 3118718679 S Co:5:003:0 s 23 01 0014 0002 0000 0
ffff9649b34c3d80 3118718861 C Co:5:003:0 0 0
ffff9649b34c3d80 3118771075 S Ci:5:000:0 s 80 06 0100 0000 0040 64 <
ffff9649b34c3d80 3118771734 C Ci:5:000:0 0 18 = 12010002 00000008 6d0477c0 00720102 0001
ffff9649b34c3d80 3118771778 S Co:5:003:0 s 23 03 0004 0002 0000 0
ffff9649b34c3d80 3118771900 C Co:5:003:0 0 0
ffff9649b34c3d80 3118783521 S Ci:5:003:0 s a3 00 0000 0002 0004 4 <
ffff9649b34c3d80 3118783686 C Ci:5:003:0 0 4 = 11030000
ffff9649b34c3d80 3118795493 S Ci:5:003:0 s a3 00 0000 0002 0004 4 <
ffff9649b34c3d80 3118795618 C Ci:5:003:0 0 4 = 03031000
ffff9649b34c3d80 3118795636 S Co:5:003:0 s 23 01 0014 0002 0000 0
ffff9649b34c3d80 3118795692 C Co:5:003:0 0 0
ffff9649b34c3d80 3118860768 S Ci:5:009:0 s 80 06 0100 0000 0012 18 <
ffff9649b34c3d80 3118887753 C Ci:5:009:0 0 18 = 12010002 00000008 6d0477c0 00720102 0001
ffff9649b34c3d80 3118887814 S Ci:5:009:0 s 80 06 0200 0000 0009 9 <
ffff9649b34c3d80 3118888363 C Ci:5:009:0 0 9 = 09022200 010100a0 32
ffff9649b34c3d80 3118888408 S Ci:5:009:0 s 80 06 0200 0000 0022 34 <
ffff9649b34c3d80 3118889314 C Ci:5:009:0 0 34 = 09022200 010100a0 32090400 00010301 02000921 11010001 222e0007 05810304
ffff9649b34c3d80 3118889362 S Ci:5:009:0 s 80 06 0300 0000 00ff 255 <
ffff9649b34c3d80 3118889786 C Ci:5:009:0 0 4 = 04030904
ffff9649b34c3d80 3118889829 S Ci:5:009:0 s 80 06 0302 0409 00ff 255 <
ffff9649b34c3d80 3118890741 C Ci:5:009:0 0 36 = 24035500 53004200 20004f00 70007400 69006300 61006c00 20004d00 6f007500
ffff9649b34c3d80 3118890787 S Ci:5:009:0 s 80 06 0301 0409 00ff 255 <
ffff9649b34c3d80 3118891518 C Ci:5:009:0 0 18 = 12034c00 6f006700 69007400 65006300 6800
ffff9649b34c33c0 3118897011 S Co:5:009:0 s 00 09 0001 0000 0000 0
ffff9649b34c33c0 3118897313 C Co:5:009:0 0 0
ffff9649b34c3cc0 3118897608 S Co:5:009:0 s 21 0a 0000 0000 0000 0
ffff9649b34c3cc0 3118897978 C Co:5:009:0 0 0
ffff9649b34c3cc0 3118898018 S Ci:5:009:0 s 81 06 2200 0000 002e 46 <
ffff9649b34c3cc0 3118899093 C Ci:5:009:0 0 46 = 05010902 a1010901 a1000509 19012903 15002501 95087501 81020501 09300931
ffff9649b34c3c00 3118899821 S Ii:5:009:1 -115:8 4 <
ffff9649b34c3c00 3118905059 C Ii:5:009:1 0:8 4 = 00817f00
ffff9649b34c3c00 3118905071 S Ii:5:009:1 -115:8 4 <
ffff9649b34c3c00 3157630970 C Ii:5:009:1 0:8 4 = 00000100

Comment 29 Tore H. Larsen 2019-03-20 07:50:21 UTC
Created attachment 1545910 [details]
usbmon of keyboard and mouse as they fall out

Comment 30 Tore H. Larsen 2019-03-20 07:53:43 UTC
Created attachment 1545911 [details]
journal since boot when keyboard and mouse as they fall out

Comment 31 Tore H. Larsen 2019-03-20 08:01:20 UTC
Earlier kernels (4.18.18 and 4.20.13) usually gave you and indication just before it happens, such as "ERROR unknown event type 15" which seems to indicate driver gets feedback from TB16 which it can't handle.

# grep xhci_hcd kernel*txt | grep ERROR
kernel-4.18.18-crash-010319-2.txt:[  840.382170] xhci_hcd 0000:0a:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 13
kernel-4.18.18-crash-010319-2.txt:[  840.382239] xhci_hcd 0000:0a:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 13
kernel-4.18.18-crash-010319-2.txt:[  840.382762] xhci_hcd 0000:0a:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 13
kernel-4.18.18-crash-010319-2.txt:[  840.383262] xhci_hcd 0000:0a:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 13
kernel-4.18.18-crash-010319-2.txt:[  840.385254] xhci_hcd 0000:0a:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 3
kernel-4.18.18-crash-010319-2.txt:[  855.231808] xhci_hcd 0000:0a:00.0: ERROR unknown event type 15
kernel-4.18.18-crash-010319-2.txt:[  855.232280] xhci_hcd 0000:0a:00.0: ERROR mismatched command completion event
kernel-4.18.18-crash-04032019.txt:[  589.702143] xhci_hcd 0000:0a:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 0 comp_code 1
kernel-4.18.18-crash-04032019.txt:[  591.640585] xhci_hcd 0000:0a:00.0: ERROR unknown event type 15
kernel-4.20.13-crash-04032019.txt:[  314.545880] xhci_hcd 0000:0a:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 0 comp_code 1
kernel-4.20.13-crash-04032019.txt:[  318.711061] xhci_hcd 0000:0a:00.0: ERROR unknown event type 15

But most of the time kbd/mouse just stops working w/o any entry in syslog such as the last test on 5.0.3.

Comment 32 Edward Tirado 2019-05-01 16:23:10 UTC
I'm having this exact same issue with the most recent kernel on Fedora 29 and 30.  Before I upgraded to Fedora 30, I was able to fix the issue by using the previous kernel.  Keyboard and mouse never work while booting, but if I disconnect and wait about 10 seconds everything usually starts working again upon reconnecting.  The connection to the monitor almost always works without any problems.

Here is a pastebin with the dmesg info on boot and after reconnecting: https://pastebin.com/WrYU7g6B

Comment 33 Tore H. Larsen 2019-05-01 20:09:28 UTC
Still an issue 5.0.10-200.fc29.x86_64. WorkARound: connnect dock and boot win10 once before linux.

Comment 34 Ben Cotton 2019-05-02 19:23:02 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 35 Pizoo 2019-05-02 23:14:58 UTC
(In reply to Tore H. Larsen from comment #33)
> Still an issue 5.0.10-200.fc29.x86_64. WorkARound: connnect dock and boot
> win10 once before linux.

Same scenario here on 5.0.10-arch1-1-ARCH
Bought a bigger SSD just so I can dual boot win10

Comment 36 Tore H. Larsen 2019-05-05 10:44:57 UTC
Could commit 742c556944e1ff299e3a2e305145c16876b0ed96 be related to this issue?  Will test 5.0.12-fc30.x86_64 tomorrow morning.

Comment 37 Edward Tirado 2019-05-10 17:25:14 UTC
This was fixed for me after updating to kernel version 5.0.13-300.fc30.x86_64.  Tested a few reboots and it worked each time. It did fail once on the encryption password screen, but after entering that using the laptop keyboard it fixed itself on the desktop login page.

Comment 38 Alexey Brodkin 2019-05-10 17:30:26 UTC
(In reply to Tore H. Larsen from comment #36)
> Could commit 742c556944e1ff299e3a2e305145c16876b0ed96 be related to this
> issue?  Will test 5.0.12-fc30.x86_64 tomorrow morning.

Could you please be more specific about this commit?
There's no such a hash in Linus' tree, may we have a link to it?

Comment 39 Edward Tirado 2019-05-10 17:32:59 UTC
I got it from the most recent update on Fedora 30.  This is all I could find on it: https://old.lwn.net/Articles/787457/

Comment 40 Tore H. Larsen 2019-05-10 17:34:13 UTC
I'm running 5.0.14-200.fc29.x86_64 at it still doesn't work unless I first boot Win10. Could you post your firmware levels and hardware?

# fwupdmgr get-devices | egrep -v "DeviceId|ParentDeviceId|Guid|Serial"  
#  boltctl | egrep -v "uuid|domain"

Comment 41 Edward Tirado 2019-05-10 17:37:18 UTC
Here you go

fwupdmgr get-devices | egrep -v "DeviceId|ParentDeviceId|Guid|Serial"
XPS 13 9370 Thunderbolt Controller
  Summary:              Unmatched performance for high-speed I/O
  Plugin:               thunderbolt
  Flags:                internal|updatable|require-ac|supported|registered
  Vendor:               Dell
  VendorId:             TBT:0x00D4
  Version:              33.00
  Icon:                 computer
  Created:              2019-05-10

Dell Thunderbolt Cable
  Plugin:               thunderbolt
  Flags:                updatable|require-ac|registered
  Vendor:               Dell
  VendorId:             TBT:0x00D4
  Version:              16.00
  Icon:                 audio-card
  Created:              2019-05-10

Dell Thunderbolt Dock
  Plugin:               thunderbolt
  Flags:                updatable|require-ac|registered
  Vendor:               Dell
  VendorId:             TBT:0x00D4
  Version:              16.00
  Icon:                 audio-card
  Created:              2019-05-10

XPS 13 9370 System Firmware
  Plugin:               uefi
  Flags:                internal|updatable|require-ac|supported|registered|needs-reboot
  Checksum:             SHA1(de13ea8c8554fcd9e3ba465b85aadad03a54c013)
  Checksum:             SHA256(5a3ccaa27efd26834295c3f6bbc92f7f59b2ecc83e9ee4148287278d7deadd37)
  Version:              0.1.8.1
  VersionLowest:        0.1.8.1
  Icon:                 computer
  Created:              2019-05-10

XPS 13 9370 TPM 2.0
  Summary:              Platform TPM device
  Plugin:               uefi
  Flags:                internal|updatable|require-ac|registered|needs-reboot
  Vendor:               Dell Inc.
  Version:              7.2.0.1
  Icon:                 computer
  Created:              2019-05-10

Dell TB16 Thunderbolt Cable
  Summary:              A Thunderbolt™ 3 docking station
  Plugin:               uefi
  Flags:                updatable|require-ac|registered|needs-reboot
  Vendor:               Dell Inc.
  Version:              0.0.3.18
  Icon:                 computer
  Created:              2019-05-10

Dell TB16 Port Controller 1
  Summary:              A Thunderbolt™ 3 docking station
  Plugin:               uefi
  Flags:                updatable|require-ac|registered|needs-reboot
  Vendor:               Dell Inc.
  Version:              0.1.2.17
  Icon:                 computer
  Created:              2019-05-10

Dell TB16 Port Controller 2
  Summary:              A Thunderbolt™ 3 docking station
  Plugin:               uefi
  Flags:                updatable|require-ac|registered|needs-reboot
  Vendor:               Dell Inc.
  Version:              0.1.2.50
  Icon:                 computer
  Created:              2019-05-10

Dell TB16
  Summary:              A Thunderbolt™ 3 docking station
  Plugin:               uefi
  Flags:                updatable|require-ac|registered|needs-reboot
  Vendor:               Dell Inc.
  Version:              0.0.0.0
  Icon:                 computer
  Created:              2019-05-10

KXG50ZNV512G NVMe TOSHIBA 512GB
  Summary:              NVM Express Solid State Drive
  Plugin:               nvme
  Flags:                internal|updatable|require-ac|registered|needs-reboot
  Vendor:               Toshiba America Info Systems
  VendorId:             NVME:0x1179
  Version:              AADA4104
  Icon:                 drive-harddisk
  Created:              2019-05-10

Unifying Receiver
  Summary:              A miniaturised USB wireless receiver
  Plugin:               unifying
  Flags:                updatable|supported|registered
  Vendor:               Logitech
  VendorId:             USB:0x046D
  Version:              RQR12.08_B0030
  VersionBootloader:    BOT01.02_B0014
  Icon:                 preferences-desktop-keyboard
  InstallDuration:      7
  Created:              2019-05-10



boltctl | egrep -v "uuid|domain"
 * Dell Thunderbolt Cable
   |- type:          peripheral
   |- name:          Dell Thunderbolt Cable
   |- vendor:        Dell
   |- status:        authorized
   |  `- authflags:  boot
   |- authorized:    Fri 10 May 2019 05:20:14 PM UTC
   |- connected:     Fri 10 May 2019 05:20:14 PM UTC
   `- stored:        Tue 30 Apr 2019 06:57:17 PM UTC
      |- policy:     auto
      `- key:        no

 * Dell Thunderbolt Dock
   |- type:          peripheral
   |- name:          Dell Thunderbolt Dock
   |- vendor:        Dell
   |- status:        authorized
   |  `- authflags:  boot
   |- authorized:    Fri 10 May 2019 05:20:14 PM UTC
   |- connected:     Fri 10 May 2019 05:20:14 PM UTC
   `- stored:        Tue 30 Apr 2019 06:57:23 PM UTC
      |- policy:     auto
      `- key:        no

Comment 42 Tore H. Larsen 2019-05-10 18:14:51 UTC
>> Could commit 742c556944e1ff299e3a2e305145c16876b0ed96 be related to this
>> issue?  Will test 5.0.12-fc30.x86_64 tomorrow morning.
>
>Could you please be more specific about this commit?

Look in https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.0.12  

Anyway, it did not make a difference for me.

Comment 43 Ben Cotton 2019-05-28 19:05:05 UTC
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 44 wrigleyster 2023-05-03 22:19:31 UTC
I experience this also... on 3 different docks, with 4 different computers in every configuration.

Although I have no hard evidence to support this theory, I believe the error is a hardware fault, that occurs when the total power draw of peripherals+computer exceed what the dock can provide. Thus, to avoid burnout the dock will power off peripherals as needed.

So far the only "workaround" that seems to solve the issue permanently is to plug a separate power supply in the machines that support one.


Note You need to log in before you can comment on or make changes to this bug.