Understanding jffs2 warning message

Jean-Philippe Francois jp.francois at cynove.com
Tue Jul 19 08:35:29 EDT 2005


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







More information about the linux-mtd mailing list