From: Ivan Djelic <ivan.djelic@parrot.com>
To: Matteo Mattei <matteo.mattei@gmail.com>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: UBIFS switched to read-only mode after make_reservation warnings
Date: Fri, 27 Apr 2012 16:33:17 +0200 [thread overview]
Message-ID: <20120427143317.GC2044@parrot.com> (raw)
In-Reply-To: <CAHea38Td0PrZSr2c8g12UvVgOsTdKi_-sXhbnizzyEG+U91sVg@mail.gmail.com>
On Tue, Apr 24, 2012 at 04:46:30PM +0100, Matteo Mattei wrote:
> Hi guys,
>
> continuing the tests on UBI/UBIFS and power cyclings I have the
> following errors (dumping dmesg):
>
> UBIFS warning (pid 776): make_reservation: too many space allocation
> re-tries (123)
> UBIFS warning (pid 776): make_reservation: too many space allocation
> re-tries (124)
> UBIFS warning (pid 776): make_reservation: too many space allocation
> re-tries (125)
> UBIFS warning (pid 776): make_reservation: too many space allocation
> re-tries (126)
> UBIFS warning (pid 776): make_reservation: too many space allocation
> re-tries (127)
> UBIFS warning (pid 776): make_reservation: too many space allocation
> re-tries (128)
> UBIFS error (pid 776): make_reservation: stuck in space allocation
> UBIFS error (pid 776): make_reservation: cannot reserve 4144 bytes in
> jhead 2, error -28
> UBIFS error (pid 776): do_writepage: cannot write page 2075 of inode
> 80294, error -28
> UBIFS warning (pid 776): ubifs_ro_mode: switched to read-only mode, error -28
>
> It seems that there is not enough space for the journal...
>
> This is the software and environment used:
> - linux kernel 2.6.32 (from TI)
> - ubifs backport (from git://git.infradead.org/~dedekind/ubifs-v2.6.32.git).
> - 8-bit BCH.
> - UBIFS mounted with no compression.
> - usage of ubiformat instead of flash_eraseall for the first
> filesystem initialization.
>
> This is the hardware used:
> - CPU: OMAP3530.
> - NAND chips: Micron MT29F4G08ABBDAH4-IT.
>
>
> Do you have any idea on what happened and how to fix this?
> Which are the conditions that lead this behavior?
Hello Matteo,
Your trace only shows the end of the story; the interesting part is what happens
before: have blocks been marked bad, e.g. after a UBI torture ? What are MTD/UBI/UBIFS saying ?
If you are running power cycling tests, I suggest you keep a full log of the system
(from the initial boot with a pristine flash till the end of the test).
You could also analyze your target NAND flash, especially how many bad blocks and empty
blocks it currently has.
BTW, have you been able to run tests using my patch ?
BR,
--
Ivan
next prev parent reply other threads:[~2012-04-27 14:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-24 15:46 UBIFS switched to read-only mode after make_reservation warnings Matteo Mattei
2012-04-27 14:33 ` Ivan Djelic [this message]
2012-04-28 11:54 ` 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=20120427143317.GC2044@parrot.com \
--to=ivan.djelic@parrot.com \
--cc=linux-mtd@lists.infradead.org \
--cc=matteo.mattei@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;
as well as URLs for NNTP newsgroup(s).