JFFS2 Stability problem!
Frederic Giasson
fgiasson at mediatrix.com
Mon Jul 16 10:34:40 EDT 2001
Here are Vipin's debug terminal log:
<snip>
Message from syslogd at elan at Sun Jul 15 12:27:26 2001 ...
elan kernel: 4c6d10 is obsolete... skipping
Message from syslogd at elan at Sun Jul 15 12:27:56 2001 ...
elan kernel: 00000, bad_size 0x00000000 (total 0x00800000 of 0x00800000)
Message from syslogd at elan at Sun Jul 15 12:28:17 2001 ...
elan kernel: 29298, erasing_size 0x00000000, bad_size 0x00000000 (total
0x00800000 of 0x00800000)
Message from syslogd at elan at Sun Jul 15 12:29:59 2001 ...
elan kernel: 31ba0c is obsolete... skipping
Message from syslogd at elan at Sun Jul 15 12:30:30 2001 ...
elan kernel: nextblock->free_size 0x0003b150
<snip>
Message from syslogd at elan at Sun Jul 15 15:08:44 2001 ...
elan kernel: 006c0000, nextblock->free_size 0x000366b8
Message from syslogd at elan at Sun Jul 15 15:08:44 2001 ...
elan kernel: 000000, bad_size 0x00000000 (total 0x00800000 of 0x00800000)
Message from syslogd at elan at Sun Jul 15 15:10:07 2001 ...
elan kernel: 00, bad_size 0x00000000 (total 0x00800000 of 0x00800000)
Message from syslogd at elan at Sun Jul 15 15:10:12 2001 ...
elan kernel: 00000, bad_size 0x00000000 (total 0x00800000 of 0x00800000)
P.S. I did not get those errors on my terminal, though.
Frédéric Giasson
-----Original Message-----
From: Vipin Malik [mailto:vipin.malik at daniel.com]
Sent: Monday, July 16, 2001 10:37 AM
To: David Woodhouse
Cc: Frederic Giasson; linux-mtd at lists.infradead.org; jffs-dev at axis.com;
Jean-Denis Boyer
Subject: Re: JFFS2 Stability problem!
David Woodhouse wrote:
> fgiasson at mediatrix.com said:
> > I found a stability problem that looks like a flash space leak
while
> > running intense test case with JFFS2.
>
> Definitely looks like a leak. Does the space come back after an unmount
and
> remount?
[root at elan /root]# rm -rf /mnt/jffs2/*
[root at elan /root]# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/mtdblock1 8192 2544 5648 31% /mnt/jffs2
[root at elan /root]# umount /mnt/jffs2/
[root at elan /root]#
[root at elan /root]# mount -t jffs2 /dev/mtdblock1 /mnt/jffs2/
[root at elan /root]#
[root at elan /root]# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/mtdblock1 8192 1284 6908 16% /mnt/jffs2
[root at elan /root]#
Hence Yes!
Vipin
P.S. I also got some strange (debug type) messages from JFFS2 on the
terminal I
was running the program at, but NOT on the serial console (why?)
I sent those to Frederic. I don't have access to those here, but maybe
Frederic
can forward them to you. It may help decipher what is going on.
More information about the linux-mtd
mailing list