Skip to contentSkip to conversation

JFFS2 summary error!

DISCUSSION Robert Liu 2 participants 3 messages Feb 10, 2006 Memory technology devices (MTD)

lore
Share & tools
lore

Robert Liu

author
#0 lore raw

Hi All,

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 summary support. 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 nodetype 02E0. This looks like a endian problem.
Would someone help me to debug?

Regards,
Robert

#1 lore raw

Hi Robert!

We have developed the summary support but we haven't found this kind of error before. Please send me the kernel log with JFFS2 debug level 1 and the dump of the wrong fs image. I will try to reproduce/fix the problem.

Thanks:
Zoltan

Quoted 30 lines · Robert Liu

Hi All,

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 summary support. 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 nodetype 02E0. This looks like a endian problem.
Would someone help me to debug?

Regards,
Robert

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

author
#2 lore raw

Hi Zoltan,

The attachment is the kernel log (recorded by busybox syslogd). But, I don't know how to dump the fs image.

Would you tell me how to do that?

Thanks,
Robert

Quoted 8 lines · Zoltan Sogor

Hi Robert!

We have developed the summary support but we haven't found this kind of error before. Please send me the kernel log with JFFS2 debug level 1 and the dump of the wrong fs image. I will try to reproduce/fix the problem.

Thanks:
Zoltan