Fwd: Question abount VSOL/CarlitoxxPro SFP Patch on Marvell Armada (MCBIN DS)
Giammarco lynx
stich86 at gmail.com
Mon Mar 7 08:18:18 PST 2022
Hi all,
i'm trying to make link up of a VSOL V2810F into a MacchiatoBIN
double-shot on port SFP at 2.5GbE (rif
https://www.spinics.net/lists/arm-kernel/msg857257.html)
The current situation is this one (putting some logs into sfp.c):
root at mcbin:~# dmesg | grep eth3
[ 3.035066] mvpp2 f4000000.ethernet eth3: Using firmware node mac
address 00:51:82:11:22:03
[ 11.873853] sfp sfp-eth3: Host maximum power 2.0W
[ 11.878594] sfp sfp-eth3: SFP_S_DOWN
[ 11.882513] sfp sfp-eth3: SFP_MOD_PROBE
[ 11.886367] sfp sfp-eth3: SFP_S_DOWN
[ 12.189648] sfp sfp-eth3: SFP_MOD_PROBE
[ 12.201279] sfp sfp-eth3: Detected broken RTL8672/RTL9601C emulated EEPROM
[ 12.208182] sfp sfp-eth3: Switching to reading EEPROM to one byte at a time
[ 12.255376] sfp sfp-eth3: module OEM V2801F rev 1.0 sn 202101195032 dc 210119
[ 12.265160] sfp sfp-eth3: module_t_start_up
[ 12.269361] sfp sfp-eth3: SFP_MOD_WAITDEV
[12.273396] mvpp2 f4000000.ethernet eth3: switched to
inband/1000base-x link mode
[ 12.280912] sfp sfp-eth3: SFP_S_DOWN
[ 12.284503] sfp sfp-eth3: skipping hwmon device registration due to
broken EEPROM
[ 12.292018] sfp sfp-eth3: diagnostic EEPROM area cannot be read
atomically to guarantee data coherency
[ 493.248711] mvpp2 f4000000.ethernet eth3: configuring for
inband/1000base-x link mode
[ 493.257761] sfp sfp-eth3: SFP_MOD_PRESENT
[ 493.261796] sfp sfp-eth3: SFP_MOD_ERROR
[ 493.265648] sfp sfp-eth3: SFP_S_DOWN
[ 493.319654] sfp sfp-eth3: SFP_MOD_PRESENT
[ 493.323685] sfp sfp-eth3: SFP_MOD_ERROR
[ 493.327535] sfp sfp-eth3: SFP_S_WAIT
[ 493.331133] sfp sfp-eth3: event == SFP_E_TIMEOUT
[ 493.335795] sfp sfp-eth3: SFP_F_TX_FAULT bit basso
[ 493.340634] sfp sfp-eth3: sfp_sm_link_check_los
[ 493.345183] sfp sfp-eth3: los ok
the SFP reaches the RX_LOS state and there should be a link up (i've
forced los=true on the sfp.c), but nothing happens :(
here is the current EEPROM dump, if needed I can provide eeprom raw.
The SFP works on my MCL220 and Ubiquiti switch
root at mcbin:~# ethtool -m eth3
Identifier : 0x03 (SFP)
Extended identifier : 0x04 (GBIC/SFP defined by
2-wire interface ID)
Connector : 0x01 (SC)
Transceiver codes : 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00
Encoding : 0x03 (NRZ)
BR, Nominal : 1200MBd
Rate identifier : 0x00 (unspecified)
Length (SMF,km) : 20km
Length (SMF) : 20000m
Length (50um) : 0m
Length (62.5um) : 0m
Length (Copper) : 0m
Length (OM3) : 0m
Laser wavelength : 1310nm
Vendor name : OEM
Vendor OUI : 00:00:00
Vendor PN : V2801F
Vendor rev : 1.0
Option values : 0x00 0x1c
Option : RX_LOS implemented, inverted
Option : TX_FAULT implemented
Option : TX_DISABLE implemented
BR margin, max : 0%
BR margin, min : 0%
Vendor SN : 202101195032
Date code : 210119
Optical diagnostics support : Yes
Laser bias current : 16.574 mA
Laser output power : 1.4542 mW / 1.63 dBm
Receiver signal average optical power : 0.0408 mW / -13.89 dBm
Module temperature : 61.15 degrees C / 142.07 degrees F
Module voltage : 3.3241 V
Alarm/warning flags implemented : Yes
Laser bias current high alarm : Off
Laser bias current low alarm : Off
Laser bias current high warning : Off
Laser bias current low warning : Off
Laser output power high alarm : Off
Laser output power low alarm : Off
Laser output power high warning : Off
Laser output power low warning : Off
Module temperature high alarm : Off
Module temperature low alarm : Off
Module temperature high warning : Off
Module temperature low warning : Off
Module voltage high alarm : Off
Module voltage low alarm : Off
Module voltage high warning : Off
Module voltage low warning : Off
Laser rx power high alarm : Off
Laser rx power low alarm : Off
Laser rx power high warning : Off
Laser rx power low warning : Off
Laser bias current high alarm threshold : 75.000 mA
Laser bias current low alarm threshold : 1.000 mA
Laser bias current high warning threshold : 70.000 mA
Laser bias current low warning threshold : 3.000 mA
Laser output power high alarm threshold : 3.1622 mW / 5.00 dBm
Laser output power low alarm threshold : 1.1220 mW / 0.50 dBm
Laser output power high warning threshold : 2.8183 mW / 4.50 dBm
Laser output power low warning threshold : 1.2589 mW / 1.00 dBm
Module temperature high alarm threshold : 90.00 degrees C / 194.00 degrees F
Module temperature low alarm threshold : -10.00 degrees C / 14.00 degrees F
Module temperature high warning threshold : 85.00 degrees C / 185.00 degrees F
Module temperature low warning threshold : -5.00 degrees C / 23.00 degrees F
Module voltage high alarm threshold : 3.6000 V
Module voltage low alarm threshold : 3.0000 V
Module voltage high warning threshold : 3.4700 V
Module voltage low warning threshold : 3.1299 V
Laser rx power high alarm threshold : 0.1584 mW / -8.00 dBm
Laser rx power low alarm threshold : 0.0015 mW / -28.24 dBm
Laser rx power high warning threshold : 0.1258 mW / -9.00 dBm
Laser rx power low warning threshold : 0.0019 mW / -27.21 dBm
Thanks in advance
More information about the linux-arm-kernel
mailing list