[PATCH v2 0/5] UBIFS: fix recovery on CFI NOR

Anatolij Gustschin agust at denx.de
Mon Feb 7 13:06:05 EST 2011


On Mon, 07 Feb 2011 18:58:59 +0200
Artem Bityutskiy <dedekind1 at gmail.com> wrote:

> On Mon, 2011-02-07 at 17:25 +0100, Anatolij Gustschin wrote:
> > I dropped the lines containing ffffffff in the dump above (verified
> > that these were all ffffffff).
> > 
> > The UBIFS data node before the dumped area seems to be okay
> > and contains "ABC123ABC123ABC123..." data block.
> > 
> > The corrupted area seems to contain data from an interrupted
> > write operation. 
> 
> It looks like I missed the no_more_nodes() function. I think this should
> fix the issue you have found. If you still have the flash which ubifs
> refuses to mount, you can apply this patch, and ubifs should mount that
> media.

I did a dump of the corrupted flash and now re-flashed it and
tested with this patch. This patch doesn't help. The debug log
produced while mounting looks similar.

Thanks,
Anatolij




More information about the linux-mtd mailing list