public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* corruption of JFFS2 filesystem, csize is set to 0 after moving a block
@ 2007-04-26 14:54 Hans-Christian Egtvedt
  2007-04-26 15:43 ` David Woodhouse
  0 siblings, 1 reply; 6+ messages in thread
From: Hans-Christian Egtvedt @ 2007-04-26 14:54 UTC (permalink / raw)
  To: linux-mtd

Hello,

When I stress the JFFS2 filesystem by copying files around on the root
(/) I end up with a corrupted filesystem after a reboot. The system just
hangs after the kernel is done booting:
Freeing init memory: 56K (90000000 - 9000e000)

Where I should get:
init started:  BusyBox v1.4.2 (2007-04-17 15:34:55 CEST) multi-call
binary
etc...

I copy and remove files until I reach "cp: write error: No space left on
device"

I extracted the filesystem from my flash device (Atmel AT49BV642D) and
did a dump. Here I can see that some of the nodes have a csize set to 0
for vital files such as libdl-0.9.28.so.

Any pointers to where I should start debugging, what can go wrong?

I can provide jffs2dump's, logs or images if needed.

-- 
Best regards
Hans-Christian Egtvedt

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

end of thread, other threads:[~2007-04-27 11:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-26 14:54 corruption of JFFS2 filesystem, csize is set to 0 after moving a block Hans-Christian Egtvedt
2007-04-26 15:43 ` David Woodhouse
2007-04-27  9:13   ` Hans-Christian Egtvedt
2007-04-27  9:31     ` Haavard Skinnemoen
2007-04-27  9:46     ` David Woodhouse
2007-04-27 11:52       ` Hans-Christian Egtvedt

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