Nand flash: hang after erase

David Woodhouse dwmw2 at
Thu Jan 24 08:23:39 EST 2002

eclarke at said:
> I'm playing with nandtest on an mtd partition, and found it hangs
> after it has erased the first block. Putting in some debug I find that
> it gets as far as the schedule call in mtdchar.c mtd_ioctl line 324

What is erase->state? If the erase attempt has completed, either
successfully or otherwise, it should be one of the two values which 
prevents the call to schedule(). 


More information about the linux-mtd mailing list