From: Suresh K <sureshkanniappan@gmail.com>
To: linux-mtd@lists.infradead.org
Subject: Re: JFFS2 Mount issue
Date: Tue, 23 Aug 2005 17:16:01 +0530 [thread overview]
Message-ID: <802ad8b6050823044641e0180d@mail.gmail.com> (raw)
In-Reply-To: <802ad8b60508230349683751c6@mail.gmail.com>
Hai,
I solved the JFFS2 mount time issue. The kernel version is 2.6.10. I
have faced following problems after successful mounting.
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?.
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.
JFFS2: jffs2_sum_write_sumnode(): empty summary info!!!
--------------[ cut here ]-----------
kernel bug at fs/jffs2/summary.c:572
invalid operand: 0000 [#1]
....
....
Segmentation fault
Segmantation fault occured only in 2.6.10 kernel but not with 2.4.x kernel.
This is occured in both partitions. Kindly help me in this regard.
How to solve this problem.
Regards,
K. Suresh
On 8/23/05, Suresh K <sureshkanniappan@gmail.com> wrote:
> Hai,
>
> I am looking for reliable compressed R/W file system. I came to know
> that JFFS2 is the reliable one. I started implementing the same in
> 2.4.26 kernel. Created a JFFS2 image of 80MB and copied to one of
> partition in Hard Disk. I am trying to mount a 80MB JFFS2 image in
> Hard disk. The time taken to mount the JFFS2 image is 30 seconds.
>
> I tried with 2.6.10 kernel also. The time taken to mount the JFFS2
> image is too large. Also i am not able to create multiple JFFS2
> partition.
> cp jffs2.imf /dev/mtdblock0 - Copied the JFFS2 image to one
> partition in Hard Disk
> cp jffs2.imf /dev/mtdblock1 - cannot create regular file
> '/dev/mtdblock1' : No Such Device or Address
>
> How cai reduce the more mounting time. Kindly help me in this regard.
>
> Regards,
> K. Suresh
>
>
next prev parent reply other threads:[~2005-08-23 11:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-23 5:43 JFFS2 Mount issue Suresh K
2005-08-23 10:49 ` Suresh K
2005-08-23 11:46 ` Suresh K [this message]
2005-08-23 12:48 ` Ferenc Havasi
2005-08-24 7:52 ` Suresh K
2005-08-24 15:09 ` Ferenc Havasi
2005-08-25 7:14 ` Suresh K
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=802ad8b6050823044641e0180d@mail.gmail.com \
--to=sureshkanniappan@gmail.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox