Networking
網路驅動已更新 - linux 仍在載入舊驅動版本
我最近更新了一台伺服器的 bnx2 網路驅動程序。如果我顯示有關模組的資訊,它會正確顯示新版本2.0.23b。
modinfo bnx2 filename: /lib/modules/2.6.32-5-amd64/kernel/drivers/net/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-5-amd64 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)
但是,如果我使用 ethtool 顯示版本資訊,它會顯示舊版本2.0.2。
ethtool -i eth0 driver: bnx2 version: 2.0.2 firmware-version: 5.0.11 NCSI 2.0.5 bus-info: 0000:01:00.0
/lib/modules/2.6.32-5-amd64/kernel/drivers/net/bnx2.ko
該文件僅存在一個位置bnx2.ko
,即新版本 2.0.23b。在
/var/log/messages
我可以看到舊驅動程序已載入:... Oct 14 15:22:02 localhost kernel: [ 0.827101] Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v2.0.2 (Aug 21, 2009) Oct 14 15:22:02 localhost kernel: [ 0.827139] bnx2 0000:01:00.0: PCI INT A -> GSI 36 (level, low) -> IRQ 36 Oct 14 15:22:02 localhost kernel: [ 0.827283] bnx2 0000:01:00.0: firmware: requesting bnx2/bnx2-mips-09-5.0.0.j3.fw Oct 14 15:22:02 localhost kernel: [ 0.829565] bnx2 0000:01:00.0: firmware: requesting bnx2/bnx2-rv2p-09-5.0.0.j3.fw Oct 14 15:22:02 localhost kernel: [ 0.832217] eth0: Broadcom NetXtreme II BCM5716 1000Base-T (C0) PCI Express found at mem da000000, IRQ 36, node addr a4:ba:db:43:b1:53 Oct 14 15:22:02 localhost kernel: [ 0.832250] bnx2 0000:01:00.1: PCI INT B -> GSI 48 (level, low) -> IRQ 48 Oct 14 15:22:02 localhost kernel: [ 0.832373] bnx2 0000:01:00.1: firmware: requesting bnx2/bnx2-mips-09-5.0.0.j3.fw Oct 14 15:22:02 localhost kernel: [ 0.834499] bnx2 0000:01:00.1: firmware: requesting bnx2/bnx2-rv2p-09-5.0.0.j3.fw ...
系統仍然從哪裡獲取舊驅動程序的任何想法?
您可能需要執行 depmod 以使用任何新模組更新模組依賴關係映射:
#depmod -a
解決方案也需要執行
dpkg-reconfigure linux-image-2.6.32-5-amd64
。