ubuntu 14.04有线连接连接和断开连接

时间:2016-11-04 09:20:39

标签: linux ubuntu broadcom

两周前,我在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

1 个答案:

答案 0 :(得分:0)

最后能够通过14e4:1687 broadcom tg3 network driver disconnects under high load找到答案。使用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"