免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2573 | 回复: 0
打印 上一主题 下一主题

centos下网卡灵异事件--都是sky2驱动惹的祸 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-09-20 11:17 |只看该作者 |倒序浏览
最近碰到件网络方面的灵异事件,一台centos5.4的服务器,两块网卡,一块是e1000,接的内网;一块是sky2,接的外网。
出现了好几次,突然间外网的IP就不通了,查看有以下日志:
Sep 20 07:42:46 localhost kernel: sky2 eth1: receiver hang detected
Sep 20 07:42:46 localhost kernel: sky2 eth1: disabling interface
Sep 20 07:42:46 localhost kernel: sky2 eth1: enabling interface

配置什么的没改过啊,查看网卡的灯也是亮的,重启网络服务,不行!重启服务器,也不行!
后来试着把内外网的网线对换下网口,神奇了,竟然配置什么的都没改过,就通了!
就这样正常运行着,过了一天不到,又不通了,重启后把两根网线对换下,又通了,灵异啊。

仔细思考及百度,谷歌搜索了下,应该是sky2网卡的驱动问题,替换掉sky2网卡的驱动程序后,终于正常了,内牛满面。。。

sky2网卡新的驱动可以在这下载:
http://www.marvell.com/support/downloads/search.do
点击Kernel 2.6.x Linux Driver Install Package for Yukon Devices

安装步骤:
[root@localhost ~]# tar -jxvf install_v10.90.5.3.tar.bz2
DriverInstall/
DriverInstall/sk98lin.tar.bz2
DriverInstall/functions
DriverInstall/install.sh
DriverInstall/sk98lin.4
DriverInstall/README

[root@localhost ~]# cd DriverInstall/

[root@localhost DriverInstall]# ./install.sh

1) installation       3) generate makefile
2) generate patch     4) exit
Choose your favorite installation method: 1

Do you want proceed? (y/N) y

1) Do nothing
2) Deactivate diver
3) Remove driver
Action: 3
这里选择3,会自动把驱动从sky2替换成sk98lin(注意,选择后要等一段时间,网络会中断一会)

[root@localhost DriverInstall]# more /etc/modprobe.conf
alias eth0 e1000
alias eth1 sk98lin
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP