解决X520无法识别的问题;
加载ixgbe模块发现问题:
[0x01 描述]
[57373.796462] ixgbe: 0000:05:00.0: ixgbe_check_options: FCoE Offload feature enabled [57373.807406] ixgbe 0000:05:00.0: failed to load because an unsupported SFP+ or QSFP module type was detected.
[0x02 安装驱动]
驱动为:ixgbe-5.3.3
[root@qfong src]# make [root@qfong src]# make install make[1]: Entering directory `/usr/src/kernels/3.10.0-229.14.1.el7.7.x86_64' Building modules, stage 2. MODPOST 1 modules make[1]: Leaving directory `/usr/src/kernels/3.10.0-229.14.1.el7.7.x86_64' Copying manpages... Installing modules... make[1]: Entering directory `/usr/src/kernels/3.10.0-229.14.1.el7.7.x86_64' INSTALL /root/ixgbe-5.3.3/src/ixgbe.ko Can't read private key DEPMOD 3.10.0-229.14.1.el7.7.x86_64 make[1]: Leaving directory `/usr/src/kernels/3.10.0-229.14.1.el7.7.x86_64' Running depmod...
[0x03 查看网卡信息]
[root@qfong src]# ip link show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: enp9s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000 link/ether 00:25:90:8a:6b:xx brd ff:ff:ff:ff:ff:ff 3: enp10s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000 link/ether 00:29:50:8a:6b:xx brd ff:ff:ff:ff:ff:ff 6: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT link/ether 52:54:00:01:61:b0 brd ff:ff:ff:ff:ff:ff 7: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN mode DEFAULT qlen 500 link/ether 52:54:00:01:61:b0 brd ff:ff:ff:ff:ff:ff [root@qfong src]# rmmod ixgbe rmmod: ERROR: Module ixgbe is not currently loaded [root@qfong src]# modprobe ixgbe [root@qfong src]# ip link show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: enp9s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000 link/ether 00:25:90:8a:6b:xx brd ff:ff:ff:ff:ff:ff 3: enp10s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000 link/ether 00:29:50:8a:6b:xx brd ff:ff:ff:ff:ff:ff 6: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT link/ether 52:54:00:01:61:b0 brd ff:ff:ff:ff:ff:ff 7: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN mode DEFAULT qlen 500 link/ether 52:54:00:01:61:b0 brd ff:ff:ff:ff:ff:ff 9: enp129s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000 link/ether 00:25:90:xx:f7:59 brd ff:ff:ff:ff:ff:ff
[0x04 重新加载]
[root@qfong src]# rmmod ixgbe [root@qfong src]# modprobe ixgbe allow_unsupported_sfp=1,1
[0x05 再次查看]
[root@qfong src]# ip link show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: enp9s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000 link/ether 00:25:90:8a:6b:xx brd ff:ff:ff:ff:ff:ff 3: enp10s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000 link/ether 00:29:50:8a:6b:xx brd ff:ff:ff:ff:ff:ff 6: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT link/ether 52:54:00:01:61:b0 brd ff:ff:ff:ff:ff:ff 7: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN mode DEFAULT qlen 500 link/ether 52:54:00:01:61:b0 brd ff:ff:ff:ff:ff:ff 10: enp5s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000 link/ether a0:36:9f:xx:7c:f0 brd ff:ff:ff:ff:ff:ff 11: enp5s0f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000 link/ether a0:36:9f:xx:7c:f2 brd ff:ff:ff:ff:ff:ff 12: enp129s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000 link/ether 00:25:90:xx:f7:59 brd ff:ff:ff:ff:ff:ff