1 頁 (共 1 頁)

Dell R310 網卡自動中斷問題

發表於 : 2011-11-30 10:38:59
alee
自從換上新機器後,每過一個星期網卡就會自動關閉
查了很久終於發現是網卡驅動程式問題
這一篇有詳細的解決辦法 http://blog.chinaunix.net/space.php?uid ... id=3011559

更新前來看一下網卡資料

代碼: 選擇全部

#modinfo bnx2

filename:       /lib/modules/2.6.32-35-server/kernel/drivers/net/bnx2.ko
firmware:       bnx2/bnx2-rv2p-09ax-5.0.0.j3.fw
firmware:       bnx2/bnx2-rv2p-09-5.0.0.j3.fw
firmware:       bnx2/bnx2-mips-09-5.0.0.j3.fw
firmware:       bnx2/bnx2-rv2p-06-5.0.0.j3.fw
firmware:       bnx2/bnx2-mips-06-5.0.0.j3.fw
version:        2.0.2
license:        GPL
description:    Broadcom NetXtreme II BCM5706/5708/5709/5716 Driver
author:         Michael Chan <mchan@broadcom.com>
srcversion:     8F18532C0D4FFBC79D95E9D
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.32-35-server SMP mod_unload modversions 
parm:           disable_msi:Disable Message Signaled Interrupt (MSI) (int)
網卡驅動為2.0.2版

新版網卡驅動程式下載位址:
ftp://ftp.us.dell.com/network/Bcom_LAN_ ... A01.tar.gz

接下來安裝新驅動
tar xvf netxtreme2-6.2.23.tar.gz

# cd netxtreme2-6.2.23
# cd bnx2/src/
# make && make install

注意確保服務器的kernel-devel,kernel-headers已經安裝

安裝完成後加載模組(些段要一次下完,不然會中斷要跑機房一次)
rmmod bnx2;depmod;modprobe bnx2

代碼: 選擇全部

 #modinfo bnx2

filename:       /lib/modules/2.6.32-21-server/updates/bnx2.ko
version:        2.0.23b
license:        GPL
description:    Broadcom NetXtreme II BCM5706/5708/5709/5716 Driver
author:         Michael Chan <mchan@broadcom.com>
srcversion:     6E0DD070AB24C11F50B2712
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.32-21-server SMP mod_unload modversions 
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)