public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [JFFS2] Garbage collector says "Checked all inodes but still 0x5e3d0 bytes of unchecked space?"
@ 2008-04-08 14:59 Fabrice GIRARDOT
  2008-04-09  4:48 ` Heiko Schocher
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice GIRARDOT @ 2008-04-08 14:59 UTC (permalink / raw)
  To: linux-mtd


Hi all.

I'm using a JFFS2 root filesystem on a 2.6.12 Linux kernel,
powered by an ARM9 cpu.
My storage hardware is a 128 MBytes NAND device.

Sometimes, after several unclean system resets, JFFS2's garbage
collector outputs this message :
"Checked all inodes but still 0x5e3d0 bytes of unchecked space?
  kernel BUG at fs/jffs2/gc.c:139!"

As far as I understand, the GC has checked the last inode,
but has still some unchecked space. Since this should not occur,
the code in jffs2's file gc.c reaches a "BUG()" statement.

Some search on this problem did not provides me with much
information.
I found a message in 2002 where the problem could be an hardware
problem (same data not read twice identically), and an other
one sent in 2006 where the "unchecked_size" may be badly computed.

I don't know which exact version of jffs2 I'm using ; my gc.c
file is version 1.144 on 21-dec-2004, which may look a bit old.
Unfortunately, I can not switch to a newer kernel version.

Does somebody has more information on this problem ?
Is it a bug in jffs2 and/or its GC ? Is it fixed ?
Could it be an harwdare problem, confusing jffs2 ?

Any information is welcome.


Regards,

-- 
Fabrice GIRARDOT

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [JFFS2] Garbage collector says "Checked all inodes but still 0x5e3d0 bytes of unchecked space?"
  2008-04-08 14:59 [JFFS2] Garbage collector says "Checked all inodes but still 0x5e3d0 bytes of unchecked space?" Fabrice GIRARDOT
@ 2008-04-09  4:48 ` Heiko Schocher
  0 siblings, 0 replies; 2+ messages in thread
From: Heiko Schocher @ 2008-04-09  4:48 UTC (permalink / raw)
  To: linux-mtd

Hello Fabrice,

Fabrice GIRARDOT fgirardot at besancon.parkeon.com Tue Apr 8 10:59:23 EDT 2008 wrote:
> Sometimes, after several unclean system resets, JFFS2's garbage
> collector outputs this message :
> "Checked all inodes but still 0x5e3d0 bytes of unchecked space?
>  kernel BUG at fs/jffs2/gc.c:139!"
[...]
> I don't know which exact version of jffs2 I'm using ; my gc.c
> file is version 1.144 on 21-dec-2004, which may look a bit old.
> Unfortunately, I can not switch to a newer kernel version.

Thats bad ...

> Does somebody has more information on this problem ?
> Is it a bug in jffs2 and/or its GC ? Is it fixed ?

try the following Patch:

http://lists.infradead.org/pipermail/linux-mtd-cvs/2006-May/005354.html

I had the same Problem, and the above Patch fixed it.
But the "prefered" way should be, to update your kernel.

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-09  6:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-08 14:59 [JFFS2] Garbage collector says "Checked all inodes but still 0x5e3d0 bytes of unchecked space?" Fabrice GIRARDOT
2008-04-09  4:48 ` Heiko Schocher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox