Re: UBIFS ECC errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, so are you saying that I should try to merge in these two commits
for a proper fix for this?
730a43fbc135 ("mtd: nand: add nand_check_erased helper functions")
fdf2e8210529 ("mtd: nand: gpmi: Fix failure when a erased page has a
bitflip at BBM")

I am assuming these are from the mainline kernel?

If not, how do I fix this? this other patch, instead or with those two commits?
http://lists.infradead.org/pipermail/linux-mtd/2014-January/051357.html

The patch doesn't seem to be able to apply cleanly to my kernel so I
must do some deep merging. I have not looked for the two commits yet.

Are there any other alternatives?

Thenks in advance for any help.

On Sat, Aug 3, 2019 at 1:48 AM Richard Weinberger <richard@xxxxxx> wrote:
>
> ----- Ursprüngliche Mail -----
> > Von: "Sergeant Peppercorn" <speppercorn109@xxxxxxxxx>
> > An: "Richard Weinberger" <richard.weinberger@xxxxxxxxx>
> > CC: "linux-mtd" <linux-mtd@xxxxxxxxxxxxxxxxxxx>
> > Gesendet: Freitag, 2. August 2019 18:14:55
> > Betreff: Re: UBIFS ECC errors
>
> > Hi, many thanks for the reply.
> >
> > I have seen posts on bitflips in empty space issues before, but don't
> > remember seeing any fixes. Does this mean the kernel UBI drivers must
> > be patched? Can you elaborate on what fixes or where to find patches,
> > etc, or what to do about this, then? All I care about is getting this
> > to work, and hopefully without needing to reformat the root file
> > system on 50,000 units in the field.
>
> Your kernel is pretty old, so I guess you don't have this commit:
> 730a43fbc135 ("mtd: nand: add nand_check_erased helper functions")
>
> Bitflips in empty pages should be handled in the NAND layer.
>
> Please don't blindly apply this patch, it may have dependencies or will
> uncover other bugs. Such as fix:
> fdf2e8210529 ("mtd: nand: gpmi: Fix failure when a erased page has a bitflip at BBM")
>
> Thanks,
> //richard

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux