linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: David Jander <david.jander@protonic.nl>
To: "'linuxppc-embedded@ozlabs.org'" <linuxppc-embedded@ozlabs.org>
Subject: jffs2 freezing in gc for long time...
Date: Thu, 16 Jun 2005 14:56:43 +0200	[thread overview]
Message-ID: <200506161456.44420.david.jander@protonic.nl> (raw)


Hi list,

I have the following situation:

CPU: MPC852T-100MHz
Flash: 32Mbyte mirror-bit, 15Mbyte jffs2 partition rw-mouted
Kernel: 2.4.25 (linuxppc_2_4_devel CVS from denx from a month ago or so, with 
custom patches not concerning MTD at all). For completeness, it contains the 
file fs/jffs2/gc.c version: gc.c,v 1.145 2005/02/09 09:09:01

Sometimes, I get this:
During boot, mounting is quick, but when starting syslogd, it freezes for some 
20 minutes, then syslogd returns an error (exit!=0) but the daemon keeps 
running in background, as well as the garbage collection thread from jffs2 
for some additional minutes. During that time, everything like "ls -l" on a 
certain directory of the flash partition freezes (status D is ps aux) until 
the GC thread has finished.

I can understand that GC has to occur at some time, but is it normal that it 
takes THAT long???

Is there a newer version of the MTD driver that does not present these 
symptoms?

If this is supposed to work like that, I would say jffs2 is pretty useless for 
any embedded system, so it is not supposed to be like that, right? RIGHT??

What am I doing wrong? Is the flash partition too big? Shouldn't I be using 
jffs2?

Any advice is appreciated...

Greetings,

-- 
David Jander

             reply	other threads:[~2005-06-16 12:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-16 12:56 David Jander [this message]
2005-06-16 13:12 ` jffs2 freezing in gc for long time Per Hallsmark
2005-06-16 13:46   ` David Jander

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=200506161456.44420.david.jander@protonic.nl \
    --to=david.jander@protonic.nl \
    --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).