public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Ferenc Havasi <havasi@inf.u-szeged.hu>
To: Suresh K <sureshkanniappan@gmail.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: JFFS2 Mount issue
Date: Tue, 23 Aug 2005 14:48:41 +0200	[thread overview]
Message-ID: <430B1B29.2010004@inf.u-szeged.hu> (raw)
In-Reply-To: <802ad8b60508230349683751c6@mail.gmail.com>

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

  parent reply	other threads:[~2005-08-23 12:48 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
2005-08-23 12:48   ` Ferenc Havasi [this message]
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=430B1B29.2010004@inf.u-szeged.hu \
    --to=havasi@inf.u-szeged.hu \
    --cc=linux-mtd@lists.infradead.org \
    --cc=sureshkanniappan@gmail.com \
    /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