mkfs.ubifs gives corrupt images/crc errors
Artem Bityutskiy
dedekind1 at gmail.com
Tue Jul 27 09:39:55 EDT 2010
On Tue, 2010-07-27 at 09:03 +0200, Leo Barnes wrote:
> Hello!
>
> The recent versions of mkfs.ubifs in the mtd-utils gives corrupt
> images for me. I get the following error messages when trying to mount
> the ubi-volume:
>
> <3>[ 711.246826] UBIFS error (pid 413): ubifs_check_node: bad CRC:
> calculated 0x1f8f89ca, read 0xbb39064c
> <3>[ 711.247558] UBIFS error (pid 413): ubifs_check_node: bad node at LEB 0:0
> <3>[ 711.247924] UBIFS error (pid 413): ubifs_read_node: expected node type 6
>
> I have identified it as being broken since (approximately) after
> commit 004760f969175da7392dd02bb4fa14164ff46c1e (Wed Jun 16 09:47:27
> 2010 +0300). Two or three of the commits after this one refuse to
> build with various make errors, and the next one that builds gives
> corrupt images. It seems to have something to do with the CRC
> calculation.
Could you please find the commit which moves CRC support out of
mtd-utils/mkfs.ubifs and investigate what changed please? I think you
will find the reason quite quickly.
I'm on holiday, cannot look at this now.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list