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

Anatolij Gustschin
2011-02-07T18:05:16Z

On Mon, 07 Feb 2011 18:58:59 +0200
Artem Bityutskiy <dedekind1@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