Question abount VSOL/CarlitoxxPro SFP Patch on Marvell Armada (MCBIN DS)
Pali Rohár
pali at kernel.org
Sun May 8 09:38:38 PDT 2022
On Monday 07 March 2022 21:12:45 Giammarco lynx wrote:
> adding
>
> linux-arm-kernel at lists.infradead.org
>
> Il giorno lun 7 mar 2022 alle ore 21:09 Giammarco lynx
> <stich86 at gmail.com> ha scritto:
> >
> > ok, doing in the way that you suggest, the link is bringing up.
> > Here is the logs (without ifconfig eth3 up and module plugged):
> >
> > [ 3.035643] mvpp2 f4000000.ethernet eth3: Using firmware node mac
> > address 00:51:82:11:22:03
> > [ 11.872410] sfp sfp-eth3: Host maximum power 2.0W
> > [ 11.877149] sfp sfp-eth3: tx disable 1 -> 1
> > [ 11.877155] sfp sfp-eth3: SM: enter empty:detached:down event insert
> > [ 11.877159] sfp sfp-eth3: SM: exit probe:detached:down
> > [ 11.877410] sfp sfp-eth3: SM: enter probe:detached:down event dev_attach
> > [ 11.877414] sfp sfp-eth3: SM: exit probe:down:down
> > [ 12.180129] sfp sfp-eth3: SM: enter probe:down:down event timeout
> > [ 12.187906] sfp sfp-eth3: Detected broken RTL8672/RTL9601C emulated EEPROM
> > [ 12.194814] sfp sfp-eth3: Switching to reading EEPROM to one byte at a time
> > [ 12.242005] sfp sfp-eth3: module OEM V2801F
> > rev 1.0 sn 202101195032 dc 210119
> > [ 12.251800] mvpp2 f4000000.ethernet eth3: requesting link mode
> > inband/1000base-x with support 0000000,00000200,00000440
> > [ 12.251804] mvpp2 f4000000.ethernet eth3: switched to
> > inband/1000base-x link mode
> > [ 12.259318] sfp sfp-eth3: SM: exit present:down:down
> > [ 12.270123] sfp sfp-eth3: skipping hwmon device registration due to
> > broken EEPROM
> > [ 12.277636] sfp sfp-eth3: diagnostic EEPROM area cannot be read
> > atomically to guarantee data coherency
> > [ 35.174143] mvpp2 f4000000.ethernet eth3: configuring for
> > inband/1000base-x link mode
> > [ 35.182026] mvpp2 f4000000.ethernet eth3: major config 1000base-x
> > [ 35.188158] mvpp2 f4000000.ethernet eth3: phylink_mac_config:
> > mode=inband/1000base-x/Unknown/Unknown adv=0000000,00000200,00000440
> > pause=04 link=0 an=1
> > [ 35.202945] sfp sfp-eth3: SM: enter present:down:down event dev_up
> > [ 35.209152] sfp sfp-eth3: tx disable 1 -> 0
> > [ 35.213387] sfp sfp-eth3: SM: exit present:up:wait
> > [ 35.280129] sfp sfp-eth3: SM: enter present:up:wait event timeout
> > [ 35.286253] sfp sfp-eth3: SM: exit present:up:link_up
> > [ 56.097724] sfp sfp-eth3: los 0 -> 1
> > [ 56.101324] sfp sfp-eth3: SM: enter present:up:link_up event los_high
> > [ 56.107792] sfp sfp-eth3: SM: exit present:up:link_up
> > [ 56.112876] sfp sfp-eth3: mod-def0 1 -> 0
> > [ 56.116903] sfp sfp-eth3: tx-fault 0 -> 1
> > [ 56.120933] sfp sfp-eth3: SM: enter present:up:link_up event remove
> >
> > Then after "ifconfig eth3 up" i've removed and reinserted the SFP,
> > this is the log:
> >
> > [ 56.127227] sfp sfp-eth3: module removed
> > [ 56.131175] sfp sfp-eth3: tx disable 0 -> 1
> > [ 56.135432] sfp sfp-eth3: SM: exit empty:up:down
> > [ 56.140067] sfp sfp-eth3: SM: enter empty:up:down event tx_fault
> > [ 56.146103] sfp sfp-eth3: SM: exit empty:up:down
> > [ 59.350731] sfp sfp-eth3: mod-def0 0 -> 1
> > [ 59.354757] sfp sfp-eth3: SM: enter empty:up:down event insert
> > [ 59.360619] sfp sfp-eth3: SM: exit probe:up:down
> > [ 59.680123] sfp sfp-eth3: SM: enter probe:up:down event timeout
> > [ 59.686185] sfp sfp-eth3: SM: exit probe:up:down
> > [ 59.800122] sfp sfp-eth3: SM: enter probe:up:down event timeout
> > [ 59.806179] sfp sfp-eth3: SM: exit probe:up:down
> > [ 59.920122] sfp sfp-eth3: SM: enter probe:up:down event timeout
> > [ 59.926179] sfp sfp-eth3: SM: exit probe:up:down
> > [ 60.040122] sfp sfp-eth3: SM: enter probe:up:down event timeout
> > [ 60.046178] sfp sfp-eth3: SM: exit probe:up:down
> > [ 60.160123] sfp sfp-eth3: SM: enter probe:up:down event timeout
> > [ 60.166178] sfp sfp-eth3: SM: exit probe:up:down
> > [ 60.270122] sfp sfp-eth3: SM: enter probe:up:down event timeout
> > [ 60.276177] sfp sfp-eth3: SM: exit probe:up:down
> > [ 60.380122] sfp sfp-eth3: SM: enter probe:up:down event timeout
> > [ 60.386178] sfp sfp-eth3: SM: exit probe:up:down
> > [ 60.500122] sfp sfp-eth3: SM: enter probe:up:down event timeout
> > [ 60.506177] sfp sfp-eth3: SM: exit probe:up:down
> > [ 60.620121] sfp sfp-eth3: SM: enter probe:up:down event timeout
> > [ 60.626176] sfp sfp-eth3: SM: exit probe:up:down
> > [ 60.740122] sfp sfp-eth3: SM: enter probe:up:down event timeout
> > [ 60.746177] sfp sfp-eth3: please wait, module slow to respond
> > [ 60.751982] sfp sfp-eth3: SM: exit probe:up:down
> > [ 65.840198] sfp sfp-eth3: SM: enter probe:up:down event timeout
> > [ 65.846262] sfp sfp-eth3: SM: exit probe:up:down
> > [ 70.870128] sfp sfp-eth3: SM: enter probe:up:down event timeout
> > [ 70.876192] sfp sfp-eth3: SM: exit probe:up:down
> > [ 75.920133] sfp sfp-eth3: SM: enter probe:up:down event timeout
> > [ 75.926196] sfp sfp-eth3: SM: exit probe:up:down
> > [ 80.896801] mvpp2 f4000000.ethernet eth3: mac link up
> > [ 80.960124] sfp sfp-eth3: SM: enter probe:up:down event timeout
> > [ 80.966183] sfp sfp-eth3: SM: exit probe:up:down
> > [ 81.330385] sfp sfp-eth3: los 1 -> 0
> > [ 81.333978] sfp sfp-eth3: tx-fault 1 -> 0
> > [ 81.338004] sfp sfp-eth3: SM: enter probe:up:down event tx_clear
> > [ 81.344044] sfp sfp-eth3: SM: exit probe:up:down
> > [ 81.348680] sfp sfp-eth3: SM: enter probe:up:down event los_low
> > [ 81.354629] sfp sfp-eth3: SM: exit probe:up:down
> > [ 86.000154] sfp sfp-eth3: SM: enter probe:up:down event timeout
> > [ 86.013661] sfp sfp-eth3: Detected broken RTL8672/RTL9601C emulated EEPROM
> > [ 86.020569] sfp sfp-eth3: Switching to reading EEPROM to one byte at a time
> > [ 86.067758] sfp sfp-eth3: module OEM V2801F
> > rev 1.0 sn 202101195032 dc 210119
> > [ 86.077555] mvpp2 f4000000.ethernet eth3: requesting link mode
> > inband/1000base-x with support 0000000,00000200,00000440
> > [ 86.088390] sfp sfp-eth3: tx disable 1 -> 0
> > [ 86.092636] sfp sfp-eth3: SM: exit present:up:wait
> > [ 86.097448] sfp sfp-eth3: skipping hwmon device registration due to
> > broken EEPROM
> > [ 86.104965] sfp sfp-eth3: diagnostic EEPROM area cannot be read
> > atomically to guarantee data coherency
> > [ 86.160128] sfp sfp-eth3: SM: enter present:up:wait event timeout
> > [ 86.166252] sfp sfp-eth3: SM: exit present:up:link_up
> > [ 86.171404] mvpp2 f4000000.ethernet eth3: Link is Up - 1Gbps/Full -
> > flow control off
> > [ 86.179193] IPv6: ADDRCONF(NETDEV_CHANGE): eth3: link becomes ready
> >
> > In that way it goes up. So how can we avoid this behaviour?
> >
> > Thanks
Hello! This looks like that your GPON ONT/ONU SFP module is incompatible
with GPON OLT to which it is connected. All GPON ONT/ONU units must be
fully configurable from OLT, including LAN part of ONU (link between SFP
module and your CPU) and therefore it is up to the OLT when it says that
LAN part is up. Mostly I saw these issues with GPON ONT/ONU modules from
vendor A connected to GPON OLT from vendor B.
Generally, you cannot do nothing :-( just replace SFP module by another
one which would be from the same vendor as your ISP's OLT. Sometimes may
help changing some settings in SFP module or on OLT side, but both
changes can be done only via OMCI protocol and only from OLT management
console / web interface.
More information about the linux-arm-kernel
mailing list