【记录】因使用intel 82599 不兼容的光模块 导致centos8stream 无法识别网卡

故障现象

服务器安装的centos8stream系统,接了Intel 82599ES 网卡,
    # 这样能看到
[root@Server4-DCS2 ~]# lspci  | grep Eth
01:00.0 Ethernet controller: Intel(R) I350 Gigabit Network Connection (rev 01)
01:00.1 Ethernet controller: Intel(R) I350 Gigabit Network Connection (rev 01)
18:00.0 Ethernet controller: Intel(R) Ethernet Controller X540-AT2 (rev 03)
18:00.1 Ethernet controller: Intel(R) Ethernet Controller X540-AT2 (rev 03)
3b:00.0 Ethernet controller: Intel(R) 82599 10 Gigabit Dual Port Network Connection (rev 01)
3b:00.1 Ethernet controller: Intel(R) 82599 10 Gigabit Dual Port Network Connection (rev 01)
5e:00.0 Ethernet controller: Intel(R) Ethernet Controller E810-C for QSFP (rev 02)
5e:00.1 Ethernet controller: Intel(R) Ethernet Controller E810-C for QSFP (rev 02)
61:00.0 Ethernet controller: Intel(R) Ethernet Controller E810-C for QSFP (rev 02)
61:00.1 Ethernet controller: Intel(R) Ethernet Controller E810-C for QSFP (rev 02)

    # 这样看不到网卡
    ip a

排查定位是使用了不兼容的光模块

[root@Server4-DCS2 src]# dmesg | grep ixgbe
[    4.657194] libphy: ixgbe-mdio: probed
[    4.681365] ixgbe 0000:3b:00.0: failed to load because an unsupported SFP+ or QSFP module type was detected.
加载失败,因为检测到不支持的 SFP+ 或 QSFP 模块类型。
[    4.681406] ixgbe 0000:3b:00.0: Reload the driver after installing a supported module.
[    4.706338] ixgbe 0000:3b:00.1: failed to load because an unsupported SFP+ or QSFP module type was detected.
[    4.706377] ixgbe 0000:3b:00.1: Reload the driver after installing a supported module.
[    4.708610] ixgbe 0000:18:00.1 eno2: renamed from eth3
[    4.716122] ixgbe 0000:18:00.0 eno1: renamed from eth0
[   15.892575] ixgbe 0000:18:00.0: registered PHC device on eno1
[   16.464577] ixgbe 0000:18:00.1: registered PHC device on eno2
[   19.252296] ixgbe 0000:18:00.0 eno1: NIC Link is Up 1 Gbps, Flow Control: None
[   19.710937] ixgbe 0000:18:00.1 eno2: NIC Link is Up 1 Gbps, Flow Control: None

解决办法

# 卸载驱动,并重新加载,并重启网络服务(不重启网络服务,没网哦)
rmmod ixgbe
modprobe ixgbe allow_unsupported_sfp=1,1
systemctl restart NetworkManager

网友问题分享

https://blog.csdn.net/vah101/article/details/40077937

声明:本文为原创,作者为 辣条①号,转载时请保留本声明及附带文章链接:https://boke.wsfnk.com/archives/1297.html
谢谢你请我吃辣条谢谢你请我吃辣条

如果文章对你有帮助,欢迎点击上方按钮打赏作者

最后编辑于:2024/2/25作者: 辣条①号

目标:网络规划设计师、系统工程师、ceph存储工程师、云计算工程师。 不负遇见,不谈亏欠!

暂无评论

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

arrow grin ! ? cool roll eek evil razz mrgreen smile oops lol mad twisted wink idea cry shock neutral sad ???

文章目录