Ubuntu 22.04 搭载 Asus WRX80E Sage 无法检测到 USB 和 M.2

Ubuntu 22.04 搭载 Asus WRX80E Sage 无法检测到 USB 和 M.2

2022 年 9 月 22 日 编辑:我们为存在同样问题的客户获得了另外几个系统,并将以下内容添加到 /etc/default/grub 即可解决问题。

"pci=nommconf"

根据标题,我遇到的问题目前仅限于 Ubuntu(Fedora 或 Arch/Manjaro 不会发生这种情况)。

  • 3 个 M.2 SSD 中有 1 个停止被检测到。
  • 加载操作系统时,13 个 USB 端口中有 7 个会掉电/失去连接(前面板上的 2 个 A 型和 1 个 C 型以及后面板上的 2 个 C 型和 4 个 A 型不工作)。

系统如下:

AMD Threadripper Pro 3975WX
Asus WRX80E Sage Wifi
32GB ECC/Registered x4
WD Black SN850 2TB x3
Nvidia RTX 3090 (EVGA FTW3 Ultra)
1000W PSU (EVGA G6)

liveiso 中‘lspci -k’的输出

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex
    Subsystem: ASUSTeK Computer Inc. Starship/Matisse Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU
    Subsystem: ASUSTeK Computer Inc. Starship/Matisse IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
    DeviceName:  Onboard IGD
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:05.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
    Kernel driver in use: pcieport
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
    Kernel driver in use: pcieport
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
    Subsystem: ASUSTeK Computer Inc. FCH SMBus Controller
    Kernel driver in use: piix4_smbus
    Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
    Subsystem: ASUSTeK Computer Inc. FCH LPC Bridge
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 3
    Kernel driver in use: k10temp
    Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 7
01:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function
    Subsystem: ASUSTeK Computer Inc. Starship/Matisse PCIe Dummy Function
02:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
    Subsystem: ASUSTeK Computer Inc. Starship/Matisse Reserved SPP
02:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Starship USB 3.0 Host Controller
    Subsystem: ASUSTeK Computer Inc. Starship USB 3.0 Host Controller
    Kernel driver in use: xhci_hcd
    Kernel modules: xhci_pci
20:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex
    Subsystem: ASUSTeK Computer Inc. Starship/Matisse Root Complex
20:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU
    Subsystem: ASUSTeK Computer Inc. Starship/Matisse IOMMU
20:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
20:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
    Kernel driver in use: pcieport
20:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
    Kernel driver in use: pcieport
20:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
    Kernel driver in use: pcieport
20:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
20:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
20:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
20:05.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
20:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
20:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
    Kernel driver in use: pcieport
20:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
20:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
    Kernel driver in use: pcieport
21:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse Switch Upstream
    Kernel driver in use: pcieport
22:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
    Kernel driver in use: pcieport
22:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
    Kernel driver in use: pcieport
22:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
    Kernel driver in use: pcieport
22:03.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
    Kernel driver in use: pcieport
22:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
    Kernel driver in use: pcieport
22:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
    Kernel driver in use: pcieport
22:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
    Kernel driver in use: pcieport
22:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
    Kernel driver in use: pcieport
23:00.0 Non-Volatile memory controller: Sandisk Corp WD PC SN810 / Black SN850 NVMe SSD (rev 01)
    Subsystem: Sandisk Corp WD Black SN850
    Kernel modules: nvme
24:00.0 USB controller: ASMedia Technology Inc. ASM3242 USB 3.2 Host Controller
    Subsystem: ASUSTeK Computer Inc. ASM3242 USB 3.2 Host Controller
    Kernel modules: xhci_pci
25:00.0 Ethernet controller: Intel Corporation Ethernet Controller 10G X550T (rev 01)
    Subsystem: ASUSTeK Computer Inc. Ethernet Controller 10G X550T
    Kernel driver in use: ixgbe
    Kernel modules: ixgbe
25:00.1 Ethernet controller: Intel Corporation Ethernet Controller 10G X550T (rev 01)
    Subsystem: ASUSTeK Computer Inc. Ethernet Controller 10G X550T
    Kernel driver in use: ixgbe
    Kernel modules: ixgbe
26:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
    Subsystem: Intel Corporation Wi-Fi 6 AX200NGW
    Kernel modules: iwlwifi
27:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02)
    Subsystem: ASUSTeK Computer Inc. ASM1062 Serial ATA Controller
    Kernel modules: ahci
28:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02)
    Subsystem: ASUSTeK Computer Inc. ASM1062 Serial ATA Controller
    Kernel modules: ahci
29:00.0 PCI bridge: ASPEED Technology, Inc. AST1150 PCI-to-PCI Bridge (rev 04)
2a:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 41)
    Subsystem: ASPEED Technology, Inc. ASPEED Graphics Family
    Kernel modules: ast
2b:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
    Subsystem: ASUSTeK Computer Inc. Starship/Matisse Reserved SPP
2b:00.1 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
    Subsystem: ASUSTeK Computer Inc. Matisse USB 3.0 Host Controller
    Kernel modules: xhci_pci
2b:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
    Subsystem: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
    Kernel modules: xhci_pci
2c:00.0 Non-Volatile memory controller: Sandisk Corp WD PC SN810 / Black SN850 NVMe SSD (rev 01)
    Subsystem: Sandisk Corp WD Black SN850
    Kernel driver in use: nvme
    Kernel modules: nvme
2d:00.0 Non-Volatile memory controller: Sandisk Corp WD PC SN810 / Black SN850 NVMe SSD (rev 01)
    Subsystem: Sandisk Corp WD Black SN850
    Kernel driver in use: nvme
    Kernel modules: nvme
2e:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function
    Subsystem: ASUSTeK Computer Inc. Starship/Matisse PCIe Dummy Function
2f:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
    Subsystem: ASUSTeK Computer Inc. Starship/Matisse Reserved SPP
2f:00.1 Encryption controller: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP
    Subsystem: ASUSTeK Computer Inc. Starship/Matisse Cryptographic Coprocessor PSPCPP
    Kernel driver in use: ccp
    Kernel modules: ccp
2f:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Starship USB 3.0 Host Controller
    Subsystem: ASUSTeK Computer Inc. Starship USB 3.0 Host Controller
    Kernel driver in use: xhci_hcd
    Kernel modules: xhci_pci
2f:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller
    Subsystem: ASUSTeK Computer Inc. Starship/Matisse HD Audio Controller
    Kernel modules: snd_hda_intel
40:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex
    Subsystem: ASUSTeK Computer Inc. Starship/Matisse Root Complex
40:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU
    Subsystem: ASUSTeK Computer Inc. Starship/Matisse IOMMU
40:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
40:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
    Kernel driver in use: pcieport
40:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
40:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
40:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
40:05.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
40:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
40:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
    Kernel driver in use: pcieport
40:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
40:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
    Kernel driver in use: pcieport
41:00.0 VGA compatible controller: NVIDIA Corporation GA102 [GeForce RTX 3090] (rev a1)
    Subsystem: eVga.com. Corp. GA102 [GeForce RTX 3090]
    Kernel driver in use: nouveau
    Kernel modules: nvidiafb, nouveau
41:00.1 Audio device: NVIDIA Corporation GA102 High Definition Audio Controller (rev a1)
    Subsystem: eVga.com. Corp. GA102 High Definition Audio Controller
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
42:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function
    Subsystem: ASUSTeK Computer Inc. Starship/Matisse PCIe Dummy Function
43:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
    Subsystem: ASUSTeK Computer Inc. Starship/Matisse Reserved SPP
60:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex
    Subsystem: ASUSTeK Computer Inc. Starship/Matisse Root Complex
60:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU
    Subsystem: ASUSTeK Computer Inc. Starship/Matisse IOMMU
60:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
60:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
60:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
60:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
60:05.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
60:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
60:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
    Kernel driver in use: pcieport
60:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
60:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
    Kernel driver in use: pcieport
61:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function
    Subsystem: ASUSTeK Computer Inc. Starship/Matisse PCIe Dummy Function
62:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
    Subsystem: ASUSTeK Computer Inc. Starship/Matisse Reserved SPP

答案1

结论:翻转物理VGA 切换器离开彻底禁用板载 VGA。

我知道这已被标记为已解决,但我想提出另一个可能的解决方案。

我遇到了同样的问题,某些 USB 端口不工作,WiFi 和蓝牙不工作等等。进入了 BIOS 设置的兔子洞,最后到了这里。确实pci=nommconf解决了这个问题,但它真的困扰着我,我知道 PCIe 总线发生了一些奇怪的事情,这是导致问题发生的根本原因 - 所以我开始尽可能地禁用它们。

事实证明,这是一个非常简单的解决方案 - 只是花了很长时间才弄清楚。将物理 VGA 开关关闭。这解决了我遇到的所有问题,我不再需要 GRUB 中的内核标志。USB 端口、Wifi 和蓝牙都正常工作,没有更多dmesg错误。

我第一次组装机器时,使用板载 VGA 适配器连接到显示器以安装 Ubuntu。安装 Ubuntu 后,我安装了 GPU,并将 BIOS 设置BootBoot ConfigurationPrimary Display从更改Onboard VGA HeaderDiscrete graphics card。事实证明,这实际上并没有禁用板载 VGA 接头 - 所以我假设它导致其他 PCIe 设备出现问题。为了完全禁用板载 VGA,您需要将物理开关关闭。如果您有独立 GPU,则无论如何都不需要主板的 VGA。

该开关位于主板右下方,VGA 接头正上方。

VGA 开关位置

希望这可以帮助。

答案2

我只是将 OP 的解决方案重新发布为答案(并附有更详细的解释),因为这实际上在经过数小时的研究和努力后解决了我的问题。

从 USB 启动并到达菜单选择“试用或安装 Ubuntu”时,按 e 编辑 GRUB 设置。然后,添加pci=nommconf并按 Ctrl+X 或 F10 保存并启动。

答案3

我确认,关闭主板上的 VGA 接头是可行的!!我非常痛苦的故事:

家庭服务器规格:

  • 华硕 Pro WS WRX80E-SAGE SE WIFI II
  • 5975wx
  • 256GB 内存
  • 4x Seagate Exos 20TB(位于 zpool1)

我已经连续两周遇到 SATA 端口和硬盘驱动器的严重问题。我的 zpool 每隔 2 小时左右就会崩溃一次,出现读取和/或写入错误,dmesg 到处都是神秘的消息。我做了什么(但毫无帮助):

  • BIOS 更新
  • bcm 固件更新
  • HDD 固件更新
  • 重新安装 CPU 几次,确保我遵循说明
  • 购买了外置硬盘盒(qnap TR-004),试图将硬盘问题与 CPU/主板/等的可能问题分开。

但即使使用外部机箱,问题仍然存在!仔细阅读 dmesg 日志后,我注意到我的 xHCI 主机控制器快要坏了。

[Sun Apr 16 03:45:15 2023] xhci_hcd 0000:2b:00.1: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x002b address=0xfffffff00000 flags=0x0000]
... <skipped> ...
[Sun Apr 16 03:45:15 2023] xhci_hcd 0000:2b:00.1: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x002b address=0xfffffff03f80 flags=0x0000]
[Sun Apr 16 03:45:51 2023] xhci_hcd 0000:2b:00.1: xHCI host not responding to stop endpoint command
[Sun Apr 16 03:45:51 2023] xhci_hcd 0000:2b:00.1: xHCI host controller not responding, assume dead
[Sun Apr 16 03:45:51 2023] xhci_hcd 0000:2b:00.1: HC died; cleaning up
[Sun Apr 16 03:45:51 2023] usb 3-5: USB disconnect, device number 2

经过两个小时的谷歌搜索,我终于找到了这篇帖子,非常感谢这个帖子里的每个人,尤其是@SteveMG9!呼,我准备退货主板和磁盘了……

相关内容