mkfs.ubifs gives corrupt images/crc errors

Leo Barnes barnes.leo at gmail.com
Tue Jul 27 03:03:05 EDT 2010


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.

Best regards,
//Leo



More information about the linux-mtd mailing list