萬兆網卡加載失敗

不兼容萬兆光模塊
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就能夠看到網卡信息了。

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容