Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind1@gmail.com>
To: Kent Li <Kent.Li@radisys.com>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
	"HOUR Fréderic" <frederic.hour@safran-engineering.com>
Subject: Re: Corrupt empty space
Date: Tue, 11 Mar 2014 09:46:40 +0200	[thread overview]
Message-ID: <1394524000.6302.217.camel@sauron.fi.intel.com> (raw)
In-Reply-To: <aadf057c868c47128845c19d69933c46@BLUPR08MB103.namprd08.prod.outlook.com>

On Tue, 2014-03-11 at 05:31 +0000, Kent Li wrote:
> Frederic,
> 
> I'm not sure if this is the unstable bit issue, but I just resolved such issue by enhancing my Nand driver in both Uboot code and Linux code.
> 
> The main idea is:
> Read a page
> If ( ECC fail ) ;then
> 	Check the how many 0 bit there is.
> 	If ( 0 bit number > tolerance value) //tolerance value is depends on the ECC correctable bits.
> 		Print "Fail to recover by ECC"
> 	Else
> 		Force change the 0 bits to 1
> 	fi
> fi

Off the top of my head, this sounds reasonable. Too bad people people do
not just go and fix this in upstream...

-- 
Best Regards,
Artem Bityutskiy

  parent reply	other threads:[~2014-03-11  7:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-10 17:35 Corrupt empty space HOUR Fréderic
2014-03-11  5:31 ` Kent Li
2014-03-11  7:00   ` Gupta, Pekon
2014-03-11  7:46   ` Artem Bityutskiy [this message]
2014-03-11  8:21     ` Brian Norris
2014-03-21  7:18     ` Gupta, Pekon
2014-03-21  7:31       ` Artem Bityutskiy
2014-03-21  7:43         ` Ricard Wanderlof
2014-03-21  7:53           ` Artem Bityutskiy
2014-03-21  7:50         ` Gupta, Pekon
2014-03-21  8:13           ` Artem Bityutskiy

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=1394524000.6302.217.camel@sauron.fi.intel.com \
    --to=dedekind1@gmail.com \
    --cc=Kent.Li@radisys.com \
    --cc=frederic.hour@safran-engineering.com \
    --cc=linux-mtd@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox