我有一台戴尔 1U 服务器,带有 Intel(R) Xeon(R) CPU L5420 @ 2.50GHz,8 核,在 x86_64 上运行 Ubuntu 服务器内核版本 3.13.0-32-generic。它具有双 1000baseT 网卡。我已将其设置为将数据包从 eth0 转发到 eth1。
我注意到在我的 kern.log 文件中它一直挂着然后休息。这经常发生。这种情况每隔几秒钟发生一次,然后可能几分钟就可以了,然后每隔几秒钟就会恢复。
这是日志文件转储:
[118943.768245] e1000e 0000:00:19.0 eth0: Detected Hardware Unit Hang:
[118943.768245] TDH <45>
[118943.768245] TDT <50>
[118943.768245] next_to_use <50>
[118943.768245] next_to_clean <43>
[118943.768245] buffer_info[next_to_clean]:
[118943.768245] time_stamp <101c48d04>
[118943.768245] next_to_watch <45>
[118943.768245] jiffies <101c4970f>
[118943.768245] next_to_watch.status <0>
[118943.768245] MAC Status <80283>
[118943.768245] PHY Status <792d>
[118943.768245] PHY 1000BASE-T Status <7800>
[118943.768245] PHY Extended Status <3000>
[118943.768245] PCI Status <10> …Run Code Online (Sandbox Code Playgroud) 这个内核标志(pcie_aspm)记录在哪里?我确定它有作用,我只是将其关闭以使有线以太网驱动程序 (e1000e) 工作。
这个问题的延续这一个。
我的以太网芯片组和 e1000e 驱动程序有很多问题:
02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
Run Code Online (Sandbox Code Playgroud)
显然,如果没有pcie=off,它根本不起作用,即使有这个选项,它在我从暂停状态恢复后也不起作用。有没有人对此有任何建议?它是一个上游错误吗?这是当我尝试从 dmesg 恢复和使用我的以太网卡时发生的情况。
如果您想查看众多诊断工具的结果,请务必查看我之前的问题,其中包含大量有关我的配置的信息。
[20837.993481] e1000e 0000:02:00.0: eth0: Detected Hardware Unit Hang:
[20837.993485] TDH <55>
[20837.993488] TDT <7b>
[20837.993490] next_to_use <7b>
[20837.993492] next_to_clean <54>
[20837.993494] buffer_info[next_to_clean]:
[20837.993496] time_stamp <4e4097>
[20837.993498] next_to_watch <55>
[20837.993501] jiffies <4e58a2>
[20837.993503] next_to_watch.status <0>
[20837.993505] MAC Status <80080703>
[20837.993507] PHY Status <796d>
[20837.993510] PHY 1000BASE-T Status <4000>
[20837.993512] PHY Extended Status <3000>
[20837.993514] PCI …Run Code Online (Sandbox Code Playgroud)