UBIFS mount failure upon power off

Artem Bityutskiy dedekind1 at gmail.com
Sun Apr 22 10:31:04 EDT 2012


On Sun, 2012-04-22 at 17:23 +0300, Artem Bityutskiy wrote:
> > 3. I fixed this problem, in most situations the ubifs can recover 
> > successfully,
> >     but I still get this error (though difficult to reproduce):
> > 
> >         UBI error: ubi_io_read: error -77 while reading 126976 bytes 
> > from PEB 2:4096, read 126976 bytes
> >         UBIFS error (pid 481): insert_node: duplicate sqnum in replay
> >         mount: mounting ubi13_0 on /usr/local/hmt/appdata failed: 
> > Invalid argument
> > 
> >     What could be the reason?
> 
> Difficult to say, enable UBI debugging - it will print more information
> (not all the debugging messages, just debugging).
> 

It is particularly interesting where in UBI code this is hit - do you
have stack trace? I thought all UBI code handles -EBADMSG.

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120422/d7c8d09d/attachment.sig>


More information about the linux-mtd mailing list