不兼容萬兆光模塊
ixgbe光纖網卡的驅動在默認情況下不支持第三方兼容光模塊,會導致網卡驅動加載失敗,表現為,執行lspci |grep 82599能看到網卡在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)
重新加載后,大部分情況下ifconfig就能夠看到網卡信息了。