Random reboots on 21.02.x and LaFonera2.0N (Ralink RT3052 id:1 rev:3)

Hello. Since the first 21.02 RCs my LaFonera2.0N is suffering from random reboots that were not happening on 19.07. I am trying to understand what's happening but unfortunately the logs are not happening as they are cut from an undefined point in time before the reboot and the reboot event itself where they suddenly restart (see below). Note that log is truncated to Sun Oct 24 but the router was on all the time.
Any suggestion on other methods to debug the issue? TYVM

Sun Oct 24 11:02:59 2021 daemon.notice hostapd: ACS: Automatic channel selection started, this may take a bit
Sun Oct 24 11:02:59 2021 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->ACS
Sun Oct 24 11:02:59 2021 daemon.notice hostapd: wlan0: ACS-STARTED
Sun Oct 24 11:03:00 2021 user.notice firewall: Reloading firewall due to ifup of wan (eth0.2)
Sun Oct 24 11:03:01 2021 daemon.info procd: - init complete -
Tue Nov  2 08:41:36 2021 daemon.info dnsmasq[976]: exiting on receipt of SIGTERM
Tue Nov  2 08:41:36 2021 daemon.info dnsmasq[2240]: Connected to system UBus
Tue Nov  2 08:41:36 2021 daemon.info dnsmasq[2240]: started, version 2.85 cachesize 150
Tue Nov  2 08:41:36 2021 daemon.info dnsmasq[2240]: DNS service limited to local subnets
Tue Nov  2 08:41:36 2021 daemon.info dnsmasq[2240]: compile time options: IPv6 GNU-getopt no-DBus UBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-cryptohash no-DNSSEC no-ID loop-detect inotify dumpfile

you need to setup logging to local file (persistent storage - usb) or networking see https://openwrt.org/docs/guide-user/base-system/log.essentials#local_file_logging

So, same thing happens on log written to disk. It stopped to log after ~1h after I activated logging to disk, it worked the whole day and it rebooted this morning at 9am. :face_with_head_bandage:

Tue Nov  2 09:59:56 2021 daemon.notice hostapd: ACS: Automatic channel selection started, this may take a bit
Tue Nov  2 09:59:56 2021 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->ACS
Tue Nov  2 09:59:56 2021 daemon.notice hostapd: wlan0: ACS-STARTED
Wed Nov  3 09:00:29 2021 user.notice firewall: Reloading firewall due to ifup of wan6 (eth0.2)
Wed Nov  3 09:00:30 2021 daemon.info dnsmasq[980]: exiting on receipt of SIGTERM
Wed Nov  3 09:00:30 2021 daemon.info dnsmasq[2374]: Connected to system UBus

are you sure there are no logs between Tue Nov 2 09:59:56 2021 and Wed Nov 3 09:00:29 2021 ? I have to admit it seems a bit strange that the reboot is done at 9:00

I am pretty sure about the missing log (I can attach the whole file). Look, it rebooted again at 10:27am and the piece of log from 9:00am disappeared! :astonished:

Tue Nov  2 09:59:56 2021 daemon.notice hostapd: ACS: Automatic channel selection started, this may take a bit
Tue Nov  2 09:59:56 2021 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->ACS
Tue Nov  2 09:59:56 2021 daemon.notice hostapd: wlan0: ACS-STARTED
Wed Nov  3 10:27:04 2021 user.notice firewall: Reloading firewall due to ifup of wan6 (eth0.2)
Wed Nov  3 10:27:06 2021 user.notice firewall: Reloading firewall due to ifup of wan (eth0.2)
Wed Nov  3 10:27:06 2021 daemon.info dnsmasq[980]: exiting on receipt of SIGTERM

so it seems your file logging doesn't work as it should.
As long as we can't see a proper error log we can't help you here - maybe some with the same device and same reboots...