Support for RTL838x based managed switches

Yeah, mine both take ages to scan the ports for SFPs. I guess it's cos the code is early and not optimised yet. But the RTL8xxx was also quite slow; especially on the 48 port switches.

Testing SFP modules now. Put a pacetech 10 GBASE-T into port one (which I understand will provide enough power) connected to a 2.5gbit switch (same combo works on the R4 FWIW) but cannot ping the router? Using a 1gbit SFP, it works and the laptop connected to yet another 1G SFP keeps its connection all through it. Any thoughts?

root@onti-13:~# ethtool -m lan1
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x07 (LC)
        Transceiver codes                         : 0x10 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
        Transceiver type                          : 10G Ethernet: 10G Base-SR
        Encoding                                  : 0x06 (64B/66B)
        BR, Nominal                               : 10300MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 0km
        Length (SMF)                              : 0m
        Length (50um)                             : 80m
        Length (62.5um)                           : 20m
        Length (Copper)                           : 0m
        Length (OM3)                              : 300m
        Laser wavelength                          : 850nm
        Vendor name                               : OEM
        Vendor OUI                                : 00:00:00
        Vendor PN                                 : PAC-10G-T
        Vendor rev                                : A
        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                                 : PAC25B02026
        Date code                                 : 250122
        Optical diagnostics support               : Yes
        Laser bias current                        : 6.000 mA
        Laser output power                        : 0.5008 mW / -3.00 dBm
        Receiver signal average optical power     : 0.2496 mW / -6.03 dBm
        Module temperature                        : 50.25 degrees C / 122.45 degrees F
        Module voltage                            : 3.3725 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                  : On
        Laser rx power high warning               : Off
        Laser rx power low warning                : Off
        Laser bias current high alarm threshold   : 15.000 mA
        Laser bias current low alarm threshold    : 1.000 mA
        Laser bias current high warning threshold : 13.000 mA
        Laser bias current low warning threshold  : 2.000 mA
        Laser output power high alarm threshold   : 1.9952 mW / 3.00 dBm
        Laser output power low alarm threshold    : 0.1584 mW / -8.00 dBm
        Laser output power high warning threshold : 1.5848 mW / 2.00 dBm
        Laser output power low warning threshold  : 0.1778 mW / -7.50 dBm
        Module temperature high alarm threshold   : 95.00 degrees C / 203.00 degrees F
        Module temperature low alarm threshold    : -45.00 degrees C / -49.00 degrees F
        Module temperature high warning threshold : 85.00 degrees C / 185.00 degrees F
        Module temperature low warning threshold  : -40.00 degrees C / -40.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.5000 V
        Module voltage low warning threshold      : 3.1000 V
        Laser rx power high alarm threshold       : 1.1220 mW / 0.50 dBm
        Laser rx power low alarm threshold        : 0.0199 mW / -17.01 dBm
        Laser rx power high warning threshold     : 1.0000 mW / 0.00 dBm
        Laser rx power low warning threshold      : 0.0223 mW / -16.52 dBm

Upgraded the Xikestor SK8300X and matching ONTi switch to latest snapshot today and now connecting 2x ZYOPM SFP-10G-T8 is not working between the two switches or to my Mikrotik. I think others have this SFP+, maybe someone can identify? Link appears up but seems nothing is flowing. Also seeing the 1G ZYOPM modules flap up/down with all the cables I have to hand now.

Can confirm, see post directly above. None of my 10G SFP work for me, neither ZYOPM nor Pacetech (glad to know it's not obviously me who screwed up).

Have not noticed 1G flapping though (those are not ZYOPM modules though).

After rebooting the switch and waiting 5 mins (everything up on the console) I wasn't getting a ping through, but after taking out the SFP+ and moving it to another slot the link is now functional.
Something missing in the init code I think...

Which port did you put the 10G SFP in now? Mine is in 1 because that and 8 have the highest power budget.

I just moved it after booting. I was on lan2 with VLAN 110, I moved it to lan3 on VLAN 1 so it could be the VLAN as well.

Do not think it's the VLAN, I have it still on default LAN setup. Only change I made is IP and default gw. Rebooting mine and will try ZYOPM in port 8.

Try moving the SFP around then, I am using the 80m SFP+ which is lower power so I'm reasonably certain that most slots are ok but I think 4 and 5 also have higher power budgets. Give it a go.

Well screw me, in port 8 it works...

Power per port: Support for RTL838x based managed switches - #3264 by musashino

1 Like

Thanks for trying. Looks like the boot-time initialisation isn't doing everything that's needed but when the module is initialised post-boot it's fine.

I hot swapped mine in the test referenced above, that did not solve it in port 1 so I do not think it's the whole story?

Although, weirdly now it works in port 1, too...

Speaking of SFPs, are there any known working 2.5gbit ones? I need two 2.5gbit ports, ideally not running super hot, so would prefer not to run 30m 10G ones that way..

I just received one of these and it's working at 10G and 1G (even tho it says it doesn't do 1G it definitely does), supposed to work at 2.5G but I haven't dragged out a box with a 2.5G NIC yet. I'll try to test it later today

UPDATED - working at 2.5G although ethtool still reads 10G on the switch, I see 2.5G on the PC side.

Settings for enp7s0:
	Supported ports: [ TP	 MII ]
	Supported link modes:   10baseT/Half 10baseT/Full
	                        100baseT/Half 100baseT/Full
	                        1000baseT/Full
	                        2500baseT/Full
	Supported pause frame use: Symmetric Receive-only
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:  10baseT/Half 10baseT/Full
	                        100baseT/Half 100baseT/Full
	                        1000baseT/Full
	                        2500baseT/Full
	Advertised pause frame use: Symmetric Receive-only
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Link partner advertised link modes:  1000baseT/Full
	                                     10000baseT/Full
	                                     2500baseT/Full
	                                     5000baseT/Full
	Link partner advertised pause frame use: Symmetric Receive-only
	Link partner advertised auto-negotiation: Yes
	Link partner advertised FEC modes: Not reported
	Speed: 2500Mb/s
	Duplex: Full
	Auto-negotiation: on
	master-slave cfg: preferred slave
	master-slave status: slave
	Port: Twisted Pair
	PHYAD: 0
	Transceiver: external
	MDI-X: Unknown
	Supports Wake-on: pumbg
	Wake-on: d
	Link detected: yes

and when these are not doing 10G they seem to be a little cooler as well. SFP-10G-T8 is lower power but at 10G the SFP-10G-T8 shows 60C whereas this SFP+-T30-I at 1G is only showing 49C.

I have recently added zabbix-agentd-openssl and python3-light with the zabbix sensors template. This works fine with the smaller Python package and consumes only a couple of MB while providing useful temperature stats for each SFP+.

That seems similar to the 30m PaceTech I have. Initially I could not get it to work at all like outlined above. Now it weirdly seems to work in port 8, off to do some pressure testing.

Weird. Running that as uplink for the switch and linking the BPI R4 over 10g to the switch I get again unsymmetric bandwidth:

Download: 2689.87 Mbit/s
Upload: 1106.68 Mbit/s

That is not completely helpful. Like some sort of broken throttling. Does that work with the Xicom at symmetric 2.5gbit? FWIW, with a native 2.5gbit device on the parallel copper run I do get 2.5gbit so it's definitely the SFP.

BTW, in case anyone wonders, the ZYOPM 10G use about 1.2W on a 1m cat7 run. The pacetech about 1.4W in its bizarro 2.5gbit mode and probably about 7m of cat whatever is in the wall :slight_smile:

Where did you buy the XikeStor SKS8300-8X from ? Amazon doesn't seem to have it in Stock anymore and doesn't ship to Denmark anyways.

On Aliexpress I could only find the XikeStor SKS8310-8X (which might be a completely different Unit) and it's 130 EUR from the Cheapest Seller :roll_eyes:.

It's true that it might all due to VAT +25% but I thought that Prices went up compared to the ServeTheHome Review a few Months back.

Are there other similar Switches from other "Brands" that can be flashed ?

EDIT 1: The ONT-S508CL-8S seems to be similar according to some Reports and it's 100 EUR instead of 130 EUR. Does that seems reasonable for a Price (including +25% VAT) ?

How about this? https://a.aliexpress.com/_EvsgGFS

1 Like

Yeah I also noticed that (or a Similar Link), i.e. the ONT-S508CL-8S which is apparently a rebranded XikeStor SKS8300-8X.

I read one Post here about the Power Supply being bad/having Issues. Anything outstanding besides typical Chinese PSUs ?

PSU that came with either are probably best replaced. I'm using another regular 12V PSU or powering them via a 12V PoE splitter. I have both the Xikestor SK8300-8X and that onti and they're identical except the faceplate.
I suppose the Xikestor did include an active USB to serial RJ45 adapter whereas the Onti only included a passive serial RJ45 to RS232 adapter.

1 Like