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
FS#2236 - MikroTik wAP AC ethernet not going up on reboot / 803x_aneg_done: SGMII link is not ok #7229
Comments
champtar: I just had 1 failure with 18.06, see attached logs |
champtar:
# ethtool --reset eth0 all
ETHTOOL_RESET 0xffffffff
Cannot issue ETHTOOL_RESET: Not supported
|
xback: Is this still true on the latest master? Thanks |
champtar: Hi Koen, Sorry, I haven't had time to tests again since your message Regards |
champtar: I got the error after 10 reboot with this build Problem is that I only have 1 MikroTik wAP AC (the idea was to validate it works before buying ~10), so I don't know if it's the hardware, some config (rbcfg ?) or the kernel/driver My test setup is wAP AC directly connected to my laptop, but in the past I reproduced the error with a switch also. @Koen, could I ask you to reboot lots (10+) times to see if you are able to hit the bug ? Thanks |
ynezz: I would try following patch series https://patchwork.ozlabs.org/project/openwrt/list/?series=102237 |
champtar: Hi Petr, There is a good chances these patches could fix my issue, but they are for ath79, and MikroTik wAP AC is still ar71xx :( |
champtar: Attached a dirty patch that help a lot https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=4e39e213af7e3e0cd747403e8c227e145cfef988 assumes that platform_data is "struct at803x_platform_data", but for the wAP ac it's "struct mdio_gpio_platform_data" |
xback: I'm currently seeing something similar on my rb922 boards. Ethernet only once or twice per day suddenly stops working. running tcpdump shows only arp traffic. disable/enable the interface doesnt bring it back. wondering .. |
champtar: Attached a v2 of the patch, moving override_sgmii_aneg in device struct, not sure it's the right place for it, but it works (tm) I'm doing reboots in loop for 1h and still no issue yet (50+ reboots) |
champtar: sent as RFC to the devel mailing list |
champtar: |
champtar:
Hello OpenWrt Team,
I'm trying out MikroTik wAP AC (MikroTik RouterBOARD wAP G-5HacT2HnD / Qualcomm Atheros QCA9556 ver 1 rev 0) with both:
On reboot, the ethernet port
Unplugging / plugging again to the switch/computer doesnt help (it's powered via POE)
ip l show eht0
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel master br-lan state DOWN mode DEFAULT group default qlen 1000
link/ether cc:2d:e0:0f:d5:7e brd ff:ff:ff:ff:ff:ff
The "ETH" led is green on the Mikrotik and link is considered up on my laptop
I've also tried with a switch but it doesn't seems to help
Doing a cold boot works most of the time
rbcfg show
boot_delay=2
boot_device=nandeth
boot_key=any
boot_protocol=dhcp
booter=backup
cpu_mode=powersave
uart_speed=115200
The text was updated successfully, but these errors were encountered: