Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

HP Thunderbolt G4 dock no USB with boot or wake but ok after reboot

Need help with peripherals or devices?
Post Reply
Message
Author
dukman
Posts: 20
Joined: 2024-02-06 09:59

HP Thunderbolt G4 dock no USB with boot or wake but ok after reboot

#1 Post by dukman »

Dear Debian community,

I am hoping to get some advice on how to troubleshoot and rectify my Thunderbolt G4 dock USB problem.

I have this weird problem where if I boot the laptop (Acer Predator G9-792) with the dock connected none of the USB devices attached to it (the dock) work. However, the dual monitors work as expected. If i reboot the laptop the dock works as expected - no notable problems appear. However, the moment the laptop goes to sleep, I am not able to wake it using the mouse and keyboard connected to the dock. The laptop trackpad and keys work. Monitors wake up as expected, but no mouse or keyboard. If I restart the laptop again, the dock works as normal...

I tried a number of previously suggested solutions across various forums including disabling the autosuspend of usb devices in grub but none of them did anything to fix the issue.

Below are dmesg pastebin dumps with the respective conditions for reference:
1. dmesg_boot-with-no-dock-connected
2. dmesg_with-dock-pluged-in
3. dmesg_after-reboot-with-dock-connected
4. dmesg_after-wake-with-dock-connected

I think I have a number of issues when it comes to identifying and understanding the problem:
1. I don't fully understand the structure of the attached hardware from a connection/registration perspective or their internal construction/operations. This is exacerbated by the next issue;
2. Because there are so many registrations of USB and xHCI devices that it becomes too difficult for me to find what each registration/detection refers to, what are expected vice unexpected conditions (other than the obvious failures), and why even are there so many registrations of USB hubs???
3. What next...?

From the reading I did across forums and the dmesg dumps, to me it looks like the issue is related to the xHCI, but I'd be damned if I knew what to do next to troubleshoot or even confirm this...
I have been trying to figure this out for several weeks now but have hit a wall and have no idea what to do next. I apologise, I have probably omitted a bunch of troubleshooting steps and am happy to provide more information that might be helpful to effectively troubleshoot this.

Any support would be greatly appreciated.

Many thanks in advance!

P.S. I have the latest dock firmware and UEFI and motherboard firmware updates applied.

Aki
Global Moderator
Global Moderator
Posts: 2979
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 75 times
Been thanked: 407 times

Re: HP Thunderbolt G4 dock no USB with boot or wake but ok after reboot

#2 Post by Aki »

Hello,
dukman wrote: 2024-02-17 11:01 if I boot the laptop (Acer Predator G9-792) with the dock connected none of the USB devices attached to it (the dock) work. However, the dual monitors work as expected. If i reboot the laptop the dock works as expected - no notable problems appear. However, the moment the laptop goes to sleep, I am not able to wake it using the mouse and keyboard connected to the dock. The laptop trackpad and keys work. Monitors wake up as expected, but no mouse or keyboard. If I restart the laptop again, the dock works as normal...
According to logs, you are using a "HP Thunderbolt Dock G4":

Code: Select all

[  264.015294] thunderbolt 0000:06:00.0: 0: DROM device_rom_revision 0x0 unknown
[  264.016315] thunderbolt 0-0: ignoring unnecessary extra entries in DROM
[  264.051573] thunderbolt 0-1: new device found, vendor=0xf0 device=0x488
[  264.051578] thunderbolt 0-1: HP Thunderbolt Dock G4
It the bolt package installed ? You can check with the command:

Code: Select all

apt list bolt
See here:
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

dukman
Posts: 20
Joined: 2024-02-06 09:59

Re: HP Thunderbolt G4 dock no USB with boot or wake but ok after reboot

#3 Post by dukman »

Hi @Aki,

Thank you very much for the quick reply.
I can confirm that I have bolt installed (0.9.-1 amd64, stable). boltctl lists the dock as 'authorised'. Running the enroll command per your link I see that this dock's uuid is already enrolled.
The problem still persists.
Kind regards.

P.S. I have tried this with a G3 dock as well (I have 3 docks in total and they all act the same way).

dukman
Posts: 20
Joined: 2024-02-06 09:59

Re: HP Thunderbolt G4 dock no USB with boot or wake but ok after reboot

#4 Post by dukman »

Hello all,

Wondering if there might be any more advice with troubleshooting this issue? I did some more log searching and found the following:

lsusb with dock working:

Code: Select all

Bus 004 Device 005: ID 03f0:0620 HP, Inc USB3.1 Hub
Bus 004 Device 004: ID 03f0:5488 HP, Inc USB5734
Bus 004 Device 003: ID 03f0:3488 HP, Inc USB7206 Smart Hub
Bus 004 Device 002: ID 8087:0b40 Intel Corp. USB3.0 Hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 008: ID 1038:171a SteelSeries ApS SteelSeries Rival 300 CS:GO Hyperbeast Edition
Bus 003 Device 006: ID 03f0:0488 HP, Inc HP Thunderbolt Dock G4
Bus 003 Device 009: ID 03f0:0610 HP, Inc Z24i Monitor Hub
Bus 003 Device 013: ID 09ea:0131 Generic Virtual HID
Bus 003 Device 012: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard 4000 V1.0
Bus 003 Device 011: ID 1038:1729 SteelSeries ApS SteelSeries Rival 110 Gaming Mouse
Bus 003 Device 010: ID 09ea:0130 Generic Virtual HUB
Bus 003 Device 007: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 003 Device 005: ID 03f0:4488 HP, Inc USB2734
Bus 003 Device 004: ID 03f0:2488 HP, Inc USB4206 Smart Hub
Bus 003 Device 003: ID 05ac:12a8 Apple, Inc. iPhone 5/5C/5S/6/SE/7/8/X/XR
Bus 003 Device 002: ID 1d5c:5801 Fresco Logic USB2.0 Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0bda:0316 Realtek Semiconductor Corp. Card Reader
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 1bcf:2c81 Sunplus Innovation Technology Inc. HD WebCam
Bus 001 Device 002: ID 0cf3:e300 Qualcomm Atheros Communications QCA61x4 Bluetooth 4.0
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lspci with dock working:

Code: Select all

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 07)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Thermal Subsystem (rev 31)
00:15.0 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Serial IO I2C Controller #0 (rev 31)
00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)
00:17.0 SATA controller: Intel Corporation HM170/QM170 Chipset SATA Controller [AHCI Mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #3 (rev f1)
00:1c.3 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #4 (rev f1)
00:1c.4 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #5 (rev f1)
00:1f.0 ISA bridge: Intel Corporation HM170 Chipset LPC/eSPI Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31)
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)
01:00.0 VGA compatible controller: NVIDIA Corporation GM204M [GeForce GTX 980M] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GM204 High Definition Audio Controller (rev a1)
02:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
03:00.0 Ethernet controller: Qualcomm Atheros Killer E2400 Gigabit Ethernet Controller (rev 10)
04:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
05:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
05:01.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
05:02.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
06:00.0 System peripheral: Intel Corporation DSL6340 Thunderbolt 3 NHI [Alpine Ridge 2C 2015]
07:00.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Goshen Ridge 2020] (rev 03)
08:00.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Goshen Ridge 2020] (rev 03)
08:01.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Goshen Ridge 2020] (rev 03)
08:04.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Goshen Ridge 2020] (rev 03)
09:00.0 USB controller: Intel Corporation Thunderbolt 4 USB Controller [Goshen Ridge 2020] (rev 03)
0b:00.0 Ethernet controller: Intel Corporation Ethernet Controller (2) I225-LMvP (rev 03)
and probably most interestingly, dmesg with dock working, then disconnected and reconnected:

Code: Select all

[    1.703490] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    1.703514] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[    1.704884] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0000000001109810
[    1.705700] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    1.705714] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[    1.705725] xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed
[    1.705866] usb usb1: Manufacturer: Linux 6.1.0-18-amd64 xhci-hcd
[    1.713290] usb usb2: Manufacturer: Linux 6.1.0-18-amd64 xhci-hcd
[    1.972512] usb 1-7: new full-speed USB device number 2 using xhci_hcd
[    2.256654] usb 2-6: new SuperSpeed USB device number 2 using xhci_hcd
[    2.408487] usb 1-9: new high-speed USB device number 3 using xhci_hcd
[    6.275013] xhci_hcd 0000:09:00.0: xHCI Host Controller
[    6.275027] xhci_hcd 0000:09:00.0: new USB bus registered, assigned bus number 3
[    6.276396] xhci_hcd 0000:09:00.0: hcc params 0x20007fc1 hci version 0x110 quirks 0x0000000000009810
[    6.276936] xhci_hcd 0000:09:00.0: xHCI Host Controller
[    6.276940] xhci_hcd 0000:09:00.0: new USB bus registered, assigned bus number 4
[    6.276943] xhci_hcd 0000:09:00.0: Host supports USB 3.1 Enhanced SuperSpeed
[    6.276999] usb usb3: Manufacturer: Linux 6.1.0-18-amd64 xhci-hcd
[    6.277417] usb usb4: Manufacturer: Linux 6.1.0-18-amd64 xhci-hcd
[    6.552499] usb 3-1: new high-speed USB device number 2 using xhci_hcd
[    6.856546] usb 4-1: new SuperSpeed Plus Gen 2x1 USB device number 2 using xhci_hcd
[    7.361178] usb 3-1.3: new high-speed USB device number 3 using xhci_hcd
[    7.540773] usb 4-1.4: new SuperSpeed Plus Gen 2x1 USB device number 3 using xhci_hcd
[    7.644604] usb 3-1.4: new high-speed USB device number 4 using xhci_hcd
[    7.856576] usb 4-1.4.2: new SuperSpeed USB device number 4 using xhci_hcd
[    8.164976] usb 4-1.4.2.3: new SuperSpeed USB device number 5 using xhci_hcd
[    8.452437] usb 3-1.4.2: new high-speed USB device number 5 using xhci_hcd
[    8.640480] usb 3-1.4.3: new full-speed USB device number 6 using xhci_hcd
[    8.848480] usb 3-1.4.2.2: new high-speed USB device number 7 using xhci_hcd
[    9.032434] usb 3-1.4.4: new full-speed USB device number 8 using xhci_hcd
[    9.212523] usb 3-1.4.2.3: new high-speed USB device number 9 using xhci_hcd
[    9.392459] usb 3-1.4.2.2.1: new full-speed USB device number 10 using xhci_hcd
[    9.792440] usb 3-1.4.2.2.1.1: new full-speed USB device number 11 using xhci_hcd
[    9.988522] usb 3-1.4.2.2.1.2: new full-speed USB device number 12 using xhci_hcd
[   10.200447] usb 3-1.4.2.2.1.6: new full-speed USB device number 13 using xhci_hcd
[ 1403.412719] xhci_hcd 0000:09:00.0: remove, state 1
[ 1403.412810] xhci_hcd 0000:09:00.0: xHCI host controller not responding, assume dead
[ 1403.415410] xhci_hcd 0000:09:00.0: USB bus 4 deregistered
[ 1403.415419] xhci_hcd 0000:09:00.0: remove, state 1
[ 1404.410912] xhci_hcd 0000:09:00.0: Host halt failed, -19
[ 1404.410919] xhci_hcd 0000:09:00.0: Host not accessible, reset failed.
[ 1404.411472] xhci_hcd 0000:09:00.0: USB bus 3 deregistered
[ 1444.662518] xhci_hcd 0000:09:00.0: xHCI Host Controller
[ 1444.662523] xhci_hcd 0000:09:00.0: new USB bus registered, assigned bus number 3
[ 1444.663799] xhci_hcd 0000:09:00.0: hcc params 0x20007fc1 hci version 0x110 quirks 0x0000000000009810
[ 1444.664202] xhci_hcd 0000:09:00.0: xHCI Host Controller
[ 1444.664206] xhci_hcd 0000:09:00.0: new USB bus registered, assigned bus number 4
[ 1444.664209] xhci_hcd 0000:09:00.0: Host supports USB 3.1 Enhanced SuperSpeed
[ 1444.664285] usb usb3: Manufacturer: Linux 6.1.0-18-amd64 xhci-hcd
[ 1444.664735] usb usb4: Manufacturer: Linux 6.1.0-18-amd64 xhci-hcd
[ 1455.024739] xhci_hcd 0000:09:00.0: Abort failed to stop command ring: -110
[ 1455.024752] xhci_hcd 0000:09:00.0: xHCI host controller not responding, assume dead
[ 1455.024755] xhci_hcd 0000:09:00.0: HC died; cleaning up
[ 1455.024937] xhci_hcd 0000:09:00.0: Error while assigning device slot ID: Command Aborted
[ 1455.024942] xhci_hcd 0000:09:00.0: Max number of devices this xHCI host supports is 64.
I also noticed that while rebooting is the only way I can get the dock to work (never on first power up) I am finding that roughly half the time if I reboot with the dock connected the boot hangs on a black screen with a blinking cursor just after the system init screen messages. From there I have to power cycle the laptop, and then reboot to get the dock working.

I would be very grateful for any guidance with this.

Many thanks in advance.

Aki
Global Moderator
Global Moderator
Posts: 2979
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 75 times
Been thanked: 407 times

Re: HP Thunderbolt G4 dock no USB with boot or wake but ok after reboot

#5 Post by Aki »

Hello,
You may try a newer kernel from stable-backports. Remember to install also kernel headers since your computer is running a nvidia graphics card and probably it uses the nvidia kernel module (that need to be rebuilt with the newer kernel).
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

dukman
Posts: 20
Joined: 2024-02-06 09:59

Re: HP Thunderbolt G4 dock no USB with boot or wake but ok after reboot

#6 Post by dukman »

Hi @Aki,

Thanks for the very quick response!

I upgraded my kernel to 6.5.0-0.deb12.1-amd64 from the stable backports. Confirmed it with uname -r.

Below is my dmesg print-out from the moment I connect the dock:

Code: Select all

[  115.765736] pci_bus 0000:06: busn_res: [bus 06] is released
[  115.765922] pci_bus 0000:07: busn_res: [bus 07-3e] is released
[  115.766125] pci_bus 0000:3f: busn_res: [bus 3f] is released
[  115.766544] pci_bus 0000:05: busn_res: [bus 05-40] is released
[  127.824850] pci 0000:04:00.0: [8086:1576] type 01 class 0x060400
[  127.824929] pci 0000:04:00.0: enabling Extended Tags
[  127.825030] pci 0000:04:00.0: supports D1 D2
[  127.825032] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  127.825305] pci 0000:04:00.0: Adding to iommu group 13
[  127.825419] pcieport 0000:00:1c.4: ASPM: current common clock configuration is inconsistent, reconfiguring
[  127.836577] pci 0000:05:00.0: [8086:1576] type 01 class 0x060400
[  127.836656] pci 0000:05:00.0: enabling Extended Tags
[  127.836757] pci 0000:05:00.0: supports D1 D2
[  127.836759] pci 0000:05:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  127.836922] pci 0000:05:00.0: Adding to iommu group 14
[  127.837035] pci 0000:05:01.0: [8086:1576] type 01 class 0x060400
[  127.837114] pci 0000:05:01.0: enabling Extended Tags
[  127.837210] pci 0000:05:01.0: supports D1 D2
[  127.837211] pci 0000:05:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[  127.837366] pci 0000:05:01.0: Adding to iommu group 15
[  127.837469] pci 0000:05:02.0: [8086:1576] type 01 class 0x060400
[  127.837546] pci 0000:05:02.0: enabling Extended Tags
[  127.837637] pci 0000:05:02.0: supports D1 D2
[  127.837639] pci 0000:05:02.0: PME# supported from D0 D1 D2 D3hot D3cold
[  127.837829] pci 0000:05:02.0: Adding to iommu group 16
[  127.837952] pci 0000:04:00.0: PCI bridge to [bus 05-40]
[  127.837961] pci 0000:04:00.0:   bridge window [mem 0xa0000000-0xb60fffff]
[  127.837968] pci 0000:04:00.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  127.838047] pci 0000:06:00.0: [8086:1575] type 00 class 0x088000
[  127.838078] pci 0000:06:00.0: reg 0x10: [mem 0xb6000000-0xb603ffff]
[  127.838096] pci 0000:06:00.0: reg 0x14: [mem 0xb6040000-0xb6040fff]
[  127.838185] pci 0000:06:00.0: enabling Extended Tags
[  127.838293] pci 0000:06:00.0: supports D1 D2
[  127.838295] pci 0000:06:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  127.838475] pci 0000:06:00.0: Adding to iommu group 14
[  127.838529] pci 0000:05:00.0: PCI bridge to [bus 06]
[  127.838538] pci 0000:05:00.0:   bridge window [mem 0xb6000000-0xb60fffff]
[  127.838596] pci 0000:05:01.0: PCI bridge to [bus 07-3e]
[  127.838605] pci 0000:05:01.0:   bridge window [mem 0xa0000000-0xb5dfffff]
[  127.838611] pci 0000:05:01.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  127.838675] pci 0000:05:02.0: PCI bridge to [bus 3f]
[  127.838684] pci 0000:05:02.0:   bridge window [mem 0xb5f00000-0xb5ffffff]
[  127.838727] pci_bus 0000:05: Allocating resources
[  127.838742] pci 0000:05:01.0: bridge window [io  0x1000-0x0fff] to [bus 07-3e] add_size 1000
[  127.838746] pci 0000:04:00.0: bridge window [io  0x1000-0x0fff] to [bus 05-40] add_size 1000
[  127.838752] pci 0000:04:00.0: BAR 13: assigned [io  0x3000-0x8fff]
[  127.838755] pci 0000:05:01.0: BAR 13: assigned [io  0x3000-0x8fff]
[  127.838757] pci 0000:05:00.0: PCI bridge to [bus 06]
[  127.838767] pci 0000:05:00.0:   bridge window [mem 0xb6000000-0xb60fffff]
[  127.838785] pci 0000:05:01.0: PCI bridge to [bus 07-3e]
[  127.838788] pci 0000:05:01.0:   bridge window [io  0x3000-0x8fff]
[  127.838797] pci 0000:05:01.0:   bridge window [mem 0xa0000000-0xb5dfffff]
[  127.838804] pci 0000:05:01.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  127.838817] pci 0000:05:02.0: PCI bridge to [bus 3f]
[  127.838826] pci 0000:05:02.0:   bridge window [mem 0xb5f00000-0xb5ffffff]
[  127.838844] pci 0000:04:00.0: PCI bridge to [bus 05-40]
[  127.838846] pci 0000:04:00.0:   bridge window [io  0x3000-0x8fff]
[  127.838856] pci 0000:04:00.0:   bridge window [mem 0xa0000000-0xb60fffff]
[  127.838863] pci 0000:04:00.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  127.838875] pcieport 0000:00:1c.4: PCI bridge to [bus 04-40]
[  127.838877] pcieport 0000:00:1c.4:   bridge window [io  0x3000-0x8fff]
[  127.838886] pcieport 0000:00:1c.4:   bridge window [mem 0xa0000000-0xb60fffff]
[  127.838892] pcieport 0000:00:1c.4:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  127.838924] pcieport 0000:04:00.0: enabling device (0006 -> 0007)
[  127.839331] pcieport 0000:05:01.0: enabling device (0006 -> 0007)
[  128.670137] thunderbolt 0000:06:00.0: 0: DROM device_rom_revision 0x0 unknown
[  128.706803] thunderbolt 0-1: new device found, vendor=0xf0 device=0x488
[  128.706808] thunderbolt 0-1: HP Thunderbolt Dock G4
[  133.372815] pci 0000:07:00.0: [8086:0b26] type 01 class 0x060400
[  133.372972] pci 0000:07:00.0: enabling Extended Tags
[  133.373245] pci 0000:07:00.0: supports D1 D2
[  133.373247] pci 0000:07:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  133.373548] pci 0000:07:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x4 link at 0000:05:01.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
[  133.373786] pci 0000:07:00.0: Adding to iommu group 15
[  133.384624] pci 0000:08:00.0: [8086:0b26] type 01 class 0x060400
[  133.384755] pci 0000:08:00.0: enabling Extended Tags
[  133.384975] pci 0000:08:00.0: supports D1 D2
[  133.384977] pci 0000:08:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  133.385364] pci 0000:08:00.0: Adding to iommu group 15
[  133.385438] pci 0000:08:01.0: [8086:0b26] type 01 class 0x060400
[  133.385545] pci 0000:08:01.0: enabling Extended Tags
[  133.385764] pci 0000:08:01.0: supports D1 D2
[  133.385765] pci 0000:08:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[  133.386130] pci 0000:08:01.0: Adding to iommu group 15
[  133.386205] pci 0000:08:04.0: [8086:0b26] type 01 class 0x060400
[  133.386334] pci 0000:08:04.0: enabling Extended Tags
[  133.386556] pci 0000:08:04.0: supports D1 D2
[  133.386558] pci 0000:08:04.0: PME# supported from D0 D1 D2 D3hot D3cold
[  133.386926] pci 0000:08:04.0: Adding to iommu group 15
[  133.387027] pci 0000:07:00.0: PCI bridge to [bus 08-3e]
[  133.387044] pci 0000:07:00.0:   bridge window [mem 0xa0000000-0xb5dfffff]
[  133.387055] pci 0000:07:00.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  133.387230] pci 0000:09:00.0: [8086:0b27] type 00 class 0x0c0330
[  133.387287] pci 0000:09:00.0: reg 0x10: [mem 0xa0000000-0xa000ffff]
[  133.387762] pci 0000:09:00.0: supports D1 D2
[  133.387764] pci 0000:09:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  133.388039] pci 0000:09:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x4 link at 0000:05:01.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
[  133.388282] pci 0000:09:00.0: Adding to iommu group 15
[  133.388398] pci 0000:08:00.0: PCI bridge to [bus 09]
[  133.388459] pci 0000:08:00.0:   bridge window [mem 0xa0000000-0xa00fffff]
[  133.388595] pci 0000:08:01.0: PCI bridge to [bus 0a]
[  133.388801] pci 0000:0b:00.0: [8086:5502] type 00 class 0x020000
[  133.388858] pci 0000:0b:00.0: reg 0x10: [mem 0xa0100000-0xa01fffff]
[  133.388951] pci 0000:0b:00.0: reg 0x1c: [mem 0xa0200000-0xa0203fff]
[  133.389302] pci 0000:0b:00.0: PME# supported from D0 D3hot D3cold
[  133.389700] pci 0000:0b:00.0: Adding to iommu group 15
[  133.400498] pci 0000:08:04.0: PCI bridge to [bus 0b-3e]
[  133.400518] pci 0000:08:04.0:   bridge window [mem 0xa0100000-0xb5dfffff]
[  133.400530] pci 0000:08:04.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  133.400643] pci_bus 0000:05: Allocating resources
[  133.400690] pci 0000:08:01.0: bridge window [io  0x1000-0x0fff] to [bus 0a] add_size 1000
[  133.400693] pci 0000:08:01.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 0a] add_size 200000 add_align 100000
[  133.400696] pci 0000:08:01.0: bridge window [mem 0x00100000-0x000fffff] to [bus 0a] add_size 200000 add_align 100000
[  133.400698] pci 0000:07:00.0: bridge window [io  0x1000-0x0fff] to [bus 08-3e] add_size 1000
[  133.400711] pci 0000:07:00.0: BAR 13: assigned [io  0x3000-0x8fff]
[  133.400716] pci 0000:08:01.0: BAR 14: no space for [mem size 0x00100000]
[  133.400719] pci 0000:08:01.0: BAR 14: failed to assign [mem size 0x00100000]
[  133.400722] pci 0000:08:01.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  133.400724] pci 0000:08:01.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  133.400726] pci 0000:08:01.0: BAR 13: assigned [io  0x3000-0x8fff]
[  133.400728] pci 0000:08:01.0: BAR 14: no space for [mem size 0x00100000]
[  133.400729] pci 0000:08:01.0: BAR 14: failed to assign [mem size 0x00100000]
[  133.400732] pci 0000:08:01.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  133.400734] pci 0000:08:01.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  133.400736] pci 0000:08:00.0: PCI bridge to [bus 09]
[  133.400748] pci 0000:08:00.0:   bridge window [mem 0xa0000000-0xa00fffff]
[  133.400772] pci 0000:08:01.0: PCI bridge to [bus 0a]
[  133.400776] pci 0000:08:01.0:   bridge window [io  0x3000-0x8fff]
[  133.400811] pci 0000:08:04.0: PCI bridge to [bus 0b-3e]
[  133.400823] pci 0000:08:04.0:   bridge window [mem 0xa0100000-0xb5dfffff]
[  133.400832] pci 0000:08:04.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  133.400848] pci 0000:07:00.0: PCI bridge to [bus 08-3e]
[  133.400852] pci 0000:07:00.0:   bridge window [io  0x3000-0x8fff]
[  133.400864] pci 0000:07:00.0:   bridge window [mem 0xa0000000-0xb5dfffff]
[  133.400873] pci 0000:07:00.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  133.400891] pcieport 0000:00:1c.4: PCI bridge to [bus 04-40]
[  133.400894] pcieport 0000:00:1c.4:   bridge window [io  0x3000-0x8fff]
[  133.400903] pcieport 0000:00:1c.4:   bridge window [mem 0xa0000000-0xb60fffff]
[  133.400908] pcieport 0000:00:1c.4:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  133.400918] PCI: No. 2 try to assign unassigned res
[  133.400919] release child resource [mem 0xa0000000-0xa000ffff]
[  133.400921] pci 0000:08:00.0: resource 14 [mem 0xa0000000-0xa00fffff] released
[  133.400923] pci 0000:08:00.0: PCI bridge to [bus 09]
[  133.400932] release child resource [mem 0xa0100000-0xa01fffff]
[  133.400933] release child resource [mem 0xa0200000-0xa0203fff]
[  133.400934] pci 0000:08:04.0: resource 14 [mem 0xa0100000-0xb5dfffff] released
[  133.400936] pci 0000:08:04.0: PCI bridge to [bus 0b-3e]
[  133.400945] pci 0000:07:00.0: resource 14 [mem 0xa0000000-0xb5dfffff] released
[  133.400946] pci 0000:07:00.0: PCI bridge to [bus 08-3e]
[  133.400956] pci 0000:08:01.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 0a] add_size 200000 add_align 100000
[  133.400958] pci 0000:08:01.0: bridge window [mem 0x00100000-0x001fffff] to [bus 0a] add_size 100000 add_align 100000
[  133.400962] pci 0000:07:00.0: bridge window [mem 0x00100000-0x15ffffff] to [bus 08-3e] add_size 100000 add_align 100000
[  133.400967] pci 0000:07:00.0: BAR 14: no space for [mem size 0x16000000]
[  133.400969] pci 0000:07:00.0: BAR 14: failed to assign [mem size 0x16000000]
[  133.400971] pci 0000:07:00.0: BAR 14: no space for [mem size 0x15f00000]
[  133.400973] pci 0000:07:00.0: BAR 14: failed to assign [mem size 0x15f00000]
[  133.400976] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00100000]
[  133.400977] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00100000]
[  133.400980] pci 0000:08:01.0: BAR 14: no space for [mem size 0x00200000]
[  133.400981] pci 0000:08:01.0: BAR 14: failed to assign [mem size 0x00200000]
[  133.400984] pci 0000:08:01.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  133.400985] pci 0000:08:01.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  133.400987] pci 0000:08:04.0: BAR 14: no space for [mem size 0x15d00000]
[  133.400989] pci 0000:08:04.0: BAR 14: failed to assign [mem size 0x15d00000]
[  133.400991] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00100000]
[  133.400993] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00100000]
[  133.400994] pci 0000:08:01.0: BAR 14: no space for [mem size 0x00100000]
[  133.400996] pci 0000:08:01.0: BAR 14: failed to assign [mem size 0x00100000]
[  133.400997] pci 0000:08:04.0: BAR 14: no space for [mem size 0x15d00000]
[  133.400999] pci 0000:08:04.0: BAR 14: failed to assign [mem size 0x15d00000]
[  133.401001] pci 0000:08:01.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  133.401003] pci 0000:08:01.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  133.401005] pci 0000:09:00.0: BAR 0: no space for [mem size 0x00010000]
[  133.401006] pci 0000:09:00.0: BAR 0: failed to assign [mem size 0x00010000]
[  133.401008] pci 0000:08:00.0: PCI bridge to [bus 09]
[  133.401043] pci 0000:08:01.0: PCI bridge to [bus 0a]
[  133.401046] pci 0000:08:01.0:   bridge window [io  0x3000-0x8fff]
[  133.401082] pci 0000:0b:00.0: BAR 0: no space for [mem size 0x00100000]
[  133.401083] pci 0000:0b:00.0: BAR 0: failed to assign [mem size 0x00100000]
[  133.401085] pci 0000:0b:00.0: BAR 3: no space for [mem size 0x00004000]
[  133.401087] pci 0000:0b:00.0: BAR 3: failed to assign [mem size 0x00004000]
[  133.401088] pci 0000:08:04.0: PCI bridge to [bus 0b-3e]
[  133.401108] pci 0000:08:04.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  133.401124] pci 0000:07:00.0: PCI bridge to [bus 08-3e]
[  133.401128] pci 0000:07:00.0:   bridge window [io  0x3000-0x8fff]
[  133.401148] pci 0000:07:00.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  133.401164] pcieport 0000:00:1c.4: PCI bridge to [bus 04-40]
[  133.401166] pcieport 0000:00:1c.4:   bridge window [io  0x3000-0x8fff]
[  133.401173] pcieport 0000:00:1c.4:   bridge window [mem 0xa0000000-0xb60fffff]
[  133.401179] pcieport 0000:00:1c.4:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  133.401224] pcieport 0000:07:00.0: enabling device (0006 -> 0007)
[  133.401933] pcieport 0000:08:01.0: enabling device (0004 -> 0005)
[  133.402948] xhci_hcd 0000:09:00.0: init 0000:09:00.0 fail, -16
[  133.402954] xhci_hcd: probe of 0000:09:00.0 failed with error -16
[  133.403069] igc 0000:0b:00.0: PCIe PTM not supported by PCIe bus/controller
[  133.403314] igc: probe of 0000:0b:00.0 failed with error -5
I will add that now the laptop now seems to boot consistently with the dock connected (i.e. doesn't get stuck on the blinking cursor after the sys init with a need to power cycle it). Although, now no amount of reboots seem to make the dock's USB ports work. But the monitors still work unaffected...

I looked for headers associated with this version of the kernel (before and after upgrading the kernel) using:

Code: Select all

apt search linux-headers-6.5.0-0.deb12.1-amd64
but there didn't seem to be any. I also tried with:

Code: Select all

apt search linux-headers-$(uname -r)
But I did notice a few warnings that some nvidia modules were missing during the kernel upgrade.

Any further advice would be greatly appreciated.

Aki
Global Moderator
Global Moderator
Posts: 2979
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 75 times
Been thanked: 407 times

Re: HP Thunderbolt G4 dock no USB with boot or wake but ok after reboot

#7 Post by Aki »

dukman wrote: 2024-03-04 09:08 [..]
I looked for headers associated with this version of the kernel (before and after upgrading the kernel) using:

Code: Select all

apt search linux-headers-6.5.0-0.deb12.1-amd64
but there didn't seem to be any. I also tried with:

Code: Select all

apt search linux-headers-$(uname -r)
But I did notice a few warnings that some nvidia modules were missing during the kernel upgrade.
These is the package that install linux headers for amd64 architecture from bookworm-backports repository: You can install them and rebuild nvidia kernel modules (if required).

You could also test a newer kernel (6.6), i.e. using a Debian Testing Live ISO: Hope this helps.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

dukman
Posts: 20
Joined: 2024-02-06 09:59

Re: HP Thunderbolt G4 dock no USB with boot or wake but ok after reboot

#8 Post by dukman »

Thanks for the advice.

I have made a number of attempts to install a new kernel with the headers but have been having various problems.

I installed the headers you linked above and downloaded and recompiled kernel 6.5. When it was installing I got a number of warnings stating the possible missing nvidia packages. It is worth noting that at this point I am in well over my head now. I went ahead and continued with compiling and after addressing some errors along the way relating to missing packages/dependencies I finally successfully rebuilt the kernel. I updated the grub, rebooted and when selecting this kernel I got a message on the bootloader screen saying that the computer is out of memory. After selecting to resume I got a kernel panic error - unable to mount root.

Booted back into kernel 6.1.0-18. Downloaded and built 6.7. Tried to install the same headers but it indicated that the latest headers are already installed... No worries, moving on... Rebuilt, got same missing nvidia packages warning. Updated grub, rebooted, selected 6.7 to boot with, received out of memory warning in bootloader screen then kernel panic again.

Did the same with 6.6.10, same results.

Ran the live image you linked (went with the KDE version). As expected, it booted fine. I authorised the thunderbolt dock and checked dmesg when plugging it in. Received the same message before of assuming the device is dead and no mousy mousy or keyboard. Screens still working through the dock.

What am I doing wrong? I have seen several ways of installing the kernel. All of which vary from one another. Is there a handy guide that you would recommend? Clearly there is something wrong with the way I am installing kernels that is on top of the issue that I am facing with the dock not working.

User avatar
sunrat
Administrator
Administrator
Posts: 6511
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 119 times
Been thanked: 489 times

Re: HP Thunderbolt G4 dock no USB with boot or wake but ok after reboot

#9 Post by sunrat »

I don't see anywhere someone advised you to compile a kernel. If you want to install a backports kernel, either download the latest with headers and install manually, or add backports repo and use apt to install from there. (linux-headers-6.5.0-0.deb12.1-amd64 which you mentioned earlier is not the current one and is no longer available)
To add backports repo - https://backports.debian.org/Instructions/
Add Backports to sources.list

Code: Select all

deb http://deb.debian.org/debian bookworm-backports main
to sources.list (or add a new file with the ".list" extension to /etc/apt/sources.list.d/).
Run apt update
Check with apt or at Debian packages site for the latest packages:
https://packages.debian.org/search?keyw ... -image-6.5
https://packages.debian.org/search?keyw ... eaders-6.5
Then install:

Code: Select all

apt install -t bookworm-backports linux-image-6.5.0-0.deb12.4-amd64 linux-headers-6.5.0-0.deb12.4-amd64
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

dukman
Posts: 20
Joined: 2024-02-06 09:59

Re: HP Thunderbolt G4 dock no USB with boot or wake but ok after reboot

#10 Post by dukman »

Hi @sunrat,

I have no doubt that I have done something wrong along the way, as I mentioned, I am in well above my head with this and the amount of information available is seemingly overwhelming, and in some cases conflicting, so I appreciate your input.

I have previously added the backports repo to my sources.list.
I re-ran

Code: Select all

apt install -t bookworm-backports linux-image-6.5.0-0.deb12.4-amd64 linux-headers-6.5.0-0.deb12.4-amd64
During the install i still got the potential missing nvidia packages warning. I re-updated grub (assuming that's a requirement) and restarted. I selected that kernel for booting and logged in without problems. Below is a dmesg including logs from the time of the dock's connection:

Code: Select all

[  204.991806] pcieport 0000:05:02.0: Unable to change power state from D3hot to D0, device inaccessible
[  205.515615] pci_bus 0000:06: busn_res: [bus 06] is released
[  205.515849] pci_bus 0000:07: busn_res: [bus 07-3a] is released
[  205.516056] pci_bus 0000:3b: busn_res: [bus 3b] is released
[  205.516840] pci_bus 0000:05: busn_res: [bus 05-3c] is released
[  239.052770] pci 0000:04:00.0: [8086:1576] type 01 class 0x060400
[  239.052849] pci 0000:04:00.0: enabling Extended Tags
[  239.052948] pci 0000:04:00.0: supports D1 D2
[  239.052950] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  239.053206] pci 0000:04:00.0: Adding to iommu group 15
[  239.053313] pcieport 0000:00:1c.4: ASPM: current common clock configuration is inconsistent, reconfiguring
[  239.064611] pci 0000:05:00.0: [8086:1576] type 01 class 0x060400
[  239.064697] pci 0000:05:00.0: enabling Extended Tags
[  239.064804] pci 0000:05:00.0: supports D1 D2
[  239.064806] pci 0000:05:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  239.064972] pci 0000:05:00.0: Adding to iommu group 16
[  239.065104] pci 0000:05:01.0: [8086:1576] type 01 class 0x060400
[  239.065189] pci 0000:05:01.0: enabling Extended Tags
[  239.065289] pci 0000:05:01.0: supports D1 D2
[  239.065291] pci 0000:05:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[  239.065444] pci 0000:05:01.0: Adding to iommu group 17
[  239.065551] pci 0000:05:02.0: [8086:1576] type 01 class 0x060400
[  239.065635] pci 0000:05:02.0: enabling Extended Tags
[  239.065730] pci 0000:05:02.0: supports D1 D2
[  239.065731] pci 0000:05:02.0: PME# supported from D0 D1 D2 D3hot D3cold
[  239.065921] pci 0000:05:02.0: Adding to iommu group 18
[  239.066051] pci 0000:04:00.0: PCI bridge to [bus 05-3c]
[  239.066061] pci 0000:04:00.0:   bridge window [mem 0xa0000000-0xb60fffff]
[  239.066068] pci 0000:04:00.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  239.066149] pci 0000:06:00.0: [8086:1575] type 00 class 0x088000
[  239.066182] pci 0000:06:00.0: reg 0x10: [mem 0xb6000000-0xb603ffff]
[  239.066202] pci 0000:06:00.0: reg 0x14: [mem 0xb6040000-0xb6040fff]
[  239.066300] pci 0000:06:00.0: enabling Extended Tags
[  239.066410] pci 0000:06:00.0: supports D1 D2
[  239.066412] pci 0000:06:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  239.066591] pci 0000:06:00.0: Adding to iommu group 16
[  239.066648] pci 0000:05:00.0: PCI bridge to [bus 06]
[  239.066657] pci 0000:05:00.0:   bridge window [mem 0xb6000000-0xb60fffff]
[  239.066717] pci 0000:05:01.0: PCI bridge to [bus 07-3a]
[  239.066726] pci 0000:05:01.0:   bridge window [mem 0xa0000000-0xb5dfffff]
[  239.066733] pci 0000:05:01.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  239.066797] pci 0000:05:02.0: PCI bridge to [bus 3b]
[  239.066806] pci 0000:05:02.0:   bridge window [mem 0xb5f00000-0xb5ffffff]
[  239.066854] pci_bus 0000:05: Allocating resources
[  239.066869] pci 0000:05:01.0: bridge window [io  0x1000-0x0fff] to [bus 07-3a] add_size 1000
[  239.066874] pci 0000:04:00.0: bridge window [io  0x1000-0x0fff] to [bus 05-3c] add_size 1000
[  239.066880] pci 0000:04:00.0: BAR 13: assigned [io  0x3000-0x8fff]
[  239.066884] pci 0000:05:01.0: BAR 13: assigned [io  0x3000-0x8fff]
[  239.066887] pci 0000:05:00.0: PCI bridge to [bus 06]
[  239.066898] pci 0000:05:00.0:   bridge window [mem 0xb6000000-0xb60fffff]
[  239.066918] pci 0000:05:01.0: PCI bridge to [bus 07-3a]
[  239.066921] pci 0000:05:01.0:   bridge window [io  0x3000-0x8fff]
[  239.066932] pci 0000:05:01.0:   bridge window [mem 0xa0000000-0xb5dfffff]
[  239.066940] pci 0000:05:01.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  239.066954] pci 0000:05:02.0: PCI bridge to [bus 3b]
[  239.066965] pci 0000:05:02.0:   bridge window [mem 0xb5f00000-0xb5ffffff]
[  239.066984] pci 0000:04:00.0: PCI bridge to [bus 05-3c]
[  239.066987] pci 0000:04:00.0:   bridge window [io  0x3000-0x8fff]
[  239.066998] pci 0000:04:00.0:   bridge window [mem 0xa0000000-0xb60fffff]
[  239.067006] pci 0000:04:00.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  239.067019] pcieport 0000:00:1c.4: PCI bridge to [bus 04-3c]
[  239.067022] pcieport 0000:00:1c.4:   bridge window [io  0x3000-0x8fff]
[  239.067032] pcieport 0000:00:1c.4:   bridge window [mem 0xa0000000-0xb60fffff]
[  239.067039] pcieport 0000:00:1c.4:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  239.067074] pcieport 0000:04:00.0: enabling device (0006 -> 0007)
[  239.067526] pcieport 0000:05:01.0: enabling device (0006 -> 0007)
[  239.892177] thunderbolt 0000:06:00.0: 0: DROM device_rom_revision 0x0 unknown
[  239.925733] thunderbolt 0-1: new device found, vendor=0xf0 device=0x488
[  239.925739] thunderbolt 0-1: HP Thunderbolt Dock G4
[  244.596862] pci 0000:07:00.0: [8086:0b26] type 01 class 0x060400
[  244.596989] pci 0000:07:00.0: enabling Extended Tags
[  244.597208] pci 0000:07:00.0: supports D1 D2
[  244.597210] pci 0000:07:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  244.597446] pci 0000:07:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x4 link at 0000:05:01.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
[  244.597640] pci 0000:07:00.0: Adding to iommu group 17
[  244.612649] pci 0000:08:00.0: [8086:0b26] type 01 class 0x060400
[  244.612783] pci 0000:08:00.0: enabling Extended Tags
[  244.613024] pci 0000:08:00.0: supports D1 D2
[  244.613025] pci 0000:08:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  244.613416] pci 0000:08:00.0: Adding to iommu group 17
[  244.613504] pci 0000:08:01.0: [8086:0b26] type 01 class 0x060400
[  244.613611] pci 0000:08:01.0: enabling Extended Tags
[  244.613842] pci 0000:08:01.0: supports D1 D2
[  244.613843] pci 0000:08:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[  244.614205] pci 0000:08:01.0: Adding to iommu group 17
[  244.614279] pci 0000:08:04.0: [8086:0b26] type 01 class 0x060400
[  244.614408] pci 0000:08:04.0: enabling Extended Tags
[  244.614626] pci 0000:08:04.0: supports D1 D2
[  244.614627] pci 0000:08:04.0: PME# supported from D0 D1 D2 D3hot D3cold
[  244.615001] pci 0000:08:04.0: Adding to iommu group 17
[  244.615083] pci 0000:07:00.0: PCI bridge to [bus 08-3a]
[  244.615101] pci 0000:07:00.0:   bridge window [mem 0xa0000000-0xb5dfffff]
[  244.615112] pci 0000:07:00.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  244.615250] pci 0000:09:00.0: [8086:0b27] type 00 class 0x0c0330
[  244.615297] pci 0000:09:00.0: reg 0x10: [mem 0xa0000000-0xa000ffff]
[  244.615671] pci 0000:09:00.0: supports D1 D2
[  244.615674] pci 0000:09:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  244.615892] pci 0000:09:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x4 link at 0000:05:01.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
[  244.616077] pci 0000:09:00.0: Adding to iommu group 17
[  244.616166] pci 0000:08:00.0: PCI bridge to [bus 09]
[  244.616182] pci 0000:08:00.0:   bridge window [mem 0xa0000000-0xa00fffff]
[  244.616289] pci 0000:08:01.0: PCI bridge to [bus 0a]
[  244.616485] pci 0000:0b:00.0: [8086:5502] type 00 class 0x020000
[  244.616542] pci 0000:0b:00.0: reg 0x10: [mem 0xa0100000-0xa01fffff]
[  244.616633] pci 0000:0b:00.0: reg 0x1c: [mem 0xa0200000-0xa0203fff]
[  244.616972] pci 0000:0b:00.0: PME# supported from D0 D3hot D3cold
[  244.617379] pci 0000:0b:00.0: Adding to iommu group 17
[  244.628492] pci 0000:08:04.0: PCI bridge to [bus 0b-3a]
[  244.628511] pci 0000:08:04.0:   bridge window [mem 0xa0100000-0xb5dfffff]
[  244.628522] pci 0000:08:04.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  244.628629] pci_bus 0000:05: Allocating resources
[  244.628679] pci 0000:08:01.0: bridge window [io  0x1000-0x0fff] to [bus 0a] add_size 1000
[  244.628682] pci 0000:08:01.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 0a] add_size 200000 add_align 100000
[  244.628685] pci 0000:08:01.0: bridge window [mem 0x00100000-0x000fffff] to [bus 0a] add_size 200000 add_align 100000
[  244.628688] pci 0000:07:00.0: bridge window [io  0x1000-0x0fff] to [bus 08-3a] add_size 1000
[  244.628696] pci 0000:07:00.0: BAR 13: assigned [io  0x3000-0x8fff]
[  244.628700] pci 0000:08:01.0: BAR 14: no space for [mem size 0x00100000]
[  244.628702] pci 0000:08:01.0: BAR 14: failed to assign [mem size 0x00100000]
[  244.628705] pci 0000:08:01.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  244.628706] pci 0000:08:01.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  244.628708] pci 0000:08:01.0: BAR 13: assigned [io  0x3000-0x8fff]
[  244.628710] pci 0000:08:01.0: BAR 14: no space for [mem size 0x00100000]
[  244.628711] pci 0000:08:01.0: BAR 14: failed to assign [mem size 0x00100000]
[  244.628714] pci 0000:08:01.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  244.628715] pci 0000:08:01.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  244.628717] pci 0000:08:00.0: PCI bridge to [bus 09]
[  244.628730] pci 0000:08:00.0:   bridge window [mem 0xa0000000-0xa00fffff]
[  244.628753] pci 0000:08:01.0: PCI bridge to [bus 0a]
[  244.628757] pci 0000:08:01.0:   bridge window [io  0x3000-0x8fff]
[  244.628792] pci 0000:08:04.0: PCI bridge to [bus 0b-3a]
[  244.628804] pci 0000:08:04.0:   bridge window [mem 0xa0100000-0xb5dfffff]
[  244.628813] pci 0000:08:04.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  244.628829] pci 0000:07:00.0: PCI bridge to [bus 08-3a]
[  244.628832] pci 0000:07:00.0:   bridge window [io  0x3000-0x8fff]
[  244.628844] pci 0000:07:00.0:   bridge window [mem 0xa0000000-0xb5dfffff]
[  244.628853] pci 0000:07:00.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  244.628869] pcieport 0000:00:1c.4: PCI bridge to [bus 04-3c]
[  244.628871] pcieport 0000:00:1c.4:   bridge window [io  0x3000-0x8fff]
[  244.628879] pcieport 0000:00:1c.4:   bridge window [mem 0xa0000000-0xb60fffff]
[  244.628884] pcieport 0000:00:1c.4:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  244.628893] PCI: No. 2 try to assign unassigned res
[  244.628895] release child resource [mem 0xa0000000-0xa000ffff]
[  244.628896] pci 0000:08:00.0: resource 14 [mem 0xa0000000-0xa00fffff] released
[  244.628898] pci 0000:08:00.0: PCI bridge to [bus 09]
[  244.628907] release child resource [mem 0xa0100000-0xa01fffff]
[  244.628908] release child resource [mem 0xa0200000-0xa0203fff]
[  244.628909] pci 0000:08:04.0: resource 14 [mem 0xa0100000-0xb5dfffff] released
[  244.628910] pci 0000:08:04.0: PCI bridge to [bus 0b-3a]
[  244.628919] pci 0000:07:00.0: resource 14 [mem 0xa0000000-0xb5dfffff] released
[  244.628921] pci 0000:07:00.0: PCI bridge to [bus 08-3a]
[  244.628930] pci 0000:08:01.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 0a] add_size 200000 add_align 100000
[  244.628933] pci 0000:08:01.0: bridge window [mem 0x00100000-0x001fffff] to [bus 0a] add_size 100000 add_align 100000
[  244.628936] pci 0000:07:00.0: bridge window [mem 0x00100000-0x15ffffff] to [bus 08-3a] add_size 100000 add_align 100000
[  244.628942] pci 0000:07:00.0: BAR 14: no space for [mem size 0x16000000]
[  244.628943] pci 0000:07:00.0: BAR 14: failed to assign [mem size 0x16000000]
[  244.628945] pci 0000:07:00.0: BAR 14: no space for [mem size 0x15f00000]
[  244.628946] pci 0000:07:00.0: BAR 14: failed to assign [mem size 0x15f00000]
[  244.628949] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00100000]
[  244.628951] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00100000]
[  244.628952] pci 0000:08:01.0: BAR 14: no space for [mem size 0x00200000]
[  244.628954] pci 0000:08:01.0: BAR 14: failed to assign [mem size 0x00200000]
[  244.628956] pci 0000:08:01.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  244.628957] pci 0000:08:01.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  244.628959] pci 0000:08:04.0: BAR 14: no space for [mem size 0x15d00000]
[  244.628960] pci 0000:08:04.0: BAR 14: failed to assign [mem size 0x15d00000]
[  244.628962] pci 0000:08:00.0: BAR 14: no space for [mem size 0x00100000]
[  244.628964] pci 0000:08:00.0: BAR 14: failed to assign [mem size 0x00100000]
[  244.628965] pci 0000:08:01.0: BAR 14: no space for [mem size 0x00100000]
[  244.628967] pci 0000:08:01.0: BAR 14: failed to assign [mem size 0x00100000]
[  244.628968] pci 0000:08:04.0: BAR 14: no space for [mem size 0x15d00000]
[  244.628970] pci 0000:08:04.0: BAR 14: failed to assign [mem size 0x15d00000]
[  244.628972] pci 0000:08:01.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  244.628973] pci 0000:08:01.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  244.628975] pci 0000:09:00.0: BAR 0: no space for [mem size 0x00010000]
[  244.628977] pci 0000:09:00.0: BAR 0: failed to assign [mem size 0x00010000]
[  244.628979] pci 0000:08:00.0: PCI bridge to [bus 09]
[  244.629013] pci 0000:08:01.0: PCI bridge to [bus 0a]
[  244.629017] pci 0000:08:01.0:   bridge window [io  0x3000-0x8fff]
[  244.629051] pci 0000:0b:00.0: BAR 0: no space for [mem size 0x00100000]
[  244.629053] pci 0000:0b:00.0: BAR 0: failed to assign [mem size 0x00100000]
[  244.629054] pci 0000:0b:00.0: BAR 3: no space for [mem size 0x00004000]
[  244.629056] pci 0000:0b:00.0: BAR 3: failed to assign [mem size 0x00004000]
[  244.629057] pci 0000:08:04.0: PCI bridge to [bus 0b-3a]
[  244.629077] pci 0000:08:04.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  244.629093] pci 0000:07:00.0: PCI bridge to [bus 08-3a]
[  244.629096] pci 0000:07:00.0:   bridge window [io  0x3000-0x8fff]
[  244.629116] pci 0000:07:00.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  244.629132] pcieport 0000:00:1c.4: PCI bridge to [bus 04-3c]
[  244.629134] pcieport 0000:00:1c.4:   bridge window [io  0x3000-0x8fff]
[  244.629141] pcieport 0000:00:1c.4:   bridge window [mem 0xa0000000-0xb60fffff]
[  244.629147] pcieport 0000:00:1c.4:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  244.629189] pcieport 0000:07:00.0: enabling device (0006 -> 0007)
[  244.629833] pcieport 0000:08:01.0: enabling device (0004 -> 0005)
[  244.630672] xhci_hcd 0000:09:00.0: init 0000:09:00.0 fail, -16
[  244.630676] xhci_hcd: probe of 0000:09:00.0 failed with error -16
[  244.630754] igc 0000:0b:00.0: PCIe PTM not supported by PCIe bus/controller
[  244.630967] igc: probe of 0000:0b:00.0 failed with error -5
I really don't know where to go with this. Any further advice is greatly appreciated.

Many thanks.

User avatar
sunrat
Administrator
Administrator
Posts: 6511
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 119 times
Been thanked: 489 times

Re: HP Thunderbolt G4 dock no USB with boot or wake but ok after reboot

#11 Post by sunrat »

Exactly which nvidia packages are flagged as potentially missing? Do you have non-free and non-free-firmware in your sources?
Post your sources. Either:

Code: Select all

cat /etc/sources.list
or better if you have inxi package installed (will also show system info):

Code: Select all

inxi -CGSrx
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

dukman
Posts: 20
Joined: 2024-02-06 09:59

Re: HP Thunderbolt G4 dock no USB with boot or wake but ok after reboot

#12 Post by dukman »

Hi @sunrat,

Please see below installation command line:

Code: Select all

sudo apt install -t bookworm-backports linux-image-6.5.0-0.deb12.4-amd64 linux-headers-6.5.0-0.deb12.4-amd64
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
  linux-doc-6.5 debian-kernel-handbook
The following NEW packages will be installed:
  linux-headers-6.5.0-0.deb12.4-amd64 linux-image-6.5.0-0.deb12.4-amd64
0 upgraded, 2 newly installed, 0 to remove and 199 not upgraded.
Need to get 76.7 MB of archives.
After this operation, 478 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm-backports/main amd64 linux-headers-6.5.0-0.deb12.4-amd64 amd64 6.5.10-1~bpo12+1 [1,252 kB]
Get:2 http://deb.debian.org/debian bookworm-backports/main amd64 linux-image-6.5.0-0.deb12.4-amd64 amd64 6.5.10-1~bpo12+1 [75.4 MB]
Fetched 76.7 MB in 6s (13.1 MB/s)                            
Selecting previously unselected package linux-headers-6.5.0-0.deb12.4-amd64.
(Reading database ... 286686 files and directories currently installed.)
Preparing to unpack .../linux-headers-6.5.0-0.deb12.4-amd64_6.5.10-1~bpo12+1_amd64.deb ...
Unpacking linux-headers-6.5.0-0.deb12.4-amd64 (6.5.10-1~bpo12+1) ...
Selecting previously unselected package linux-image-6.5.0-0.deb12.4-amd64.
Preparing to unpack .../linux-image-6.5.0-0.deb12.4-amd64_6.5.10-1~bpo12+1_amd64.deb ...
Unpacking linux-image-6.5.0-0.deb12.4-amd64 (6.5.10-1~bpo12+1) ...
Setting up linux-headers-6.5.0-0.deb12.4-amd64 (6.5.10-1~bpo12+1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.5.0-0.deb12.4-amd64.
dkms: autoinstall for kernel: 6.5.0-0.deb12.4-amd64.
Setting up linux-image-6.5.0-0.deb12.4-amd64 (6.5.10-1~bpo12+1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-6.5.0-0.deb12.1-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-6.5.0-0.deb12.1-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-6.5.0-0.deb12.4-amd64
I: /initrd.img is now a symlink to boot/initrd.img-6.5.0-0.deb12.4-amd64
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.5.0-0.deb12.4-amd64.
dkms: autoinstall for kernel: 6.5.0-0.deb12.4-amd64.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.5.0-0.deb12.4-amd64
W: Possible missing firmware /lib/firmware/i915/dg2_huc_gsc.bin for module i915
W: Possible missing firmware /lib/firmware/i915/mtl_huc_gsc.bin for module i915
W: Possible missing firmware /lib/firmware/i915/mtl_guc_70.bin for module i915
W: Possible missing firmware /lib/firmware/nvidia/ga107/acr/ucode_ahesasc.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga106/acr/ucode_ahesasc.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga104/acr/ucode_ahesasc.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga103/acr/ucode_ahesasc.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga107/acr/ucode_asb.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga106/acr/ucode_asb.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga104/acr/ucode_asb.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga103/acr/ucode_asb.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga107/acr/ucode_unload.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga106/acr/ucode_unload.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga104/acr/ucode_unload.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga103/acr/ucode_unload.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga107/nvdec/scrubber.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga106/nvdec/scrubber.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga104/nvdec/scrubber.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga103/nvdec/scrubber.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga107/sec2/hs_bl_sig.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga107/sec2/sig.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga107/sec2/image.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga107/sec2/desc.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga106/sec2/hs_bl_sig.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga106/sec2/sig.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga106/sec2/image.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga106/sec2/desc.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga104/sec2/hs_bl_sig.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga104/sec2/sig.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga104/sec2/image.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga104/sec2/desc.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga103/sec2/hs_bl_sig.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga103/sec2/sig.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga103/sec2/image.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/ga103/sec2/desc.bin for module nouveau
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-6.7.0
Found initrd image: /boot/initrd.img-6.7.0
Found linux image: /boot/vmlinuz-6.6.10
Found initrd image: /boot/initrd.img-6.6.10
Found linux image: /boot/vmlinuz-6.5.0-0.deb12.4-amd64
Found initrd image: /boot/initrd.img-6.5.0-0.deb12.4-amd64
Found linux image: /boot/vmlinuz-6.5.0-0.deb12.1-amd64
Found initrd image: /boot/initrd.img-6.5.0-0.deb12.1-amd64
Found linux image: /boot/vmlinuz-6.5.0
Found initrd image: /boot/initrd.img-6.5.0
Found linux image: /boot/vmlinuz-6.1.76
Found initrd image: /boot/initrd.img-6.1.76
Found linux image: /boot/vmlinuz-6.1.0-18-amd64
Found initrd image: /boot/initrd.img-6.1.0-18-amd64
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
and inxi -CGSrx

Code: Select all

 System:
  Host: predator Kernel: 6.5.0-0.deb12.4-amd64 arch: x86_64 bits: 64
    compiler: gcc v: 12.2.0 Desktop: KDE Plasma v: 5.27.5 Distro: Debian
    GNU/Linux 12 (bookworm)
CPU:
  Info: quad core model: Intel Core i7-6700HQ bits: 64 type: MT MCP
    arch: Skylake-S rev: 3 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 800 min/max: 800/3500 cores: 1: 800 2: 800 3: 800 4: 800
    5: 800 6: 800 7: 800 8: 800 bogomips: 41599
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel HD Graphics 530 vendor: Acer Incorporated ALI driver: i915
    v: kernel arch: Gen-9 bus-ID: 00:02.0
  Device-2: NVIDIA GM204M [GeForce GTX 980M] vendor: Acer Incorporated ALI
    driver: nouveau v: kernel arch: Maxwell bus-ID: 01:00.0 temp: 46.0 C
  Device-3: Sunplus Innovation HD WebCam type: USB driver: uvcvideo
    bus-ID: 1-9:3
  Display: wayland server: X.Org v: 1.22.1.9 with: Xwayland v: 22.1.9
    compositor: kwin_wayland driver: X: loaded: modesetting unloaded: fbdev,vesa
    dri: iris gpu: i915 resolution: 3840x2160~60Hz
  API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel HD Graphics 530 (SKL
    GT2) direct-render: Yes
Repos:
  Packages: 2835
  Active apt repos in: /etc/apt/sources.list
    1: deb http://deb.debian.org/debian/ bookworm main
    2: deb-src http://deb.debian.org/debian/ bookworm main
    3: deb http://security.debian.org/debian-security bookworm-security main
    4: deb-src http://security.debian.org/debian-security bookworm-security main
    5: deb http://deb.debian.org/debian bookworm-backports non-free non-free-firmware contrib main
    6: deb http://deb.debian.org/debian/ bookworm-updates main
    7: deb-src http://deb.debian.org/debian/ bookworm-updates main
Many thanks!

User avatar
sunrat
Administrator
Administrator
Posts: 6511
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 119 times
Been thanked: 489 times

Re: HP Thunderbolt G4 dock no USB with boot or wake but ok after reboot

#13 Post by sunrat »

Install the package firmware-misc-nonfree to make those firmware messages go away.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

dukman
Posts: 20
Joined: 2024-02-06 09:59

Re: HP Thunderbolt G4 dock no USB with boot or wake but ok after reboot

#14 Post by dukman »

Apparently they are already installed and the latest version (20230210-5).

Aki
Global Moderator
Global Moderator
Posts: 2979
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 75 times
Been thanked: 407 times

Re: HP Thunderbolt G4 dock no USB with boot or wake but ok after reboot

#15 Post by Aki »

Hello.
dukman wrote: 2024-03-08 09:43 Clearly there is something wrong with the way I am installing kernels that is on top of the issue that I am facing with the dock not working.
I suggested to download the kernel headers only to make you build the nvidia kernel module (that requires to be compiled when a new kernel is installed).

The HP Thunderbolt G4 docking station is a rather complex device, as it combines many different technologies [1].

According to its specifications, some of its full features are only available on certain HP computers and compliant computers from other manufacturers [1].

The device installs its own firmware, which can be updated (see [1]).

It also implements technologies to restrict access to its ports (HP Sure Start for Docks - ThunderboltTM Security Levels - Available features, see [1]). For this reason, problems accessing some of its ports have been documented on other members of its family (e.g. video in [2]), but are likely to be shared with the G4.

A troubleshooting section is also available in [1].

So while the Linux kernel could also be contributing to the difficulties you report, it is also true that such difficulties could be inherent in the operation of the device itself.

--
[1] TECHNICAL WHITE PAPER
[2] How to Fix HP Docking station issues
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

dukman
Posts: 20
Joined: 2024-02-06 09:59

Re: HP Thunderbolt G4 dock no USB with boot or wake but ok after reboot

#16 Post by dukman »

Hi @Aki,

Thanks for your input and linking the resources. I looked at the white paper and noticed that there were a few things I could try. I tried installing the latest linux firmware from fwupd.org However, unfortunately that indicated that it failed to find a supported device despite the dock being connected. I also noticed that the white paper mentions that the dock is compatible with Ubuntu Linux 20.04 LTS with 5.14 kernel. I am not totally beyond loading this OS just to isolate the software but I don't have a lot of confidence that it will give me reliable results.

Per the troubleshooting section of the white paper, I performed a hardware reset on both the laptop and dock as suggested for the type of problem I am experiencing..

I also watched the referenced video and from what I can surmise my only option is to use the Thunderbolt software and approve the connection (my UEFI is VERY basic and has no thunderbolt options). For this I have approved it in both the settings -> Thunderbolt and also using CLI.

So far nothing has shown any positive results.

I fully accept that there are compatibility issues with the dock and my laptop and would be happy to drop the topic if the dock never worked. However, the one thing that I just can't ignore is the fact that the dock did once work with Windows, and has worked (on and off, as previously mentioned)

I appreciate everyone's patience and continued support!

Many thanks!

dukman
Posts: 20
Joined: 2024-02-06 09:59

Re: HP Thunderbolt G4 dock no USB with boot or wake but ok after reboot

#17 Post by dukman »

Hi everyone,

SO… I switched to Ubuntu 20.04.06 LTS as it was noted to be compatible with the dock. I ran it with the following kernels:
  • 5.15.0-100-generic/focal-updates,focal-security,now 5.15.0-100.110~20.04.1 amd64 (default kernel)
  • unsigned-6.8.0-060800-generic/now 6.8.0-060800.202403131158 amd64
  • unsigned-5.14.0-051400-generic/now 5.14.0-051400.202108292331 amd64 (identified as compatible per the dock’s White Paper)
I observed the following:
  • 5.15.0-100-generic
    • Similar as previously reported: does not work on start-up or when waking from suspend. Works consistently after each subsequent reboot
    • Does NOT boot (when rebooting to enable dock) if there are a number of kernels installed with the dock connected (weird, because with one kernel it boots fine with dock connected!)
    • If I unplug the dock while it is working and then re-plug it, then reboot, the computer pretty much consistently freezes at the start-up screen and fails to boot
    • Boots consistently each time with a number of kernels present if dock is not connected
  • 6.8.0-060800-generic
    • Similar as previously reported: does not work on start-up or when waking from suspend. Works consistently after each subsequent reboot
    • Does NOT boot (when rebooting to enable dock) if there are a number of kernels installed with the dock connected (weird, because with one kernel it boots fine with dock connected!)
    • If I unplug the dock while it is working and then re-plug it, then reboot, the computer pretty much consistently freezes at the start-up screen and fails to boot
    • Boots consistently each time with a number of kernels present if dock is not connected
  • 5.14.0-051400-generic
    • Similar as previously reported: does not work on start-up or when waking from suspend. Works consistently after each subsequent reboot
    • Does NOT boot (when rebooting to enable dock) if there are a number of kernels installed with the dock connected (weird, because with one kernel it boots fine with dock connected!)
    • If I unplug the dock while it is working and then re-plug it, then reboot, the computer pretty much consistently freezes at the start-up screen and fails to boot
    • Boots consistently each time with a number of kernels present if dock is not connected
Is the kernel not handling the power-on/suspend functionality of the xhci_hcd properly? My reason for this is based on the below Ubuntu (functioning dock) dmesg:

Code: Select all

[    1.048572] acpi PNP0C14:03: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[    1.049148] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    1.049155] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[    1.051679] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0000000001109810
[    1.053484] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.14
[    1.053488] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.053490] usb usb1: Product: xHCI Host Controller
[    1.053492] usb usb1: Manufacturer: Linux 5.14.0-051400-generic xhci-hcd
[    1.053494] usb usb1: SerialNumber: 0000:00:14.0
[    1.053668] hub 1-0:1.0: USB hub found
[    1.053685] hub 1-0:1.0: 16 ports detected
[    1.055560] alx 0000:03:00.0 eth0: Qualcomm Atheros AR816x/AR817x Ethernet [88:ad:43:f7:12:fc]
[    1.055711] hid: raw HID events driver (C) Jiri Kosina
[    1.056508] ahci 0000:00:17.0: version 3.0
[    1.056838] ahci 0000:00:17.0: AHCI 0001.0301 32 slots 4 ports 6 Gbps 0xf impl SATA mode
[    1.056843] ahci 0000:00:17.0: flags: 64bit ncq sntf pm led clo only pio slum part ems deso sadm sds apst 
[    1.057778] i801_smbus 0000:00:1f.4: SPD Write Disable is set
[    1.057833] i801_smbus 0000:00:1f.4: SMBus using PCI interrupt
[    1.064631] ACPI: bus type thunderbolt registered
[    1.068130] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    1.068135] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[    1.068138] xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed
[    1.068677] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.14
[    1.068681] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.068683] usb usb2: Product: xHCI Host Controller
[    1.068688] usb usb2: Manufacturer: Linux 5.14.0-051400-generic xhci-hcd
[    1.068690] usb usb2: SerialNumber: 0000:00:14.0
[    1.069232] hub 2-0:1.0: USB hub found
[    1.069252] hub 2-0:1.0: 8 ports detected
[    1.070261] i2c i2c-0: 2/4 memory slots populated (from DMI)
[    1.070619] i2c i2c-0: Successfully instantiated SPD at 0x50
[    1.071182] i2c i2c-0: Successfully instantiated SPD at 0x52
[    1.071866] usb: port power management may be unreliable
[    1.078065] intel-lpss 0000:00:15.0: enabling device (0000 -> 0002)
[    1.078511] idma64 idma64.0: Found Intel integrated DMA 64-bit
[    1.083253] atkbd serio0: Unknown key released (translated set 2, code 0x7c on isa0060/serio0).
[    1.083259] atkbd serio0: Use 'setkeycodes 7c <keycode>' to make it known.
[    1.094011] scsi host0: ahci
[    1.095011] scsi host1: ahci
[    1.095917] scsi host2: ahci
[    1.096545] scsi host3: ahci
[    1.096572] alx 0000:03:00.0 enp3s0: renamed from eth0
Specifically in reference to the following timestamp, which appears to relate to the initialisation of the dock:
  • 1.071866 - usb: port power management may be unreliable
edit:
It appears as though the above dmesg shows the power management warning irrespective of the dock being connected or not. Below is a dmesg which captures the connection of the dock following a boot that did not include the connection of the dock:

Code: Select all

[  176.262937] pci 0000:04:00.0: [8086:1576] type 01 class 0x060400
[  176.263012] pci 0000:04:00.0: enabling Extended Tags
[  176.263108] pci 0000:04:00.0: supports D1 D2
[  176.263109] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  176.274669] pci 0000:05:00.0: [8086:1576] type 01 class 0x060400
[  176.274760] pci 0000:05:00.0: enabling Extended Tags
[  176.274872] pci 0000:05:00.0: supports D1 D2
[  176.274874] pci 0000:05:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  176.275030] pci 0000:05:01.0: [8086:1576] type 01 class 0x060400
[  176.275120] pci 0000:05:01.0: enabling Extended Tags
[  176.275228] pci 0000:05:01.0: supports D1 D2
[  176.275229] pci 0000:05:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[  176.275374] pci 0000:05:02.0: [8086:1576] type 01 class 0x060400
[  176.275463] pci 0000:05:02.0: enabling Extended Tags
[  176.275558] pci 0000:05:02.0: supports D1 D2
[  176.275560] pci 0000:05:02.0: PME# supported from D0 D1 D2 D3hot D3cold
[  176.275754] pci 0000:04:00.0: PCI bridge to [bus 05-3c]
[  176.275765] pci 0000:04:00.0:   bridge window [mem 0xa0000000-0xb60fffff]
[  176.275772] pci 0000:04:00.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  176.275848] pci 0000:06:00.0: [8086:1575] type 00 class 0x088000
[  176.275883] pci 0000:06:00.0: reg 0x10: [mem 0xb6000000-0xb603ffff]
[  176.275904] pci 0000:06:00.0: reg 0x14: [mem 0xb6040000-0xb6040fff]
[  176.276005] pci 0000:06:00.0: enabling Extended Tags
[  176.276120] pci 0000:06:00.0: supports D1 D2
[  176.276121] pci 0000:06:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  176.276290] pci 0000:05:00.0: PCI bridge to [bus 06]
[  176.276299] pci 0000:05:00.0:   bridge window [mem 0xb6000000-0xb60fffff]
[  176.276355] pci 0000:05:01.0: PCI bridge to [bus 07-3a]
[  176.276366] pci 0000:05:01.0:   bridge window [mem 0xa0000000-0xb5dfffff]
[  176.276373] pci 0000:05:01.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  176.276442] pci 0000:05:02.0: PCI bridge to [bus 3b]
[  176.276452] pci 0000:05:02.0:   bridge window [mem 0xb5f00000-0xb5ffffff]
[  176.276501] pci_bus 0000:05: Allocating resources
[  176.276518] pci 0000:05:01.0: bridge window [io  0x1000-0x0fff] to [bus 07-3a] add_size 1000
[  176.276522] pci 0000:04:00.0: bridge window [io  0x1000-0x0fff] to [bus 05-3c] add_size 2000
[  176.276526] pci 0000:04:00.0: BAR 13: assigned [io  0x3000-0x4fff]
[  176.276529] pci 0000:05:01.0: BAR 13: assigned [io  0x3000-0x3fff]
[  176.276532] pci 0000:05:00.0: PCI bridge to [bus 06]
[  176.276544] pci 0000:05:00.0:   bridge window [mem 0xb6000000-0xb60fffff]
[  176.276565] pci 0000:05:01.0: PCI bridge to [bus 07-3a]
[  176.276568] pci 0000:05:01.0:   bridge window [io  0x3000-0x3fff]
[  176.276579] pci 0000:05:01.0:   bridge window [mem 0xa0000000-0xb5dfffff]
[  176.276587] pci 0000:05:01.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  176.276602] pci 0000:05:02.0: PCI bridge to [bus 3b]
[  176.276613] pci 0000:05:02.0:   bridge window [mem 0xb5f00000-0xb5ffffff]
[  176.276633] pci 0000:04:00.0: PCI bridge to [bus 05-3c]
[  176.276636] pci 0000:04:00.0:   bridge window [io  0x3000-0x4fff]
[  176.276647] pci 0000:04:00.0:   bridge window [mem 0xa0000000-0xb60fffff]
[  176.276654] pci 0000:04:00.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  176.276693] pcieport 0000:04:00.0: enabling device (0006 -> 0007)
[  176.277286] pcieport 0000:05:01.0: enabling device (0006 -> 0007)
[  176.289843] ACPI: bus type thunderbolt registered
[  176.984545] i915 0000:00:02.0: [drm] *ERROR* mstb 0000000031506f23 port 1: DPCD read on addr 0x4b0 for 1 bytes NAKed
[  177.096069] thunderbolt 0000:06:00.0: 0: DROM device_rom_revision 0x0 unknown
[  177.097091] thunderbolt 0-0: ignoring unnecessary extra entries in DROM
[  177.138331] thunderbolt 0-1: new device found, vendor=0xf0 device=0x488
[  177.138336] thunderbolt 0-1: HP Thunderbolt Dock G4
[  181.806475] pci 0000:07:00.0: [8086:0b26] type 01 class 0x060400
[  181.806600] pci 0000:07:00.0: enabling Extended Tags
[  181.806819] pci 0000:07:00.0: supports D1 D2
[  181.806821] pci 0000:07:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  181.807035] pci 0000:07:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x4 link at 0000:05:01.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
[  181.818379] pci 0000:08:00.0: [8086:0b26] type 01 class 0x060400
[  181.818516] pci 0000:08:00.0: enabling Extended Tags
[  181.818762] pci 0000:08:00.0: supports D1 D2
[  181.818764] pci 0000:08:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  181.819102] pci 0000:08:01.0: [8086:0b26] type 01 class 0x060400
[  181.819216] pci 0000:08:01.0: enabling Extended Tags
[  181.819443] pci 0000:08:01.0: supports D1 D2
[  181.819445] pci 0000:08:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[  181.819773] pci 0000:08:04.0: [8086:0b26] type 01 class 0x060400
[  181.819914] pci 0000:08:04.0: enabling Extended Tags
[  181.820136] pci 0000:08:04.0: supports D1 D2
[  181.820138] pci 0000:08:04.0: PME# supported from D0 D1 D2 D3hot D3cold
[  181.820460] pci 0000:07:00.0: PCI bridge to [bus 08-3a]
[  181.820480] pci 0000:07:00.0:   bridge window [mem 0xa0000000-0xb5dfffff]
[  181.820493] pci 0000:07:00.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  181.820651] pci 0000:09:00.0: [8086:0b27] type 00 class 0x0c0330
[  181.820701] pci 0000:09:00.0: reg 0x10: [mem 0xa0000000-0xa000ffff]
[  181.821079] pci 0000:09:00.0: supports D1 D2
[  181.821081] pci 0000:09:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  181.821255] pci 0000:09:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x4 link at 0000:05:01.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
[  181.821384] pci 0000:08:00.0: PCI bridge to [bus 09]
[  181.821401] pci 0000:08:00.0:   bridge window [mem 0xa0000000-0xa00fffff]
[  181.821498] pci 0000:08:01.0: PCI bridge to [bus 0a]
[  181.821666] pci 0000:0b:00.0: [8086:5502] type 00 class 0x020000
[  181.821718] pci 0000:0b:00.0: reg 0x10: [mem 0xa0100000-0xa01fffff]
[  181.821804] pci 0000:0b:00.0: reg 0x1c: [mem 0xa0200000-0xa0203fff]
[  181.822189] pci 0000:0b:00.0: PME# supported from D0 D3hot D3cold
[  181.831914] Intel(R) 2.5G Ethernet Linux Driver
[  181.831917] Copyright(c) 2018 Intel Corporation.
[  181.834123] pci 0000:08:04.0: PCI bridge to [bus 0b-3a]
[  181.834146] pci 0000:08:04.0:   bridge window [mem 0xa0100000-0xb5dfffff]
[  181.834158] pci 0000:08:04.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  181.834265] pci_bus 0000:05: Allocating resources
[  181.834311] pci 0000:08:01.0: bridge window [io  0x1000-0x0fff] to [bus 0a] add_size 1000
[  181.834313] pci 0000:08:01.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 0a] add_size 200000 add_align 100000
[  181.834316] pci 0000:08:01.0: bridge window [mem 0x00100000-0x000fffff] to [bus 0a] add_size 200000 add_align 100000
[  181.834318] pci 0000:07:00.0: bridge window [io  0x1000-0x0fff] to [bus 08-3a] add_size 1000
[  181.834323] pci 0000:07:00.0: BAR 13: assigned [io  0x3000-0x3fff]
[  181.834326] pci 0000:08:01.0: BAR 14: no space for [mem size 0x00200000]
[  181.834328] pci 0000:08:01.0: BAR 14: failed to assign [mem size 0x00200000]
[  181.834330] pci 0000:08:01.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  181.834332] pci 0000:08:01.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  181.834333] pci 0000:08:01.0: BAR 13: assigned [io  0x3000-0x3fff]
[  181.834335] pci 0000:08:01.0: BAR 14: no space for [mem size 0x00200000]
[  181.834336] pci 0000:08:01.0: BAR 14: failed to assign [mem size 0x00200000]
[  181.834338] pci 0000:08:01.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  181.834339] pci 0000:08:01.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  181.834341] pci 0000:08:00.0: PCI bridge to [bus 09]
[  181.834354] pci 0000:08:00.0:   bridge window [mem 0xa0000000-0xa00fffff]
[  181.834378] pci 0000:08:01.0: PCI bridge to [bus 0a]
[  181.834381] pci 0000:08:01.0:   bridge window [io  0x3000-0x3fff]
[  181.834416] pci 0000:08:04.0: PCI bridge to [bus 0b-3a]
[  181.834428] pci 0000:08:04.0:   bridge window [mem 0xa0100000-0xb5dfffff]
[  181.834437] pci 0000:08:04.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  181.834452] pci 0000:07:00.0: PCI bridge to [bus 08-3a]
[  181.834456] pci 0000:07:00.0:   bridge window [io  0x3000-0x3fff]
[  181.834468] pci 0000:07:00.0:   bridge window [mem 0xa0000000-0xb5dfffff]
[  181.834476] pci 0000:07:00.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  181.834526] pcieport 0000:07:00.0: enabling device (0006 -> 0007)
[  181.835238] pcieport 0000:08:01.0: enabling device (0004 -> 0005)
[  181.836159] xhci_hcd 0000:09:00.0: xHCI Host Controller
[  181.836164] xhci_hcd 0000:09:00.0: new USB bus registered, assigned bus number 3
[  181.837369] xhci_hcd 0000:09:00.0: hcc params 0x20007fc1 hci version 0x110 quirks 0x0000000000009810
[  181.837742] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.14
[  181.837746] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  181.837749] usb usb3: Product: xHCI Host Controller
[  181.837752] usb usb3: Manufacturer: Linux 5.14.0-051400-generic xhci-hcd
[  181.837754] usb usb3: SerialNumber: 0000:09:00.0
[  181.837890] hub 3-0:1.0: USB hub found
[  181.837903] hub 3-0:1.0: 2 ports detected
[  181.838222] xhci_hcd 0000:09:00.0: xHCI Host Controller
[  181.838227] xhci_hcd 0000:09:00.0: new USB bus registered, assigned bus number 4
[  181.838231] xhci_hcd 0000:09:00.0: Host supports USB 3.1 Enhanced SuperSpeed
[  181.838303] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.14
[  181.838306] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  181.838309] usb usb4: Product: xHCI Host Controller
[  181.838310] usb usb4: Manufacturer: Linux 5.14.0-051400-generic xhci-hcd
[  181.838312] usb usb4: SerialNumber: 0000:09:00.0
[  181.838591] hub 4-0:1.0: USB hub found
[  181.838607] hub 4-0:1.0: 2 ports detected
[  181.839089] igc 0000:0b:00.0: no suspend buffer for PTM
[  181.885981] igc: probe of 0000:0b:00.0 failed with error -2
[  181.965936] i915 0000:00:02.0: [drm] *ERROR* mstb 000000004bb4a285 port 1: DPCD read on addr 0x4b0 for 1 bytes NAKed
[  183.606452] i915 0000:00:02.0: [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.
[  188.565948] i915 0000:00:02.0: [drm] *ERROR* mstb 000000004bb4a285 port 1: DPCD read on addr 0x4b0 for 1 bytes NAKed
[  188.596999] i915 0000:00:02.0: [drm] *ERROR* mstb 000000004bb4a285 port 1: DPCD read on addr 0x4b0 for 1 bytes NAKed
[  192.049446] xhci_hcd 0000:09:00.0: Abort failed to stop command ring: -110
[  192.049458] xhci_hcd 0000:09:00.0: xHCI host controller not responding, assume dead
[  192.049462] xhci_hcd 0000:09:00.0: HC died; cleaning up
[  192.049561] xhci_hcd 0000:09:00.0: Error while assigning device slot ID
[  192.049581] xhci_hcd 0000:09:00.0: Max number of devices this xHCI host supports is 64.
[  192.049584] usb usb3-port1: couldn't allocate usb_device
[  198.560494] i915 0000:00:02.0: [drm] *ERROR* mstb 000000004bb4a285 port 1: DPCD read on addr 0x4b0 for 1 bytes NAKed
[  198.589963] i915 0000:00:02.0: [drm] *ERROR* mstb 000000004bb4a285 port 1: DPCD read on addr 0x4b0 for 1 bytes NAKed
Either way, I can’t get around the fact that it does work… after a reboot.

Any additional advice is greatly appreciated!

dukman
Posts: 20
Joined: 2024-02-06 09:59

Re: HP Thunderbolt G4 dock no USB with boot or wake but ok after reboot

#18 Post by dukman »

Hello again,

With no further luck using Ubuntu I decided to switch back to Debian (12.5). In addition to the above update, I managed to get my hands onto a Dell dock (WD22TB4) and checked dmesg with it being connected after having booted, as well as after being disconnected. Below are the logs:

Dock connected after boot:

Code: Select all

[  210.680449] i915 0000:00:02.0: [drm] *ERROR* CPU pipe A FIFO underrun
[  355.128812] pci 0000:04:00.0: [8086:1576] type 01 class 0x060400
[  355.128898] pci 0000:04:00.0: enabling Extended Tags
[  355.129002] pci 0000:04:00.0: supports D1 D2
[  355.129004] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  355.129280] pci 0000:04:00.0: Adding to iommu group 13
[  355.129412] pcieport 0000:00:1c.4: ASPM: current common clock configuration is inconsistent, reconfiguring
[  355.140574] pci 0000:05:00.0: [8086:1576] type 01 class 0x060400
[  355.140670] pci 0000:05:00.0: enabling Extended Tags
[  355.140780] pci 0000:05:00.0: supports D1 D2
[  355.140782] pci 0000:05:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  355.140962] pci 0000:05:00.0: Adding to iommu group 14
[  355.141100] pci 0000:05:01.0: [8086:1576] type 01 class 0x060400
[  355.141193] pci 0000:05:01.0: enabling Extended Tags
[  355.141297] pci 0000:05:01.0: supports D1 D2
[  355.141299] pci 0000:05:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[  355.141461] pci 0000:05:01.0: Adding to iommu group 15
[  355.141591] pci 0000:05:02.0: [8086:1576] type 01 class 0x060400
[  355.141683] pci 0000:05:02.0: enabling Extended Tags
[  355.141784] pci 0000:05:02.0: supports D1 D2
[  355.141786] pci 0000:05:02.0: PME# supported from D0 D1 D2 D3hot D3cold
[  355.141981] pci 0000:05:02.0: Adding to iommu group 16
[  355.142141] pci 0000:04:00.0: PCI bridge to [bus 05-40]
[  355.142152] pci 0000:04:00.0:   bridge window [mem 0xa0000000-0xb60fffff]
[  355.142160] pci 0000:04:00.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  355.142246] pci 0000:06:00.0: [8086:1575] type 00 class 0x088000
[  355.142282] pci 0000:06:00.0: reg 0x10: [mem 0xb6000000-0xb603ffff]
[  355.142304] pci 0000:06:00.0: reg 0x14: [mem 0xb6040000-0xb6040fff]
[  355.142412] pci 0000:06:00.0: enabling Extended Tags
[  355.142528] pci 0000:06:00.0: supports D1 D2
[  355.142530] pci 0000:06:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  355.142713] pci 0000:06:00.0: Adding to iommu group 14
[  355.142778] pci 0000:05:00.0: PCI bridge to [bus 06]
[  355.142788] pci 0000:05:00.0:   bridge window [mem 0xb6000000-0xb60fffff]
[  355.142865] pci 0000:05:01.0: PCI bridge to [bus 07-3e]
[  355.142876] pci 0000:05:01.0:   bridge window [mem 0xa0000000-0xb5dfffff]
[  355.142884] pci 0000:05:01.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  355.142980] pci 0000:05:02.0: PCI bridge to [bus 3f]
[  355.142993] pci 0000:05:02.0:   bridge window [mem 0xb5f00000-0xb5ffffff]
[  355.143051] pci_bus 0000:05: Allocating resources
[  355.143071] pci 0000:05:01.0: bridge window [io  0x1000-0x0fff] to [bus 07-3e] add_size 1000
[  355.143078] pci 0000:04:00.0: bridge window [io  0x1000-0x0fff] to [bus 05-40] add_size 2000
[  355.143086] pci 0000:04:00.0: BAR 13: assigned [io  0x3000-0x4fff]
[  355.143093] pci 0000:05:01.0: BAR 13: assigned [io  0x3000-0x3fff]
[  355.143101] pci 0000:05:00.0: PCI bridge to [bus 06]
[  355.143118] pci 0000:05:00.0:   bridge window [mem 0xb6000000-0xb60fffff]
[  355.143144] pci 0000:05:01.0: PCI bridge to [bus 07-3e]
[  355.143149] pci 0000:05:01.0:   bridge window [io  0x3000-0x3fff]
[  355.143163] pci 0000:05:01.0:   bridge window [mem 0xa0000000-0xb5dfffff]
[  355.143174] pci 0000:05:01.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  355.143192] pci 0000:05:02.0: PCI bridge to [bus 3f]
[  355.143206] pci 0000:05:02.0:   bridge window [mem 0xb5f00000-0xb5ffffff]
[  355.143232] pci 0000:04:00.0: PCI bridge to [bus 05-40]
[  355.143237] pci 0000:04:00.0:   bridge window [io  0x3000-0x4fff]
[  355.143251] pci 0000:04:00.0:   bridge window [mem 0xa0000000-0xb60fffff]
[  355.143262] pci 0000:04:00.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  355.143317] pcieport 0000:04:00.0: enabling device (0006 -> 0007)
[  355.143861] pcieport 0000:05:01.0: enabling device (0006 -> 0007)
[  355.979826] thunderbolt 0000:06:00.0: 0: DROM device_rom_revision 0x0 unknown
[  356.025528] thunderbolt 0-1: new device found, vendor=0xd4 device=0xb071
[  356.025532] thunderbolt 0-1: Dell WD22TB4 Thunderbolt Dock
[  360.652844] pci 0000:07:00.0: [8086:0b26] type 01 class 0x060400
[  360.653018] pci 0000:07:00.0: enabling Extended Tags
[  360.653277] pci 0000:07:00.0: supports D1 D2
[  360.653280] pci 0000:07:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  360.653517] pci 0000:07:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x4 link at 0000:05:01.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
[  360.653766] pci 0000:07:00.0: Adding to iommu group 15
[  360.654038] pci 0000:08:00.0: [8086:0b26] type 01 class 0x060400
[  360.654212] pci 0000:08:00.0: enabling Extended Tags
[  360.654456] pci 0000:08:00.0: supports D1 D2
[  360.654459] pci 0000:08:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  360.654857] pci 0000:08:00.0: Adding to iommu group 15
[  360.654951] pci 0000:08:01.0: [8086:0b26] type 01 class 0x060400
[  360.655102] pci 0000:08:01.0: enabling Extended Tags
[  360.655379] pci 0000:08:01.0: supports D1 D2
[  360.655384] pci 0000:08:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[  360.655830] pci 0000:08:01.0: Adding to iommu group 15
[  360.655949] pci 0000:08:04.0: [8086:0b26] type 01 class 0x060400
[  360.656141] pci 0000:08:04.0: enabling Extended Tags
[  360.656415] pci 0000:08:04.0: supports D1 D2
[  360.656420] pci 0000:08:04.0: PME# supported from D0 D1 D2 D3hot D3cold
[  360.656957] pci 0000:08:04.0: Adding to iommu group 15
[  360.657099] pci 0000:07:00.0: PCI bridge to [bus 08-3e]
[  360.657125] pci 0000:07:00.0:   bridge window [mem 0xa0000000-0xb5dfffff]
[  360.657142] pci 0000:07:00.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  360.657344] pci 0000:09:00.0: [8086:0b27] type 00 class 0x0c0330
[  360.657413] pci 0000:09:00.0: reg 0x10: [mem 0xa0000000-0xa000ffff]
[  360.657877] pci 0000:09:00.0: supports D1 D2
[  360.657881] pci 0000:09:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  360.658094] pci 0000:09:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x4 link at 0000:05:01.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
[  360.658323] pci 0000:09:00.0: Adding to iommu group 15
[  360.658448] pci 0000:08:00.0: PCI bridge to [bus 09]
[  360.658468] pci 0000:08:00.0:   bridge window [mem 0xa0000000-0xa00fffff]
[  360.658597] pci 0000:08:01.0: PCI bridge to [bus 0a]
[  360.658738] pci 0000:08:04.0: PCI bridge to [bus 0b-3e]
[  360.658757] pci 0000:08:04.0:   bridge window [mem 0xa0100000-0xb5dfffff]
[  360.658771] pci 0000:08:04.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  360.658935] pci_bus 0000:05: Allocating resources
[  360.658994] pci 0000:08:01.0: bridge window [io  0x1000-0x0fff] to [bus 0a] add_size 1000
[  360.659000] pci 0000:08:01.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 0a] add_size 200000 add_align 100000
[  360.659007] pci 0000:08:01.0: bridge window [mem 0x00100000-0x000fffff] to [bus 0a] add_size 200000 add_align 100000
[  360.659013] pci 0000:07:00.0: bridge window [io  0x1000-0x0fff] to [bus 08-3e] add_size 1000
[  360.659024] pci 0000:07:00.0: BAR 13: assigned [io  0x3000-0x3fff]
[  360.659031] pci 0000:08:01.0: BAR 14: no space for [mem size 0x00200000]
[  360.659036] pci 0000:08:01.0: BAR 14: failed to assign [mem size 0x00200000]
[  360.659042] pci 0000:08:01.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  360.659046] pci 0000:08:01.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  360.659051] pci 0000:08:01.0: BAR 13: assigned [io  0x3000-0x3fff]
[  360.659055] pci 0000:08:01.0: BAR 14: no space for [mem size 0x00200000]
[  360.659059] pci 0000:08:01.0: BAR 14: failed to assign [mem size 0x00200000]
[  360.659064] pci 0000:08:01.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  360.659068] pci 0000:08:01.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  360.659072] pci 0000:08:00.0: PCI bridge to [bus 09]
[  360.659093] pci 0000:08:00.0:   bridge window [mem 0xa0000000-0xa00fffff]
[  360.659131] pci 0000:08:01.0: PCI bridge to [bus 0a]
[  360.659137] pci 0000:08:01.0:   bridge window [io  0x3000-0x3fff]
[  360.659192] pci 0000:08:04.0: PCI bridge to [bus 0b-3e]
[  360.659212] pci 0000:08:04.0:   bridge window [mem 0xa0100000-0xb5dfffff]
[  360.659227] pci 0000:08:04.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  360.659253] pci 0000:07:00.0: PCI bridge to [bus 08-3e]
[  360.659258] pci 0000:07:00.0:   bridge window [io  0x3000-0x3fff]
[  360.659279] pci 0000:07:00.0:   bridge window [mem 0xa0000000-0xb5dfffff]
[  360.659293] pci 0000:07:00.0:   bridge window [mem 0x60000000-0x81ffffff 64bit pref]
[  360.659357] pcieport 0000:07:00.0: enabling device (0006 -> 0007)
[  360.660353] pcieport 0000:08:01.0: enabling device (0004 -> 0005)
[  360.663020] xhci_hcd 0000:09:00.0: xHCI Host Controller
[  360.663034] xhci_hcd 0000:09:00.0: new USB bus registered, assigned bus number 3
[  360.664438] xhci_hcd 0000:09:00.0: hcc params 0x20007fc1 hci version 0x110 quirks 0x0000000000009810
[  360.664962] xhci_hcd 0000:09:00.0: xHCI Host Controller
[  360.664970] xhci_hcd 0000:09:00.0: new USB bus registered, assigned bus number 4
[  360.664977] xhci_hcd 0000:09:00.0: Host supports USB 3.1 Enhanced SuperSpeed
[  360.665050] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[  360.665056] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  360.665060] usb usb3: Product: xHCI Host Controller
[  360.665063] usb usb3: Manufacturer: Linux 6.1.0-18-amd64 xhci-hcd
[  360.665066] usb usb3: SerialNumber: 0000:09:00.0
[  360.665488] hub 3-0:1.0: USB hub found
[  360.665506] hub 3-0:1.0: 2 ports detected
[  360.665792] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01
[  360.665798] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  360.665802] usb usb4: Product: xHCI Host Controller
[  360.665805] usb usb4: Manufacturer: Linux 6.1.0-18-amd64 xhci-hcd
[  360.665808] usb usb4: SerialNumber: 0000:09:00.0
[  360.666010] hub 4-0:1.0: USB hub found
[  360.666027] hub 4-0:1.0: 2 ports detected
[  370.867154] xhci_hcd 0000:09:00.0: Abort failed to stop command ring: -110
[  370.867167] xhci_hcd 0000:09:00.0: xHCI host controller not responding, assume dead
[  370.867171] xhci_hcd 0000:09:00.0: HC died; cleaning up
[  370.867286] xhci_hcd 0000:09:00.0: Error while assigning device slot ID: Command Aborted
[  370.867291] xhci_hcd 0000:09:00.0: Max number of devices this xHCI host supports is 64.
[  370.867293] usb usb3-port1: couldn't allocate usb_device
[  370.867769] usb usb4-port1: couldn't allocate usb_device
Dock disconnected:

Code: Select all

[  120.548953] pcieport 0000:08:04.0: Unable to change power state from D3hot to D0, device inaccessible
[  120.549244] xhci_hcd 0000:09:00.0: remove, state 1
[  120.549253] usb usb4: USB disconnect, device number 1
[  120.549255] usb 4-1: USB disconnect, device number 2
[  120.549257] usb 4-1.4: USB disconnect, device number 3
[  120.549260] usb 4-1.4.3: USB disconnect, device number 4
[  120.549526] r8152-cfgselector 4-1.4.4: USB disconnect, device number 5
[  120.549581] xhci_hcd 0000:09:00.0: xHCI host controller not responding, assume dead
[  120.618194] xhci_hcd 0000:09:00.0: USB bus 4 deregistered
[  120.618207] xhci_hcd 0000:09:00.0: remove, state 1
[  120.618214] usb usb3: USB disconnect, device number 1
[  120.618218] usb 3-1: USB disconnect, device number 2
[  120.618220] usb 3-1.1: USB disconnect, device number 3
[  120.618222] usb 3-1.1.3: USB disconnect, device number 4
[  120.618225] usb 3-1.1.3.3: USB disconnect, device number 6
[  120.776750] usb 3-1.1.3.5: USB disconnect, device number 7
[  120.777326] usb 3-1.1.5: USB disconnect, device number 5
[  120.784126] xhci_hcd 0000:09:00.0: Host halt failed, -19
[  120.784132] xhci_hcd 0000:09:00.0: Host not accessible, reset failed.
[  120.784468] xhci_hcd 0000:09:00.0: USB bus 3 deregistered
[  120.791319] pci 0000:09:00.0: Removing from iommu group 15
[  120.791360] pci_bus 0000:09: busn_res: [bus 09] is released
[  120.791866] pci 0000:08:00.0: Removing from iommu group 15
[  120.791888] pci_bus 0000:0a: busn_res: [bus 0a] is released
[  120.792005] pci 0000:08:01.0: Removing from iommu group 15
[  120.792030] pci_bus 0000:0b: busn_res: [bus 0b-3e] is released
[  120.792670] pci 0000:08:04.0: Removing from iommu group 15
[  120.792722] pci_bus 0000:08: busn_res: [bus 08-3e] is released
[  120.792946] pci 0000:07:00.0: Removing from iommu group 15
[  120.804597] pci_bus 0000:05: Allocating resources
[  121.000495] thunderbolt 0-1: device disconnected
[  130.691102] pcieport 0000:05:02.0: Unable to change power state from D3hot to D0, device inaccessible
[  131.193954] pcieport 0000:04:00.0: Runtime PM usage count underflow!
[  131.194151] pci 0000:06:00.0: Removing from iommu group 14
[  131.194176] pci_bus 0000:06: busn_res: [bus 06] is released
[  131.194341] pci 0000:05:00.0: Removing from iommu group 14
[  131.194413] pci_bus 0000:07: busn_res: [bus 07-3e] is released
[  131.194474] pci 0000:05:01.0: Removing from iommu group 15
[  131.194558] pci_bus 0000:3f: busn_res: [bus 3f] is released
[  131.195348] pci 0000:05:02.0: Removing from iommu group 16
[  131.195390] pci_bus 0000:05: busn_res: [bus 05-40] is released
[  131.196180] pci 0000:04:00.0: Removing from iommu group 13
[  210.680449] i915 0000:00:02.0: [drm] *ERROR* CPU pipe A FIFO underrun
I would be very grateful for any more love with this one.

Many thanks!

Post Reply