JFFS2 wrong data CRC message

Jörn Engel joern at lazybastard.org
Wed May 2 09:51:33 EDT 2007


On Wed, 2 May 2007 14:06:24 +0100, David Woodhouse wrote:
> On Wed, 2007-05-02 at 16:02 +0300, Adrian Hunter wrote:
> > Unfortunately I started with an empty flash and have not rebooted at all.
> > 
> > I've been running stress tests constantly for about a week, and this is
> > the only JFFS2 message.  The tests do unmount and remount, but there are
> > no error messages.
> > 
> > So unless you can offer an alternative explanation I am going to have to
> > assume it is an error.
> 
> That's certainly possible -- and in fact is why I've resisted the
> persistent requests _not_ to print that message.

You could add a new node type to mark "safe" crc errors.  Something
roughly like this:
- Print error for crc errors, unless the next node in eraseblock is a
  "known crc error" node.
- Write "known crc error" node on mount for any node that is the last in
  an eraseblock if there still is enough room to write further data.

That should be able to eliminate most false positive.  If you care.

Jörn

-- 
The wise man seeks everything in himself; the ignorant man tries to get
everything from somebody else.
-- unknown




More information about the linux-mtd mailing list