兼容在安装linux系统过程中不支持非原装的光模块的命令

1 .通过ifconfig -a发现有网卡找不到,并且配置没有问题,那么很可能是光模块有问题
2 .dmesg | grep 82599EB ,通过这个命令过滤发现有如下信息:
[ 7142.121979] ixgbe 0000:01:00.0 em1: WARNING: Intel (R) Network Connections are quality tested using Intel (R) Ethernet Optics. Using untested modules is not supported and may cause unstable operation or damage to the module or the adapter. Intel Corporation is not responsible for any harm caused by using untested modules.
[ 6828.735097] ixgbe 0000:01:00.0: failed to load because an unsupported SFP+ or QSFP module type was detected.
3 .82599EB型号的网卡默认只支持自家的模块,第三方模块不兼容。要暂时解决这个问题我们可以通过修改网卡参数来使网卡可用,但是要长期使用还是建议模块用配套的intel的。
使用如下命令可以使网卡可用:
modprobe -r ixgbe //卸载光模块驱动
modprobe ixgbe allow_unsupported_sfp=1,1 //允许系统支持网卡不支持的模块,其中”1,1“代表port_1和port_2

猜你喜欢

转载自www.cnblogs.com/ipanel/p/10650911.html