UBIFS log replay error

Artem Bityutskiy dedekind1 at gmail.com
Thu Jan 28 12:15:16 EST 2010


On Wed, 2010-01-27 at 17:04 -0600, Brian Niebuhr wrote:
> All - 
> 
> I am bringing up a custom board with an UBIFS root file system.  The
> board appears to boot fine and I am able to access files in the file
> system.  I have been debugging other issues and in the process I have
> been powering off the board abruptly (i.e. turning off the power
> supply), and hence the filesystem doesn't get unmounted correctly.  The
> filesystem recovers most of the time, but on multiple occasions I've got
> the following error:
> 
> UBIFS: recovery needed
> UBIFS error (pid 1): validate_ref: bud at LEB 31:93848 was already
> referred
> UBIFS error (pid 1): replay_log_leb: log error detected while replaying
> the log at LEB 5:32
> 
> Obviously the filesystem wouldn't mount and my only option was
> re-flashing the filesystem.
> 
> Can anyone tell me what might be happening, and how I can correct it?
> The filesystem is being stored in Numonyx P30 NOR flash.  The dmesg
> output is as follows:

Which kernel version? How old UBIFS code base is? Please, follow this
guide:

http://www.linux-mtd.infradead.org/doc/ubifs.html#L_how_send_bugreport

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)




More information about the linux-mtd mailing list