[Yaffs-archive] Re: [yaffs] an ECC problem (yet)

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: Edward J. Lee, yaffs
Subject: [Yaffs-archive] Re: [yaffs] an ECC problem (yet)
Edward
Something else...

Make sure you have not configured CONFIG_YAFFS_USE_OLD_MTD


On Thu, 03 Apr 2003 17:05, Charles Manning wrote:
> On Fri, 04 Apr 2003 00:07, Edward J. Lee wrote:
> > Hi, guys.
> >
> > I still can't get rid of those annoying messages saying
> > 'Reading data from NAND FLASH without ECC is not recommended'
> >
> > I'm using YAFFS as a kernel file system and did everything the doc told
> > me to.
> > (Except for the option CONFIG_MTD_NAND_ECC, as
> > [linux]/drivers/mtd/nand/Makefile has been
> >  changed like...
> >  obj-$(CONFIG_MTD_NAND)      += $(nandobjs-y)
> >  obj-$(CONFIG_MTD_NAND)      += nand_ecc.o,
> >  so the value CONFIG_MTD_NAND_ECC no longer exists! )

> >
> > Well, I'm wondering if there is something to do with the MTD options,
> > but I can't figure it out.
> >
> > * Sorry for making such a fuss, I feel so stupid.
>
> You're getting the messages because the mtd NAND layer is not providing the
> ECC and is warning you.
>
> I think this is because the docs are a bit stale. In the old days (when the
> doc was written) you did not use the nand's ECC. Instead you used YAFFS's
> internal ECC.
>
> Now the recommended practice for YAFFS on Linux (with the latest mtd NAND)
> is to use:
>
> CONFIG_YAFFS_USE_NANDECC.
>
> This tells YAFFS to not use its own ECC, but instead ask the mtd NAND to
> do the ECC. This should also make the messages go away.
>
>
> See if that helps.
>
> -- Charles
>
>
> ---------------------------------------------------------------------------
>------------ This mailing list is hosted by Toby Churchill open software
> (www.toby-churchill.org). If mailing list membership is no longer wanted
> you can remove yourself from the list by sending an email to
> with the text "unsubscribe" (without the
> quotes) as the subject.


---------------------------------------------------------------------------------------
This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from the list by
sending an email to with the text "unsubscribe"
(without the quotes) as the subject.