Mounting jffs2 images on F11 / kernel 2.6.31?

Martin Langhoff martin.langhoff at gmail.com
Tue Nov 17 13:11:28 EST 2009


Ubuntu Kinky Koala w 2.6.30 mounts our os802.img (and edits it) like a
charm... but my F11/linux-2.6.31 box doesn't like it in the least:

dmesg:
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001e000:
0xc369 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001e004:
0x2aa7 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001e008:
0xecea instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001e00c:
0x1715 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001e010:
0x563d instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001e014:
0xdb4a instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001e018:
0xae82 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001e01c:
0x7a39 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001e020:
0x21d6 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001e024:
0x99df instead
Further such events for this erase block will not be printed
Node at 0x0001ec98 with length 0x00001368 would run over the end of
the erase block
Perhaps the file system was created with the wrong erase size?

Has this been seen before?

Background: Turns out that using block2mtd, a loop device and some
elbow grease, it is reasonably easy to mount jffs2 images on a normal
linux host. (This is helping me simplify image-builder...)

cheers,



m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff



More information about the Devel mailing list