[Yaffs] linux-2.6.13-rc6 and cvs yaffs

Charles Manning manningc2 at actrix.gen.nz
Fri Aug 26 23:50:03 BST 2005


On Friday 26 August 2005 18:15, Manav Gautam wrote:

I suggest you cut this down to a very basic test case:

1. Erase flash
2. mount
3. cat /proc/yaffs
4. ls -ial /mnt/yaffs >/mnt/yaffs/xx #make a very small file
5. cat /proc/fs
6. umount
7. mount
8. cat /proc/yaffs

> [root at Sarva 2.6.13]#cp /root/exp/nanddump.c /mnt/flash/
> yaffs_mknod: making oject for nanddump.c, mode 81a4 dev 0
> yaffs: Tnodes added
> Allocated block 1, seq  4097, 1536 left
> Writing chunk 0 tags 261 0
> Inside yaffs_WriteChunkWithTagsToNAND<4>Writing data without ECC to
> NAND-FLASH is not recommended
> Writing chunk 1 tags 261 1
> Inside yaffs_WriteChunkWithTagsToNAND<4>Writing data without ECC to
> NAND-FLASH is not recommended
> Writing chunk 2 tags 261 2
> Inside yaffs_WriteChunkWithTagsToNAND<4>Writing data without ECC to
> NAND-FLASH is not recommended
> Writing chunk 3 tags 261 3
> Inside yaffs_WriteChunkWithTagsToNAND<4>Writing data without ECC to
> NAND-FLASH is not recommended
> Writing chunk 4 tags 261 4
> Inside yaffs_WriteChunkWithTagsToNAND<4>Writing data without ECC to
> NAND-FLASH is not recommended
> Writing chunk 5 tags 261 5
> Inside yaffs_WriteChunkWithTagsToNAND<4>Writing data without ECC to
> NAND-FLASH is not recommended
> Writing chunk 6 tags 261 6
> Inside yaffs_WriteChunkWithTagsToNAND<4>Writing data without ECC to
> NAND-FLASH is not recommended
> Writing chunk 7 tags 261 7
> Inside yaffs_WriteChunkWithTagsToNAND<4>Writing data without ECC to
> NAND-FLASH is not recommended
> Writing chunk 8 tags 261 8
> Inside yaffs_WriteChunkWithTagsToNAND<4>Writing data without ECC to
> NAND-FLASH is not recommended
>

You need to have either yaffs of mtd doing the ecc.

You seem to have a lot of bad blocks which is consistent with an mtd/ecc 
problem.

-- Charles



More information about the yaffs mailing list