Get error -74 (ECC error) during ubiattach
Oleksij Rempel
linux at rempel-privat.de
Sat Dec 20 02:05:23 PST 2014
Am 20.12.2014 um 11:02 schrieb Richard Weinberger:
> Am 20.12.2014 um 11:00 schrieb Oleksij Rempel:
>> Am 20.12.2014 um 10:27 schrieb Richard Weinberger:
>>> Hi!
>>>
>>> Am 20.12.2014 um 04:43 schrieb t kevin:
>>>> So for uncorrectable ECC error ( e.g., bad block) the only way out is
>>>> to do a fresh ubiformat?
>>>> For device like harddisk you get bad blocks all the time, if it is not
>>>> in the critical sector things can be fixed as much as possible by fsck
>>>> so I was looking for something like fsck.ubifs.
>>>
>>> An uncorrectable ECC error means that more bits flipped than your ECC
>>> algorithm can fix.
>>
>> At same time uncorrectable ECC error mean, the page was erase and there
>> is no ECC sum. Something should be written to create ECC.
>
> Which would be a driver bug and needs fixing.
No at all. If driver get request to erase page, it should do it and
nothing more.
There are use cases where erase means erase, and not erase + write ecc.
It is not a driver bug!
--
Regards,
Oleksij
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20141220/58fb5901/attachment.sig>
More information about the linux-mtd
mailing list