LSX-blog

Feed Rss

【原创】R710 CentOS5.5 X64网络中断故障

09.04.2013, Linux, by .

故障:

外网网卡物理状态正常,但无法通信,重起网卡恢复正常

原因:

百度了解到,此问题是由于网卡驱动问题所致,DEL服务器的技术支持正式目前该网卡在Redhat 5.3、5.4、5.5以及Centos 5.3、5.4、5.5的旧的驱动存在bug,Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet在负载高的情况下会出现无故中断,重启网卡正常。

解决:

CentOS 5.5 64bit下的网卡驱动升级

升级步骤:

1、查看现有驱动版本

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[lishixin@wuweizi ~]$ /sbin/modinfo bnx2
filename: /lib/modules/2.6.18-128.1.6.el5/kernel/drivers/net/bnx2.ko
version: 1.7.9-1
license: GPL
description: Broadcom NetXtreme II BCM5706/5708/5709 Driver
author: Michael Chan <mchan@broadcom.com>
srcversion: 71574E8CA8E4B7882A0AC73
alias: pci:v000014E4d0000163Csv*sd*bc*sc*i*
alias: pci:v000014E4d0000163Bsv*sd*bc*sc*i*
alias: pci:v000014E4d0000163Asv*sd*bc*sc*i*
alias: pci:v000014E4d00001639sv*sd*bc*sc*i*
alias: pci:v000014E4d000016ACsv*sd*bc*sc*i*
alias: pci:v000014E4d000016AAsv*sd*bc*sc*i*
alias: pci:v000014E4d000016AAsv0000103Csd00003102bc*sc*i*
alias: pci:v000014E4d0000164Csv*sd*bc*sc*i*
alias: pci:v000014E4d0000164Asv*sd*bc*sc*i*
alias: pci:v000014E4d0000164Asv0000103Csd00003106bc*sc*i*
alias: pci:v000014E4d0000164Asv0000103Csd00003101bc*sc*i*
depends:
vermagic: 2.6.18-128.1.6.el5 SMP mod_unload gcc-4.1
parm: disable_msi:Disable Message Signaled Interrupt (MSI) (int)

2、进入下载页http://zh-cn.broadcom.com/support/ethernet_nic/netxtremeii.php

filename:linux-7.6.62.zip

3、安装内核

yum -y install kernel-devel (版本记得一致)

4、备份驱动

1
cp /lib/modules/2.6.18-194.el5/kernel/drivers/net/bnx2.ko /lib/modules/2.6.18-194.el5/kernel/drivers/net/bnx2.ko.bak

5、编译驱动

1
2
3
4
5
unzip linux-7.6.62.zip
cd Server/Linux/Driver
tar zxvf netxtreme2-7.6.62.tar.gz
cd netxtreme2-7.6.62/bnx2/src
make && make install

6、加载驱动

1
rmmod bnx2 && modprobe bnx2 && /etc/init.d/network restart

7、确认驱动

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[root@wuweizi src]# modinfo bnx2
filename: /lib/modules/2.6.18-128.1.6.el5/updates/bnx2.ko
version: 2.2.3n
license: GPL
description: Broadcom NetXtreme II BCM5706/5708/5709/5716 Driver
author: Michael Chan <mchan@broadcom.com>
srcversion: F8D68E9A1A5D79C53DCCA81
alias: pci:v000014E4d0000163Csv*sd*bc*sc*i*
alias: pci:v000014E4d0000163Bsv*sd*bc*sc*i*
alias: pci:v000014E4d0000163Asv*sd*bc*sc*i*
alias: pci:v000014E4d00001639sv*sd*bc*sc*i*
alias: pci:v000014E4d000016ACsv*sd*bc*sc*i*
alias: pci:v000014E4d000016AAsv*sd*bc*sc*i*
alias: pci:v000014E4d000016AAsv0000103Csd00003102bc*sc*i*
alias: pci:v000014E4d0000164Csv*sd*bc*sc*i*
alias: pci:v000014E4d0000164Asv*sd*bc*sc*i*
alias: pci:v000014E4d0000164Asv0000103Csd00003106bc*sc*i*
alias: pci:v000014E4d0000164Asv0000103Csd00003101bc*sc*i*
depends:
vermagic: 2.6.18-128.1.6.el5 SMP mod_unload gcc-4.1
parm: disable_msi:Disable Message Signaled Interrupt (MSI) (int)

发表评论

电子邮件地址不会被公开。 必填项已用*标注