Aaron Outhier Posted March 8, 2021 Share Posted March 8, 2021 Hello. after months of bizarre problems with my KeyCroc, I finally realized that my flash filesystem is corrupt. root@croc:~# e2fsck -fn /dev/nandd e2fsck 1.42.12 (29-Aug-2014) Warning! /dev/nandd is mounted. Warning: skipping journal recovery because doing a read-only filesystem check. Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information Free blocks count wrong (505705, counted=505574). Fix? no Free inodes count wrong (168264, counted=168259). Fix? no /dev/nandd: 44728/212992 files (0.1% non-contiguous), 346263/851968 blocks Is there any way I can force an e2fsck during boot, or perhaps cause a complete rewrite/replacement of flash data? I have already tried reinstalling the latest firmware. I have also tried erasing the entire udisk and then copying over the flash file, before rebooting. The firmware does complete 100%, or at least it appears to. I also verified the sha256sum before applying it. It seems that my entire /lib/modules folder is missing. Link to comment Share on other sites More sharing options...
Aaron Outhier Posted March 17, 2021 Author Share Posted March 17, 2021 Update: I figured out how to do a factory reset. Re-added my config.txt and device.conf. Then shut it down. I'll have to test it at some point. More to come. Link to comment Share on other sites More sharing options...
Aaron Outhier Posted March 28, 2021 Author Share Posted March 28, 2021 Still corrupted in the same locations after factory reset. 😩😠Link to comment Share on other sites More sharing options...
Aaron Outhier Posted July 20, 2021 Author Share Posted July 20, 2021 Managed to fix the problem, without a serial terminal or any jtag stuff. Fortunately, the filesystem corruption was minor. I was able to locate the recovery partition and run fsck on it to repair. Then, I forced a factory reset to format the main partition and unpack the version 1.1 firmware. I of course then updated the Croc to the latest version. Issue seems to be solved. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.