This is just a minor addition; the trace message for when yaffs marks a block bad doesn't have a newline on the end which causes output like: nand_erase: attempt to erase a bad block at page 0x000223e0 **>> Erasure failed 4320 yaffs: marking block 4319 bad<4>**>> Block 4320 retired The attached patch fixes that. Also this set of messages is a bit confusing; the off by one appears to be due to yaffs_MarkBlockBad taking account of the dev->blockOffset field, but why does it do so when the other functions don't seem to? J. -- Another bad idea: Skinny dipping in the Elder Brain Pool. This .sig brought to you by the letter V and the number 10 Product of the Republic of HuggieTag