Get error -74 (ECC error) during ubiattach

t kevin kevint324 at gmail.com
Fri Dec 19 19:48:18 PST 2014


Hi Tanya,

Thanks for the suggestion.
I create the UBIFS by ubiformat+ubimkvol. It was fine at the very
beginning and that error message pops out after a few erase cycles (<
10).
I'm wondering what can I do to fix the problem instead of erase
everything to make it go away.

Thanks
Kevin

2014-12-19 23:31 GMT+08:00 Tanya Brokhman <tlinder at codeaurora.org>:
> On 12/19/2014 2:24 PM, t kevin 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?
>> Is it because the background thread "ubi_bgt2d" has not started yet so
>> no one could do the data scrubbing during ubiattach stage?
>> Is it possible to do something like a fsck.ubifs to fix this issue?
>>
>> The system can boot up correctly but this message is kind of terrifying.
>
>
> Hi Kevin
>
> Is it always the same block/offset? If so then Richard is right, the PEB
> probably got bad.
> Is this first boot up after flashing the image? I encountered similar
> behavior on first boot up after flashing the image. What helped me is to
> generate the image with -F flag, or use a UBI-aware flasher (ubiformat for
> example) to flash it.
>
>
> Thanks,
> Tanya Brokhman
> --
> Qualcomm Israel, on behalf of Qualcomm Innovation Center, Inc.
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project



More information about the linux-mtd mailing list