[Kernel-packages] [Bug 1857385] Re: xHCI host controller not responding, assume dead via USB-C docking station

2021-11-13 Thread Walex B
This is happening to me on a ThinkPad E495 with AMD chipset and no
docking station, with Ubuntu LTS 20, kernel 5.11.0-40-generic (latest
HWE), for example on inserting an USB mouse:

Nov 11 19:00:52 cyme upowerd[2469]: treating change event as add on 
/sys/devices/pci:00/:00:08.1/:05:00.3/usb1/1-4
Nov 11 19:00:52 cyme kernel: usb usb1-port4: disabled by hub (EMI?), 
re-enabling...
Nov 11 19:00:52 cyme kernel: usb 1-4: USB disconnect, device number 18
Nov 11 19:00:52 cyme kernel: usb 1-4: new low-speed USB device number 19 using 
xhci_hcd
Nov 11 19:01:03 cyme kernel: xhci_hcd :05:00.3: xHCI host not responding to 
stop endpoint command.
Nov 11 19:01:03 cyme kernel: [43B blob data]
Nov 11 19:01:03 cyme kernel: xhci_hcd :05:00.3: xHCI host controller not 
responding, assume dead
Nov 11 19:01:03 cyme kernel: xhci_hcd :05:00.3: HC died; cleaning up
Nov 11 19:01:03 cyme kernel: usb usb1-port4: couldn't allocate usb_device


The workaround described in comment #22 above, to unbind and then bind the 
devices, works for me too. Weird. It did not seem to happen with earlier recent 
kernel version, but not sure when i started to happen.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1857385

Title:
  xHCI host controller not responding, assume dead via USB-C docking
  station

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hello,
  I'm using a Lenovo T495s with the Lenovo AJ40 - Ultra Docking Station USB-C 
(https://support.lenovo.com/us/en/solutions/pd500173O) and, when I undock the 
laptop from the docking station, the USB Hub disconnects all the local laptop 
USB ports and they are unusable.
  If I try to re-attach the laptop to the docking station nothing change, the 
ports (docking and laptop) are still disconnected, the hdmi/lan/power is 
working good. Sometimes it happens also when the laptop is docked and I'm 
working.

  The issue seems similar of the bug 1766076:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766076

  but here no thunderbolt, it's a ryzen cpu.
  As written in the bug 1766076, the only way to have the USB in working 
condition is unbinding/binding the xhci or using the unit/systemd workaround 
described on post 83 
(https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766076/comments/83) with 
some modification, sometimes is still not working at all.

  The issue is present on Ubuntu 19.10 (see below the logs), on Ubuntu
  18.04 (with kernel 4.x or 5.0 mainline by ubuntu, 5.2 and 5.4 debs
  installed from kernel.org) and on Fedora 31 too. In Windows everything
  is working fine.

  The bios and firmware of the docking station are updated to the last
  one (1 month ago).

  The dmesg when I undock the laptop:

  [  305.299725] usb 2-1: USB disconnect, device number 2
  [  305.310888] [drm] DM_MST: stopping TM on aconnector: 8e933bad [id: 
77]
  [  305.311186] [drm] DM_MST: Disabling connector: 0c5e8d66 [id: 81] 
[master: 8e933bad]
  [  305.311957] [drm] DM_MST: Disabling connector: b7fb3125 [id: 86] 
[master: 8e933bad]
  [  305.312136] [drm] DM_MST: Disabling connector: e642e447 [id: 91] 
[master: 8e933bad]
  [  305.362012] r8169 :03:00.0 enp3s0f0: Link is Down
  [  305.464627] usb 3-4: USB disconnect, device number 2
  [  305.464642] usb 3-4.2: USB disconnect, device number 3
  [  305.472691] usb 2-4: USB disconnect, device number 4
  [  305.472704] usb 2-4.2: USB disconnect, device number 5
  [  305.472712] usb 2-4.2.4: USB disconnect, device number 7
  [  306.725746] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  306.725892] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  ...hundreds of line - the same
  [  310.520323] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.520504] xhci_hcd :05:00.3: xHCI host not responding to stop 
endpoint command.
  [  310.520622] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  hundreds of line - the same
  [  310.529388] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.529626] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530634] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530740] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530843] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.531095] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.531324] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.532315] xhci_hcd :05:00.3: xHCI host controller not responding, 
assume dead
  [  310.532379] xhci_hcd :05:00.3: HC died; cleaning up
  [  310.532440] xhci_hcd :05:00.3: Timeout while waiting for configure 
endpoint command
  [  310.670248] usb 2-4.3: USB disconnect, device number 6
  [  310.834039] usb 2-4.5: USB disconnect, device number 8
  [  310.835017] usb 2-2: USB disconnect, device number 10

  When I re-attach the latop to 

[Kernel-packages] [Bug 1857385] Re: xHCI host controller not responding, assume dead via USB-C docking station

2021-03-05 Thread simone-c
Lenovo X1 Extreme Gen2
Docking Lenovo Thunderbolt 3 Gen2

Was getting similar random disconnects every 2-5 minutes:

[125028.443102] pcieport :05:01.0: pciehp: Slot(1): Link Down
[125028.443108] pcieport :05:01.0: pciehp: Slot(1): Card not present
[125028.443122] pcieport :08:04.0: can't change power state from D3cold to 
D0 (config space inaccessible)
[125028.444133] xhci_hcd :09:00.0: remove, state 1
[125028.444151] usb usb6: USB disconnect, device number 1
[125028.444156] usb 6-2: USB disconnect, device number 2
[125028.444162] usb 6-2.1: USB disconnect, device number 3
[125028.444167] usb 6-2.1.2: USB disconnect, device number 5
[125028.444369] xhci_hcd :09:00.0: xHCI host controller not responding, 
assume dead
..
.

Fixed by connecting two power supplies to both laptop and docking
(2x135W).

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1857385

Title:
  xHCI host controller not responding, assume dead via USB-C docking
  station

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hello,
  I'm using a Lenovo T495s with the Lenovo AJ40 - Ultra Docking Station USB-C 
(https://support.lenovo.com/us/en/solutions/pd500173O) and, when I undock the 
laptop from the docking station, the USB Hub disconnects all the local laptop 
USB ports and they are unusable.
  If I try to re-attach the laptop to the docking station nothing change, the 
ports (docking and laptop) are still disconnected, the hdmi/lan/power is 
working good. Sometimes it happens also when the laptop is docked and I'm 
working.

  The issue seems similar of the bug 1766076:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766076

  but here no thunderbolt, it's a ryzen cpu.
  As written in the bug 1766076, the only way to have the USB in working 
condition is unbinding/binding the xhci or using the unit/systemd workaround 
described on post 83 
(https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766076/comments/83) with 
some modification, sometimes is still not working at all.

  The issue is present on Ubuntu 19.10 (see below the logs), on Ubuntu
  18.04 (with kernel 4.x or 5.0 mainline by ubuntu, 5.2 and 5.4 debs
  installed from kernel.org) and on Fedora 31 too. In Windows everything
  is working fine.

  The bios and firmware of the docking station are updated to the last
  one (1 month ago).

  The dmesg when I undock the laptop:

  [  305.299725] usb 2-1: USB disconnect, device number 2
  [  305.310888] [drm] DM_MST: stopping TM on aconnector: 8e933bad [id: 
77]
  [  305.311186] [drm] DM_MST: Disabling connector: 0c5e8d66 [id: 81] 
[master: 8e933bad]
  [  305.311957] [drm] DM_MST: Disabling connector: b7fb3125 [id: 86] 
[master: 8e933bad]
  [  305.312136] [drm] DM_MST: Disabling connector: e642e447 [id: 91] 
[master: 8e933bad]
  [  305.362012] r8169 :03:00.0 enp3s0f0: Link is Down
  [  305.464627] usb 3-4: USB disconnect, device number 2
  [  305.464642] usb 3-4.2: USB disconnect, device number 3
  [  305.472691] usb 2-4: USB disconnect, device number 4
  [  305.472704] usb 2-4.2: USB disconnect, device number 5
  [  305.472712] usb 2-4.2.4: USB disconnect, device number 7
  [  306.725746] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  306.725892] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  ...hundreds of line - the same
  [  310.520323] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.520504] xhci_hcd :05:00.3: xHCI host not responding to stop 
endpoint command.
  [  310.520622] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  hundreds of line - the same
  [  310.529388] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.529626] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530634] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530740] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530843] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.531095] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.531324] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.532315] xhci_hcd :05:00.3: xHCI host controller not responding, 
assume dead
  [  310.532379] xhci_hcd :05:00.3: HC died; cleaning up
  [  310.532440] xhci_hcd :05:00.3: Timeout while waiting for configure 
endpoint command
  [  310.670248] usb 2-4.3: USB disconnect, device number 6
  [  310.834039] usb 2-4.5: USB disconnect, device number 8
  [  310.835017] usb 2-2: USB disconnect, device number 10

  When I re-attach the latop to the docking:

  [  343.111212] r8169 :03:00.0 enp3s0f0: Link is Up - 100Mbps/Full - flow 
control rx/tx
  [  344.272052] [drm] DM_MST: starting TM on aconnector: 8e933bad [id: 
77]
  [  344.365795] [drm] DM_MST: added connector: e2f1a7b4 [id: 100] 
[master: 8e933bad]
  [  344.365857] [drm] DM_MST: added 

[Kernel-packages] [Bug 1857385] Re: xHCI host controller not responding, assume dead via USB-C docking station

2020-08-24 Thread Bernie Bernstein
I have the same issue with my Cable Matters USB-C dual 4k DisplayPort
docking station and HP Elitebook laptop.

In my experience, it does not occur on every disconnect, however each
time it does occur, it appears to be preceded by a kernel oops:

[114032.828215] usb 2-1: USB disconnect, device number 50
[114032.828220] usb 2-1.3: USB disconnect, device number 51
[114032.828222] usb 2-1.3.2: USB disconnect, device number 58
[114032.828225] usb 2-1.3.2.1: USB disconnect, device number 59
[114032.829619] [drm] DM_MST: stopping TM on aconnector: 660e4f23 [id: 
77]
[114032.829741] [drm] DM_MST: Disabling connector: 5955f6aa [id: 95] 
[master: 660e4f23]
[114032.829901] [ cut here ]
[114032.829902] sysfs group 'power' not found for kobject 'i2c-11'
[114032.829920] WARNING: CPU: 3 PID: 42300 at fs/sysfs/group.c:279 
sysfs_remove_group+0x7c/0x80
[114032.829921] Modules linked in: vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) 
ccm binfmt_misc rfcomm cmac algif_hash algif_skcipher af_alg cdc_ether usbnet 
snd_usb_audio snd_usbmidi_lib usbhid r8152 mii bnep btusb btrtl btbcm btintel 
bluetooth ecdh_generic ecc uvcvideo videobuf2_vmalloc videobuf2_memops 
videobuf2_v4l2 videobuf2_common bonding aufs evdi(OE) snd_hda_codec_conexant 
snd_hda_codec_generic overlay ledtrig_audio snd_hda_codec_hdmi snd_hda_intel 
snd_intel_dspcfg snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_seq_midi 
snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd iwlmvm 
nls_iso8859_1 soundcore mac80211 libarc4 edac_mce_amd iwlwifi kvm_amd ccp kvm 
hp_wmi joydev input_leds sparse_keymap serio_raw wmi_bmof hid_multitouch 
cfg80211 ucsi_acpi typec_ucsi ipmi_devintf k10temp ipmi_msghandler typec 
mac_hid hp_wireless sch_fq_codel v4l2loopback(OE) videodev mc parport_pc ppdev 
lp parport ip_tables x_tables autofs4 raid10 raid456 async_raid6_recov 
async_memcpy async_pq
[114032.829978]  async_xor async_tx xor uas usb_storage raid6_pq libcrc32c 
raid1 raid0 multipath linear hid_generic amdgpu crct10dif_pclmul crc32_pclmul 
amd_iommu_v2 ghash_clmulni_intel gpu_sched i2c_algo_bit ttm aesni_intel 
drm_kms_helper i2c_hid crypto_simd hid cryptd syscopyarea sysfillrect 
glue_helper psmouse sysimgblt nvme fb_sys_fops ahci i2c_piix4 drm libahci 
nvme_core r8169 realtek wmi video i2c_amd_mp2_plat i2c_amd_mp2_pci
[114032.830005] CPU: 3 PID: 42300 Comm: kworker/3:0 Tainted: G   OE 
5.4.0-42-generic #46-Ubuntu
[114032.830007] Hardware name: HP HP EliteBook 755 G5/83D5, BIOS Q81 Ver. 
01.10.00 01/03/2020
[114032.830019] Workqueue: events drm_dp_destroy_connector_work [drm_kms_helper]
[114032.830023] RIP: 0010:sysfs_remove_group+0x7c/0x80
[114032.830026] Code: e7 e8 98 b9 ff ff 5b 41 5c 41 5d 5d c3 4c 89 e7 e8 e9 b4 
ff ff eb c9 49 8b 55 00 48 8b 33 48 c7 c7 10 de b8 97 e8 6f 9f d1 ff <0f> 0b eb 
d8 0f 1f 44 00 00 48 85 f6 74 37 55 48 89 e5 41 55 41 54
[114032.830027] RSP: 0018:abccc0363c18 EFLAGS: 00010286
[114032.830029] RAX:  RBX: 978f3c60 RCX: 
0006
[114032.830030] RDX: 0007 RSI: 0086 RDI: 
9a4d5fcd78c0
[114032.830032] RBP: abccc0363c30 R08: 0c98 R09: 
0004
[114032.830032] R10:  R11: 0001 R12: 

[114032.830034] R13: 9a4d135f9418 R14: c0369140 R15: 
c0369140
[114032.830036] FS:  () GS:9a4d5fcc() 
knlGS:
[114032.830037] CS:  0010 DS:  ES:  CR0: 80050033
[114032.830038] CR2: 55e429698c40 CR3: 00040af48000 CR4: 
003406a0
[114032.830039] Call Trace:
[114032.830047]  dpm_sysfs_remove+0x59/0x60
[114032.830050]  device_del+0x85/0x370
[114032.830055]  cdev_device_del+0x1a/0x40
[114032.830058]  i2cdev_detach_adapter+0x87/0xc0
[114032.830060]  i2cdev_notifier_call+0x21/0x40
[114032.830064]  notifier_call_chain+0x55/0x80
[114032.830067]  blocking_notifier_call_chain+0x50/0x70
[114032.830070]  device_del+0x7d/0x370
[114032.830072]  device_unregister+0x1b/0x60
[114032.830075]  i2c_del_adapter+0x238/0x300
[114032.830085]  drm_dp_port_teardown_pdt+0x1f/0x40 [drm_kms_helper]
[114032.830096]  drm_dp_destroy_connector_work+0xa3/0x110 [drm_kms_helper]
[114032.830100]  process_one_work+0x1eb/0x3b0
[114032.830104]  worker_thread+0x4d/0x400
[114032.830108]  kthread+0x104/0x140
[114032.830111]  ? process_one_work+0x3b0/0x3b0
[114032.830114]  ? kthread_park+0x90/0x90
[114032.830118]  ret_from_fork+0x22/0x40
[114032.830124] ---[ end trace 5a351113a270c4cc ]---
[114032.830211] [ cut here ]
[114032.830213] sysfs group 'power' not found for kobject 'i2c-11'
[114032.830228] WARNING: CPU: 3 PID: 42300 at fs/sysfs/group.c:279 
sysfs_remove_group+0x7c/0x80
[114032.830229] Modules linked in: vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) 
ccm binfmt_misc rfcomm cmac algif_hash algif_skcipher af_alg cdc_ether usbnet 
snd_usb_audio snd_usbmidi_lib usbhid r8152 mii bnep btusb 

[Kernel-packages] [Bug 1857385] Re: xHCI host controller not responding, assume dead via USB-C docking station

2020-06-18 Thread Raymond Yeung
This issue seems very recent, I want to know if this applies to my case
and if there's a workaround (e.g. lower the speed via configuration -
how?).

I'm using NXP embedded processor (SoC) running Ubuntu 19.06 with Linux
kernel 4.14.122.  A condole message exact like what everyone reports
here is shown at end of Linux initialization.  And we will lose access
to a USB device.  Obvious this breaks our system.

I notice a very similar problem was reported like a couple of years ago.
Do we still have no fix?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1857385

Title:
  xHCI host controller not responding, assume dead via USB-C docking
  station

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hello,
  I'm using a Lenovo T495s with the Lenovo AJ40 - Ultra Docking Station USB-C 
(https://support.lenovo.com/us/en/solutions/pd500173O) and, when I undock the 
laptop from the docking station, the USB Hub disconnects all the local laptop 
USB ports and they are unusable.
  If I try to re-attach the laptop to the docking station nothing change, the 
ports (docking and laptop) are still disconnected, the hdmi/lan/power is 
working good. Sometimes it happens also when the laptop is docked and I'm 
working.

  The issue seems similar of the bug 1766076:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766076

  but here no thunderbolt, it's a ryzen cpu.
  As written in the bug 1766076, the only way to have the USB in working 
condition is unbinding/binding the xhci or using the unit/systemd workaround 
described on post 83 
(https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766076/comments/83) with 
some modification, sometimes is still not working at all.

  The issue is present on Ubuntu 19.10 (see below the logs), on Ubuntu
  18.04 (with kernel 4.x or 5.0 mainline by ubuntu, 5.2 and 5.4 debs
  installed from kernel.org) and on Fedora 31 too. In Windows everything
  is working fine.

  The bios and firmware of the docking station are updated to the last
  one (1 month ago).

  The dmesg when I undock the laptop:

  [  305.299725] usb 2-1: USB disconnect, device number 2
  [  305.310888] [drm] DM_MST: stopping TM on aconnector: 8e933bad [id: 
77]
  [  305.311186] [drm] DM_MST: Disabling connector: 0c5e8d66 [id: 81] 
[master: 8e933bad]
  [  305.311957] [drm] DM_MST: Disabling connector: b7fb3125 [id: 86] 
[master: 8e933bad]
  [  305.312136] [drm] DM_MST: Disabling connector: e642e447 [id: 91] 
[master: 8e933bad]
  [  305.362012] r8169 :03:00.0 enp3s0f0: Link is Down
  [  305.464627] usb 3-4: USB disconnect, device number 2
  [  305.464642] usb 3-4.2: USB disconnect, device number 3
  [  305.472691] usb 2-4: USB disconnect, device number 4
  [  305.472704] usb 2-4.2: USB disconnect, device number 5
  [  305.472712] usb 2-4.2.4: USB disconnect, device number 7
  [  306.725746] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  306.725892] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  ...hundreds of line - the same
  [  310.520323] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.520504] xhci_hcd :05:00.3: xHCI host not responding to stop 
endpoint command.
  [  310.520622] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  hundreds of line - the same
  [  310.529388] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.529626] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530634] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530740] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530843] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.531095] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.531324] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.532315] xhci_hcd :05:00.3: xHCI host controller not responding, 
assume dead
  [  310.532379] xhci_hcd :05:00.3: HC died; cleaning up
  [  310.532440] xhci_hcd :05:00.3: Timeout while waiting for configure 
endpoint command
  [  310.670248] usb 2-4.3: USB disconnect, device number 6
  [  310.834039] usb 2-4.5: USB disconnect, device number 8
  [  310.835017] usb 2-2: USB disconnect, device number 10

  When I re-attach the latop to the docking:

  [  343.111212] r8169 :03:00.0 enp3s0f0: Link is Up - 100Mbps/Full - flow 
control rx/tx
  [  344.272052] [drm] DM_MST: starting TM on aconnector: 8e933bad [id: 
77]
  [  344.365795] [drm] DM_MST: added connector: e2f1a7b4 [id: 100] 
[master: 8e933bad]
  [  344.365857] [drm] DM_MST: added connector: c263592d [id: 105] 
[master: 8e933bad]
  [  344.365899] [drm] DM_MST: added connector: 44df80f6 [id: 116] 
[master: 8e933bad]

  Software:
  Ubuntu 19.10 - Ubuntu 5.3.0-24.26-generic 5.3.10
  Linux  5.3.0-24-generic #26-Ubuntu SMP Thu Nov 14 01:33:18 UTC 2019 
x86_64 x86_64 

[Kernel-packages] [Bug 1857385] Re: xHCI host controller not responding, assume dead via USB-C docking station

2020-03-25 Thread Carlo Wood
This bug might be related to
https://bugzilla.kernel.org/show_bug.cgi?id=206901


** Bug watch added: Linux Kernel Bug Tracker #206901
   https://bugzilla.kernel.org/show_bug.cgi?id=206901

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1857385

Title:
  xHCI host controller not responding, assume dead via USB-C docking
  station

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hello,
  I'm using a Lenovo T495s with the Lenovo AJ40 - Ultra Docking Station USB-C 
(https://support.lenovo.com/us/en/solutions/pd500173O) and, when I undock the 
laptop from the docking station, the USB Hub disconnects all the local laptop 
USB ports and they are unusable.
  If I try to re-attach the laptop to the docking station nothing change, the 
ports (docking and laptop) are still disconnected, the hdmi/lan/power is 
working good. Sometimes it happens also when the laptop is docked and I'm 
working.

  The issue seems similar of the bug 1766076:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766076

  but here no thunderbolt, it's a ryzen cpu.
  As written in the bug 1766076, the only way to have the USB in working 
condition is unbinding/binding the xhci or using the unit/systemd workaround 
described on post 83 
(https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766076/comments/83) with 
some modification, sometimes is still not working at all.

  The issue is present on Ubuntu 19.10 (see below the logs), on Ubuntu
  18.04 (with kernel 4.x or 5.0 mainline by ubuntu, 5.2 and 5.4 debs
  installed from kernel.org) and on Fedora 31 too. In Windows everything
  is working fine.

  The bios and firmware of the docking station are updated to the last
  one (1 month ago).

  The dmesg when I undock the laptop:

  [  305.299725] usb 2-1: USB disconnect, device number 2
  [  305.310888] [drm] DM_MST: stopping TM on aconnector: 8e933bad [id: 
77]
  [  305.311186] [drm] DM_MST: Disabling connector: 0c5e8d66 [id: 81] 
[master: 8e933bad]
  [  305.311957] [drm] DM_MST: Disabling connector: b7fb3125 [id: 86] 
[master: 8e933bad]
  [  305.312136] [drm] DM_MST: Disabling connector: e642e447 [id: 91] 
[master: 8e933bad]
  [  305.362012] r8169 :03:00.0 enp3s0f0: Link is Down
  [  305.464627] usb 3-4: USB disconnect, device number 2
  [  305.464642] usb 3-4.2: USB disconnect, device number 3
  [  305.472691] usb 2-4: USB disconnect, device number 4
  [  305.472704] usb 2-4.2: USB disconnect, device number 5
  [  305.472712] usb 2-4.2.4: USB disconnect, device number 7
  [  306.725746] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  306.725892] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  ...hundreds of line - the same
  [  310.520323] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.520504] xhci_hcd :05:00.3: xHCI host not responding to stop 
endpoint command.
  [  310.520622] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  hundreds of line - the same
  [  310.529388] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.529626] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530634] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530740] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530843] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.531095] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.531324] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.532315] xhci_hcd :05:00.3: xHCI host controller not responding, 
assume dead
  [  310.532379] xhci_hcd :05:00.3: HC died; cleaning up
  [  310.532440] xhci_hcd :05:00.3: Timeout while waiting for configure 
endpoint command
  [  310.670248] usb 2-4.3: USB disconnect, device number 6
  [  310.834039] usb 2-4.5: USB disconnect, device number 8
  [  310.835017] usb 2-2: USB disconnect, device number 10

  When I re-attach the latop to the docking:

  [  343.111212] r8169 :03:00.0 enp3s0f0: Link is Up - 100Mbps/Full - flow 
control rx/tx
  [  344.272052] [drm] DM_MST: starting TM on aconnector: 8e933bad [id: 
77]
  [  344.365795] [drm] DM_MST: added connector: e2f1a7b4 [id: 100] 
[master: 8e933bad]
  [  344.365857] [drm] DM_MST: added connector: c263592d [id: 105] 
[master: 8e933bad]
  [  344.365899] [drm] DM_MST: added connector: 44df80f6 [id: 116] 
[master: 8e933bad]

  Software:
  Ubuntu 19.10 - Ubuntu 5.3.0-24.26-generic 5.3.10
  Linux  5.3.0-24-generic #26-Ubuntu SMP Thu Nov 14 01:33:18 UTC 2019 
x86_64 x86_64 x86_64 GNU/Linux

  lspci: (laptop + docking)
  00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root 
Complex
  00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
  00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
00h-1fh) PCIe Dummy Host Bridge
  00:01.2 PCI 

[Kernel-packages] [Bug 1857385] Re: xHCI host controller not responding, assume dead via USB-C docking station

2020-02-18 Thread Xavier Claessens
Logs I see in dmesg when undocking:

[  233.116257] xhci_hcd :05:00.3: Abort failed to stop command ring: -110
[  233.128054] xhci_hcd :05:00.3: xHCI host controller not responding, 
assume dead
[  233.128087] xhci_hcd :05:00.3: HC died; cleaning up
[  233.128286] xhci_hcd :05:00.3: Timeout while waiting for configure 
endpoint command
[  233.128382] usb 2-4.2.4: Not enough bandwidth for altsetting 1
[  233.128389] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
... last 2 lines are repeated a lot.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1857385

Title:
  xHCI host controller not responding, assume dead via USB-C docking
  station

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hello,
  I'm using a Lenovo T495s with the Lenovo AJ40 - Ultra Docking Station USB-C 
(https://support.lenovo.com/us/en/solutions/pd500173O) and, when I undock the 
laptop from the docking station, the USB Hub disconnects all the local laptop 
USB ports and they are unusable.
  If I try to re-attach the laptop to the docking station nothing change, the 
ports (docking and laptop) are still disconnected, the hdmi/lan/power is 
working good. Sometimes it happens also when the laptop is docked and I'm 
working.

  The issue seems similar of the bug 1766076:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766076

  but here no thunderbolt, it's a ryzen cpu.
  As written in the bug 1766076, the only way to have the USB in working 
condition is unbinding/binding the xhci or using the unit/systemd workaround 
described on post 83 
(https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766076/comments/83) with 
some modification, sometimes is still not working at all.

  The issue is present on Ubuntu 19.10 (see below the logs), on Ubuntu
  18.04 (with kernel 4.x or 5.0 mainline by ubuntu, 5.2 and 5.4 debs
  installed from kernel.org) and on Fedora 31 too. In Windows everything
  is working fine.

  The bios and firmware of the docking station are updated to the last
  one (1 month ago).

  The dmesg when I undock the laptop:

  [  305.299725] usb 2-1: USB disconnect, device number 2
  [  305.310888] [drm] DM_MST: stopping TM on aconnector: 8e933bad [id: 
77]
  [  305.311186] [drm] DM_MST: Disabling connector: 0c5e8d66 [id: 81] 
[master: 8e933bad]
  [  305.311957] [drm] DM_MST: Disabling connector: b7fb3125 [id: 86] 
[master: 8e933bad]
  [  305.312136] [drm] DM_MST: Disabling connector: e642e447 [id: 91] 
[master: 8e933bad]
  [  305.362012] r8169 :03:00.0 enp3s0f0: Link is Down
  [  305.464627] usb 3-4: USB disconnect, device number 2
  [  305.464642] usb 3-4.2: USB disconnect, device number 3
  [  305.472691] usb 2-4: USB disconnect, device number 4
  [  305.472704] usb 2-4.2: USB disconnect, device number 5
  [  305.472712] usb 2-4.2.4: USB disconnect, device number 7
  [  306.725746] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  306.725892] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  ...hundreds of line - the same
  [  310.520323] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.520504] xhci_hcd :05:00.3: xHCI host not responding to stop 
endpoint command.
  [  310.520622] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  hundreds of line - the same
  [  310.529388] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.529626] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530634] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530740] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530843] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.531095] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.531324] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.532315] xhci_hcd :05:00.3: xHCI host controller not responding, 
assume dead
  [  310.532379] xhci_hcd :05:00.3: HC died; cleaning up
  [  310.532440] xhci_hcd :05:00.3: Timeout while waiting for configure 
endpoint command
  [  310.670248] usb 2-4.3: USB disconnect, device number 6
  [  310.834039] usb 2-4.5: USB disconnect, device number 8
  [  310.835017] usb 2-2: USB disconnect, device number 10

  When I re-attach the latop to the docking:

  [  343.111212] r8169 :03:00.0 enp3s0f0: Link is Up - 100Mbps/Full - flow 
control rx/tx
  [  344.272052] [drm] DM_MST: starting TM on aconnector: 8e933bad [id: 
77]
  [  344.365795] [drm] DM_MST: added connector: e2f1a7b4 [id: 100] 
[master: 8e933bad]
  [  344.365857] [drm] DM_MST: added connector: c263592d [id: 105] 
[master: 8e933bad]
  [  344.365899] [drm] DM_MST: added connector: 44df80f6 [id: 116] 
[master: 8e933bad]

  Software:
  Ubuntu 19.10 - Ubuntu 5.3.0-24.26-generic 5.3.10
  Linux  5.3.0-24-generic #26-Ubuntu SMP Thu Nov 14 01:33:18 UTC 2019 
x86_64 

[Kernel-packages] [Bug 1857385] Re: xHCI host controller not responding, assume dead via USB-C docking station

2020-02-18 Thread Xavier Claessens
Same here on x395 (amd chipset) with Ubuntu 18.04 and 20.04 (kernel
5.4.0-14-generic). Also same on Fedora 31.

Attached a script that restore USB after undocking as workaround.

** Attachment added: "Script to reset xHCI after undocking"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1857385/+attachment/5329344/+files/xhci-reset.sh

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1857385

Title:
  xHCI host controller not responding, assume dead via USB-C docking
  station

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hello,
  I'm using a Lenovo T495s with the Lenovo AJ40 - Ultra Docking Station USB-C 
(https://support.lenovo.com/us/en/solutions/pd500173O) and, when I undock the 
laptop from the docking station, the USB Hub disconnects all the local laptop 
USB ports and they are unusable.
  If I try to re-attach the laptop to the docking station nothing change, the 
ports (docking and laptop) are still disconnected, the hdmi/lan/power is 
working good. Sometimes it happens also when the laptop is docked and I'm 
working.

  The issue seems similar of the bug 1766076:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766076

  but here no thunderbolt, it's a ryzen cpu.
  As written in the bug 1766076, the only way to have the USB in working 
condition is unbinding/binding the xhci or using the unit/systemd workaround 
described on post 83 
(https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766076/comments/83) with 
some modification, sometimes is still not working at all.

  The issue is present on Ubuntu 19.10 (see below the logs), on Ubuntu
  18.04 (with kernel 4.x or 5.0 mainline by ubuntu, 5.2 and 5.4 debs
  installed from kernel.org) and on Fedora 31 too. In Windows everything
  is working fine.

  The bios and firmware of the docking station are updated to the last
  one (1 month ago).

  The dmesg when I undock the laptop:

  [  305.299725] usb 2-1: USB disconnect, device number 2
  [  305.310888] [drm] DM_MST: stopping TM on aconnector: 8e933bad [id: 
77]
  [  305.311186] [drm] DM_MST: Disabling connector: 0c5e8d66 [id: 81] 
[master: 8e933bad]
  [  305.311957] [drm] DM_MST: Disabling connector: b7fb3125 [id: 86] 
[master: 8e933bad]
  [  305.312136] [drm] DM_MST: Disabling connector: e642e447 [id: 91] 
[master: 8e933bad]
  [  305.362012] r8169 :03:00.0 enp3s0f0: Link is Down
  [  305.464627] usb 3-4: USB disconnect, device number 2
  [  305.464642] usb 3-4.2: USB disconnect, device number 3
  [  305.472691] usb 2-4: USB disconnect, device number 4
  [  305.472704] usb 2-4.2: USB disconnect, device number 5
  [  305.472712] usb 2-4.2.4: USB disconnect, device number 7
  [  306.725746] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  306.725892] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  ...hundreds of line - the same
  [  310.520323] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.520504] xhci_hcd :05:00.3: xHCI host not responding to stop 
endpoint command.
  [  310.520622] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  hundreds of line - the same
  [  310.529388] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.529626] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530634] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530740] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530843] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.531095] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.531324] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.532315] xhci_hcd :05:00.3: xHCI host controller not responding, 
assume dead
  [  310.532379] xhci_hcd :05:00.3: HC died; cleaning up
  [  310.532440] xhci_hcd :05:00.3: Timeout while waiting for configure 
endpoint command
  [  310.670248] usb 2-4.3: USB disconnect, device number 6
  [  310.834039] usb 2-4.5: USB disconnect, device number 8
  [  310.835017] usb 2-2: USB disconnect, device number 10

  When I re-attach the latop to the docking:

  [  343.111212] r8169 :03:00.0 enp3s0f0: Link is Up - 100Mbps/Full - flow 
control rx/tx
  [  344.272052] [drm] DM_MST: starting TM on aconnector: 8e933bad [id: 
77]
  [  344.365795] [drm] DM_MST: added connector: e2f1a7b4 [id: 100] 
[master: 8e933bad]
  [  344.365857] [drm] DM_MST: added connector: c263592d [id: 105] 
[master: 8e933bad]
  [  344.365899] [drm] DM_MST: added connector: 44df80f6 [id: 116] 
[master: 8e933bad]

  Software:
  Ubuntu 19.10 - Ubuntu 5.3.0-24.26-generic 5.3.10
  Linux  5.3.0-24-generic #26-Ubuntu SMP Thu Nov 14 01:33:18 UTC 2019 
x86_64 x86_64 x86_64 GNU/Linux

  lspci: (laptop + docking)
  00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root 
Complex
  00:00.2 IOMMU: Advanced Micro 

[Kernel-packages] [Bug 1857385] Re: xHCI host controller not responding, assume dead via USB-C docking station

2020-01-05 Thread kraba
Tested, still the same results: no usb available after the undock on
laptop (I had a pendrive attached to test)

uname -a
Linux 5.3.0-27-generic #29~lp1857385 SMP Fri Jan 3 21:30:32 CST 2020 x86_64 
x86_64 x86_64 GNU/Linux

dmesg when I undock the laptop:

[  129.399949] usb 2-1: USB disconnect, device number 2
[  129.417254] [drm] DM_MST: stopping TM on aconnector: 76d67240 [id: 
77]
[  129.417557] [drm] DM_MST: Disabling connector: 242d96de [id: 81] 
[master: 76d67240]
[  129.418358] [drm] DM_MST: Disabling connector: 3436afd3 [id: 86] 
[master: 76d67240]
[  129.418543] [drm] DM_MST: Disabling connector: 1b62a1c6 [id: 91] 
[master: 76d67240]
[  129.431465] usb 3-4: USB disconnect, device number 2
[  129.431478] usb 3-4.2: USB disconnect, device number 3
[  129.467388] r8169 :03:00.0 enp3s0f0: Link is Down
[  129.581266] usb 2-4: USB disconnect, device number 3
[  129.581280] usb 2-4.2: USB disconnect, device number 4
[  129.581288] usb 2-4.2.4: USB disconnect, device number 6
[  131.262762] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
[  131.262932] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
hundreds of lines (the same)
[  134.530663] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
[  135.983562] [drm] Fence fallback timer expired on ring sdma0
[  135.987559] [drm] Fence fallback timer expired on ring gfx
[  136.495422] [drm] Fence fallback timer expired on ring sdma0
[  137.007323] [drm] Fence fallback timer expired on ring sdma0
[  137.519202] [drm] Fence fallback timer expired on ring sdma0
[  138.031056] [drm] Fence fallback timer expired on ring sdma0
[  142.290091] iwlwifi :01:00.0: Error sending STATISTICS_CMD: time out 
after 2000ms.
[  142.290101] iwlwifi :01:00.0: Current CMD queue read_ptr 176 write_ptr 
177
[  142.292482] iwlwifi :01:00.0: Start IWL Error Log Dump:
[  142.292486] iwlwifi :01:00.0: Status: 0x0080, count: 6
[  142.292491] iwlwifi :01:00.0: Loaded firmware version: 46.6bf1df06.0
[  142.292495] iwlwifi :01:00.0: 0x0071 | NMI_INTERRUPT_UMAC_FATAL
[  142.292499] iwlwifi :01:00.0: 0x26F4 | trm_hw_status0
[  142.292502] iwlwifi :01:00.0: 0x | trm_hw_status1
[  142.292506] iwlwifi :01:00.0: 0x0048853E | branchlink2
[  142.292509] iwlwifi :01:00.0: 0x00192402 | interruptlink1
[  142.292512] iwlwifi :01:00.0: 0x00479392 | interruptlink2
[  142.292515] iwlwifi :01:00.0: 0x0001ACA2 | data1
[  142.292518] iwlwifi :01:00.0: 0xFF001000 | data2
[  142.292521] iwlwifi :01:00.0: 0xF000 | data3
[  142.292524] iwlwifi :01:00.0: 0x4780C555 | beacon time
[  142.292527] iwlwifi :01:00.0: 0x059DFF69 | tsf low
[  142.292529] iwlwifi :01:00.0: 0x0163 | tsf hi
[  142.292532] iwlwifi :01:00.0: 0x | time gp1
[  142.292535] iwlwifi :01:00.0: 0x08362F53 | time gp2
[  142.292538] iwlwifi :01:00.0: 0x0001 | uCode revision type
[  142.292541] iwlwifi :01:00.0: 0x002E | uCode version major
[  142.292543] iwlwifi :01:00.0: 0x6BF1DF06 | uCode version minor
[  142.292546] iwlwifi :01:00.0: 0x0321 | hw version
[  142.292549] iwlwifi :01:00.0: 0x00C89004 | board version
[  142.292551] iwlwifi :01:00.0: 0x001C | hcmd
[  142.292554] iwlwifi :01:00.0: 0x80022002 | isr0
[  142.292557] iwlwifi :01:00.0: 0x | isr1
[  142.292559] iwlwifi :01:00.0: 0x08101002 | isr2
[  142.292562] iwlwifi :01:00.0: 0x404000C6 | isr3
[  142.292565] iwlwifi :01:00.0: 0x | isr4
[  142.292567] iwlwifi :01:00.0: 0x0B48001C | last cmd Id
[  142.292570] iwlwifi :01:00.0: 0x0001ACA2 | wait_event
[  142.292573] iwlwifi :01:00.0: 0x | l2p_control
[  142.292576] iwlwifi :01:00.0: 0x2020 | l2p_duration
[  142.292578] iwlwifi :01:00.0: 0x | l2p_mhvalid
[  142.292581] iwlwifi :01:00.0: 0x | l2p_addr_match
[  142.292584] iwlwifi :01:00.0: 0x000D | lmpm_pmg_sel
[  142.292586] iwlwifi :01:00.0: 0x08081424 | timestamp
[  142.292589] iwlwifi :01:00.0: 0x38EC | flow_handler
[  142.292698] iwlwifi :01:00.0: Start IWL Error Log Dump:
[  142.292701] iwlwifi :01:00.0: Status: 0x0080, count: 7
[  142.292704] iwlwifi :01:00.0: 0x2066 | NMI_INTERRUPT_HOST
[  142.292707] iwlwifi :01:00.0: 0x | umac branchlink1
[  142.292709] iwlwifi :01:00.0: 0xC00E | umac branchlink2
[  142.292712] iwlwifi :01:00.0: 0x | umac interruptlink1
[  142.292715] iwlwifi :01:00.0: 0x8044FE76 | umac interruptlink2
[  142.292718] iwlwifi :01:00.0: 0x0100 | umac data1
[  142.292720] iwlwifi :01:00.0: 0x8044FE76 | umac data2
[  142.292723] iwlwifi :01:00.0: 0xDEADBEEF | umac data3
[  142.292726] iwlwifi :01:00.0: 0x002E | umac major
[  142.292728] iwlwifi :01:00.0: 0x6BF1DF06 | umac minor
[  142.292731] iwlwifi :01:00.0: 0x08362EE9 | frame pointer
[  142.292733] iwlwifi 

[Kernel-packages] [Bug 1857385] Re: xHCI host controller not responding, assume dead via USB-C docking station

2020-01-03 Thread Kai-Heng Feng
Can you please test this kernel:
https://people.canonical.com/~khfeng/lp1857385/

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1857385

Title:
  xHCI host controller not responding, assume dead via USB-C docking
  station

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hello,
  I'm using a Lenovo T495s with the Lenovo AJ40 - Ultra Docking Station USB-C 
(https://support.lenovo.com/us/en/solutions/pd500173O) and, when I undock the 
laptop from the docking station, the USB Hub disconnects all the local laptop 
USB ports and they are unusable.
  If I try to re-attach the laptop to the docking station nothing change, the 
ports (docking and laptop) are still disconnected, the hdmi/lan/power is 
working good. Sometimes it happens also when the laptop is docked and I'm 
working.

  The issue seems similar of the bug 1766076:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766076

  but here no thunderbolt, it's a ryzen cpu.
  As written in the bug 1766076, the only way to have the USB in working 
condition is unbinding/binding the xhci or using the unit/systemd workaround 
described on post 83 
(https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766076/comments/83) with 
some modification, sometimes is still not working at all.

  The issue is present on Ubuntu 19.10 (see below the logs), on Ubuntu
  18.04 (with kernel 4.x or 5.0 mainline by ubuntu, 5.2 and 5.4 debs
  installed from kernel.org) and on Fedora 31 too. In Windows everything
  is working fine.

  The bios and firmware of the docking station are updated to the last
  one (1 month ago).

  The dmesg when I undock the laptop:

  [  305.299725] usb 2-1: USB disconnect, device number 2
  [  305.310888] [drm] DM_MST: stopping TM on aconnector: 8e933bad [id: 
77]
  [  305.311186] [drm] DM_MST: Disabling connector: 0c5e8d66 [id: 81] 
[master: 8e933bad]
  [  305.311957] [drm] DM_MST: Disabling connector: b7fb3125 [id: 86] 
[master: 8e933bad]
  [  305.312136] [drm] DM_MST: Disabling connector: e642e447 [id: 91] 
[master: 8e933bad]
  [  305.362012] r8169 :03:00.0 enp3s0f0: Link is Down
  [  305.464627] usb 3-4: USB disconnect, device number 2
  [  305.464642] usb 3-4.2: USB disconnect, device number 3
  [  305.472691] usb 2-4: USB disconnect, device number 4
  [  305.472704] usb 2-4.2: USB disconnect, device number 5
  [  305.472712] usb 2-4.2.4: USB disconnect, device number 7
  [  306.725746] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  306.725892] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  ...hundreds of line - the same
  [  310.520323] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.520504] xhci_hcd :05:00.3: xHCI host not responding to stop 
endpoint command.
  [  310.520622] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  hundreds of line - the same
  [  310.529388] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.529626] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530634] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530740] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530843] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.531095] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.531324] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.532315] xhci_hcd :05:00.3: xHCI host controller not responding, 
assume dead
  [  310.532379] xhci_hcd :05:00.3: HC died; cleaning up
  [  310.532440] xhci_hcd :05:00.3: Timeout while waiting for configure 
endpoint command
  [  310.670248] usb 2-4.3: USB disconnect, device number 6
  [  310.834039] usb 2-4.5: USB disconnect, device number 8
  [  310.835017] usb 2-2: USB disconnect, device number 10

  When I re-attach the latop to the docking:

  [  343.111212] r8169 :03:00.0 enp3s0f0: Link is Up - 100Mbps/Full - flow 
control rx/tx
  [  344.272052] [drm] DM_MST: starting TM on aconnector: 8e933bad [id: 
77]
  [  344.365795] [drm] DM_MST: added connector: e2f1a7b4 [id: 100] 
[master: 8e933bad]
  [  344.365857] [drm] DM_MST: added connector: c263592d [id: 105] 
[master: 8e933bad]
  [  344.365899] [drm] DM_MST: added connector: 44df80f6 [id: 116] 
[master: 8e933bad]

  Software:
  Ubuntu 19.10 - Ubuntu 5.3.0-24.26-generic 5.3.10
  Linux  5.3.0-24-generic #26-Ubuntu SMP Thu Nov 14 01:33:18 UTC 2019 
x86_64 x86_64 x86_64 GNU/Linux

  lspci: (laptop + docking)
  00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root 
Complex
  00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
  00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
00h-1fh) PCIe Dummy Host Bridge
  00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:01.3 PCI bridge: 

[Kernel-packages] [Bug 1857385] Re: xHCI host controller not responding, assume dead via USB-C docking station

2019-12-25 Thread kraba
tested but it's still stucking the usb hub. After the undock I need to
run the reset of the USB hub to have it working.

Undock:

[   84.219765] usb 2-1: USB disconnect, device number 2
[   84.225638] [drm] DM_MST: stopping TM on aconnector: da0f527b [id: 
78]
[   84.225876] [drm] DM_MST: Disabling connector: 63ebb1ca [id: 83] 
[master: da0f527b]
[   84.227747] [drm] DM_MST: Disabling connector: 4a641ca6 [id: 88] 
[master: da0f527b]
[   84.228238] [drm] DM_MST: Disabling connector: c365f2c1 [id: 93] 
[master: da0f527b]
[   84.255498] usb 3-4: USB disconnect, device number 2
[   84.255516] usb 3-4.2: USB disconnect, device number 3
[   84.255528] usb 3-4.2.2: USB disconnect, device number 4
[   84.285331] r8169 :03:00.0 enp3s0f0: Link is Down
[   84.380070] usb 2-4: USB disconnect, device number 3
[   84.380088] usb 2-4.2: USB disconnect, device number 4
[   84.380101] usb 2-4.2.4: USB disconnect, device number 6
[   84.590759] usb 2-4.3: USB disconnect, device number 5
[   94.852024] xhci_hcd :05:00.3: Abort failed to stop command ring: -110
[   94.863836] xhci_hcd :05:00.3: xHCI host controller not responding, 
assume dead
[   94.863859] xhci_hcd :05:00.3: HC died; cleaning up
[   94.863951] xhci_hcd :05:00.3: Timeout while waiting for configure 
endpoint command
[   94.865041] usb 2-4.5: USB disconnect, device number 7


Dock:

[  147.920108] r8169 :03:00.0 enp3s0f0: Link is Up - 100Mbps/Full - flow 
control rx/tx
[  148.973615] [drm] DM_MST: starting TM on aconnector: da0f527b [id: 
78]
[  149.070161] [drm] DM_MST: added connector: 1e859739 [id: 101] 
[master: da0f527b]
[  149.070321] [drm] DM_MST: added connector: 761fd001 [id: 106] 
[master: da0f527b]
[  149.070414] [drm] DM_MST: added connector: f8739422 [id: 117] 
[master: da0f527b]

unbind/bind manually/via script:

[  197.186295] xhci_hcd :05:00.3: remove, state 1
[  197.186302] usb usb3: USB disconnect, device number 1
[  197.186786] xhci_hcd :05:00.3: USB bus 3 deregistered
[  197.186850] xhci_hcd :05:00.3: remove, state 1
[  197.186854] usb usb2: USB disconnect, device number 1
[  197.187771] xhci_hcd :05:00.3: USB bus 2 deregistered
[  197.188174] xhci_hcd :05:00.4: remove, state 4
[  197.188181] usb usb5: USB disconnect, device number 1
[  197.188540] xhci_hcd :05:00.4: USB bus 5 deregistered
[  197.188560] xhci_hcd :05:00.4: remove, state 1
[  197.188567] usb usb4: USB disconnect, device number 1
[  197.188569] usb 4-1: USB disconnect, device number 2
[  197.189511] usb 4-2: USB disconnect, device number 3
[  197.189517] usb 4-2.1: USB disconnect, device number 4
[  197.262799] usb 4-2.4: USB disconnect, device number 5
[  197.312146] xhci_hcd :05:00.4: Host halt failed, -110
[  197.312149] xhci_hcd :05:00.4: Host controller not halted, aborting 
reset.
[  197.312483] xhci_hcd :05:00.4: USB bus 4 deregistered
[  198.315237] xhci_hcd :05:00.3: xHCI Host Controller
[  198.315247] xhci_hcd :05:00.3: new USB bus registered, assigned bus 
number 2
[  198.315424] xhci_hcd :05:00.3: hcc params 0x0270ffe5 hci version 0x110 
quirks 0x00084410
[  198.316177] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, 
bcdDevice= 5.05
[  198.316181] usb usb2: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[  198.316184] usb usb2: Product: xHCI Host Controller
[  198.316187] usb usb2: Manufacturer: Linux 5.5.0-050500rc3-generic xhci-hcd
[  198.316189] usb usb2: SerialNumber: :05:00.3
[  198.316472] hub 2-0:1.0: USB hub found
[  198.316514] hub 2-0:1.0: 4 ports detected
[  198.317303] xhci_hcd :05:00.3: xHCI Host Controller
[  198.317310] xhci_hcd :05:00.3: new USB bus registered, assigned bus 
number 3
[  198.317315] xhci_hcd :05:00.3: Host supports USB 3.1 Enhanced SuperSpeed
[  198.317372] usb usb3: We don't know the algorithms for LPM for this host, 
disabling LPM.
[  198.317432] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, 
bcdDevice= 5.05
[  198.317435] usb usb3: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[  198.317436] usb usb3: Product: xHCI Host Controller
[  198.317438] usb usb3: Manufacturer: Linux 5.5.0-050500rc3-generic xhci-hcd
[  198.317440] usb usb3: SerialNumber: :05:00.3
[  198.317632] hub 3-0:1.0: USB hub found
[  198.317651] hub 3-0:1.0: 4 ports detected
[  198.318427] xhci_hcd :05:00.4: xHCI Host Controller
[  198.318435] xhci_hcd :05:00.4: new USB bus registered, assigned bus 
number 4
[  198.318644] xhci_hcd :05:00.4: hcc params 0x0260ffe5 hci version 0x110 
quirks 0x00084410
[  198.319507] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, 
bcdDevice= 5.05
[  198.319510] usb usb4: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[  198.319512] usb usb4: Product: xHCI Host Controller
[  198.319514] usb usb4: Manufacturer: Linux 

[Kernel-packages] [Bug 1857385] Re: xHCI host controller not responding, assume dead via USB-C docking station

2019-12-24 Thread Kai-Heng Feng
Please test latest mainline kernel:
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5-rc3

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1857385

Title:
  xHCI host controller not responding, assume dead via USB-C docking
  station

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hello,
  I'm using a Lenovo T495s with the Lenovo AJ40 - Ultra Docking Station USB-C 
(https://support.lenovo.com/us/en/solutions/pd500173O) and, when I undock the 
laptop from the docking station, the USB Hub disconnects all the local laptop 
USB ports and they are unusable.
  If I try to re-attach the laptop to the docking station nothing change, the 
ports (docking and laptop) are still disconnected, the hdmi/lan/power is 
working good. Sometimes it happens also when the laptop is docked and I'm 
working.

  The issue seems similar of the bug 1766076:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766076

  but here no thunderbolt, it's a ryzen cpu.
  As written in the bug 1766076, the only way to have the USB in working 
condition is unbinding/binding the xhci or using the unit/systemd workaround 
described on post 83 
(https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766076/comments/83) with 
some modification, sometimes is still not working at all.

  The issue is present on Ubuntu 19.10 (see below the logs), on Ubuntu
  18.04 (with kernel 4.x or 5.0 mainline by ubuntu, 5.2 and 5.4 debs
  installed from kernel.org) and on Fedora 31 too. In Windows everything
  is working fine.

  The bios and firmware of the docking station are updated to the last
  one (1 month ago).

  The dmesg when I undock the laptop:

  [  305.299725] usb 2-1: USB disconnect, device number 2
  [  305.310888] [drm] DM_MST: stopping TM on aconnector: 8e933bad [id: 
77]
  [  305.311186] [drm] DM_MST: Disabling connector: 0c5e8d66 [id: 81] 
[master: 8e933bad]
  [  305.311957] [drm] DM_MST: Disabling connector: b7fb3125 [id: 86] 
[master: 8e933bad]
  [  305.312136] [drm] DM_MST: Disabling connector: e642e447 [id: 91] 
[master: 8e933bad]
  [  305.362012] r8169 :03:00.0 enp3s0f0: Link is Down
  [  305.464627] usb 3-4: USB disconnect, device number 2
  [  305.464642] usb 3-4.2: USB disconnect, device number 3
  [  305.472691] usb 2-4: USB disconnect, device number 4
  [  305.472704] usb 2-4.2: USB disconnect, device number 5
  [  305.472712] usb 2-4.2.4: USB disconnect, device number 7
  [  306.725746] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  306.725892] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  ...hundreds of line - the same
  [  310.520323] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.520504] xhci_hcd :05:00.3: xHCI host not responding to stop 
endpoint command.
  [  310.520622] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  hundreds of line - the same
  [  310.529388] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.529626] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530634] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530740] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530843] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.531095] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.531324] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.532315] xhci_hcd :05:00.3: xHCI host controller not responding, 
assume dead
  [  310.532379] xhci_hcd :05:00.3: HC died; cleaning up
  [  310.532440] xhci_hcd :05:00.3: Timeout while waiting for configure 
endpoint command
  [  310.670248] usb 2-4.3: USB disconnect, device number 6
  [  310.834039] usb 2-4.5: USB disconnect, device number 8
  [  310.835017] usb 2-2: USB disconnect, device number 10

  When I re-attach the latop to the docking:

  [  343.111212] r8169 :03:00.0 enp3s0f0: Link is Up - 100Mbps/Full - flow 
control rx/tx
  [  344.272052] [drm] DM_MST: starting TM on aconnector: 8e933bad [id: 
77]
  [  344.365795] [drm] DM_MST: added connector: e2f1a7b4 [id: 100] 
[master: 8e933bad]
  [  344.365857] [drm] DM_MST: added connector: c263592d [id: 105] 
[master: 8e933bad]
  [  344.365899] [drm] DM_MST: added connector: 44df80f6 [id: 116] 
[master: 8e933bad]

  Software:
  Ubuntu 19.10 - Ubuntu 5.3.0-24.26-generic 5.3.10
  Linux  5.3.0-24-generic #26-Ubuntu SMP Thu Nov 14 01:33:18 UTC 2019 
x86_64 x86_64 x86_64 GNU/Linux

  lspci: (laptop + docking)
  00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root 
Complex
  00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
  00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
00h-1fh) PCIe Dummy Host Bridge
  00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:01.3 PCI 

[Kernel-packages] [Bug 1857385] Re: xHCI host controller not responding, assume dead via USB-C docking station

2019-12-23 Thread kraba
just for info : I tried also the kernel provided by
https://launchpad.net/~kaihengfeng on post 90 (
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766076/comments/90)
but nothing changed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1857385

Title:
  xHCI host controller not responding, assume dead via USB-C docking
  station

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hello,
  I'm using a Lenovo T495s with the Lenovo AJ40 - Ultra Docking Station USB-C 
(https://support.lenovo.com/us/en/solutions/pd500173O) and, when I undock the 
laptop from the docking station, the USB Hub disconnects all the local laptop 
USB ports and they are unusable.
  If I try to re-attach the laptop to the docking station nothing change, the 
ports (docking and laptop) are still disconnected, the hdmi/lan/power is 
working good. Sometimes it happens also when the laptop is docked and I'm 
working.

  The issue seems similar of the bug 1766076:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766076

  but here no thunderbolt, it's a ryzen cpu.
  As written in the bug 1766076, the only way to have the USB in working 
condition is unbinding/binding the xhci or using the unit/systemd workaround 
described on post 83 
(https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766076/comments/83) with 
some modification, sometimes is still not working at all.

  The issue is present on Ubuntu 19.10 (see below the logs), on Ubuntu
  18.04 (with kernel 4.x or 5.0 mainline by ubuntu, 5.2 and 5.4 debs
  installed from kernel.org) and on Fedora 31 too. In Windows everything
  is working fine.

  The bios and firmware of the docking station are updated to the last
  one (1 month ago).

  The dmesg when I undock the laptop:

  [  305.299725] usb 2-1: USB disconnect, device number 2
  [  305.310888] [drm] DM_MST: stopping TM on aconnector: 8e933bad [id: 
77]
  [  305.311186] [drm] DM_MST: Disabling connector: 0c5e8d66 [id: 81] 
[master: 8e933bad]
  [  305.311957] [drm] DM_MST: Disabling connector: b7fb3125 [id: 86] 
[master: 8e933bad]
  [  305.312136] [drm] DM_MST: Disabling connector: e642e447 [id: 91] 
[master: 8e933bad]
  [  305.362012] r8169 :03:00.0 enp3s0f0: Link is Down
  [  305.464627] usb 3-4: USB disconnect, device number 2
  [  305.464642] usb 3-4.2: USB disconnect, device number 3
  [  305.472691] usb 2-4: USB disconnect, device number 4
  [  305.472704] usb 2-4.2: USB disconnect, device number 5
  [  305.472712] usb 2-4.2.4: USB disconnect, device number 7
  [  306.725746] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  306.725892] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  ...hundreds of line - the same
  [  310.520323] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.520504] xhci_hcd :05:00.3: xHCI host not responding to stop 
endpoint command.
  [  310.520622] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  hundreds of line - the same
  [  310.529388] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.529626] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530634] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530740] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530843] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.531095] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.531324] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.532315] xhci_hcd :05:00.3: xHCI host controller not responding, 
assume dead
  [  310.532379] xhci_hcd :05:00.3: HC died; cleaning up
  [  310.532440] xhci_hcd :05:00.3: Timeout while waiting for configure 
endpoint command
  [  310.670248] usb 2-4.3: USB disconnect, device number 6
  [  310.834039] usb 2-4.5: USB disconnect, device number 8
  [  310.835017] usb 2-2: USB disconnect, device number 10

  When I re-attach the latop to the docking:

  [  343.111212] r8169 :03:00.0 enp3s0f0: Link is Up - 100Mbps/Full - flow 
control rx/tx
  [  344.272052] [drm] DM_MST: starting TM on aconnector: 8e933bad [id: 
77]
  [  344.365795] [drm] DM_MST: added connector: e2f1a7b4 [id: 100] 
[master: 8e933bad]
  [  344.365857] [drm] DM_MST: added connector: c263592d [id: 105] 
[master: 8e933bad]
  [  344.365899] [drm] DM_MST: added connector: 44df80f6 [id: 116] 
[master: 8e933bad]

  Software:
  Ubuntu 19.10 - Ubuntu 5.3.0-24.26-generic 5.3.10
  Linux  5.3.0-24-generic #26-Ubuntu SMP Thu Nov 14 01:33:18 UTC 2019 
x86_64 x86_64 x86_64 GNU/Linux

  lspci: (laptop + docking)
  00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root 
Complex
  00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
  00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
00h-1fh) PCIe Dummy Host Bridge
  

[Kernel-packages] [Bug 1857385] Re: xHCI host controller not responding, assume dead via USB-C docking station

2019-12-23 Thread kraba
** Description changed:

  Hello,
  I'm using a Lenovo T495s with the Lenovo AJ40 - Ultra Docking Station USB-C 
(https://support.lenovo.com/us/en/solutions/pd500173O) and, when I undock the 
laptop from the docking station, the USB Hub disconnects all the local laptop 
USB ports and they are unusable.
  If I try to re-attach the laptop to the docking station nothing change, the 
ports (docking and laptop) are still disconnected, the hdmi/lan/power is 
working good. Sometimes it happens also when the laptop is docked and I'm 
working.
  
  The issue seems similar of the bug 1766076:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766076
  
  but here no thunderbolt, it's a ryzen cpu.
  As written in the bug 1766076, the only way to have the USB in working 
condition is unbinding/binding the xhci or using the unit/systemd workaround 
described on post 83 
(https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766076/comments/83) with 
some modification, sometimes is still not working at all.
  
  The issue is present on Ubuntu 19.10 (see below the logs), on Ubuntu
  18.04 (with kernel 4.x or 5.0 mainline by ubuntu, 5.2 and 5.4 debs
  installed from kernel.org) and on Fedora 31 too. In Windows everything
  is working fine.
  
- The bios and firmware of the docking station are updated at the last one
+ The bios and firmware of the docking station are updated to the last one
  (1 month ago).
  
  The dmesg when I undock the laptop:
  
  [  305.299725] usb 2-1: USB disconnect, device number 2
  [  305.310888] [drm] DM_MST: stopping TM on aconnector: 8e933bad [id: 
77]
  [  305.311186] [drm] DM_MST: Disabling connector: 0c5e8d66 [id: 81] 
[master: 8e933bad]
  [  305.311957] [drm] DM_MST: Disabling connector: b7fb3125 [id: 86] 
[master: 8e933bad]
  [  305.312136] [drm] DM_MST: Disabling connector: e642e447 [id: 91] 
[master: 8e933bad]
  [  305.362012] r8169 :03:00.0 enp3s0f0: Link is Down
  [  305.464627] usb 3-4: USB disconnect, device number 2
  [  305.464642] usb 3-4.2: USB disconnect, device number 3
  [  305.472691] usb 2-4: USB disconnect, device number 4
  [  305.472704] usb 2-4.2: USB disconnect, device number 5
  [  305.472712] usb 2-4.2.4: USB disconnect, device number 7
  [  306.725746] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  306.725892] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  ...hundreds of line - the same
  [  310.520323] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.520504] xhci_hcd :05:00.3: xHCI host not responding to stop 
endpoint command.
  [  310.520622] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  hundreds of line - the same
  [  310.529388] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.529626] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530634] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530740] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.530843] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.531095] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.531324] usb 2-4.2.4: 2:1: usb_set_interface failed (-19)
  [  310.532315] xhci_hcd :05:00.3: xHCI host controller not responding, 
assume dead
  [  310.532379] xhci_hcd :05:00.3: HC died; cleaning up
  [  310.532440] xhci_hcd :05:00.3: Timeout while waiting for configure 
endpoint command
  [  310.670248] usb 2-4.3: USB disconnect, device number 6
  [  310.834039] usb 2-4.5: USB disconnect, device number 8
  [  310.835017] usb 2-2: USB disconnect, device number 10
  
  When I re-attach the latop to the docking:
  
  [  343.111212] r8169 :03:00.0 enp3s0f0: Link is Up - 100Mbps/Full - flow 
control rx/tx
  [  344.272052] [drm] DM_MST: starting TM on aconnector: 8e933bad [id: 
77]
  [  344.365795] [drm] DM_MST: added connector: e2f1a7b4 [id: 100] 
[master: 8e933bad]
  [  344.365857] [drm] DM_MST: added connector: c263592d [id: 105] 
[master: 8e933bad]
  [  344.365899] [drm] DM_MST: added connector: 44df80f6 [id: 116] 
[master: 8e933bad]
  
- 
  Software:
  Ubuntu 19.10 - Ubuntu 5.3.0-24.26-generic 5.3.10
  Linux  5.3.0-24-generic #26-Ubuntu SMP Thu Nov 14 01:33:18 UTC 2019 
x86_64 x86_64 x86_64 GNU/Linux
  
  lspci: (laptop + docking)
  00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root 
Complex
  00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
  00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 
00h-1fh) PCIe Dummy Host Bridge
  00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:01.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:01.7 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP 
Bridge [6:0]
  00:08.0 Host bridge: