public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Manoj <manoj23@gmail.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: jffs2 filesystem/flash data integrity
Date: Sun, 19 Apr 2009 08:33:03 +0100	[thread overview]
Message-ID: <1240126383.3589.46.camel@macbook.infradead.org> (raw)
In-Reply-To: <1c3f4270904181955g28d25ef5nef3cc3001c0d3a06@mail.gmail.com>

On Sat, 2009-04-18 at 19:55 -0700, Manoj wrote:
> Hi,
> 
> I have a jffs2 filesystem on NAND flash. After mounting the jffs2 fs,
> I create a 2MB file and make a copy of it using "cp" command. When I
> do a "diff" between two files, the files are same. Now, I unmount the
> fs and re-mount it. When I do a "diff" between the two files, they
> differ. Looking at the difference, I see that around 4K of data in one
> file has 0s in it. This 4K hole can be anywhere in the file.  There is
> no issue with a 1MB file.

Please reproduce with 'CONFIG_JFFS2_FS_DEBUG=1', capturing all kernel
message over a serial console. Also, take an image of the flash before
you remount it. Let me have both.

-- 
dwmw2

  reply	other threads:[~2009-04-19  7:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-19  2:55 jffs2 filesystem/flash data integrity Manoj
2009-04-19  7:33 ` David Woodhouse [this message]
2009-04-20 18:27   ` Manoj
2009-04-21  9:15     ` David Woodhouse
2009-04-28  2:30       ` Manoj
2009-05-01  2:32         ` Manoj

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=1240126383.3589.46.camel@macbook.infradead.org \
    --to=dwmw2@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=manoj23@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