how to check emmc?

Hi,

I have used many beaglebones (BBGW) and there is one that has twice get this error at boot:

rootfs: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.

I think this may be because the emmc is faulty.

Is there any script that allows emmc testing?

regards,
Sebastián

here the full log

No, this is normal... If you just yank power, consitently...

ext4 does have some safe guards for improper shutdowns. However if
you don't allow it to properly fix it up, eventually it'll get "too"
corrupted to automatically fix itself..

Regards,

fsck.ext4 /dev/mmcblk1p1

Regards,

thank for the info :slight_smile:

What about these options?

https://andicelabs.com/2014/07/automatic-root-filesystem-repair-boot/

  1. Edit /boot/cmdline.txt with the option fsck.repair=yes

OR

  1. Edit /lib/init/vars.sh file and set FSCKFIX=yes

Should one of these work? Or are you saying repeated use over time will eventually cause problems?

Regards, Mike