万兆网卡 BCM5780 ,web控制台可以识别,但是编辑 保存配置不生效,ssh 命令操作 也无法生效,询问gpt 后得到相关解决思路,解决方法,简单概括如下
1.本万卡基于bnx2x 模块
modinfo bnx2x
filename: /lib/modules/6.6.38-trim/kernel/drivers/net/ethernet/broadcom/bnx2x/bnx2x.ko
firmware: bnx2x/bnx2x-e2-7.13.15.0.fw
firmware: bnx2x/bnx2x-e1h-7.13.15.0.fw
firmware: bnx2x/bnx2x-e1-7.13.15.0.fw
firmware: bnx2x/bnx2x-e2-7.13.21.0.fw
firmware: bnx2x/bnx2x-e1h-7.13.21.0.fw
firmware: bnx2x/bnx2x-e1-7.13.21.0.fw
license: GPL
description: QLogic BCM57710/57711/57711E/57712/57712_MF/57800/57800_MF/57810/57810_MF/57840/57840_MF Driver
author: Eliezer Ta
alias: pci:v000014E4d0000163Fsvsdbcsci
alias: pci:v000014E4d0000163Esvsdbcsci
alias: pci:v000014E4d0000163Dsvsdbcsci
alias: pci:v00001077d000016ADsvsdbcsci
alias: pci:v000014E4d000016ADsvsdbcsci
alias: pci:v00001077d000016A4svsdbcsci
alias: pci:v000014E4d000016A4svsdbcsci
alias: pci:v000014E4d000016ABsvsdbcsci
alias: pci:v000014E4d000016AFsvsdbcsci
alias: pci:v000014E4d000016A2svsdbcsci
alias: pci:v00001077d000016A1svsdbcsci
alias: pci:v000014E4d000016A1svsdbcsci
alias: pci:v000014E4d0000168Dsvsdbcsci
alias: pci:v000014E4d000016AEsvsdbcsci
alias: pci:v000014E4d0000168Esvsdbcsci
alias: pci:v000014E4d000016A9svsdbcsci
alias: pci:v000014E4d000016A5svsdbcsci
alias: pci:v000014E4d0000168Asvsdbcsci
alias: pci:v000014E4d0000166Fsvsdbcsci
alias: pci:v000014E4d00001663svsdbcsci
alias: pci:v000014E4d00001662svsdbcsci
alias: pci:v000014E4d00001650svsdbcsci
alias: pci:v000014E4d0000164Fsvsdbcsci
alias: pci:v000014E4d0000164Esvsdbcsci
depends: ptp,libcrc32c,mdio
retpoline: Y
intree: Y
name: bnx2x
vermagic: 6.6.38-trim SMP preempt mod_unload modversions
parm: num_queues: Set number of queues (default is as a number of CPUs) (int)
parm: disable_tpa: Disable the TPA (LRO) feature (int)
parm: int_mode: Force interrupt mode other than MSI-X (1 INT#x; 2 MSI) (int)
parm: less_fc: Pause on exhausted host ring (int)
parm: mrrs: Force Max Read Req Size (0..3) (for debug) (int)
parm: debug: Default debug msglevel (int)
2.查询系统日志 提示固件初始化失败,找到存放固件的目录,没有文件
dmesg | grep bnx2x
[ 1.140536] bnx2x 0000:01:00.0: 32.000 Gb/s available PCIe bandwidth (5.0 GT/s PCIe x8 link)
[ 1.140604] bnx2x 0000:01:00.1: msix capability found
[ 1.140950] bnx2x 0000:01:00.1: part number 0-0-0-0
[ 1.284624] bnx2x 0000:01:00.1: 32.000 Gb/s available PCIe bandwidth (5.0 GT/s PCIe x8 link)
[ 36.752706] bnx2x 0000:01:00.0 enp1s0f0: renamed from eth1
[ 37.076859] bnx2x 0000:01:00.1 enp1s0f1: renamed from eth2
[ 40.740697] bnx2x 0000:01:00.0: Direct firmware load for bnx2x/bnx2x-e2-7.13.21.0.fw failed with error -2
[ 40.740722] bnx2x 0000:01:00.0: Direct firmware load for bnx2x/bnx2x-e2-7.13.15.0.fw failed with error -2
[ 40.740724] bnx2x: [bnx2x_func_hw_init:6004(enp1s0f0)]Error loading firmware
[ 40.740733] bnx2x: [bnx2x_nic_load:2751(enp1s0f0)]HW init failed, aborting
[ 41.032659] bnx2x 0000:01:00.1: Direct firmware load for bnx2x/bnx2x-e2-7.13.21.0.fw failed with error -2
[ 41.032697] bnx2x 0000:01:00.1: Direct firmware load for bnx2x/bnx2x-e2-7.13.15.0.fw failed with error -2
[ 41.032700] bnx2x: [bnx2x_func_hw_init:6004(enp1s0f1)]Error loading firmware
[ 41.032713] bnx2x: [bnx2x_nic_load:2751(enp1s0f1)]HW init failed, aborting
[48844.031130] bnx2x 0000:01:00.0: Direct firmware load for bnx2x/bnx2x-e2-7.13.21.0.fw failed with error -2
[48844.031210] bnx2x 0000:01:00.0: Direct firmware load for bnx2x/bnx2x-e2-7.13.15.0.fw failed with error -2
[48844.031217] bnx2x: [bnx2x_func_hw_init:6004(enp1s0f0)]Error loading firmware
[48844.031249] bnx2x: [bnx2x_nic_load:2751(enp1s0f0)]HW init failed, aborting
[49654.848064] bnx2x 0000:01:00.0: Direct firmware load for bnx2x/bnx2x-e2-7.13.21.0.fw failed with error -2
[49654.848131] bnx2x 0000:01:00.0: Direct firmware load for bnx2x/bnx2x-e2-7.13.15.0.fw failed with error -2
[49654.848136] bnx2x: [bnx2x_func_hw_init:6004(enp1s0f0)]Error loading firmware
[49654.848515] bnx2x: [bnx2x_nic_load:2751(enp1s0f0)]HW init failed, aborting
[50803.491041] bnx2x 0000:01:00.0: Direct firmware load for bnx2x/bnx2x-e2-7.13.21.0.fw failed with error -2
[50803.491063] bnx2x 0000:01:00.0: Direct firmware load for bnx2x/bnx2x-e2-7.13.15.0.fw failed with error -2
[50803.491064] bnx2x: [bnx2x_func_hw_init:6004(enp1s0f0)]Error loading firmware
[50803.491073] bnx2x: [bnx2x_nic_load:2751(enp1s0f0)]HW init failed, aborting
[50803.759045] bnx2x 0000:01:00.1: Direct firmware load for bnx2x/bnx2x-e2-7.13.21.0.fw failed with error -2
[50803.759071] bnx2x 0000:01:00.1: Direct firmware load for bnx2x/bnx2x-e2-7.13.15.0.fw failed with error -2
[50803.759073] bnx2x: [bnx2x_func_hw_init:6004(enp1s0f1)]Error loading firmware
[50803.759080] bnx2x: [bnx2x_nic_load:2751(enp1s0f1)]HW init failed, aborting
[52097.474446] bnx2x 0000:01:00.0: Direct firmware load for bnx2x/bnx2x-e2-7.13.21.0.fw failed with error -2
[52097.474475] bnx2x 0000:01:00.0: Direct firmware load for bnx2x/bnx2x-e2-7.13.15.0.fw failed with error -2
[52097.474477] bnx2x: [bnx2x_func_hw_init:6004(enp1s0f0)]Error loading firmware
[52097.474490] bnx2x: [bnx2x_nic_load:2751(enp1s0f0)]HW init failed, aborting
[52097.754599] bnx2x 0000:01:00.1: Direct firmware load for bnx2x/bnx2x-e2-7.13.21.0.fw failed with error -2
[52097.754662] bnx2x 0000:01:00.1: Direct firmware load for bnx2x/bnx2x-e2-7.13.15.0.fw failed with error -2
[52097.754667] bnx2x: [bnx2x_func_hw_init:6004(enp1s0f1)]Error loading firmware
[52097.754692] bnx2x: [bnx2x_nic_load:2751(enp1s0f1)]HW init failed, aborting
3.下载对应的固件,重启系统后 成功驱动
|