[Yaffs] Re: Writing a single file marks entire device as bad

Nick Bane nick at cecomputing.co.uk
Thu Jul 21 15:18:07 BST 2005


> Now, new strange things are happening!
> I enabled "CONFIG_MTD_NAND_VERIFY_WRITE=y" in the kernel, and suddenly 
> it begun working!!
Odd but gratifying.

> However, I get these kernel messages (alot) whenever I try to read/write 
> anything:
> 
> === 8< 8< 8< ===
>     Writing data without ECC to NAND-FLASH is not recommended
>     Writing data without ECC to NAND-FLASH is not recommended
>     Writing data without ECC to NAND-FLASH is not recommended
>     Writing data without ECC to NAND-FLASH is not recommended
>     Reading data from NAND FLASH without ECC is not recommended
> 
> I guess these must be from YAFFS...
No, that is normal. If MTD is asked not to do its own ECC it whinges like mad. Comment it out.
> 
> Is there really no ECC running now? I thought that config-option for MTD 
> did the job?
You should only do this if yaffs is doing the ECC instead.

> 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.9.2/53 - Release Date: 20/07/2005




More information about the yaffs mailing list