Updating Proxmox node NIC drivers

hotwired007

Member
Sep 19, 2011
533
7
16
UK
I have a broadcom 5709 Quad NIC installed in my Dell server and two onboard 5721 cards:

Code:
05:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
05:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
06:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
06:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
07:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5721 Gigabit Ethernet PCI Express (rev 11)
08:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5721 Gigabit Ethernet PCI Express (rev 11)

when i run lsmod it lists the driver module as bnx2,

Code:
Module                  Size  Used by
vzethdev                8221  0
vznetdev               19366  0
simfs                   4480  0
vzrst                 188359  0
nf_nat                 23213  1 vzrst
nf_conntrack_ipv4       9978  2 nf_nat
nf_defrag_ipv4          1531  1 nf_conntrack_ipv4
vzcpt                 143260  1 vzrst
nfs                   414919  4 vzrst,vzcpt
lockd                  77829  2 vzrst,nfs
fscache                46811  1 nfs
nfs_acl                 2695  1 nfs
auth_rpcgss            44941  1 nfs
sunrpc                269095  15 nfs,lockd,nfs_acl,auth_rpcgss
nf_conntrack           80698  4 vzrst,nf_nat,nf_conntrack_ipv4,vzcpt
vzdquota               55883  0 [permanent]
vzmon                  24681  3 vznetdev,vzrst,vzcpt
vzdev                   2765  4 vzethdev,vznetdev,vzdquota,vzmon
ip6t_REJECT             4743  0
ip6table_mangle         3669  0
ip6table_filter         3033  0
ip6_tables             19746  2 ip6table_mangle,ip6table_filter
xt_length               1338  0
xt_hl                   1547  0
xt_tcpmss               1623  0
xt_TCPMSS               3525  0
vhost_net              31368  0
iptable_mangle          3493  0
iptable_filter          2937  0
macvtap                 9964  1 vhost_net
xt_multiport            2812  0
xt_limit                2230  0
macvlan                10260  1 macvtap
xt_dscp                 2073  0
tun                    19189  1 vhost_net
ipt_REJECT              2399  0
kvm_intel              52954  0
ip_tables              18183  2 iptable_mangle,iptable_filter
kvm                   318658  1 kvm_intel
dlm                   150707  21
configfs               30349  2 dlm
vzevent                 2179  1
dm_round_robin          2733  4
ib_iser                31732  0
rdma_cm                35285  1 ib_iser
ib_cm                  37046  1 rdma_cm
iw_cm                   8755  1 rdma_cm
ib_sa                  23110  2 rdma_cm,ib_cm
ib_mad                 40565  2 ib_cm,ib_sa
ib_core                74455  6 ib_iser,rdma_cm,ib_cm,iw_cm,ib_sa,ib_mad
ib_addr                 6139  1 rdma_cm
iscsi_tcp              10263  30
libiscsi_tcp           16972  1 iscsi_tcp
libiscsi               47665  3 ib_iser,iscsi_tcp,libiscsi_tcp
scsi_transport_iscsi    53095  4 ib_iser,iscsi_tcp,libiscsi
fuse                   85861  3
bonding               128269  0
ipv6                  329254  53 vzrst,ip6t_REJECT,ip6table_mangle,ib_addr,bonding
8021q                  26333  1 bonding
garp                    7360  1 8021q
dm_multipath           17665  4 dm_round_robin
radeon                850090  1
ttm                    82546  1 radeon
snd_pcsp                8733  0
drm_kms_helper         34314  1 radeon
drm                   250893  3 radeon,ttm,drm_kms_helper
snd_pcm                86292  1 snd_pcsp
snd_timer              23265  1 snd_pcm
snd                    71915  3 snd_pcsp,snd_pcm,snd_timer
i2c_algo_bit            5778  1 radeon
soundcore               8182  1 snd
i2c_i801               11247  0
i3000_edac              3487  0
shpchp                 33498  0
snd_page_alloc          8614  1 snd_pcm
i2c_core               31269  5 radeon,drm_kms_helper,drm,i2c_algo_bit,i2c_i801
tpm_tis                12257  0
edac_core              46853  3 i3000_edac
serio_raw               4898  0
tpm                    16486  1 tpm_tis
dcdbas                  9235  0
tpm_bios                6375  1 tpm
ext3                  244847  3
jbd                    81188  1 ext3
mbcache                 8160  1 ext3
scsi_dh_rdac            9175  8
sg                     30412  0
ata_generic             3853  0
pata_acpi               3717  0
mptsas                 53669  2
tg3                   145516  0
ata_piix               22862  0
mptscsih               36846  1 mptsas
mptbase                94159  2 mptsas,mptscsih
scsi_transport_sas     35988  1 mptsas
bnx2                   80162  0

when i run modinfo bnx2 it shows that the driver is an old version:

Code:
root@node1:/lib/modules/2.6.32-17-pve/kernel/drivers/net/bnx2x# modinfo bnx2
filename:       /lib/modules/2.6.32-17-pve/kernel/drivers/net/bnx2.ko
firmware:       bnx2/bnx2-rv2p-09ax-6.0.17.fw
firmware:       bnx2/bnx2-rv2p-09-6.0.17.fw
firmware:       bnx2/bnx2-mips-09-6.2.1b.fw
firmware:       bnx2/bnx2-rv2p-06-6.0.15.fw
firmware:       bnx2/bnx2-mips-06-6.2.3.fw
version:        2.2.1
license:        GPL
description:    Broadcom NetXtreme II BCM5706/5708/5709/5716 Driver
author:         Michael Chan <mchan@broadcom.com>
srcversion:     DD3C21C3B426C4D3E2A68B9
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-17-pve SMP mod_unload modversions
parm:           disable_msi:Disable Message Signaled Interrupt (MSI) (int)

How do i update this? I've downloaded the new broadcom drivers from the website: http://www.broadcom.com/support/ethernet_nic/netxtremeii.php but the instructions are fairly vague.
 
Last edited:
I've tried using the 'make' command from the readme files but this doesnt work...

Code:
root@node1:/usr/netxtreme2/netxtreme2-7.4.21/bnx2/src# make
-bash: make: command not found

any clues on where i'm going wrong?
 
Probably you miss the "build-essential" package, and also the linux-headers one.
For the former:
# apt-get update; apt-get install build-essential
for the latter, check what kernel you are using at the moment and then install the related headers source from the list you get with this command:
# apt-cache search pve-headers
of course using apt-get install packagename
Hope it helps
 
I've tried using the 'make' command from the readme files but this doesnt work...

Code:
root@node1:/usr/netxtreme2/netxtreme2-7.4.21/bnx2/src# make
-bash: make: command not found

any clues on where i'm going wrong?

You should be careful and know what you are doing because if you install a driver manually from sources kernel update is going to break this driver installation. You will have to rebuild driver manually again and again.