UBIFS Corrupt during power failure

Eric Holmberg Eric_Holmberg at Trimble.com
Thu Mar 26 10:09:41 EDT 2009


> > > Also, could you tell us what MTD drivers you are using?
> > I'm using the physmap CFI flash driver for a CFI-compliant 
> > S29GL256P90F 256Mbit NOR flash chip.  Is that what you're asking
for?
> > 
> > I'll keep working on a better way to reproduce the problem.  Let me 
> > know if I need to add some printk statements somewhere and/or enable

> > UBI or MTD debugging.
>
> Any news? I am afraid your problem will be that UBIFS floods to much.
> In that case try to enable debugging in the config, but do not enable
any debugging messages. Even with > this UBIFS should give useful dumps
when this error happens:

I had to work on some other issues yesterday, but I'm back to the UBIFS
error.  Adding the kernel boot arg "ignore_loglevel" has enabled the
flood of UBIFS messages.  I will be working on the issue today and will
let you know what I find.

> http://www.linux-mtd.infradead.org/doc/ubifs.html#L_how_send_bugreport
> 
> And BTW, we did not test UBIFS well enough on NOR, and never tested
unclean reboots on NOR, but tested > > them _a lot_ on NAND. So there
may be some problems, but hopefully we can fix them.

Thank you very much for that information -- I will keep that in mind as
I go through the code.

Regards,

Eric Holmberg
Trimble Navigation
Westminster, Colorado





More information about the linux-mtd mailing list