Once in a while, when booting the device, I see on the serial console:
run-parts: /etc/update-motd.98-fsck-at-reboot exited with return code 1
Which I assume means there is a corruption on the mmc storage.
A few questions:
How do I run force fsck at startup?
The standard methods of touch /forcefsck or shutdown -rF or tune2fs -c 1 /dev/mmcblk1 don’t seem to work. Right now, fsck seems to run at startup only every N reboots, which makes it hard to detect & reproduce the problem.
How do I fix errors manually? I don’t see a way to run fsck in the bootloader (which I could run manually)
How do I automatically fix errors when the device encounters such a situation in the field (where manual intervention is not possible)
What exact hardware and software versions of things are you talking about? Is this with our regular BSP demo image, the mainline image or running JetPack? Could you please also provide full log file(s) when the issue occurs?
It looks like you are running a custom kernel and/or device tree. Can you reproduce the same issue with our stock BSP artefacts? Are you using some kind of NFS configuration (idmapd is typically used for such use cases)?
BTW: You should not be running 2.7.4 being considered an obsolete beta version by now but rather upgrade to 2.7.5 at your earliest convenience.