public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* squashfs and NAND flash
@ 2006-04-25 10:02 Anil Gupta
  2006-04-25 10:26 ` Andy Hawkins
  2006-04-25 12:21 ` Vitaly Wool
  0 siblings, 2 replies; 8+ messages in thread
From: Anil Gupta @ 2006-04-25 10:02 UTC (permalink / raw)
  To: linux-mtd

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?

Thanks

-Anil

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-04-28 12:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox