Re: JFFS2 Mount issue

Ferenc Havasi
2005-08-23T12:48:01Z

Hi,

> 1. Compiled the kernel with JFFS2 summary support. Created the JFFS2
>image with the following command.
> mkfs.jffs2 -d testjffs2 -e 0x40000 --pad=0x7800000 -o jffs2.img -v
>
> This comand created the JFFS2 image of size 120MB.
> Copied the jffs2.img to one of the partition in Hard Disk.
>Mounted
> the partition using blkmtd support. It takes around 27 seconds
>to
> mount.
>
> Why the mount time is high even if the kernel having the "JFFS2
>summary" support?.
>
>
Because there was no summary support in your image, so the original
scanning method had to be applied. Summary support means to process this
summary information and generate it automatically if you write date onto
the filesystem.

> 2. Created the JFFS2 image with summary information inbuilt support
>using sumtool2 utility.
> sumtool2 -e 0x40000 -i jffs2.img -o jffs2-sum.img
>
> Copied the jffs2-sum.img to other partition in Hard Disk.
>Mounted
> the partition using blkmtd support. It takes around 6 seconds
>to
> mount.
>Another problem is that "Segmentation fault" occurs when copying a
>directory of size 10MB to JFFS2 partition after mount.
>
>Following are the error posted when copying the directory.
>
>
Can you send me more information about it? For example kernel log with
debug level 1. And please make sure that you use the latest mtd snapshot
with newest summary patch - use only erase block summary, centralized
summary is now under construction.

It would be also good to know that if it works without summary.

Another question: is there any reason that you use 2.6.10 instead of the
newest kernel?

Bye,
Ferenc