UBIFS switched to read-only mode after make_reservation warnings

Matteo Mattei matteo.mattei at gmail.com
Tue Apr 24 11:46:30 EDT 2012


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?

Thanks,

Matteo



More information about the linux-mtd mailing list