整理:最前段時間好多R710的服務器,莫名其妙的終端服務,報警提示服務器宕機,幸好還有另外一塊網卡,沒壞,登陸上去,發現是網卡問題。沒找到什麼緣由,系統也沒有日誌,service network restart 後,好使了! 但過了一段時間又有其它服務器出現這個問題,汗,網上找找了發現如下能夠解決:html
在RHEL 5.x或Centos 5.x上,解決辦法有兩種:linux
1.用內核自帶的驅動,修改內核參數,關閉acpi:api
vi /boot/grub/grub.conf
title CentOS (2.6.18-164.6.1.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-164.6.1.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet acpi=off noapic
initrd /initrd-2.6.18-164.6.1.el5.img服務器
參數acpi=off noapic是要加上的,這個解決辦法經測試網卡的流量最高跑到300多M沒事。app
2.從Dell網站下載最新的驅動升級,過程就不寫了。ssh
這個問題在linux系統上好解決,可是今天卻收到幾封機房發的報警郵件,說我裝着vmware esxi 4.1的Dell R710服務器丟包嚴重,高的時候有50%,我連上去看了一下,確實有丟包。查了下esxi的日誌,也沒看到什麼錯誤,這樣就懷疑也是BCM5709的網卡驅動的問題了。ide
而後就去www.vmware.com查,發現最新的是vmware esxi 4.1 update 1了,仔細查看Release Notes(https://www.vmware.com/support/vsphere4/doc/vsp_esxi41_u1_rel_notes.html),裏面找到了BCM5709網卡的驅動更新:測試
ESXi hosts might not boot or cause some devices not to be accessible when using more than 6 bnx2 ports
An error message similar to the following is displayed in /var/log/messages of ESXi: CPU10:4118 - intr vector: 290:out of interrupt vectors. Before applying this fix, bnx2 devices in MSI-X mode and jumbo frame configuration support only 6 ports. The issue is resolved in this release. In this release, the bnx2 driver allocates only 1 RX queue in MSI-X mode, supports 16 ports, and saves memory resources.
網站
看到網卡驅動有更新就準備先升級到vmware 4.1 update 1,找了臺機器安裝vmware-vsphere-cli,開始升級:ui
1.到vmware下載升級包:update-from-esxi4.1-4.1_update01.zip
2.關閉運行的全部虛擬機
3.把esxi 4.1設置爲維護模式
4.在剛安裝vmware-vsphere-cli的機器上用vmware-vsphere-cli升級:
vihostupdate --server x.x.x.x --username root --password passwd -i -b update-from-esxi4.1-4.1_update01.zip -B ESXi410-Update01
運行後顯示:
Please wait patch installation is in progress ...
The update completed successfully, but the system needs to be rebooted for the changes to be effecti
ve.
5.reboot esxi
重啓後ssh連到esxi的控制檯:
~ # ethtool -i vmnic0
driver: bnx2
version: 2.0.7d-3vmw
firmware-version: 5.0.13 bc 5.0.11 NCSI 2.0.5
bus-info: 0000:01:00.0
而在升級以前看到的是:
~ # ethtool -i vmnic0
driver: bnx2
version: 2.0.7d-2vmw
firmware-version: 5.0.13 bc 5.0.11 NCSI 2.0.5
bus-info: 0000:01:00.0
不給力呀,主版本號竟然是同樣的,擔憂仍是有問題,繼續找驅動,發現vmware還真有:http://downloads.vmware.com/d/info/datacenter_downloads/vmware_vsphere_hypervisor_esxi/4_0#drivers_tools
VMware ESX/ESXi 4.1 Driver CD for Broadcom NetXtreme II Ethernet Network Controllers
VMware對 Broadcom NetXtreme II Ethernet Network Controllers專門作了一個ISO,看來這個網卡的驅動問題多多。在下面這個地址下載這個ISO:
http://downloads.vmware.com/d/details/esx41_broadcom_netextremeii_dt/ZCV0YnRlaHRidHdw
下載後解壓出來,找到BCM-bnx2-2.0.15g.8.v41.1-offline_bundle-325733.zip,升級:
vihostupdate --server x.x.x.x --username root --password passwd -i -b BCM-bnx2-2.0.15g.8.v41.1-offline_bundle-325733.zip
安裝完後reboot esxi,
再看驅動版本:
~ # ethtool -i vmnic0
driver: bnx2
version: 2.0.15g.8.v41.1
firmware-version: 5.0.13 bc 5.0.11 NCSI 2.0.5
bus-info: 0000:01:00.0
這下感受好多了,哈哈。
而後退出維護模式,啓動虛擬機。
不知道效果怎麼樣,能不能解決問題,只能再觀察了。
http://hi.baidu.com/farmerluo/blog/item/a16f52667fa22831aa184c3f.html