在 Debian 和 FreeBSD/OPNsense 上修复贴牌 Dell 版 X520-DA2 配 Flypro 10GBASE-T SFP+ 无载波的问题
一块贴牌 Dell 的 Intel X520-DA2,配上 Flypro 10GBASE-T SFP+ 模块后,在 Debian 上和基于 FreeBSD 的 OPNsense 上都显示无载波(或者接口根本不存在),原因是网卡会拒绝未经批准的模块。这个帖子汇总了各操作系统对应的修复方法,以及一劳永逸的 EEPROM 修改方案。涉及的硬件:贴牌 Dell 的 Intel X520-DA2、Flypro 10GBASE-T SFP+。
- 硬件: 贴牌 Dell 的 Intel X520-DA2
- 光模块: Flypro 10GBASE-T SFP+
- 封装: SFP+
现象/报错:
no carrier
interface absent
Comments 3
Debian:rmmod ixgbe;modprobe ixgbe allow_unsupported_sfp=1,再通过在 /etc/modprobe.d/ixgbe.conf 里写 options ixgbe allow_unsupported_sfp=1 使其永久生效。
FreeBSD/OPNsense:把 hw.ix.unsupported_sfp=1 加到 /boot/loader.conf.d/ix.conf 里,然后重启。
适用于任何操作系统的一劳永逸做法:用 ethtool 把 EEPROM 偏移地址 0x58 处的值从 0xfc 改成 0xfd。