Hello,
similar to this post I’m struggling to get this specific SF SFP RJ45 module to work.
I need this module specifically because I have an external ONT with an RJ45 2.5 Gbps that I need to connect to my RPi 3. Of course the RJ45 ports are all 1 Gbps, so the idea is to have an SFP RJ45 module to connect to the SFP 2.5 Gbps ports; and this module in particular is the only one I could find to accomplish such task.
The issue however, as reported by the post above that apparently, due to a problem in the Kernel, or due to a bad Eeprom in the SFP (I’m not enough of an expert to comment on this) the Kernel fails to correctly enable the device, specifically with the following dmesg
output:
[520334.973653] mtk_soc_eth 15100000.ethernet eth1: validation with support 0000000,00000000,00000000 failed: -22
[520334.983741] sfp sfp-1: sfp_add_phy failed: -22
And for good measure, here is the output of ethtool eth1
root@OpenWrt:~# ethtool eth1
Settings for eth1:
Supported ports: [ ]
Supported link modes: 2500baseX/Full
1000baseX/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 2500baseX/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 2500Mb/s
Duplex: Full
Port: Direct Attach Copper
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Current message level: 0x000000ff (255)
drv probe link timer ifdown ifup rx_err tx_err
Link detected: no
and of ethtool --module-info eth1
root@OpenWrt:~# ethtool --module-info eth1
Identifier : 0x03 (SFP)
Extended identifier : 0x04 (GBIC/SFP defined by 2-wire interface ID)
Connector : 0x22 (RJ45)
Transceiver codes : 0x00 0x01 0x00 0x00 0x00 0x00 0x02 0x00 0x1e
Transceiver type : SONET: OC-48, short reach
Transceiver type : Extended: 2.5GBASE-T
Encoding : 0x05 (SONET Scrambled)
BR, Nominal : 2500MBd
Rate identifier : 0x00 (unspecified)
Length (SMF,km) : 0km
Length (SMF) : 0m
Length (50um) : 0m
Length (62.5um) : 0m
Length (Copper) : 100m
Length (OM3) : 0m
Laser wavelength : 0nm
Vendor name : FS
Vendor OUI : 64:9d:99
Vendor PN : SFP-2.5G-T
Vendor rev : 1.0
Option values : 0x00 0x1a
Option : RX_LOS implemented
Option : TX_FAULT implemented
Option : TX_DISABLE implemented
BR margin, max : 0%
BR margin, min : 0%
Vendor SN : G2410075656
Date code : 240219
and finally a very sad cat /sys/kernel/debug/sfp-1/state
Module state: present
Module probe attempts: 0 0
Device state: up
Main state: fail
Fault recovery remaining retries: 5
PHY probe remaining retries: 12
moddef0: 1
rx_los: 1
tx_fault: 0
tx_disable: 0
Now, the issue is that I really need to get this SFP working, since I need a 2.5 WAN and the only way to do this is via the SFP port.
I am willing to get another SFP module, but since this is already the second one, and since those things are expensive, I would like to know if anyone can point me to an SFP module that is known to work with the currently latest version of OpenWrt for BPi R3
(by which I mean uname -a
)
Linux OpenWrt 5.15.150 #0 SMP Fri Mar 22 22:09:42 2024 aarch64 GNU/Linux
Because at this point SFPs are costing more than the router itself
Otherwise I would like to know if anybody can point me to a stable enough snapshot which supports this specific SFP, or a workaround to get it working.
… I really do wish that multi-gig RJ45 was more popular
Thanks in advance!