我使用的是CentOS7 7.5.1804。我有一张基于英特尔82599的10G SFP+卡。当我尝试我的SFP时,我得到:
failed to load because an unsupported SFP+ or QSFP module type was detected.我尝试了所有我在网上找到的1,包括添加到内核选项:
ixgbe.allow_unsupported_sfp=1我也试过
modprobe ixgbe allow_unsupported_sfp=1事实上,后来如果我做了modinfo -p ixgbe,我就会返回:
[root@codd-b01 ~]# modprobe ixgbe
[root@codd-b01 ~]# modinfo -p ixgbe
max_vfs:Maximum number of virtual functions to allocate per physical function - default is zero and maximum value is 63 (uint)
allow_unsupported_sfp:Allow unsupported and untested SFP+ modules on 82599-based adapters (uint)
debug:Debug level (0=none,...,16=all) (int)
[root@codd-b01 ~]#下面您可以看到所有的步骤,包括在我卸载和重新加载模块之后,Linux将不允许SFP。
[root@codd-b01 ~]# dmesg | grep SFP
[ 8.981009] ixgbe 0000:5f:00.0: failed to load because an unsupported SFP+ or QSFP module type was detected.
[ 8.994928] ixgbe 0000:5f:00.1: failed to load because an unsupported SFP+ or QSFP module type was detected.
[root@codd-b01 ~]# modprobe -r ixgbe
[root@codd-b01 ~]# modprobe ixgbe
[root@codd-b01 ~]# modinfo -p ixgbe
max_vfs:Maximum number of virtual functions to allocate per physical function - default is zero and maximum value is 63 (uint)
allow_unsupported_sfp:Allow unsupported and untested SFP+ modules on 82599-based adapters (uint)
debug:Debug level (0=none,...,16=all) (int)
[root@codd-b01 ~]# dmesg | grep SFP
[ 8.981009] ixgbe 0000:5f:00.0: failed to load because an unsupported SFP+ or QSFP module type was detected.
[ 8.994928] ixgbe 0000:5f:00.1: failed to load because an unsupported SFP+ or QSFP module type was detected.
[ 6324.524966] ixgbe 0000:5f:00.0: failed to load because an unsupported SFP+ or QSFP module type was detected.
[ 6324.538955] ixgbe 0000:5f:00.1: failed to load because an unsupported SFP+ or QSFP module type was detected.
[root@codd-b01 ~]#我发现最好的是2,但我没有RHEL的订阅。
发布于 2018-11-22 19:24:37
结果发现,在光学的一边(我正在使用DAC)电缆的固件有一些奇怪的问题。如果它被改变了,它就能工作了。
发布于 2019-09-20 04:00:47
你的SFP+模块是什么牌子的?英特尔NIC应该能识别英特尔的收发器。如果你使用第三方的模块在EEPROM中编程英特尔的代码,那应该是好的。
你有没有想过DAC电缆?它是一个直接武官电缆与SFP+连接器两端。如果在Intel‘NIC中使用DAC电缆,它将不会读取EEPROM,而不像收发器。
https://unix.stackexchange.com/questions/482873
复制相似问题