-1

两周前,我在 HP Proliant dl380 gen 9 上安装了 Ubuntu 14.04 LTS。自从我安装以来,它在白天自动断开连接并在晚上和周末再次连接(在高峰时段断开连接)一直表现不佳。如果我在白天拔下并插入网络电缆,它往往会连接几分钟然后断开连接(同时在网络区域上显示已连接的图标)。命令的输出lspci -knn | grep Eth -A2返回

02:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5719 Gigabit Ethernet PCIe [14e4:1657] (rev 01) Subsystem: Hewlett-Packard Company Device [103c:22be] Kernel driver in use: tg3

02:00.1 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5719 Gigabit Ethernet PCIe [14e4:1657] (rev 01) Subsystem: Hewlett-Packard Company Device [103c:22be] Kernel driver in use: tg3

02:00.2 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5719 Gigabit Ethernet PCIe [14e4:1657] (rev 01) Subsystem: Hewlett-Packard Company Device [103c:22be] Kernel driver in use: tg3

02:00.3 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5719 Gigabit Ethernet PCIe [14e4:1657] (rev 01) Subsystem: Hewlett-Packard Company Device [103c:22be] Kernel driver in use: tg3

4

1 回答 1

0

终于通过14e4:1687 Broadcom tg3 network driver在高负载下断开连接找到了答案。使用 ethtool 禁用 highdma 似乎可以解决这个问题,使解决方案永久添加 /etc/udev/rules.d/70-persistent-net.rules 中的 udev 规则:

ACTION=="add", SUBSYSTEM=="net", ATTRS{vendor}=="0x14e4", ATTRS{device}=="0x1687", RUN+="/sbin/ethtool -K %k highdma off"
于 2016-11-07T13:02:16.953 回答