Suspend Erase bug in cfi_cmdset0001.c

Joakim Tjernlund joakim.tjernlund at lumentis.se
Wed Feb 13 02:56:56 EST 2002


Hi 

I have been hit by a bug in the Erase Suspend logic in do_read_onechip().
If I mount a fresh JFFS2 FS(generated by mkfs.jffs2) I end up with one or two
partially erased sectors(JFFS2 complains: Newly-erased block contain word 0xffffbfff 
at offset xxxx). If I force it to sleep(goto sleep;) instead, it works.
I have tried to figure out whats wrong with the Erase suspend logic 
but no success so far.

I am using Intel Strata Flash, 28F128J3A in 16 bit mode, interleaved to fit 
on a 32 bit bus. CPU: MPC860

 Jocke





More information about the linux-mtd mailing list