ixgbe光纤网卡的驱动在默认情况下不支持第三方兼容光模块,会造成网卡驱动加载失败,表现为linux 虚拟主机64位linux,执行lspci|grep82599能看见网卡在pci设备中
06:00.0 Ethernet controller: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection (rev 01) 06:00.1 Ethernet controller: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection (rev 01)
并且使用ifconfig-a命令,却找不到网卡,使用demsg可以看见以下出错信息:
ixgbe 0000:06:00.0: failed to load because an unsupported SFP+ module type was detected
解决问题的方式是如下
执行rmmod ixgbe,卸载掉驱动, 然后执行modprobe ixgbe allow_unsupported_sfp=1驱动对allow_unsupported_sfp的解释为: allow_unsupported_sfp:Allow unsupported and untested SFP+ modules on 82599-based adapters (uint)
重新加载后linux 安装网卡驱动linux 安装网卡驱动,大部份情况下ifconfig就就能看见网卡信息了。