From: David Woodhouse <dwmw2@infradead.org>
To: "Ken Gordon" <ken@magneticscrolls.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: jffs2 scary messages
Date: Tue, 07 Aug 2001 10:53:29 +0100 [thread overview]
Message-ID: <1470.997178009@redhat.com> (raw)
In-Reply-To: <002101c11b34$b32cc6b0$0600a8c0@magneticscrolls.com>
ken@magneticscrolls.com said:
> jffs2_scan_empty(): Empty block at 0x00c8fffc ends at 0x00c90000 (with 0xe0021985)! Marking dirty
> jffs2_scan_empty(): Empty block at 0x00cafffc ends at 0x00cb0000 (with 0xe0021985)! Marking dirty
You probably didn't give mkfs.jffs2 the correct '-e' option to tell it the
erase size. Harmless.
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00d00070: 0x1a1a instead
Looks like you're using the Compaq bootldr, which always used to write
some crap at the end of a downloaded image if you didn't pad it to the end
of a block with 0xFF. I think it should be fixed in later versions, or use
the '-p' option to mkfs.jffs2 to pad the image to the next erase block
boundary.
ken@magneticscrolls.com said:
> I'm becoming a bit paranoid about JFFS2. I find that with only 16MB
> of flash getting to within a couple of hundred k of a full filesystem
> tends to result in an unrebootable system. Running 32MB seems much
> better.
What does 'unrebootable' mean?
> Another random question - does 'sync' do what might be expected or is
> it a no-op?
Both. All operation on JFFS2 is synchronous anyway, so 'sync' is a no-op.
But equally, you can be 100% sure that after a 'sync' everything is flushed
to the flash - because it already was :)
--
dwmw2
prev parent reply other threads:[~2001-08-07 9:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-02 9:22 jffs2 scary messages Ken Gordon
2001-08-07 9:53 ` 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=1470.997178009@redhat.com \
--to=dwmw2@infradead.org \
--cc=ken@magneticscrolls.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.