public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Vikram Mehta" <vm6580@hotmail.com>
To: <uclinux-dev@uclinux.org>
Cc: mtd <linux-mtd@lists.infradead.org>
Subject: JFFS2 problem
Date: Tue, 29 Jul 2003 19:37:52 -0700	[thread overview]
Message-ID: <Law14-OE71l476U6QXm000089ef@hotmail.com> (raw)

Hi people,

Let me discuss the problem with you and kindly tell me what is wrong here.
any ideas are welcome
When we mount jffs2 if the mount process ends up after the Garbage
collection thread is said to be sleeping, the mount is successful
However if in the mount process, jffs2_write_supper is called after GC
thread is sleeping, It calls a function to erase blocks by the name
jffs2_erase_pending_blocks.

If the code enters this function, it goes on to the scheduler
by the call stack
jffs2_erase_pending_blocks
jffs2_erase_block.
c->mtd->erase() which is
..
cfi_amdstd_erase_varsize
do_erase_one_block
cfi_udelay
udelay
scehdule_timeout
schedule
switch_to macro
where the system Crashes

I tried one thing. Commenting the jffs2_erase_block call in
jffs2_erase_pending_blocks.
Now my mount works perfectly fine.... Very nicely
But  now erase and eraseall /dev/mtdx  crash.
the crash in erase or eraseall
The crash in erase or eraseall follows the same call stack.

Any ideas what might be wrong .


Vikram

             reply	other threads:[~2003-07-29 14:04 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-30  2:37 Vikram Mehta [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-08-10  8:29 JFFS2 problem Amit Kumar Sharma
2006-08-10  9:32 ` Artem B. Bityutskiy
2005-07-19 10:11 jffs2 problem Hinko Kocevar
2005-07-19 10:32 ` Artem B. Bityuckiy
2005-07-19 10:58   ` Hinko Kocevar
2005-07-19 11:05     ` Artem B. Bityuckiy
2005-07-19 11:45       ` Hinko Kocevar
2005-07-19 12:05         ` Artem B. Bityuckiy
2005-07-19 12:09           ` Steven Scholz
2005-07-19 12:21             ` Artem B. Bityuckiy
2005-07-19 12:19           ` Hinko Kocevar
2005-07-19 12:30             ` Hinko Kocevar
2004-06-09  6:57 zhang hao
2004-06-09  9:41 ` David Woodhouse
2004-03-22 16:18 JFFS2 problem Michael Palme
2002-07-11 13:29 JFFS2 Problem Frederic Giasson
2002-07-10 21:52 Snehaprabha
2002-07-11  7:05 ` David Woodhouse
2002-07-11 19:18   ` Snehaprabha
2002-07-11 19:32     ` Russ Dill
2001-09-03  8:49 jffs2 problem Wojciech Kromer
2001-04-30 22:03 JFFS2 Problem Jeff Smith
2001-05-03 21:55 ` David Woodhouse
2001-03-23  2:02 jffs2 problem Douglas S. J. De Couto
2001-03-23  8:37 ` David Woodhouse
2001-03-23 14:25   ` Douglas S. J. De Couto
2001-03-23 14:31     ` 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=Law14-OE71l476U6QXm000089ef@hotmail.com \
    --to=vm6580@hotmail.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=uclinux-dev@uclinux.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