[prev in list] [next in list] [prev in thread] [next in thread] 

List:       yaffs
Subject:    Re: [Yaffs] linux-2.6.13-rc6 and cvs yaffs
From:       Charles Manning <manningc2 () actrix ! gen ! nz>
Date:       2005-08-26 22:50:03
Message-ID: 200508271050.03939.manningc2 () actrix ! gen ! nz
[Download RAW message or body]

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@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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic