启动时间歇性 PCIe 总线错误 (Arch Linux)

启动时间歇性 PCIe 总线错误 (Arch Linux)

自从四月份我使用 Arch Linux 操作系统构建计算机以来,我一直收到一些错误,这些错误似乎指向我的华硕“ROG STRIX Z370-E GAMING”主板上某些 USB 3.1 的 ASPM 控制。

我要么得到 0、1 要么两个以下错误journalctl,这些错误似乎完全是随机的,至于是否发生错误。我想指出的是,这些端口目前可以工作,但它们的功率无法由操作系统调节。 (不过,Windows 没有任何问题。)

我尝试进行故障排除后,在 BIOS 中禁用了受影响的 USB 端口,从而解决了问题。但我显然希望 USB 端口能够工作。

以下是一些诊断信息。我还把相关信息加粗了。

日志ctl -xb -p3 [为简洁起见,删除了时间戳和“archlinux 内核”]

pcieport 0000:00:1c.4: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
pcieport 0000:00:1c.4:   device [8086:a294] error status/mask=00000001/00002000
pcieport 0000:00:1c.4:    [ 0] Receiver Error         (First)
pcieport 0000:00:1c.6: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
pcieport 0000:00:1c.6:   device [8086:a296] error status/mask=00000001/00002000
pcieport 0000:00:1c.6:    [ 0] Receiver Error         (First)

lspci-电视[受影响的 PCIe 端口以粗体显示]

-[0000:00]-+-00.0  Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers
           +-02.0  Intel Corporation Device 3e92
           +-14.0  Intel Corporation 200 Series PCH USB 3.0 xHCI Controller
           +-16.0  Intel Corporation 200 Series PCH CSME HECI #1
           +-17.0  Intel Corporation 200 Series PCH SATA controller [AHCI mode]
           +-1b.0-[01]--
           +-1c.0-[02]--
           +-1c.2-[03]----00.0  Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter
           +-1c.4-[04]----00.0  ASMedia Technology Inc. Device 2142
           +-1c.6-[05]----00.0  ASMedia Technology Inc. Device 2142 
           +-1d.0-[06]--
           +-1f.0  Intel Corporation Device a2c9
           +-1f.2  Intel Corporation 200 Series PCH PMC
           +-1f.3  Intel Corporation 200 Series PCH HD Audio
           +-1f.4  Intel Corporation 200 Series PCH SMBus Controller
           \-1f.6  Intel Corporation Ethernet Connection (2) I219-V

日记ctl -xb [为简洁起见,删除了时间戳和“archlinux 内核”]

ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-pci: OHCI PCI platform driver
uhci_hcd: USB Universal Host Controller Interface driver
xhci_hcd 0000:00:14.0: xHCI Host Controller
xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0000000000009810
xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.18
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: xHCI Host Controller
usb usb1: Manufacturer: Linux 4.18.16-arch1-1-ARCH xhci-hcd
usb usb1: SerialNumber: 0000:00:14.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 16 ports detected
xhci_hcd 0000:00:14.0: xHCI Host Controller
xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
xhci_hcd 0000:00:14.0: Host supports USB 3.0  SuperSpeed
usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.18
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: xHCI Host Controller
usb usb2: Manufacturer: Linux 4.18.16-arch1-1-ARCH xhci-hcd
usb usb2: SerialNumber: 0000:00:14.0
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 10 ports detected
xhci_hcd 0000:04:00.0: xHCI Host Controller
xhci_hcd 0000:04:00.0: new USB bus registered, assigned bus number 3
pcieport 0000:00:1c.4: AER: Corrected error received: 0000:00:1c.4
pcieport 0000:00:1c.4: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
pcieport 0000:00:1c.4:   device [8086:a294] error status/mask=00000001/00002000
pcieport 0000:00:1c.4:    [ 0] Receiver Error         (First)
xhci_hcd 0000:04:00.0: hcc params 0x0200ef81 hci version 0x110 quirks 0x0000000000000010
usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.18
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: xHCI Host Controller
usb usb3: Manufacturer: Linux 4.18.16-arch1-1-ARCH xhci-hcd
usb usb3: SerialNumber: 0000:04:00.0
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
xhci_hcd 0000:04:00.0: xHCI Host Controller
xhci_hcd 0000:04:00.0: new USB bus registered, assigned bus number 4
xhci_hcd 0000:04:00.0: Host supports USB 3.1 Enhanced SuperSpeed
usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. 
usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.18
usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: xHCI Host Controller
usb usb4: Manufacturer: Linux 4.18.16-arch1-1-ARCH xhci-hcd
usb usb4: SerialNumber: 0000:04:00.0
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
xhci_hcd 0000:05:00.0: xHCI Host Controller
xhci_hcd 0000:05:00.0: new USB bus registered, assigned bus number 5
pcieport 0000:00:1c.6: AER: Corrected error received: 0000:00:1c.6
pcieport 0000:00:1c.6: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
pcieport 0000:00:1c.6:   device [8086:a296] error status/mask=00000001/00002000
pcieport 0000:00:1c.6:    [ 0] Receiver Error         (First)
xhci_hcd 0000:05:00.0: hcc params 0x0200ef81 hci version 0x110 quirks 0x0000000000000010
usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.18
usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb5: Product: xHCI Host Controller
usb usb5: Manufacturer: Linux 4.18.16-arch1-1-ARCH xhci-hcd
usb usb5: SerialNumber: 0000:05:00.0
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
xhci_hcd 0000:05:00.0: xHCI Host Controller
xhci_hcd 0000:05:00.0: new USB bus registered, assigned bus number 6
xhci_hcd 0000:05:00.0: Host supports USB 3.1 Enhanced SuperSpeed
usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.18
usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb6: Product: xHCI Host Controller
usb usb6: Manufacturer: Linux 4.18.16-arch1-1-ARCH xhci-hcd
usb usb6: SerialNumber: 0000:05:00.0
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 2 ports detected
usb: port power management may be unreliable
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial support registered for generic

答案1

PCIe 总线更像是网络而不是总线:数据包通过高速差分链路发送。您的错误severity=Corrected, type=Physical Layer表明,在其中一个数据包中,检测到并纠正了物理传输错误。

高速链路在电气方面并不是微不足道的,因此这可能有多种原因,例如主板上的路由布局接近允许的限制,以及 USB 芯片上的 PCIe 控制器也接近限制,然后此类错误可能会发生。

这是一个硬件问题,唯一的解决方法是更换组件与其他不太接近允许限制的组件,或者更改主板布局等。

所以你无能为力。只要所有错误都得到纠正,并且一切正常,您就可以忽略它并接受它。如果您仍然有保修,您可以尝试让供应商更换主板(但供应商可能会拒绝,因为它仍然可以工作)。

如果 USB 端口开始出现故障,您可以像之前那样禁用它们,并添加带有 USB 控制器的附加 PCIe 卡(如果仍有空间)。

USB 端口功率无法调整的事实可能与错误消息和驱动程序问题无关。 (除非您可以将错误消息与尝试设置电源的 PCIe 数据包关联起来,但考虑到错误的性质,这种情况极不可能发生,除非数据包碰巧具有触发错误的位序列)。

相关内容