Firefox Python nginx Ubuntu 程序员 apache Windows centos google linux命令 wordpress java 微软 php 开源 mysql shell linux Android HTML5

intel千兆网卡e1000e在centos6.3系统中断bug

一个客户的centos6.3 64bit网站服务器最近频繁断网。进入系统后我们查看系统日志发现如下错误提示:

Feb 24 14:53:51 sklinux.com kernel: e1000e 0000:06:00.0: eth0: Reset adapter
Feb 24 14:54:02 sklinux.com kernel: e1000e 0000:06:00.0: eth0: Error reading PHY register
Feb 24 14:54:02 sklinux.com kernel: e1000e 0000:06:00.0: eth0: Error reading PHY register
Feb 24 14:54:02 sklinux.com kernel: e1000e 0000:06:00.0: eth0: Error reading PHY register
Feb 24 14:54:02 sklinux.com kernel: e1000e 0000:06:00.0: eth0: Error reading PHY register
Feb 24 14:54:02 sklinux.com kernel: e1000e 0000:06:00.0: eth0: Error reading PHY register
Feb 24 14:54:02 sklinux.com kernel: e1000e 0000:06:00.0: eth0: Error reading PHY register
Feb 24 14:54:02 sklinux.com kernel: e1000e 0000:06:00.0: eth0: Error reading PHY register
Feb 24 14:54:02 sklinux.com kernel: e1000e 0000:06:00.0: eth0: Error reading PHY register
Feb 24 14:54:17 sklinux.com kernel: e1000e 0000:06:00.0: eth0: Error reading PHY register
Feb 24 14:54:17 sklinux.com kernel: e1000e 0000:06:00.0: eth0: Error reading PHY register
Feb 24 14:54:17 sklinux.com kernel: e1000e 0000:06:00.0: eth0: Error reading PHY register

根据经验这个网卡驱动在centos6.x 64上的一个bug。

我们升级了e1000e的网卡驱动后故障消失。

最新驱动在这里:http://sourceforge.net/projects/e1000/files/e1000e%20stable/

根据口味下载相应版本,然后编译。

大致过程是

wget http://xxx.tgz
tar xvzf xx.tgz
cd src && make && make install
rmmod e1000e && modprobe e1000e

即可!

 升级后的版本:

# ethtool -i eth0
driver: e1000e
version: 1.9.5-k
firmware-version: 1.8-0
bus-info: 0000:06:00.0

# ethtool -i eth0
driver: e1000e
version: 2.0.0.1-NAPI
firmware-version: 1.8-0
bus-info: 0000:06:00.0

希望遇见centos6.x 或者cents5.x频繁断网的同学能借鉴。

延伸阅读

评论