Jump to content

Need to completely redo flash on keycroc! Filesystem is corrupt.


Aaron Outhier

Recommended Posts

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

  • 2 weeks later...
  • 2 weeks later...
  • 3 months later...

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

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...