New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[22.03] mt7621: VDSL SFP module does not work but works fine in 21.02.x #10892
Comments
Auto-negotiation is mandatory in 1000baseT mode. |
My issue is that this is a regression. My router that worked on 21.03 no longer works after upgrading to 22.03. Do you have any suggestions I could try? |
@david-collett can you try the image on the link below? Luci is included. |
@arinc9 What am I testing? i.e. what have you changed? Are these changes in a repository somewhere? |
On 760igs, the phy that your SFP is connected to requires the mac, which is connected to the phy, to set an RX delay. I recently made some changes to mt7621.dtsi that didn't account for this. I will send a patch if your SFP starts working with this image. |
thanks mate, I'll let you know. |
Does the sfp driver detect the sfp module? From my 760igs with a Fiberend RJ45 SFP module:
|
I'll reflash and check that tomorrow. Unfortunately this router+sfp is my daily driver! |
Yes, it is detected as shown:
The main difference between the outputs of ethtool on 21.02 and 22.03 is the port (MII vs Twisted Pair), could that be relevant? as mentioned in the original port, I'm unable to make any port change stick with ethtool. |
I believe so. I think the problem resides at the Atheros PHY driver. If I remember correctly, SFP support for the driver is maintained by OpenWrt folks. Looking at the kernel log, there are changes to the driver from 21.02 to 22.03. See how I don't debug drivers so I can't do much at this point. It'd be a good idea to mention this issue on openwrt-devel mailing list. |
Yeah, I had noticed there appears to be significant changes to that driver. |
This is still broken in 23.05.0 unfortunately. |
Hi,
I have a Proscent 180-T VDSL SFP module which has been working for 12 months on Openwrt 21.02.x in a Mikrotik RB760iGS (hEX S) router. The module does not support auto-negotiation and ships with instructions saying to disable autoneg and set speed to 1000. As such, I use the following ethtool command:
The ethtool output of the working module is:
After upgrading to 22.03 (and installing/running ethtool as above), the module no longer works (Timeout waiting for PADO packets / Unable to complete PPPoE Discovery). Below is the new output of ethtool in 22.03:
I noted that the port was different, however
ethtool -s sfp port mii
does nothing, at least while the interface is up. If I revert to 21.02.3, it immediately works again. It appear the driver (at803x?) has undergone some changes and no longer works for this module in 22.03. Any ideas?Thanks,
Dave
The text was updated successfully, but these errors were encountered: