From: Artem Bityutskiy <dedekind1@gmail.com>
To: Mark <xiaoming1981.zhang@gmail.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: UBIFS mount failure upon power off
Date: Sun, 22 Apr 2012 17:31:04 +0300 [thread overview]
Message-ID: <1335105064.28267.18.camel@brekeke> (raw)
In-Reply-To: <1335104592.28267.13.camel@brekeke>
[-- Attachment #1: Type: text/plain, Size: 860 bytes --]
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
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2012-04-22 14:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-11 12:17 UBIFS mount failure upon power off Mark
2012-04-22 12:44 ` Artem Bityutskiy
2012-04-22 13:15 ` Artem Bityutskiy
2012-04-22 13:52 ` Mark
2012-04-22 14:23 ` Artem Bityutskiy
2012-04-22 14:31 ` Artem Bityutskiy [this message]
2012-04-22 15:01 ` Mark
2012-04-22 14:24 ` Artem Bityutskiy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1335105064.28267.18.camel@brekeke \
--to=dedekind1@gmail.com \
--cc=linux-mtd@lists.infradead.org \
--cc=xiaoming1981.zhang@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox