[Yaffs] Yaffs2 create bad blocks?

Sergey Kubushyn ksi at koi8.net
Sun Jan 8 20:21:48 GMT 2006


On Sun, 8 Jan 2006, Jon Masters wrote:

> On 1/6/06, Chun Kit Edwin Lau <edwin at micronedge.com> wrote:
>
> >         I have two questions.  First, I lost all the files when I
> umount a
> > yaffs2 partition.  I read somewhere in this mailing list that it was
> an
> > known issue from mtd.  May I know if there is a quick fix for it?
> > Second, I tried to dd a file containing all zeros of ~155MB to the
> > yaffs2 partition.
>
> Can we /please/ just get the MTD layer to export some kind of version
> dependency that YAFFS can use to determine whether it will work
> against a particular release? It would be simple to then have a
> blacklist of known-bad MTDs or the reverse (which would be better).

That's easy and doesn't require exporting anything. It does NOT work with
ANY stock MTD. One patch makes it work with ALL of MTD versions.

Unfortunately YAFFS guys do NOT want to take this patch, probably because
I'm not among their favorite worshippers...

---
******************************************************************
*  KSI at home    KOI8 Net  < >  The impossible we do immediately.  *
*  Las Vegas   NV, USA   < >  Miracles require 24-hour notice.   *
******************************************************************




More information about the yaffs mailing list