Problem with UBI / UBIFS (mainly ucorrectable error) on kernel higher than 2.6.30.10

Artem Bityutskiy dedekind1 at gmail.com
Tue May 22 04:04:35 EDT 2012


On Mon, 2012-05-21 at 14:57 +0200, Lukasz Nowak wrote:
> Hi Artem,
> 
> Thanks for quick the response.
> 
> 1. Please find attached log that you asked for. This time the mounting
> process started to run torture test for PEB 2062 in infinitive loop.
> 
> 2. I have compared the MTD sources between 2.6.30.10 (last good kernel)
> and 2.6.31.1 (first with problems) and I found where is the problem.
> 
> The new version of kernel (2.6.31.1) introduced some new buffer (in
> orion_nand.c file in drivers/mtd/nand directory you will find new method
> orion_nand_read_buf). What I did is that I have commented this line:
> 
> //nc->read_buf = orion_nand_read_buf;
> 
> in kernel 2.6.31.1 and recompiled it. This helps and no errors occurred
> this time during boot. I have tested 7 different devices and all of them
> are now OK. What is more I did the same with kernel 2.6.38.4 (our target
> kernel) and again no errors occurred during the boot and everything
> seems to work just fine.

OK.

> So my question is what is the buffer responsible for and is it safe for
> us to just remove it like I did?

I do not know, what is the commit id? Why not to put the author of that
change to CC?

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120522/a68d4a2c/attachment.sig>


More information about the linux-mtd mailing list