1. 程式人生 > >Dell R620機器網絡卡無法正常設定ip

Dell R620機器網絡卡無法正常設定ip

環境:Dell R620, Debian 7.3 Linux version 3.2.0-4-amd64

問題:在設定ip之後重啟網路服務,報agent aborted loading bnx2x/bn2x2-e2-7.0.29.0.fw(not found?) bnx2x:[bnx2x2_func_hw_init:5382(eth3)]Error loading firmware bnx2x:[bnx2x_nic_load:1853(eth3)] HW init failed, aborting.

1.什麼是bnx2x?

bnx2x是Broadcom公司開發的一個linux網絡卡驅動,同樣的還有其他驅動版本:tg3,bnx2,bnx2x and b44。這個僅僅是broadcom一家的,還有別的公司開發的驅動。目前Broadcom的驅動支援線:NetXtreme and NetLink -tg3,4401 - b44。

2.為什麼會報這個錯?

檢查了一下機器的網絡卡:

#lspci
00:1f.0 ISA bridge: Intel C600/X79 series chipset LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation C600/X79 series chipset 6-Port SATA AHCI Controller (rev 05)
01:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM57800 1/10 Gigabit Ethernet (rev 10)
01:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM57800 1/10 Gigabit Ethernet (rev 10)
01:00.2 Ethernet controller: Broadcom Corporation NetXtreme II BCM57800 1/10 Gigabit Ethernet (rev 10)
01:00.3 Ethernet controller: Broadcom Corporation NetXtreme II BCM57800 1/10 Gigabit Ethernet (rev 10)
發現自己的網絡卡是BCM578000, 驅動是bnx2x。

檢查驅動是否正常載入

#lsmod|grep bnx2x
bnx2x                 389394  0
mdio                   12653  1 bnx2x
libcrc32c              12426  1 bnx2x

檢視詳細資訊:

#modinfo bnx2x

正常載入。

根據報錯,我們可以發現感覺bnx2x呼叫firmware中包有缺失。

去官網下載包,並把相應檔案拷貝到相應目錄下即可。

包地址:https://packages.debian.org/zh-cn/wheezy/firmware-bnx2x

#cp -r /bnx2x/bnx2x /lib/firmware/

重啟網絡卡搞定!