[Kernel-packages] [Bug 1766076] Re: USB over thunderbolt turns off every once in a while

2019-03-07 Thread Mercury
Interesting, I am on a Precision 7530 on the 1.6.0 BIOS and I am
definitely still having the problems.

Tuomas, what method did you use to update the BIOS and the TB18DC
firmware?  And can you document the BIOS settings you have in place
relating to thunderbolt?

-- 
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/1766076

Title:
  USB over thunderbolt turns off every once in a while

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I'm using a USB hub in the Dell TB16 (240W) connected to a Dell
  Precision 5520 using Thunderbolt 3.

  Every so often (can be several times in an hour if I'm really unlucky,
  some days it is less of a problem), the USB hub disconnects from the
  computer and the devices connected to it lose power and stop
  responding.

  disconnecting and reconnecting the USB cables has no effect. I can
  restore functionality by instructing the xhci_hcd driver to unbind
  from the USB 3.0 Host Controller in the dock and to rebind to it using
  the commands:

  echo -n ":0e:00.0" > /sys/bus/pci/drivers/xhci_hcd/unbind
  echo -n ":0e:00.0" > /sys/bus/pci/drivers/xhci_hcd/bind

  Here's the dmesg output when the USB hub disconnects:

  279278.102701] xhci_hcd :0e:00.0: ERROR unknown event type 15
  [279283.021802] xhci_hcd :0e:00.0: xHCI host not responding to stop 
endpoint command.
  [279283.022145] xhci_hcd :0e:00.0: xHCI host controller not responding, 
assume dead
  [279283.022161] r8152 4-1.2:1.0 enxd481d731b2b1: Tx status -108
  [279283.022199] xhci_hcd :0e:00.0: HC died; cleaning up
  [279283.07] usb 3-1.5: Failed to suspend device, error -22
  [279283.022234] usb 3-1: USB disconnect, device number 2
  [279283.022235] usb 3-1.1: USB disconnect, device number 3
  [279283.022236] usb 3-1.1.1: USB disconnect, device number 5
  [279283.022237] usb 3-1.1.1.1: USB disconnect, device number 8
  [279283.022238] usb 3-1.1.1.1.4: USB disconnect, device number 11
  [279283.022326] usb 4-1: USB disconnect, device number 2
  [279283.022328] usb 4-1.1: USB disconnect, device number 3
  [279283.022329] usb 4-1.1.1: USB disconnect, device number 5
  [279283.022998] usb 4-1.2: USB disconnect, device number 4
  [279283.191217] usb 3-1.1.1.5: USB disconnect, device number 9
  [279283.191730] usb 3-1.1.3: USB disconnect, device number 6
  [279283.260810] usb 3-1.1.5: USB disconnect, device number 7
  [279283.261350] usb 3-1.5: USB disconnect, device number 4

  Here's dmesg output during the USB host controller reset:

  279389.813889] xhci_hcd :0e:00.0: remove, state 1 

  
  [279389.813894] usb usb4: USB disconnect, device number 1 

   
  [279389.814103] xhci_hcd :0e:00.0: USB bus 4 deregistered 

   
  [279389.814107] xhci_hcd :0e:00.0: remove, state 1

   
  [279389.814110] usb usb3: USB disconnect, device number 1 

   
  [279389.881651] xhci_hcd :0e:00.0: USB bus 3 deregistered 

   
  [279389.882133] xhci_hcd :0e:00.0: xHCI Host Controller   

   
  [279389.882138] xhci_hcd :0e:00.0: new USB bus registered, assigned bus 
number 3
 
  [279389.949391] xhci_hcd :0e:00.0: hcc params 0x0200e081 hci version 
0x100 quirks 0x1410 

  [279389.949979] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002 

   
  [279389.949981] usb usb3: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1  
 
  [279389.949982] usb usb3: Product: xHCI Host Controller   

   
  [279389.949983] usb usb3: Manufacturer: Linux 4.15.0-15-generic xhci-hcd  


[Kernel-packages] [Bug 1766076] Re: USB over thunderbolt turns off every once in a while

2019-02-08 Thread Mercury
Alright, I have a little more detail, but it's still largely a puzzle.

My current machine state (expected to remain this way until the next
reboot), is that any time I plug a USB device into a port under the xHCI
controller in the TB18DC dock, the xHCI controller dies a horrible
death.

This is 100% reproducible right now.

Unbinding the xHCI driver and rebinding works, as does something firmer
to the entire thunderbolt PCI chain and rescanning.

Doing so results in every USB device plugged in at the time of the
rebind/rescan working perfectly, until such time as I next plug a USB
device in.

That device can be on a port on the dock, or on a port on any hub
connected to a port on the dock.

I can remove the thunderbolt PCI devices software wise, unplug the dock
from the laptop, unplug the dock from power, then reconnect the dock to
power, plug it back into the laptop, and once everything comes back up I
am again in a temporarily working state...  Until I plug a USB device
into the system.

At which point it fails again, in exactly the same way.

Given that a reboot will solve the problem for some time, this is
starting to make me think that either A, there is something very wonky
going on in Dell SMBIOS land, or B, there is something wonky going on
somewhere in the kernel space.

It being an issue with the dock itself seems difficult to support, given
that the dock is getting a full power cycle and it's not changing
anything, and yet a reboot of the laptop without a full power cycle of
the dock seems to resolve the issue for a little while.

Here are some more kernel messages of the death, this time with more
debugging enabled:

Feb 08 20:03:46 chimera kernel: xhci_hcd :0c:00.0: // Ding dong!
Feb 08 20:03:46 chimera kernel: xhci_hcd :0c:00.0: Slot 3 output ctx = 
0xaa5a13000 (dma)
Feb 08 20:03:46 chimera kernel: xhci_hcd :0c:00.0: Slot 3 input ctx = 
0xacd98c000 (dma)
Feb 08 20:03:46 chimera kernel: xhci_hcd :0c:00.0: Set slot id 3 dcbaa 
entry 6f1f9598 to 0xaa5a13000
Feb 08 20:03:46 chimera kernel: usb 3-1.4: new full-speed USB device number 7 
using xhci_hcd
Feb 08 20:03:46 chimera kernel: xhci_hcd :0c:00.0: Set root hub portnum to 3
Feb 08 20:03:46 chimera kernel: xhci_hcd :0c:00.0: Set fake root hub 
portnum to 1
Feb 08 20:03:46 chimera kernel: xhci_hcd :0c:00.0: udev->tt = 
8fd0cd08
Feb 08 20:03:46 chimera kernel: xhci_hcd :0c:00.0: udev->ttport = 0x4
Feb 08 20:03:46 chimera kernel: xhci_hcd :0c:00.0: // Ding dong!
Feb 08 20:03:46 chimera kernel: xhci_hcd :0c:00.0: Successful setup context 
command
Feb 08 20:03:46 chimera kernel: xhci_hcd :0c:00.0: Op regs DCBAA ptr = 
0x0acbcc6000
Feb 08 20:03:46 chimera kernel: xhci_hcd :0c:00.0: Slot ID 3 dcbaa entry 
@6f1f9598 = 0x0aa5a13000
Feb 08 20:03:46 chimera kernel: xhci_hcd :0c:00.0: Output Context DMA 
address = 0xaa5a13000
Feb 08 20:03:46 chimera kernel: xhci_hcd :0c:00.0: Internal device address 
= 0
Feb 08 20:03:46 chimera kernel: xhci_hcd :0c:00.0: Waiting for status stage 
event
Feb 08 20:03:47 chimera kernel: xhci_hcd :0c:00.0: Cancel URB 
b99abcb2, dev 1, ep 0x0, starting at offset 0xaa6cbddc0
Feb 08 20:03:47 chimera kernel: xhci_hcd :0c:00.0: // Ding dong!
Feb 08 20:03:52 chimera kernel: xhci_hcd :0c:00.0: xHCI host not responding 
to stop endpoint command.
Feb 08 20:03:52 chimera kernel: xhci_hcd :0c:00.0: // Halt the HC
Feb 08 20:03:52 chimera kernel: xhci_hcd :0c:00.0: Host halt failed, -110
Feb 08 20:03:52 chimera kernel: xhci_hcd :0c:00.0: xHCI host controller not 
responding, assume dead
Feb 08 20:03:52 chimera kernel: xhci_hcd :0c:00.0: Killing URBs for slot ID 
1, ep index 0
Feb 08 20:03:52 chimera kernel: xhci_hcd :0c:00.0: Killing URBs for slot ID 
1, ep index 2
Feb 08 20:03:52 chimera kernel: xhci_hcd :0c:00.0: Killing URBs for slot ID 
2, ep index 0
Feb 08 20:03:52 chimera kernel: xhci_hcd :0c:00.0: Killing URBs for slot ID 
2, ep index 2
Feb 08 20:03:52 chimera kernel: xhci_hcd :0c:00.0: Killing URBs for slot ID 
3, ep index 0
Feb 08 20:03:52 chimera kernel: xhci_hcd :0c:00.0: Killing URBs for slot ID 
4, ep index 0
Feb 08 20:03:52 chimera kernel: xhci_hcd :0c:00.0: Killing URBs for slot ID 
4, ep index 2
Feb 08 20:03:52 chimera kernel: xhci_hcd :0c:00.0: Killing URBs for slot ID 
4, ep index 3
Feb 08 20:03:52 chimera kernel: r8152 4-1.2:1.0 eth0: Tx status -108
Feb 08 20:03:52 chimera kernel: r8152 4-1.2:1.0 eth0: Tx status -108
Feb 08 20:03:52 chimera kernel: r8152 4-1.2:1.0 eth0: Tx status -108
Feb 08 20:03:52 chimera kernel: r8152 4-1.2:1.0 eth0: Tx status -108
Feb 08 20:03:52 chimera kernel: xhci_hcd :0c:00.0: Killing URBs for slot ID 
4, ep index 6
Feb 08 20:03:52 chimera kernel: xhci_hcd :0c:00.0: Killing URBs for slot ID 
5, ep index 0
Feb 08 20:03:52 chimera kernel: xhci_hcd :0c:00.0: Killing URBs for slot ID 
5, ep index 2
Feb 08 20:03:52 chimera kernel: 

[Kernel-packages] [Bug 1766076] Re: USB over thunderbolt turns off every once in a while

2019-02-07 Thread Mercury
So, I am seeing this as well on Ubuntu 18.04, with a Dell Precision 7530
with the TB18DC, powered via the dock.

I am running a mainline kernel, 4.20.6 at the moment.

Of note, this is (by a huge margin) mostly triggered at the time of USB
plugin for me, specifically off of any port on the dock, or any port on
any switch connected to the dock.

An example instance:

[  +1.971423] usb 3-1.6: new high-speed USB device number 15 using xhci_hcd
[  +0.126334] usb 3-1.6: New USB device found, idVendor=0424, idProduct=2507, 
bcdDevice= 0.00
[  +0.07] usb 3-1.6: New USB device strings: Mfr=0, Product=0, 
SerialNumber=0
[  +0.050474] hub 3-1.6:1.0: USB hub found
[  +0.000128] hub 3-1.6:1.0: 7 ports detected
[  +0.353050] usb 3-1.6.2: new full-speed USB device number 16 using xhci_hcd
[  +0.256686] usb 3-1.6.2: New USB device found, idVendor=054c, idProduct=09cc, 
bcdDevice= 1.00
[  +0.02] usb 3-1.6.2: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0
[  +0.02] usb 3-1.6.2: Product: Wireless Controller
[  +0.01] usb 3-1.6.2: Manufacturer: Sony Interactive Entertainment
[  +0.337089] input: Sony Interactive Entertainment Wireless Controller 
Touchpad as 
/devices/pci:00/:00:1c.0/:04:00.0/:05:01.0/:07:00.0/:08:04.0/:0a:00.0/:0b:01.0/:0c:00.0/usb3/3-1/3-1.6/3-1.6.2/3-1.6.2:
[  +0.000128] input: Sony Interactive Entertainment Wireless Controller Motion 
Sensors as 
/devices/pci:00/:00:1c.0/:04:00.0/:05:01.0/:07:00.0/:08:04.0/:0a:00.0/:0b:01.0/:0c:00.0/usb3/3-1/3-1.6/3-1.6.2/3-
[  +0.053112] input: Sony Interactive Entertainment Wireless Controller as 
/devices/pci:00/:00:1c.0/:04:00.0/:05:01.0/:07:00.0/:08:04.0/:0a:00.0/:0b:01.0/:0c:00.0/usb3/3-1/3-1.6/3-1.6.2/3-1.6.2:1.3/0003:
[  +0.000252] sony 0003:054C:09CC.000A: input,hidraw1: USB HID v81.11 Gamepad 
[Sony Interactive Entertainment Wireless Controller] on 
usb-:0c:00.0-1.6.2/input3
[  +0.043354] usb 3-1.6.5: new full-speed USB device number 17 using xhci_hcd
[  +2.739602] usb 3-1.6.5: device descriptor read/all, error -110
[  +2.927820] xhci_hcd :0c:00.0: xHCI host not responding to stop endpoint 
command.
[  +0.100403] xhci_hcd :0c:00.0: Host halt failed, -110
[  +0.02] xhci_hcd :0c:00.0: xHCI host controller not responding, 
assume dead
[  +0.25] r8152 4-1.2:1.0 enxe4b97ae1aa28: Tx status -108
[  +0.02] r8152 4-1.2:1.0 enxe4b97ae1aa28: Tx status -108
[  +0.04] r8152 4-1.2:1.0 enxe4b97ae1aa28: Tx status -108
[  +0.02] r8152 4-1.2:1.0 enxe4b97ae1aa28: Tx status -108
[  +0.15] xhci_hcd :0c:00.0: HC died; cleaning up
[  +0.13] usb 3-1.6.2: 2:1: usb_set_interface failed (-110)
[  +0.50] usb 3-1.6-port5: cannot disable (err = -110)
[  +0.21] usb 3-1.6.2: Not enough bandwidth for altsetting 1
[  +0.03] usb 3-1.6.2: 2:1: usb_set_interface failed (-19)
[  +0.24] usb 3-1.6-port5: couldn't allocate usb_device
[  +0.13] usb 3-1.6.2: USB disconnect, device number 16
[  +0.09] usb 3-1.6.2: 2:1: usb_set_interface failed (-19)
[  +0.000156] usb 3-1: USB disconnect, device number 2
[  +0.03] usb 3-1.5: USB disconnect, device number 3
[  +0.000333] usb 4-1: USB disconnect, device number 2
[  +0.03] usb 4-1.2: USB disconnect, device number 3
[  +0.000613] usb 3-1.6: USB disconnect, device number 15

This was a hotplug of a USB hub, which had a dual shock controller, a
keyboard, and a mouse attached. (Though a USB switch, my monitors accept
multiple inputs, so I just switch the input devices between computers.)

-- 
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/1766076

Title:
  USB over thunderbolt turns off every once in a while

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I'm using a USB hub in the Dell TB16 (240W) connected to a Dell
  Precision 5520 using Thunderbolt 3.

  Every so often (can be several times in an hour if I'm really unlucky,
  some days it is less of a problem), the USB hub disconnects from the
  computer and the devices connected to it lose power and stop
  responding.

  disconnecting and reconnecting the USB cables has no effect. I can
  restore functionality by instructing the xhci_hcd driver to unbind
  from the USB 3.0 Host Controller in the dock and to rebind to it using
  the commands:

  echo -n ":0e:00.0" > /sys/bus/pci/drivers/xhci_hcd/unbind
  echo -n ":0e:00.0" > /sys/bus/pci/drivers/xhci_hcd/bind

  Here's the dmesg output when the USB hub disconnects:

  279278.102701] xhci_hcd :0e:00.0: ERROR unknown event type 15
  [279283.021802] xhci_hcd :0e:00.0: xHCI host not responding to stop 
endpoint command.
  [279283.022145] xhci_hcd :0e:00.0: xHCI host controller not responding, 
assume dead
  [279283.022161] r8152 4-1.2:1.0 enxd481d731b2b1: Tx status -108
  

[Kernel-packages] [Bug 1584407] Re: ACPI Error: [\_SB_.PCI0.XHC_.RHUB.HS11] Namespace lookup failure, AE_NOT_FOUND (20150930/dswload-210)

2019-01-04 Thread mercury
$ lsb_release -rd
Description:Ubuntu 18.04.1 LTS
Release:18.04

$ uname -r
4.15.0-43-generic


[0.00] ACPI Error: [\_SB_.PCI0.XHC_.RHUB.HS11] Namespace lookup 
failure, AE_NOT_FOUND (20170831/dswload-210)
[0.00] ACPI Exception: AE_NOT_FOUND, During name lookup/catalog 
(20170831/psobject-252)
[0.00] ACPI Exception: AE_NOT_FOUND, (SSDT:xh_rvp10) while loading 
table (20170831/tbxfload-228)
[0.00] ACPI Error: 1 table load failures, 7 successful 
(20170831/tbxfload-246)

-- 
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/1584407

Title:
  ACPI Error: [\_SB_.PCI0.XHC_.RHUB.HS11] Namespace lookup failure,
  AE_NOT_FOUND (20150930/dswload-210)

Status in linux package in Ubuntu:
  Invalid

Bug description:
  [ 0.016192] ACPI Error: [\_SB_.PCI0.XHC_.RHUB.HS11] Namespace lookup failure, 
AE_NOT_FOUND (20150930/dswload-210)
  [ 0.016195] ACPI Exception: AE_NOT_FOUND, During name lookup/catalog 
(20150930/psobject-227)
  [ 0.016222] ACPI Exception: AE_NOT_FOUND, (SSDT:xh_rvp08) while loading table 
(20150930/tbxfload-193)
  [ 0.021348] ACPI Error: 1 table load failures, 7 successful 
(20150930/tbxfload-214)

  
  I have noticed this ACPI error persisting in my syslog and dmesg. Based on 
what I have learnt from  ACPI, acpitool -w and lspci, I think the error is 
related to Namespaces provided in the DDST on \_SB_.PCI0.XHC_.RHUB.HS11, which 
I think concerns the Root → System bus tree → PCI bus  → USB controller: Intel 
Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31) in my system. I 
have not found what .RHUB.HS11 refers too. I have tried changing my UEFI USB 
settings but to no avail. Appreciate help to fix this bug. 

  I reported it as a question
  https://answers.launchpad.net/ubuntu/+question/293489 and to
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1553690.
  https://launchpad.net/~penalvch advice me to make this ubuntu-bug
  report.

  
  $ lsb_release -rd
  Description:  Ubuntu 16.04 LTS
  Release:  16.04

  $ uname -r
  4.4.0-22-generic

  MB Bios: ASUS z170m-plus version 0704

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.4.0-22-generic 4.4.0-22.40
  ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
  Uname: Linux 4.4.0-22-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  sunbear1604   1905 F pulseaudio
   /dev/snd/controlC0:  sunbear1604   1905 F pulseaudio
  CurrentDesktop: Unity
  Date: Sun May 22 07:48:53 2016
  HibernationDevice: RESUME=UUID=c1eef599-9978-461e-a399-a04370b6ae59
  InstallationDate: Installed on 2016-05-01 (20 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 
(20160420.1)
  IwConfig:
   enp0s31f6  no wireless extensions.
   
   lono wireless extensions.
  MachineType: System manufacturer System Product Name
  ProcFB:
   0 EFI VGA
   1 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-22-generic.efi.signed 
root=UUID=69a55da3-4a70-4239-8e7e-2430ceac525d ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.4.0-22-generic N/A
   linux-backports-modules-4.4.0-22-generic  N/A
   linux-firmware1.157
  RfKill:
   
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 02/18/2016
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 0704
  dmi.board.asset.tag: Default string
  dmi.board.name: Z170M-PLUS
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: Rev X.0x
  dmi.chassis.asset.tag: Default string
  dmi.chassis.type: 3
  dmi.chassis.vendor: Default string
  dmi.chassis.version: Default string
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr0704:bd02/18/2016:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnZ170M-PLUS:rvrRevX.0x:cvnDefaultstring:ct3:cvrDefaultstring:
  dmi.product.name: System Product Name
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1584407/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp