Get error -74 (ECC error) during ubiattach
Richard Weinberger
richard.weinberger at gmail.com
Fri Dec 19 05:49:58 PST 2014
On Fri, Dec 19, 2014 at 1:24 PM, t kevin <kevint324 at gmail.com> wrote:
> Hi all,
>
> I get below error message everytime when my box boots up.
> It appears there is a ECC error. But such errors should be taken care
> by UBI/UBIFS itself, right?
No. If the MTD reports an uncorrectable ECC error UBI can do nothing.
> Is it because the background thread "ubi_bgt2d" has not started yet so
> no one could do the data scrubbing during ubiattach stage?
UBI does scrubbing if it faces bit-flips (correctable ECC errors).
> Is it possible to do something like a fsck.ubifs to fix this issue?
No. PEB 404 is bad.
Is it always the same block?
I tend to remove the dump_stack() in this error path. It is a bit overkill.
--
Thanks,
//richard
More information about the linux-mtd
mailing list