JFFS2 summary error!
robertliu at wiscore.com
Fri Feb 10 01:55:28 EST 2006
I am using Linux-2.6.10 with the lastest CVS MTD codes.
My device is a Intel IXP E.V. board, configured as a big-endian machine,
with 8M NOR flash and 32M NAND flash.
I can mount a JFFS2 partition correctly without enabling the JFFS2
But, I usually got warning messages, when turn on the JFFS2 summary support.
(I don't know this problem occurs unders what condition)
The following steps are used to test:
1. flash_eraseall /dev/mtdblock/3
2. mount -t jffs2 /dev/mtdblock/3 /mnt
3. do some operations (mkdir, touch, dd, ...)
4. umount /mnt
5. mount -t jffs2 /dev/mtdblock/3 /mnt
then the warning (error!?) meesage showed:
JFFS2 warning: (86) jffs2_sum_process_sum_data: Unsupported node type
found in summary! Exiting...
mount: Mounting /dev/mtdblock/3 on /mnt failed: Input/output error
I added some debug code and found the warrnig always occured with
This looks like a endian problem.
Would someone help me to debug?
More information about the linux-mtd