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)

【原创】R710 CentOS5.5 X64网络中断故障 有 60 条回应

  1. Howdy, i read your blog occasionally and i own a similar
    one and i was just wondering if you get a lot of spam remarks?

    If so how do you stop it, any plugin or anything you can suggest?
    I get so much lately it’s driving me crazy so any support is very much appreciated.

    回复
  2. Thanks for your post. I also think that laptop computers have grown to be more and more popular these days, and now are often the only sort of computer found in a household. It is because at the same time they are becoming more and more affordable, their working power is growing to the point where these are as potent as desktop out of just a few years ago.

    回复
  3. Glad to be one of many visitors on this awesome web site :D.

    回复
  4. An outstanding share! I have just forwarded this onto a co-worker who has been conducting a
    little research on this. And he actually bought me breakfast due to the fact that I stumbled upon it for
    him… lol. So let me reword this…. Thank YOU for the meal!!

    But yeah, thanx for spending some time to talk about this
    matter here on your internet site.

    回复
  5. Hi! I could have sworn I’ve been to this site before but after looking at a few of the posts I realized it’s new to me.
    Anyhow, I’m certainly happy I came across it and I’ll
    be bookmarking it and checking back often!

    回复
  6. I visited multiple web pages however the audio quality for audio songs current at this web
    site is in fact superb.

    回复
  7. Greetings! I’ve been reading your web site for a while now and finally got the courage to go ahead and give you a shout out from Atascocita Tx! Just wanted to say keep up the good work!| а

    回复
  8. Incredible! This blog looks just like my old one! It’s on a entirely different topic but it has pretty
    much the same layout and design. Superb choice of colors!

    回复
  9. What’s up, of course this post is genuinely fastidious and I have learned lot of things from it concerning blogging.
    thanks.

    回复
  10. Whoa! This blog looks exactly like my old one!
    It’s on a entirely different topic but it has pretty much the
    same page layout and design. Superb choice of colors!

    回复

发表评论

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