linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Richard Weinberger <richard.weinberger@gmail.com>
To: Barak Adam <BAdam@adva.com>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: UBIFS corruption in empty space during mount
Date: Thu, 29 Oct 2020 11:36:02 +0100	[thread overview]
Message-ID: <CAFLxGvyZUBgXyNkj0EO5pWntjfn7jObqU7XKZXxvjsQ=RN9WKw@mail.gmail.com> (raw)
In-Reply-To: <a60546366eb049698c7a0b5426361833@adva.com>

Barak,

On Thu, Oct 29, 2020 at 5:54 AM Barak Adam <BAdam@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

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

  reply	other threads:[~2020-10-29 10:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-29  4:48 UBIFS corruption in empty space during mount Barak Adam
2020-10-29 10:36 ` Richard Weinberger [this message]
2020-10-29 14:52   ` Barak Adam
2020-10-29 21:19     ` Richard Weinberger
2020-11-02  6:06       ` Barak Adam
2020-11-02  7:44         ` Richard Weinberger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFLxGvyZUBgXyNkj0EO5pWntjfn7jObqU7XKZXxvjsQ=RN9WKw@mail.gmail.com' \
    --to=richard.weinberger@gmail.com \
    --cc=BAdam@adva.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).