linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Latest mkfs.jffs2 is broken.
@ 2010-10-14 21:54 H Hartley Sweeten
  2010-10-15  6:14 ` Artem Bityutskiy
  0 siblings, 1 reply; 10+ messages in thread
From: H Hartley Sweeten @ 2010-10-14 21:54 UTC (permalink / raw)
  To: linux-mtd

Hello all,

Buildroot recently bumped the mtd-utils package from version 1.3.1 to 1.4.0.

With the mkfs.jffs2 utility in 1.3.1 I am able to create rootfs.jffs images that
work fine on my i.mx35 arm system.  But, with the 1.4.0 version all the images
do not work.

With the 1.4.0 built images I get messages like this during the kernel boot:

jffs2_scan_eraseblock(): Node at 0x00000000 {0x1985, 0x2003, 0x0000000c) has invalid CRC 0x813c6fd8 (calculated 0xe41eb0b1)
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0x000c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0x6fd8 instead
jffs2_scan_eraseblock(): Node at 0x0000000c {0x1985, 0xe001, 0x0000002b) has invalid CRC 0x1804b18f (calculated 0x7d266ee6)
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000010: 0x002b instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000014: 0xb18f instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000018: 0x0001 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000020: 0x0002 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000024: 0x1a8d instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000028: 0x0403 instead
Further such events for this erase block will not be printed
Old JFFS2 bitmask found at 0x00000078
You cannot use older JFFS2 filesystems with newer kernels
Empty flash at 0x0000a46c ends at 0x0000a470

And, if I check the images with jffs2dump I get stuff like:

Wrong hdr_crc  at  0x0001f808, 0x783f44d2 instead of 0x1d1d9bbb
Wrong bitmask  at  0x0001f80c, 0x07f3
Empty space found from 0x0001fffc to 0x00020000

Any ideas what could be wrong with the 1.4.0 release?

Thanks,
Hartley

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-10-19  8:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-14 21:54 Latest mkfs.jffs2 is broken H Hartley Sweeten
2010-10-15  6:14 ` Artem Bityutskiy
2010-10-15  8:35   ` Peter Korsgaard
2010-10-15  8:43     ` Artem Bityutskiy
2010-10-15  8:52       ` Peter Korsgaard
2010-10-16 15:49         ` Artem Bityutskiy
2010-10-16 20:19           ` Peter Korsgaard
2010-10-18 20:51           ` Peter Korsgaard
2010-10-19  4:49             ` Artem Bityutskiy
2010-10-19  8:38               ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).