Skip to content

[Laptop 13 Pro] Core Ultra Series 3: tunneled USB 3 to TB4 dock fails at USB4 Gen 3 on Linux, xHCI dies (stable on Windows and at Gen 2) #309

Open

Description

@phni

System Model or SKU

Framework Laptop 13 (Intel® Core™ Ultra Series 3)

BIOS Version

3.04

DIY Edition Information

No response

Port/Peripheral Information

Standalone Operation

Full System, Standalone mode NOT enabled (normal usage)

Describe the Bug

Hardware / firmware

  • Framework Laptop 13 Pro, Intel Core Ultra X7 358H
  • BIOS 03.04 (EC sakura-3.0.4-34ebc93, PD 1.0.0B, CSME 21.0.6.1503,
    retimers 0xCF), installed via fwupd on 2026-11-04
  • Host retimer 8087:0d9c (fwupd 28.02 / sysfs 28.82)
  • Dock: Razer Thunderbolt 4 Dock Chroma, NVM 30.0
  • Displays: 2x 2560x1440 (60 Hz and 75 Hz) on the dock's downstream
    ports via video-only cables (USB-C to HDMI, USB-C to DisplayPort)
  • OS: Ubuntu, kernels 7.3.3 and 7.4-rc3; and 6.17 OEM; Windows 11 on the same laptop

Problem

On Linux, when the USB4 link to the dock runs at Gen 3 (40 Gbps,
2 x 20 Gb/s), USB 3 devices behind the dock fail within 1-4 minutes of
traffic. This happens with the dock's Ethernet (RTL8153) or with only a
USB 3 thumb drive. The tunneled USB 3 link drops into Recovery and does
not come back, and the Type-C xHCI (0000:00:0d.0, 8086:e431) often dies:

xhci_hcd 0000:00:0d.0: ERROR Unknown event condition 199 for slot 5 ep 3 , HC probably busted
xhci_hcd 0000:00:0d.0: xHCI host not responding to stop endpoint command
xhci_hcd 0000:00:0d.0: xHCI host controller not responding, assume dead
xhci_hcd 0000:00:0d.0: HC died; cleaning up

When the xHCI dies, USB 3 stops working on all of the laptop's own
ports too, until reboot (or a PCI remove/rescan of 0000:00:0d.0).
Reproduced on BIOS 03.02 and on 03.04 (PD 1.0.0B); no change.

What works / what fails

Cable Link Linux Windows 11
TB4 cable ×3 Gen 3, 2 × 20 Gb/s ❌ fails ✅ stable
USB4 40 Gbps cable Gen 3, 2 × 20 Gb/s ❌ fails ✅ stable
USB4 20 Gbps cable ×2 Gen 2, 2 × 10 Gb/s ✅ stable ✅ stable
  • Every laptop USB-C port behaves the same.
  • The dock always links in USB4 mode (generation 4).
  • Windows stress test at Gen 3 ("40Gbps/40Gbps (Gen 3, dual lane)"):
    20 GB download through the dock Ethernet at ~800 Mbps plus USB 3
    copies through the dock (146 MB/s read), at the same time. No drops,
    and no USB/USB4/xHCI/network errors in the System event log.
  • Native USB 3 (no USB4) on the same xHCI: stable.

Findings so far

  • USB4 tunnels stay up throughout (tbtunnels identical before/after).

  • After the failure, the USB 3 adapters at both ends of the tunnel are
    stuck in Recovery (tbadapters: host 0:12 and dock 1:16, U0 ->
    Recovery). The thunderbolt driver logs no events during the failure.

  • Bandwidth is not the issue: USB 3 tunnel 9003/9003 Mb/s at Gen 3
    (fails) vs 9003/4751 Mb/s at Gen 2 (stable).

  • Lane margining

    Measured with thunderbolt.ko rebuilt with CONFIG_USB4_DEBUGFS_MARGINING, 3 runs per link speed. Every receiver has margin at Gen 3, but the laptop → dock direction has noticeably less than dock → laptop.

Direction Receiver Gen 2 (20 Gbps, stable) Gen 3 (40 Gbps, fails)
Laptop → dock Dock receiver ≥ 200 mV / ~0.36 UI ~75 mV / ~0.26 UI
Dock → laptop Host retimer not readable / ~0.40 UI ~110 mV / ~0.38 UI
  • No effect: thunderbolt.clx=0, bw_alloc_mode=0, pcie_aspm=off,
    runtime PM off on 0d.0/.2/.3, LPM/autosuspend off on the RTL8153,
    Realtek's out-of-tree r8152.

Being debugged upstream

With the Linux USB (Mathias Nyman) and Thunderbolt (Mika Westerberg)
maintainers, including xHCI traces, USB4 register snapshots and raw
margining data:
https://lore.kernel.org/linux-usb/78b30387-f71d-4e6d-b49c-aea1f8fbc98b@linux.intel.com/

Possibly related

#285 (13 Pro, TB4 dock, xHCI/PCIe errors while docked), #292 and #306
(13 Pro USB-C enumeration problems on direct ports).

Questions for Framework

  1. With BIOS 03.04 (PD 1.0.0B, retimers unchanged at 0xCF) the problem is unchanged. Is there anything in the BIOS, retimer or Type-C/PD setup for USB4 Gen 3 that Linux relies on differently from Windows?
  2. Is a BIOS or retimer firmware update planned that touches USB4 Gen 3 signal setup (for example retimer equalization or transmitter settings)? The margining shows the laptop → dock direction has the least margin.
  3. Can you reproduce this with a Laptop 13 Pro and a TB4 dock at 40 Gbps on Linux? Do you validate any Thunderbolt 4 docks at Gen 3 on Linux for this platform?
  4. Are you aware of any Intel errata or known issues for the Panther Lake Type-C subsystem (xHCI 8086:e431) with tunneled USB 3 over a Gen 3 USB4 link?
  5. Is there a BIOS option, or one you could add, to limit the USB4 link to Gen 2 (20 Gbps), as a workaround that doesn't depend on a slower cable?
  6. Is there any other data you'd like (logs, framework_tool output, traces)? I can test.

Workaround: a 20 Gbps cable (USB4 Gen 2) is fully stable.

Steps To Reproduce

  1. Install Ubuntu with a recent kernel (reproduced on 7.3.3 and 7.4-rc3).
    BIOS 03.04.
  2. Connect a Thunderbolt 4 Dock (NVM 30.0) to any USB-C
    port of the Laptop 13 Pro with a Thunderbolt 4 cable or a USB4
    40 Gbps cable, so the link runs at Gen 3 (40 Gbps).
    Check with:
    cat /sys/bus/thunderbolt/devices/-/rx_speed -> 20.0 Gb/s (x2 lanes)
  3. Optional, makes it fail faster: connect two monitors to the dock's
    downstream USB-C ports.
  4. Boot (or plug the dock in after login; both fail).
  5. Generate USB 3 traffic through the dock:
    • download a large file via the dock's Ethernet port, and/or
    • copy a large file to/from a USB 3 drive on the dock.
  6. Within about 1-4 minutes, traffic stops. The kernel log shows
    transfer errors, then usually:
    xhci_hcd 0000:00:0d.0: ERROR Unknown event condition 199 ...
    xhci_hcd 0000:00:0d.0: xHCI host controller not responding, assume dead
    xhci_hcd 0000:00:0d.0: HC died; cleaning up
    After this, USB 3 on all USB-C ports (including the laptop's own)
    stops working until reboot.

To compare:

  • Same steps with a 20 Gbps USB-C cable (link at 2 x 10 Gb/s, Gen 2):
    stable.
  • Same steps on Windows 11 with the TB4 cable (Gen 3): stable.

Expected Behavior

The dock's USB 3 devices (Ethernet, USB 3 storage) keep working under
sustained traffic while the USB4 link runs at Gen 3 (40 Gbps), as they
do on Windows 11 on the same laptop and on Linux at Gen 2 (20 Gbps).
The tunneled USB 3 link should stay in U0, and the xHCI
(0000:00:0d.0) should not stop responding. If a link error does occur,
the link should recover without taking down USB 3 on all of the
laptop's ports.

Screenshots

No response

Operating System

Windows 11, Ubuntu 26/04 , kernels 7.3.3 and 7.4-rc3

Linux Kernel Version

7.3.3 , 7.4-rc3, 6.17 OEM

Additional Context

No response

Activity

  1. added
    Laptop 13
    on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Laptop 13

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions