UBIFS corruption in empty space during mount
Barak Adam
BAdam at adva.com
Thu Oct 29 10:52:07 EDT 2020
<Barak,
<<On Thu, Oct 29, 2020 at 5:54 AM Barak Adam <BAdam at adva.com> wrote:
<> ubi_leb_read calls lower layer nand driver functions but finally returns with -EBADMSG error code indicating that the MTD driver has detected a data integrity problem (unrecoverable ECC checksum mismatch in case of NAND).
<So, your driver is facing ECC errors while reading empty space?
<This is something UBIFS does not expect.
<If this is really the case, please double check, you can try to backport the patches you've listed.
<Or change the driver. In any case UBIFS does not want to see ECC errors when reading eased pages.
<--
<Thanks,
<//Richard
Thanks Richard.
I already applied those patches, but the issue is not yet covered / resolved.
What kind of a fix should I apply to the driver layer - raise ECC errors for the upper layers even when ready empty / erased area ?
Thanks,
Barak
-----Original Message-----
From: Richard Weinberger <richard.weinberger at gmail.com>
Sent: Thursday, October 29, 2020 12:36 PM
To: Barak Adam <BAdam at adva.com>
Cc: linux-mtd at lists.infradead.org
Subject: Re: UBIFS corruption in empty space during mount
External email: [richard.weinberger at gmail.com]
......................................................................
Barak,
On Thu, Oct 29, 2020 at 5:54 AM Barak Adam <BAdam at adva.com> wrote:
> ubi_leb_read calls lower layer nand driver functions but finally returns with -EBADMSG error code indicating that the MTD driver has detected a data integrity problem (unrecoverable ECC checksum mismatch in case of NAND).
So, your driver is facing ECC errors while reading empty space?
This is something UBIFS does not expect.
If this is really the case, please double check, you can try to backport the patches you've listed.
Or change the driver. In any case UBIFS does not want to see ECC errors when reading eased pages.
--
Thanks,
//richard
Please see our privacy statement at https://www.adva.com/en/about-us/legal/privacy-statement for details of how ADVA processes personal information.
More information about the linux-mtd
mailing list