Interesting. Did you measure this somehow?It's mostly current leakage over the shielding and not-so-great internal power regulators, fiber has no electrical connection and thus the whole problem doesn't exist with a fiber SFP.
It was mostly just analysis based on the PCB and experiments a few pages ago in this thread. What normally happens is that external ports have galvanic isolation, especially in network equipment, and when that doesn't happen correctly you usually get some sort of current leakage which causes all sorts of power regulation issues (such as ports resetting or the entire ASIC resetting).Interesting. Did you measure this somehow?
I wonder why it works when I put my other cheap switch in-between. Is it more tolerant to current leakage?
I see. That could certainly be the case.It was mostly just analysis based on the PCB and experiments a few pages ago in this thread. What normally happens is that external ports have galvanic isolation, especially in network equipment, and when that doesn't happen correctly you usually get some sort of current leakage which causes all sorts of power regulation issues (such as ports resetting or the entire ASIC resetting).
Generally, if it's software-only, the issues are limited to just a port and not an entire device. Because DACs tend to be electrically connected (because the ports are supposed to be isolated) they conduct, while optical connections do not. I think you can get optical directly attached SFP+ lines but at that point getting some SFPs and a patch fiber makes more sense. DACs on short runs are mostly supposed to be a cheap and power saving alternative (because there is no electricity-to-light required).
Oh, it did? I didn't know that. Did some in this thread say so?One of the reasons grounding (or shielding) having potential differences was that having a separate earth wire solved it, but I wouldn't be surprised if there are other marginal signal/DC issues at play.
This site by one of the active developers bringing support for Realtek switch chips to OpenWrt also mentions the need to calibrate the signal when using DACs:[...] What does not (yet) work is the 10GBit SFP+ ports on both models and the 10GBit mode on the 3 multi-gbit ports on the XGS1250. The reason is that the 10GBit mode needs a calibration based on the actual cable or fibre used. In the SDK there are even different sets of initial calibrations for direct attach cables of the SFP+ port depending on the cable length (.5m, 1m, 2m, 5m). Code for this is in the SDK but it is complicated and I do not understand it due to my lack of technical knowledge of eye-diagrams and timings for such ethernet speeds.[...]
[...] The realtek serdes controllers are quite flexible, which can be understandable, each PCB is designed differently and different parameters are needed to ensure clean signals between the chips. This is even more so important on Direct Attached Copper (DAC) SFP modules, which basically extend the SerDes signals over Copper wires. As such, the serdes needs to be calibrated/tuned to match its use.[...]