Intel 82599/X520 上不出现 10G 接口:在 CentOS 和 Ubuntu 上持久启用 allow_unsupported_sfp
一台装有 Intel 82599ES 10-Gigabit SFI/SFP+ 控制器的 Linux 服务器没有出现 10G 接口,插入一个未经测试的 SFP+ 模块后,dmesg 里出现了 failed to load because an unsupported SFP+ or QSFP module type was detected。文章解释说 ixgbe 驱动只会启用它验证过的模块,并演示了如何在 CentOS 7 和 Ubuntu 16/17/18 上持久启用其他模块。
- 硬件: Intel 82599ES / X520
- 光模块: 未经测试的第三方 SFP+
- 封装: SFP+
现象/报错:
failed to load because an unsupported SFP+ or QSFP module type was detected
interface missing
Comments 1
把 options ixgbe allow_unsupported_sfp=1 写入 /etc/modprobe.d/ixgbe.conf,重新生成 initramfs(CentOS 上用 dracut --regenerate-all --force,Ubuntu/Debian 上用 update-initramfs -u -k all),再重新加载驱动;也可以直接在内核命令行加上 ixgbe.allow_unsupported_sfp=1。