public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Niraj Maheshwari <niraj.maheshwari@gmail.com>
To: Ferenc Havasi <havasi@inf.u-szeged.hu>
Cc: linux-mtd@lists.infradead.org
Subject: Re: SUMMARY patch for JFFS2
Date: Wed, 11 May 2005 11:15:13 +0530	[thread overview]
Message-ID: <f6d0cd0605051022453616327@mail.gmail.com> (raw)
In-Reply-To: <4280D2B6.20501@inf.u-szeged.hu>

On 5/10/05, Ferenc Havasi <havasi@inf.u-szeged.hu> wrote:
> Hi Niraj,
> 
> > It gets mounted..and then i completely full this partition ( 5.5 MB)
> > with data... then i  remove few of the files from this partition..then
> > i do a sync.
> > In the next reboot, i get to see lot of error while mounting this parition.
> 
> Can you send some more information about your flash chip? (erase block
> size, ...)


Flash chip is Intel W18 NOR Flash and erase block size is 0x10000,
Flash Size=16MB.

 
> If you also can send us JFFS2 image before it goes wrong and after that
> also would be very big help for us to investigate what the problem is.

I didn't understand..what do you mean by JFFS2 image. As i told in the
earlier mail that we are not flashing the JFFS2 image in the Flash.

Process is explained below.

1. Erase the JFFS2 partition ( 5.5 MB ) of the Flash by using some tool. 
2. Now boot the kernel in which JFFS2 Summary support is enabled.
3. After booting mount the JFFS2 parition from the flash in SDRAM.
    mount -t jffs2 /dev/mtdblock0 tmp/
4. Try to copy 6 MB of data in the tmp/ directory. As space available is 5.5MB,
    it will give Disk  Space Full error..and comes out.
5. "df" command shows 100% full on the mounted parition.
6. Remove few files to make it 80% in the mounted partition.
7. Run "sync" command.
8. Unmount the partition.
9. Reboot the system, then again mount it. You will get lot of errors.
   "Magic bitmask 0x1985 not found at 0x4f0018: 0x00b0 instead"
10. It does mount the partition but files/directories which i removed
in step-6, are
    still there.

Pl. note if i just disable the Summary Option in the Kernel,
everything work smoothly. I have thoroughly tested without Summary
Option.

Let me know if you need further information on this. I just want to
repeat again that the same behaviour is seen in latest MTD code as
well for JFFS3 with Summary Option. Without Summary options, JFFS3
also works fine on the same flash.

Thanks
Niraj
  

 
> Thanks,
> Ferenc
>

  reply	other threads:[~2005-05-11  5:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-10 11:52 SUMMARY patch for JFFS2 Niraj Maheshwari
2005-05-10 15:26 ` Ferenc Havasi
2005-05-11  5:45   ` Niraj Maheshwari [this message]
2005-05-13  8:39 ` Ferenc Havasi

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=f6d0cd0605051022453616327@mail.gmail.com \
    --to=niraj.maheshwari@gmail.com \
    --cc=havasi@inf.u-szeged.hu \
    --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