Public bug reported:

On kernel 7.0.0-30-generic (and 7.0.0-28) every USB port on my board is
dead. No keyboard, no mouse. Booting back into 6.17.0-40-generic and
everything works normally.

Hardware: MSI X870E, Ryzen 9 9900X, RTX 5070.

What I found in the logs:

Both kernels hit the same firmware quirk at boot — two AMD chipset USB
controllers, 0000:10:00.0 and 0000:12:00.0 (both [1022:43fd], 32KB BAR 0),
get "can't claim; no compatible bridge window".

On 6.17 the kernel recovers and reassigns them:

  pci 0000:10:00.0: BAR 0 [mem 0xd5300000-0xd5307fff 64bit]: assigned
  pci 0000:12:00.0: BAR 0 [mem 0xd5500000-0xd5507fff 64bit]: assigned
  xhci_hcd 0000:10:00.0: new USB bus registered, assigned bus number 1

On 7.0 the reassignment fails:

  pci 0000:10:00.0: BAR 0 [mem size 0x00008000 64bit]: can't assign; no space
  pci 0000:10:00.0: BAR 0 [mem 0xdc600000-0xdc607fff 64bit]: failed to assign
  xhci_hcd 0000:10:00.0: init 0000:10:00.0 fail, -16
  xhci_hcd 0000:10:00.0: probe with driver xhci_hcd failed with error -16

Same for 0000:12:00.0. Both controllers end up with no driver bound —
lspci shows "Kernel modules: xhci_pci" but no "Kernel driver in use".

So this looks like a PCI resource allocation regression rather than a USB 
issue. 
xhci_hcd just can't probe a device whose BAR was never mapped.

Impact is total: lsusb shows 17 devices on 6.17, only root hubs on 7.0.
My keyboard sits on 0000:10:00.0 and my wireless receiver on 0000:12:00.0,
so both wired and wireless input die at once. Replugging produces no
kernel log output at all. The machine is unusable on 7.0 without an
on-screen keyboard, and even that doesn't help since there's no input
device for it to work through.

Attached: dmesg from both kernels, plus good-chipset-usb.txt and
bad-chipset-usb.txt which show the two boots side by side for these specific 
devices.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: linux-image-6.17.0-40-generic 6.17.0-40.40~24.04.1
ProcVersionSignature: Ubuntu 6.17.0-40.40~24.04.1-generic 6.17.13
Uname: Linux 6.17.0-40-generic x86_64
ApportVersion: 2.28.3-0ubuntu0.1
Architecture: amd64
CRDA: N/A
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Thu Aug 27 00:52:39 2026
InstallationDate: Installed on 2026-06-19 (68 days ago)
InstallationMedia: Ubuntu 24.04.4 LTS "Noble Numbat" - Release amd64 (20260210)
MachineType: Micro-Star International Co., Ltd. MS-7E59
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
ProcFB: 0 nvidia-drmdrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.17.0-40-generic 
root=UUID=5346bd92-7766-46db-b172-1440611d73ef ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-6.17.0-40-generic N/A
 linux-backports-modules-6.17.0-40-generic  N/A
 linux-firmware                             20240318.git3b128b60-0ubuntu2.29
SourcePackage: linux-hwe-6.17
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/12/2025
dmi.bios.release: 5.35
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: 2.A40
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: MAG X870E TOMAHAWK WIFI (MS-7E59)
dmi.board.vendor: Micro-Star International Co., Ltd.
dmi.board.version: 2.0
dmi.chassis.asset.tag: To be filled by O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Micro-Star International Co., Ltd.
dmi.chassis.version: 2.0
dmi.modalias: 
dmi:bvnAmericanMegatrendsInternational,LLC.:bvr2.A40:bd03/12/2025:br5.35:svnMicro-StarInternationalCo.,Ltd.:pnMS-7E59:pvr2.0:rvnMicro-StarInternationalCo.,Ltd.:rnMAGX870ETOMAHAWKWIFI(MS-7E59):rvr2.0:cvnMicro-StarInternationalCo.,Ltd.:ct3:cvr2.0:skuTobefilledbyO.E.M.:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: MS-7E59
dmi.product.sku: To be filled by O.E.M.
dmi.product.version: 2.0
dmi.sys.vendor: Micro-Star International Co., Ltd.

** Affects: linux-hwe-6.17 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: kernel-bug regression-release

** Attachment added: "regression-release kernel-bug"
   
https://bugs.launchpad.net/bugs/2165193/+attachment/5995698/+files/bad-chipset-usb.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2165193

Title:
  All USB dead on 7.0.0-30: chipset USB controllers [1022:43fd] fail PCI
  BAR assignment, works on 6.17.0-40

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to