Re: jffs2 console printk storm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2008-02-14 at 17:16 -0500, Erez Zadok wrote:
> Hi David,
> 
> This has been a problem I've seen for a while.  I've generated a jffs2 image
> of an empty directory (I don't recall the version of the jffs2 utils I've
> used to generate it).  I mount the jffs2 image something like this:
> 
> # cp jffs2-empty.img /tmp/fs.0
> # losetup /dev/loop0 /tmp/fs.0
> # modprobe block2mtd block2mtd=/dev/loop0,128ki
> # mount -t jffs2 mtd0 /n/lower/b0
> 
> Then I start running my tests in it (in /n/lower/b0).  I get a lot of these
> two kinds of console printk messages (esp. the first one):
> 
>   CLEANMARKER node found at 0x00810000, not first node in block (0x00800000)
>   Empty flash at 0x0080ff70 ends at 0x00810000
> 
> I don't know how serious the messages are, but jffs2 seems to work fine for
> me even with those many kernel messages scrolling off of my screen.

Your image is built with the wrong eraseblock size -- mkfs.jffs2
defaults to 64KiB eraseblocks, and you seem to have used that default,
but your flash "device" has 128KiB eraseblocks, since that's the
argument you gave to block2mtd.

Recreate your image with -e128KiB, or change the eraseblock size on your
virtual device.

-- 
dwmw2

-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux