ubi: fastmap: v7: ubi_update_fastmap failure

Shmulik Ladkani shmulik.ladkani at gmail.com
Tue Jun 5 16:20:49 EDT 2012


Hi,

On Tue, 05 Jun 2012 15:49:53 +0200 Richard Weinberger <richard at nod.at> wrote:
> Am 05.06.2012 15:41, schrieb Shmulik Ladkani:
> > Hi Richard,
> > 
> > I got the below UBI error when working with fastmap v7 (linux-ubi.git,
> > branch fastmap, HEAD at bd8313d).
> > 
> > Had no time to investigate (could be fixed by your v7+ patches); please
> > take a look if you can.
> > 
> > Setup:
> > - Beagle with SLC NAND.
> > - ubi.mtd=4 root=ubi0:beagleboard-rootfs rootfstype=ubifs
> > - A single volume on the ubi0 device (the ubifs rootfs).
> > 
> > The board booted several times succesfully with fastmap-v7.
> > Then I got the error below, when ubifs was mounted (note UBI attach was
> > successful).
> > 
> > Switched to non-fastmap kernel, board booted successfully (with ubifs
> > mounted succesfully).
> > 
> > Regards,
> > Shmulik
> > 
> > [    3.222808] UBIFS: recovery needed
> > [    3.281646] UBI error: __ubi_wl_get_peb: no free eraseblocks
> > [    3.287750] UBI error: ubi_wl_get_fm_peb: no free eraseblocks
> > [    3.294952] UBI error: ubi_update_fastmap: Erase counter overflow!
> 
> Please use v7+.
> It looks like you need:
> [PATCH 01/23] UBI: Fastmap: Fix EC overflow calculation

Thanks, will retest.

BTW, a UBIFS question.
Any idea why UBIFS failed to mount eventually?

As you can see, both UBI and UBIFS switched themselves to RO mode. Okay.
However eventually, the mount failed.

Regards,
Shmulik



More information about the linux-mtd mailing list