OpenWrt/LEDE Project

  • Status Waiting on reporter
  • Percent Complete
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Etienne CHAMPETIER - 13.04.2019
Last edited by Koen Vandeputte - 06.06.2019

FS#2236 - MikroTik wAP AC ethernet not going up on reboot / 803x_aneg_done: SGMII link is not ok

Hello OpenWrt Team,

I’m trying out MikroTik wAP AC (MikroTik RouterBOARD wAP G-5HacT2HnD / Qualcomm Atheros QCA9556 ver 1 rev 0) with both:
- 18.06 (OpenWrt 18.06-SNAPSHOT r7737-6ac061f319 / LuCI openwrt-18.06 branch (git-19.079.57770-b99e77d / Linux 4.9.168)
- trunk (OpenWrt SNAPSHOT r9860-9385ff654e / LuCI Master (f138fc93) / Linux 4.14.111)

On reboot, the ethernet port
- comes up fine with 18.06 (10 reboot ok in a row)
- most of the time doesn’t come up with trunk, connecting via wifi I see a lot of “803x_aneg_done: SGMII link is not ok”

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

Etienne CHAMPETIER commented on 13.04.2019 18:10

I just had 1 failure with 18.06, see attached logs

Etienne CHAMPETIER commented on 14.04.2019 16:46
# ethtool --reset eth0 all
ETHTOOL_RESET 0xffffffff
Cannot issue ETHTOOL_RESET: Not supported
Project Manager
Koen Vandeputte commented on 21.05.2019 21:09

Is this still true on the latest master?
I flashed a bunch of these 2 days ago and they seemed to work properly at first glance.


Etienne CHAMPETIER commented on 06.06.2019 20:56

Hi Koen,

Sorry, I haven't had time to tests again since your message
Will try shortly I hope


Etienne CHAMPETIER commented on 07.06.2019 04:11

I got the error after 10 reboot with this build
[ 0.000000] Linux version 4.14.123 (...) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r10073-0293aa72d1)) #0 Thu Jun 6 14:41:07 2019

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 ?
I you don't have the issue could you share a working build + "rbcfg show" output ?


Petr Štetiar commented on 08.06.2019 10:31
Etienne CHAMPETIER commented on 08.06.2019 15:20

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 :(


Available keyboard shortcuts


Task Details

Task Editing