From: David Woodhouse <dwmw2@infradead.org>
To: Erez Zadok <ezk@cs.sunysb.edu>
Cc: linux-mtd@lists.infradead.org, linux-fsdevel@vger.kernel.org
Subject: Re: jffs2 console printk storm
Date: Sat, 16 Feb 2008 13:52:32 +0000 [thread overview]
Message-ID: <1203169952.31173.110.camel@pmac.infradead.org> (raw)
In-Reply-To: <200802142216.m1EMGLDo032715@agora.fsl.cs.sunysb.edu>
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
prev parent reply other threads:[~2008-02-16 13:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-14 22:16 jffs2 console printk storm Erez Zadok
2008-02-16 13:52 ` David Woodhouse [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1203169952.31173.110.camel@pmac.infradead.org \
--to=dwmw2@infradead.org \
--cc=ezk@cs.sunysb.edu \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).