From: sid@ics.uci.edu
To: linux-mtd@lists.infradead.org
Subject: ubifs mount failure upon power cycle
Date: Fri, 11 Dec 2009 10:28:55 -0800 [thread overview]
Message-ID: <ba9f10a6e8ef14a2d032fba7f1686df9.squirrel@webmail.ics.uci.edu> (raw)
Hi,
I'm trying to use UBIFS (linux 2.6.31) on a MIPS based platform, 128 MB
SLC (2k page) NAND flash as rootfs. After erasing the flash and mounting
ubifs as rootfs, I do a large amount of file copies from NFS. However, if
there is an abrupt power cycle, upon reboot the rootfs mount fails with
the following error messages:
UBIFS: recovery needed
UBIFS error (pid 1): ubifs_scan: corrupt empty space at LEB 6:43008
UBIFS error (pid 1): ubifs_scanned_corruption: corruption at LEB 6:43008
UBIFS error (pid 1): ubifs_scan: LEB 6 scanning failed
UBIFS error (pid 1): ubifs_recover_leb: corrupt empty space LEB 6:24576,
corruption starts at 18432
UBIFS error (pid 1): ubifs_scanned_corruption: corruption at LEB 6:18432
UBIFS error (pid 1): ubifs_recover_leb: LEB 6 scanning failed
VFS: Cannot open root device "ubi0:rootfs" or unknown-block(8,1)
I searched the list for similar messages. There was a similar thread
(http://lists.infradead.org/pipermail/linux-mtd/2009-April/025229.html)
for NOR flash. However, the fixes to recovery.c from that thread are
already in the current sources.
Any suggestions/pointers on how to debug/fix would be greatly appreciated.
thanks in advance,
-sid
next reply other threads:[~2009-12-11 18:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-11 18:28 sid [this message]
2010-01-06 14:32 ` ubifs mount failure upon power cycle 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=ba9f10a6e8ef14a2d032fba7f1686df9.squirrel@webmail.ics.uci.edu \
--to=sid@ics.uci.edu \
--cc=linux-mtd@lists.infradead.org \
/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