You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Observed on a Meraki MR24 (apm821xx), with NAND flash and ubifs overlay
Software versions of OpenWrt/LEDE release, packages, etc.
Seen on versions as old as 5979-gc9c2e4d78d and 6286-gf01b394266, and as recent as 7763-g9537c1a153.
Steps to reproduce
Sysupgrade or factory reset, allow to boot fully, wait a few minutes if desired, yank power. When device comes up again, I found /overlay/upper/etc/config/dropbear was all NULL (also /overlay/upper/etc/config/horst and /overlay/upper/etc/config/batman-adv). If I login to a shell (over serial or ssh) and either reboot or 'sync' before yanking power, the files in /overlay survive intact. It seems the data is not making it out to persistent storage without an explicit sync even after considerable time. In my case, the corrupted /etc/config/dropbear was a big problem, because remote access wasn't possible anymore (I initially had to crack the case to attach a serial console to figure out what was going wrong). It is possible to recover with a factory reset, followed by logging in and sync'ing or rebooting.
The text was updated successfully, but these errors were encountered:
In my case, the files that were zero'd out were all those in /overlay/upper/etc/config/ where the files pre-power-loss were identical (diff reports no changes) from the /rom versions.
I also observed the issue on latest nightly build (commit dc9388a on master).
Router: Mikrotik RB450G
Filesystem: UBIFS on MLC NAND.
After I installed a package which modified some files and issued an reboot command, content was not damaged. However one package install caused router to reboot due to kernel panic and after the reboot the config files modified by the package were empty.
russell:
Supply the following if possible:
Observed on a Meraki MR24 (apm821xx), with NAND flash and ubifs overlay
Seen on versions as old as 5979-gc9c2e4d78d and 6286-gf01b394266, and as recent as 7763-g9537c1a153.
Sysupgrade or factory reset, allow to boot fully, wait a few minutes if desired, yank power. When device comes up again, I found /overlay/upper/etc/config/dropbear was all NULL (also /overlay/upper/etc/config/horst and /overlay/upper/etc/config/batman-adv). If I login to a shell (over serial or ssh) and either reboot or 'sync' before yanking power, the files in /overlay survive intact. It seems the data is not making it out to persistent storage without an explicit sync even after considerable time. In my case, the corrupted /etc/config/dropbear was a big problem, because remote access wasn't possible anymore (I initially had to crack the case to attach a serial console to figure out what was going wrong). It is possible to recover with a factory reset, followed by logging in and sync'ing or rebooting.
The text was updated successfully, but these errors were encountered: