public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Understanding jffs2 warning message
@ 2005-07-19 12:35 Jean-Philippe Francois
  2005-07-19 13:06 ` Artem B. Bityuckiy
  2005-07-20  7:30 ` Jean-Philippe Francois
  0 siblings, 2 replies; 5+ messages in thread
From: Jean-Philippe Francois @ 2005-07-19 12:35 UTC (permalink / raw)
  To: linux-mtd

Hi,

I am doing some test on a JFFS2 file system.
It is installed on a Macronix Flash 29LV320, with top boot block.
The part are cfi probed, and it works (almost) fine.

I am doing some tar/untar loop [1]. Every six or seven loop, I have a
serie of 8 warning messages :

Node totlen on flash (0xffffffff) != totlen in node ref (0x00001040)
Node totlen on flash (0xffffffff) != totlen in node ref (0x00001044)
Node totlen on flash (0xffffffff) != totlen in node ref (0x00001044)
Node totlen on flash (0xffffffff) != totlen in node ref (0x00001044)
Node totlen on flash (0xffffffff) != totlen in node ref (0x00001044)
Node totlen on flash (0xffffffff) != totlen in node ref (0x00001044)
Node totlen on flash (0xffffffff) != totlen in node ref (0x00001044)
Node totlen on flash (0xffffffff) != totlen in node ref (0x00000768)

I looked at the code, but I don't understand what is the meaning of
these messages.
Do you think it can be related to the Top Boot Block layout of this
flash (ie last 64 k sector is replaced by 8 8k sector) ?
I might be wrong, but I think the sector layout and erase size is taken
into account by CFI probing ?

Regards,

JP Francois

[1] : tar/untar loop

#!/bin/sh
i=0
while [ true ]
do
        tar -xzf /test.tar.gz
        rm /test.tar.gz
        sync
	echo "pass $i"
        md5sum /usr/test/etc/rc3
        tar -czf /test.tar.gz /usr/test/
        rm -r /usr/test/
        sync
        let i=i+1
done

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

end of thread, other threads:[~2005-07-21 14:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-19 12:35 Understanding jffs2 warning message Jean-Philippe Francois
2005-07-19 13:06 ` Artem B. Bityuckiy
2005-07-19 13:16   ` Jean-Philippe Francois
2005-07-20  7:30 ` Jean-Philippe Francois
2005-07-21 14:24   ` Jean-Philippe Francois

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