public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Vitaly Wool <vwool@ru.mvista.com>
To: Anil Gupta <anilgupta9@hotmail.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: squashfs and NAND flash
Date: Tue, 25 Apr 2006 16:21:09 +0400	[thread overview]
Message-ID: <444E1435.4030208@ru.mvista.com> (raw)
In-Reply-To: <BAY19-F25626592BB956CC2B586828BBF0@phx.gbl>

Hi,

Anil Gupta wrote:
> Hi,
> We have an embedded system with a squashfs rootfs in NAND flash. The
> rootfs is mounted using the RO mtdblock device. The rootfs is
> occasionally upgraded, writing the entire squashfs
> image into flash using nandwrite.
>
> We found that if the NAND flash has a bad sector, the bad sector is
> correctly skipped when the image is written but fs access errors occur
> when the fs is mounted. Some debugging shows that the filesystem is
> off by 1 when reading flash sectors beyond the bad sector.
>
> We are using squashfs-2.1, kernel 2.4.31, mtd snapshot 20051003.
>
> Should mtd handle bad blocks when using squashfs?
Please see 
http://lists.infradead.org/pipermail/linux-mtd/2004-May/009695.html.
It's outdated, but I don't think it's hard to make it up-to-date.
if it's of interest to many people, I can even do that :)

Vitaly

      parent reply	other threads:[~2006-04-25 12:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-25 10:02 squashfs and NAND flash Anil Gupta
2006-04-25 10:26 ` Andy Hawkins
2006-04-27 21:33   ` Russ Dill
2006-04-27 23:35     ` Phillip Lougher
2006-04-28  1:06       ` Josh Boyer
2006-04-28 12:12         ` Phillip Lougher
2006-04-28 12:36           ` Josh Boyer
2006-04-25 12:21 ` Vitaly Wool [this message]

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=444E1435.4030208@ru.mvista.com \
    --to=vwool@ru.mvista.com \
    --cc=anilgupta9@hotmail.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