[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTimiELh42LKgjicvh7jvXVfHeFE6MA@mail.gmail.com>
Date: Thu, 19 May 2011 11:59:52 -0400
From: "Matthew L. Creech" <mlcreech@...il.com>
To: Ben Gardiner <bengardiner@...ometrics.ca>
Cc: Artem Bityutskiy <dedekind1@...il.com>,
Adrian Hunter <adrian.hunter@...ia.com>,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] UBIFS: don't fail on -EBADMSG when fixing free space
On Thu, May 19, 2011 at 9:28 AM, Ben Gardiner
<bengardiner@...ometrics.ca> wrote:
>
> So I guess my particular situation is a problem with the davinci nand
> driver's ECC for 0xFF data and is _not_ covered by the free space
> fixup?
>
Yeah, that's what it sounds like.
Can you reproduce the -EBADMSG with a simpler test case that leaves
UBI/UBIFS out of the equation? Maybe enable write-verify in U-Boot
and try using "nand write" again, or use mtd-utils "nandwrite" from an
initramfs image then try to read back the data -- that should give a
simpler test case that shows whether the ECC handling of empty space
is wrong.
If so, that probably needs to be fixed at the MTD level, since it will
affect more than this particular UBIFS case.
--
Matthew L. Creech
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists