我的 Elitebook 840 G10 上连接了一个 HP Thunderbolt G4 底座,上面运行着 Ubuntu 22.04.5 LTS(内核 6.8.0-45-generic)。
直到最近,一切都运行良好。
突然,码头上的以太网端口停止工作。
这种情况已经发生过几次了。
之前我可以通过运行以下命令恢复以太网端口
echo 1 > /sys/bus/pci/devices/0000\:2b\:00.0/remove
echo 1 > /sys/bus/pci/rescan
但是,现在当我这样做时......dmesg 输出中会出现以下内容:
[ 1083.974094] pci 0000:2b:00.0: [8086:5502] type 00 class 0x020000 PCIe Endpoint
[ 1083.974148] pci 0000:2b:00.0: BAR 0 [mem 0x00000000-0x000fffff]
[ 1083.974206] pci 0000:2b:00.0: BAR 3 [mem 0x00000000-0x00003fff]
[ 1083.974547] pci 0000:2b:00.0: PME# supported from D0 D3hot D3cold
[ 1083.974973] pci 0000:2b:00.0: Adding to iommu group 23
[ 1083.975453] pci 0000:2b:00.0: BAR 0 [mem size 0x00100000]: can't assign; no space
[ 1083.975458] pci 0000:2b:00.0: BAR 0 [mem size 0x00100000]: failed to assign
[ 1083.975461] pci 0000:2b:00.0: BAR 3 [mem size 0x00004000]: can't assign; no space
[ 1083.975463] pci 0000:2b:00.0: BAR 3 [mem size 0x00004000]: failed to assign
[ 1083.975908] igc 0000:2b:00.0: PTM enabled, 4ns granularity
[ 1083.976320] igc: probe of 0000:2b:00.0 failed with error -5
我也在系统日志中看到过这个......
igc 0000:2b:00.0 (unnamed net_device) (uninitialized): PCIe link lost, device now detached
还有这个……
igc: probe of 0000:2b:00.0 failed with error -13
我知道底座上的以太网可以正常工作。当我将我的 MacBook 连接到底座时,以太网工作正常。
根据其他地方的一些论坛帖子,我在 /etc/default/grub 中的 GRUB_CMDLINE_LINUX_DEFAULT 中添加了“pcie_aspm=off pcie_port_pm=off”,但似乎没有什么区别。
我知道底座支持 Linux。HP 甚至在这里说明了这一点:https ://support.hp.com/us-en/documen...504-6213991-16
作为一种解决方法,我将一个 USB c 以太网适配器连接到基座,并且工作正常。
关于在哪里可以解决此问题的任何建议。