All of lore.kernel.org
 help / color / mirror / Atom feed
* UBI Resize with second volume table copy corrupted
@ 2013-05-25 12:45 Brent Taylor
  0 siblings, 0 replies; only message in thread
From: Brent Taylor @ 2013-05-25 12:45 UTC (permalink / raw)
  To: linux-mtd

I've created an ubifs filesystem image using ubinize.  The image is
flashed to a NAND chip using U-Boot.  The image is successfully
mounted on several hardware boards but one board contains a bad block
within the MTD partition the image is written to.  U-Boot skips the
bad block and continues writing.  When Linux starts to initialize the
UBI subsystem, UBI reports:

UBI warning: process_lvol: volume table copy #2 is corrupted
UBI: create volume table (copy #2)
UBI: volume table restored

UBI continues to attach to the MTD partition, but the volume is never
resized to expand to use the entire 128MB of the MTD partition and the
volume is immeditaly "full" because there are no more free LEB's.

On the other boards that successfully mount the UBIFS root partition,
the UBI volume is resized correctly.

I'm wondering if by re-creating the second volume table if the
"resize" flag is being copied?

Thanks for your time,
Brent Taylor

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-25 12:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-25 12:45 UBI Resize with second volume table copy corrupted Brent Taylor

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.