mkfs.ubifs gives corrupt images/crc errors

Artem Bityutskiy dedekind1 at gmail.com
Sun Aug 22 04:22:41 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.

I cannot reproduce this. Does this still happen for you? Does cloning
the mtd-utils git tree anew help?

Artem.





More information about the linux-mtd mailing list