Linux系统BCM57416网卡启动后自动断开连接解决方案

Linux系统重启后,BCM57416(Broadcom NetXtreme-E)网卡会无法连接网络,在日志中可以发现如下告警:

Oct 10 10:37:02 shizhanxia.com kernel: bnxt_en 0000:5e:00.0 p3p1: NIC Link is Up, 10000 Mbps full duplex, Flow control: none
Oct 10 10:37:02 shizhanxia.com kernel: bnxt_en 0000:5e:00.1 p3p2: NIC Link is Up, 10000 Mbps full duplex, Flow control: none
Oct 10 10:37:02 shizhanxia.com kernel: bnxt_en 0000:5e:00.0 p3p1: NIC Link is Down
Oct 10 10:37:02 shizhanxia.com kernel: bnxt_en 0000:5e:00.1 p3p2: NIC Link is Down

一、先决条件

1.Red Hat Enterprise Linux 9.4
2.BCM57416 with PCI ID [14e4:16d8 with bnxt_en driver
3.firmware-version: 20.6.151.0

二、解决方案

1.检查网卡型号

# lspci | grep -i ether
01:00.0 Ethernet controller [0200]: Broadcom Inc. and subsidiaries BCM57416 NetXtreme-E Dual-Media 10G RDMA Ethernet Controller [14e4:16d8] (rev 01)
        Product Name: Broadcom Adv. Dual 10GBASE-T Ethernet

2.检查固件版本

# ethtool -i 
driver: bnxt_en
version: 5.14.0-427.37.1.el9_4.x86_64
firmware-version: 20.6.151.0      <----------
expansion-rom-version: 
bus-info: 0000:01:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no

3.故障现象

p3p1网卡和p3p2网卡在启动并激活配置文件1秒后,链接关闭。每次重启时,此行为都是一致的。

Oct 11 09:10:01 shizhanxia.com kernel: bnxt_en 0000:5e:00.0 p3p1: NIC Link is Up, 10000 Mbps full duplex, Flow control: none
Oct 11 09:10:01 shizhanxia.com kernel: bnxt_en 0000:5e:00.1 p3p2: NIC Link is Up, 10000 Mbps full duplex, Flow control: none
...
Oct 11 09:10:01 shizhanxia.com kernel: bnxt_en 0000:5e:00.1 p3p2: NIC Link is Down
Oct 11 09:10:02 shizhanxia.com kernel: bond0: (slave p3p1): link status definitely down, disabling slave
Oct 11 09:10:02 shizhanxia.com kernel: bond0: (slave p3p2): link status definitely down, disabling slave
Oct 11 09:10:02 shizhanxia.com kernel: bond0: now running without any active interface!

剩余内容需解锁后查看

您需要赞助解锁才能查看当前内容

赞助者赞助者免费
已付费?登录刷新

原创文章,作者:保哥,如若转载,请注明出处:https://www.shizhanxia.com/1897.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
保哥的头像保哥
上一篇 2024年10月29日
下一篇 2024年10月31日

相关推荐

发表回复

登录后才能评论