Thread (1 message) 1 message, 1 author, 2002-05-31

Re: cramfs root filesystem corruption

From: Wolfgang Denk <hidden>
Date: 2002-05-31 06:44:08

In message [ref] you wrote:
The cramfs image is in flash, mounted as root via mtd blockdevice.

Typically the error occurs during flash reprogramming ( using mtd char device
'/dev/mtd0' ) ...during/after flash programming the cramfs filesystem 'loses'
information ( files disappear ).  The errors from syslog are 'error during
decompression', typically the error numbers ( from 'linux/zlib_fs.h' ) are
Z_BUF_ERROR, for the first error,  and Z_DATA_ERROR for the rest.  I've got
Ummm... can you please explain EXACTLY what you are doing? You have a
cramfs in flash, mounted as root, and you are erasing and overwriting
the SAME cramfs partition WHILE RUNNING FROM IT?

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Wisdom is one of the few things that looks bigger the further away it
is.                               - Terry Pratchett, _Witches Abroad_

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help