Hi Charles, indeed I must have missed that topic in the mailing list. My sources seam to be a bit outdated. There's just the right patch in the latest sources... Thanks anyway, Stephan > -----Original Message----- > From: Charles Manning [mailto:manningc2@actrix.gen.nz] > Sent: Sonntag, 7. Dezember 2003 19:42 > To: Stephan Linke; Yaffs List > Subject: Re: waiting for callback after mtd->erase() failed > > > On Friday 05 December 2003 21:00, Stephan Linke wrote: > > Hi, > > > > there seames to be a problem in nandmtd_EraseBlockInNAND(). When > > mtd->erase() failed YAFFS is still expecting the callback to be called. But > > having a look at nand_erase() shows that the callabck is only called if the > > return value is zero. This must lead to a deadlock situation next time > > YAFFS tries to erase a block. > > > > How recent is your version of YAFFS? I think this problem was found and fixed > quite a while ago. > > The erase call is always synchonous on NAND and the callback is no longer > used. > > > > -- CHarles > > --------------------------------------------------------------------------------------- > This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org). > If mailing list membership is no longer wanted you can remove yourself from the list by > sending an email to yaffs-request@toby-churchill.org with the text "unsubscribe" > (without the quotes) as the subject. > > --------------------------------------------------------------------------------------- This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org). If mailing list membership is no longer wanted you can remove yourself from the list by sending an email to yaffs-request@toby-churchill.org with the text "unsubscribe" (without the quotes) as the subject.