So, I am back on latest master, the Wifi issue is gone, but the PPPoE link keeps dropping:
[ 975.364411] mt7530 mdio-bus:1f wan: Link is Down
[ 975.379349] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
[ 975.392953] 8021q: adding VLAN 0 to HW filter on device wan
[ 975.498268] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
[ 975.511931] 8021q: adding VLAN 0 to HW filter on device wan
[ 979.602660] mt7530 mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control off
[ 984.958268] pppoe-digi: renamed from ppp0
It repeats every 5-8 minutes. Seems to be something with the switch driver. Hopefully @nbd can take a look.
I already deleted and recreated the PPPoE connection from scratch.
Very weird. I am also on PPPoE but with zero issues. I am only seeing the log spam regarding the resetting WiFi. Your WiFi issues went away by power cycling? How did you power cycle the device exactly?
the latest 19.07.4 basically make my Xiaomi Router 4a 100M to "NETDEV WATCHDOG: eth0 (mtk_soc_eth)" several times in a single day. at least the RAM still have something like 20MB left compared to 19.07.3 which eats the RAM like crazy, still once that NETDEV WATCHDOG pops out, the 2.4ghz is killed, still the 5ghz is alive and if you give it like 5-10minutes, 2.4ghz wifi will just recover on its own with no related logs pertaining on the issue. and if you try to force restart the 2.4ghz radio it will just pop up a error with "device not ready" issue with several "mt76_wmac 10300000.wmac: MCU message 8 (seq 8) timed out" on the logs
in 19.07.3 it works fine at least for a few days (about 12 days) wtihout any issue before it crash with luci having a error with Out of Memory issue and the ssh also not working (probably the process is killed due to out of ram issue) I remember that out of 58MB of ram, only like 2mb of ram is left at 10days uptime, I dont know why it got so low at that point given that im only using this as a AP with setup to do a VLAN-SSID with 4 SSID with different isolated networks, with only like 7devices connected most of the time. but for some unknown reason, the 5ghz part of the wifi is still working and the 2.4ghz is dead until I force power cycle the Xiaomi 4a.
reverted back to 19.07.3 and just put a every 5 days auto reboot cronjob on it. that works fine for me at least.
Your problem with the RAM is strange. I have several HG556a also with 64MB running on 19.07.4 and 31MB remain free after 18 days of uptime. The same as just rebooted. Before they had 19.07 snapshot and i had no problems with ram. And they are working as a router with several packages installed (openvpn etc).
So something went wrong between "kernel: bump 5.4 to 5.4.65" and "kernel: bump 5.4 to 5.4.66". As there were only two commits that can cause this (realetd to ramips/mediatek), I will further narrow it down.
Still find it strange that noone is having this issue with latest snapshots...
I still want to try and disable flow control on ALL ports instead of just the CPU port, to see if that makes any difference for how often this issue crops up. Unfortunately, my knowledge is falling short of being able to write a patch myself. If there are any developers willing to collaborate, please have a look at the new topic I've started: Mt7621 / mt7530 programming: Disabling Flow Control on all ports