[Yaffs] Bad block with CONFIG_YAFFS_USE_OLD_MTD

Charles Manning Charles.Manning@trimble.co.nz
Thu, 17 Mar 2005 10:17:09 +1300


99% of such problems are caused by some incompatability with the MTD.

Suggestions:

1) Fix the mtd. Make sure what you are using is more up to date.
2) Make sure that you configure consistent ECC policies.=20

-- Charles


> -----Original Message-----
> From: yaffs-admin@stoneboat.aleph1.co.uk=20
> [mailto:yaffs-admin@stoneboat.aleph1.co.uk] On Behalf Of=20
> hariharan veerappan
> Sent: Thursday, 17 March 2005 3:02 a.m.
> To: yaffs@stoneboat.aleph1.co.uk
> Subject: [Yaffs] Bad block with CONFIG_YAFFS_USE_OLD_MTD
>=20
>=20
> Hi=20
>     TRY with YAFFS MODULE for linux 2.4.18 kernel
>=20
>     compiled the yaffs with CONFIG_YAFFS_USE_OLD_MTD options=20
> using arm linux gcc cross compiler 2.95.3 with kernel 2.4.18=20
> the module insertion and mount operations are successful.
>=20
> When i copy the file in the yaffs mounted directory, DMESG=20
> shows the Bad block error a below,
>=20
> **>>ecc error unfixed on chunk 4775:0
> **>>Block 149 marked for retirement
> **>>ecc error unfixed on chunk 4776:0
> **>>Block 149 marked for retirement
>=20
> when i keep on copying the file into mounted area, i end up=20
> with flash of total bad block
>=20
> please advise to fix=20
>=20
> Hariharan.v.
>=20
> _______________________________________________
> yaffs mailing list
> yaffs@stoneboat.aleph1.co.uk=20
> http://stoneboat.aleph1.co.uk/cgi-> bin/mailman/listinfo/yaffs
>=20