ubifs corrupt

Artem Bityutskiy dedekind at infradead.org
Tue Apr 14 05:02:24 EDT 2009


Hi!

On Tue, 2009-04-14 at 16:05 +0800, jerry wrote:
> I'm getting some problem with UBIFS when the power is switched off abruptly
>  during a write to flash(nandflash 2k/page). In the next boot the contents of
>  the file is not found and prints the following information.
> 
> UBIFS error (pid 358): ubifs_check_node: bad magic 0xffffffff,
> expected 0x6101831
> UBIFS error (pid 358): ubifs_check_node: bad node at LEB 27:251264
> UBIFS error (pid 358): ubifs_read_node: expected node type 2
> UBIFS error (pid 358): ubifs_check_node: bad magic 0xffffffff,
> expected 0x6101831
> UBIFS error (pid 358): ubifs_check_node: bad node at LEB 27:251264
> UBIFS error (pid 358): ubifs_read_node: expected node type 2
> problem renaming the file /Settings/qpe.conf.new to /Settings/qpe.conf
> UBIFS error (pid 358): ubifs_check_node: bad magic 0xffffffff,
> expected 0x6101831
> UBIFS error (pid 358): ubifs_check_node: bad node at LEB 27:251264
> UBIFS error (pid 358): ubifs_read_node: expected node type 2
> 
> I think the qpe.conf is writting when the power is off and The problem
> is reproducable.
> 
> Please could you tell me if this is a known issue.
> 
> Thanks for your help and time!

Could you please, check what Adrian pointed. And if this does
not help, could you please send a bug report as described here:
http://www.linux-mtd.infradead.org/doc/ubifs.html#L_how_send_bugreport

We are usually especially interested in items 1, 3, 4.

Thanks!

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




More information about the linux-mtd mailing list