All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Edward J. Lee" <noshel@idis.co.kr>
To: tglx@linutronix.de,  linux-mtd@lists.infradead.org
Subject: Re: A question on ECC
Date: Fri, 18 Apr 2003 18:47:09 +0900	[thread overview]
Message-ID: <3E9FC99D.5040200@idis.co.kr> (raw)
In-Reply-To: <200304141325.02451.tglx@linutronix.de>

Thomas Gleixner wrote:

>On Monday 14 April 2003 19:40, Edward J. Lee wrote:
>  
>
>>this->eccmode is indeed set to NAND_ECC_SOFT.
>>I guess my case is kind of 'extra-tricky'. I just found out another
>>weird thing,
>>that the warning messages complaining '...without ECC...' do NOT appear
>>when I'm 'writing' on the chip. Strange, eh. :'(
>>    
>>
>
>Can you put some debug output YAFFS ?
>
>--- yaffs_mtdif.c	8 Apr 2003 19:53:44 -0000	1.9
>+++ yaffs_mtdif.c	14 Apr 2003 10:23:39 -0000
>@@ -90,10 +90,12 @@
> 		if(dev->useNANDECC)
> 		{   // Careful, this call adds 2 ints to the end of the spare data.  
>Calling function should
>             // allocate enough memory for spare, i.e. 
>[YAFFS_BYTES_PER_SPARE+2*sizeof(int)].
>+	    	printk (KERN_DEBUG "YAFFS ReadChunk with real ECC_INFO\n");
>     		retval = 
>mtd->read_ecc(mtd,addr,dev->nBytesPerChunk,&dummy,data,spareAsBytes,&yaffs_oobinfo);            
> 		}
> 		else
> 		{
>+		    	printk (KERN_DEBUG "YAFFS ReadChunk with dummy ECC_INFO\n");
> 			retval = 
>mtd->read_ecc(mtd,addr,dev->nBytesPerChunk,&dummy,data,spareAsBytes,&yaffs_noeccinfo);
> 		}
> 	}
>
>
>  
>
I tried this last night, and I got a bunch of "YAFFS ReadChunk with real 
ECC_INFO".
when both reading/writing.
Nothing else, do we need more information?

  reply	other threads:[~2003-04-18  0:47 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-14  0:18 A question on ECC Edward Lee \(이장원\)
2003-04-14  2:01 ` Earl Manning
2003-04-14  5:13   ` Edward Lee (???)
2003-04-14  7:54     ` Thomas Gleixner
2003-04-14 17:40       ` Edward J. Lee
2003-04-14 10:03         ` Gerhard Uttenthaler
2003-04-14 11:17           ` Thomas Gleixner
2003-04-14 11:25         ` Thomas Gleixner
2003-04-18  9:47           ` Edward J. Lee [this message]
2003-04-18  8:49             ` Thomas Gleixner
2003-04-19  4:14               ` Edward Lee (???)
2003-04-19  7:31                 ` Thomas Gleixner
2003-04-14 14:06         ` Earl Manning
2003-04-14 15:26           ` Thomas Gleixner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E9FC99D.5040200@idis.co.kr \
    --to=noshel@idis.co.kr \
    --cc=linux-mtd@lists.infradead.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.