昨天咱們有新的系統上線,安裝了centos 5.5 64位操做系統,全部的程序都佈署完畢,而後作壓力測試,用loadrunner作300個壓力的測試的時候,網卡忽然down了,網卡服務也中止,須要運行service network restart 才能正常工做,一開始懷疑是網線或者是交換機的問題,一一更換,問題依舊,而後上網去查了一下,網上說是網卡驅動的問題,在負載比較大的時候,網卡掉包嚴重,因此須要更新網卡驅動,下面是更新網卡驅動步驟:php
一、去這個網站http://www.broadcom.com/support/ethernet_nic/netxtremeii.php下載最新的驅動程序包,我下載是linux-6.0.53.ziplinux
shell> unzip linux-6.0.53.zipshell
shell >cd /root/Server/Linux/Drivercentos
shell>rpm -ivh netxtreme2-6.0.53-1.src.rpmide
shell>cd /usr/src/redhat/SOURCES測試
shell>tar jxvf netxtreme2-6.0.53.tar.bz2網站
shell>rpmbuild -bb /usr/src/redhat/SPECS/netxtreme2.specui
shell >cd /usr/src/redhat/RPMS/x86_64spa
shell>rpm -ivh netxtreme2-6.0.53-1.x86_64.rpm操作系統
而後重啓機器,就能夠了
shell >modinfo bnx2
filename: /lib/modules/2.6.18-194.el5/updates/bnx2.ko
version: 2.0.18c
license: GPL
description: Broadcom NetXtreme II BCM5706/5708/5709/5716 Driver
author: Michael Chan <mchan@broadcom.com>
srcversion: 074454FB1E7E207CC65247E
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-194.el5 SMP mod_unload gcc-4.1
parm: disable_msi:Disable Message Signaled Interrupt (MSI) (int)
parm: stop_on_tx_timeout:For debugging purposes, prevent a chip reset when a tx timeout occurs (int)
這樣網卡驅動更新完畢.