From: David Jander <david.jander@protonic.nl>
To: David Woodhouse <dwmw2@infradead.org>
Cc: linux-mtd@lists.infradead.org, linuxppc-embedded@ozlabs.org
Subject: Re: jffs2 robustness against powerfailure
Date: Wed, 19 Oct 2005 10:10:47 +0200 [thread overview]
Message-ID: <200510191010.47799.david.jander@protonic.nl> (raw)
In-Reply-To: <1129552672.3830.249.camel@baythorne.infradead.org>
On Monday 17 October 2005 14:37, David Woodhouse wrote:
> On Fri, 2005-10-14 at 11:35 +0200, David Jander wrote:
> > We have a custom embedded linux board, based on a MPC852T processor,
> > running 2.4.25 kernel from denx. Jffs2 has certain backported patches
> > after cvs from 03/2005.
>
> That sounds like a recipe for pain. March 2005 wasn't a good time to
> take a snapshot from CVS; that just happens to be the time that we
> stopped bothering to make it build in obsolete kernels.
That's why I posted to the linuxppc-embedded list, because I know there are
quite some people using the same version (denx CVS kernel), and might have
had issues of this kind also, although I mostly hear that it seems pretty
stable and doesn't give problems.
> If you want _stable_ JFFS2 code, you should use the code which is in the
> 2.4.31 kernel, or use the code which is in the 2.6 kernel (perhaps
> updated from current CVS).
2.6 is not an option yet for mpc8xx architecture, so I'll have to stick with
either what I have now or 2.4.31, but I fear the tradeoff of using vanilla
2.4.31 jffs2 will be much slower fs, prohibitively long mount-times, etc...
am I right?
>[...]
> Please could you reproduce on a sane kernel and show the output of the
> checkfs program during your test just before the power down, and also if
> possible take an image of the contents of the flash _before_ mounting it
> again after the power cycle. I'd like to see precisely the log nodes
> which were present on the flash. If it's difficult to take a snapshot
> before remounting, then running with CONFIG_JFFS2_FS_DEBUG=1 and
> capturing all the KERN_DEBUG output via a serial console would suffice.
I am still busy doing experiments, please have a little patience.
Until now I have turned on debug info in the same kernel as before, and get
literally tons of log info. My monitor script had a bug, so the board was
reset a little to soon in several occasions (shouldn't harm, should it), so
now I have an image of jffs2 which on boot of the system produces a BUG() in
gc.c line 139. This is not what I am looking for right now, and I still have
to discard any possibilities that this could have happened due to other
problems (RAM issues, etc). Once I finish sorting this out, I'd be glad to
send you a few megabytes of debug output along with a "broken" jffs2 image if
you like. Actually I'd be very grateful if you could take some time to look
at it and give me your opinion, because I am still slightly clueless about
jffs2.
Greetings,
--
David Jander
next prev parent reply other threads:[~2005-10-19 8:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-14 9:35 jffs2 robustness against powerfailure David Jander
2005-10-14 14:33 ` Mark Chambers
2005-10-17 6:42 ` David Jander
2005-10-17 12:37 ` David Woodhouse
2005-10-19 8:10 ` David Jander [this message]
2005-10-19 9:50 ` David Woodhouse
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=200510191010.47799.david.jander@protonic.nl \
--to=david.jander@protonic.nl \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=linuxppc-embedded@ozlabs.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).