萬兆網(wǎng)卡加載失敗

不兼容萬兆光模塊
ixgbe光纖網(wǎng)卡的驅(qū)動(dòng)在默認(rèn)情況下不支持第三方兼容光模塊,會導(dǎo)致網(wǎng)卡驅(qū)動(dòng)加載失敗,表現(xiàn)為,執(zhí)行l(wèi)spci |grep 82599能看到網(wǎng)卡在pci設(shè)備中

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命令,卻找不到網(wǎng)卡,使用demsg可以看到以下出錯(cuò)信息:

ixgbe 0000:06:00.0: failed to load because an unsupported SFP+ module type was detected

解決問題的方法是如下

執(zhí)行rmmod ixgbe,卸載掉驅(qū)動(dòng),
然后執(zhí)行modprobe ixgbe allow_unsupported_sfp=1

驅(qū)動(dòng)對allow_unsupported_sfp的解釋為:
allow_unsupported_sfp:Allow unsupported and untested SFP+ modules on 82599-based adapters (uint)

重新加載后,大部分情況下ifconfig就能夠看到網(wǎng)卡信息了。

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容