From: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
To: "Gupta, Pekon" <pekon@ti.com>
Cc: "Brian Norris" <computersforpeace@gmail.com>,
"linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
"Guido Martínez" <guido@vanguardiasur.com.ar>,
"Artem Bityutskiy" <dedekind1@gmail.com>
Subject: Re: [PATCH 3/3] nandtest: Introduce multiple reads & check iterations
Date: Mon, 5 May 2014 07:33:35 -0300 [thread overview]
Message-ID: <20140505103335.GF2873@arch.cereza> (raw)
In-Reply-To: <20980858CB6D3A4BAE95CA194937D5E73EACA5DB@DBDE04.ent.ti.com>
On 05 May 10:07 AM, Gupta, Pekon wrote:
> >From: linux-mtd [mailto:linux-mtd-bounces@lists.infradead.org] On
> >
> >The current nandtest performs a simple test which consists of:
> >
> > 1. erase block
> > 2. write data
> > 3. read and verify
> >
> >In order to improve the nandtest strength, this commit adds a new
> >parameter
> >to increase the number of "read and verify" iterations. In other
> >words,
> >the test now consists of:
> >
> > 1. erase block
> > 2. write data
> > 3. read and verify (N times)
> >
> >This seem to apply more pressure on a NAND driver's ECC engine and
> >has been
> >used to discover stability problems with an old OMAP2.
> >
> If you are just re-verifying "reads", then you may be testing unstable bits [1],
> which is not a valid driver's fault but a problem arising due to sudden power-cut.
> If you really want to test driver then iterate all the steps (erase -> write -> read)
> multiple times. Same as what is done in torture_peb() test.
> @@ drivers/mtd/ubi/io.c: torture_peb()
>
I'm sorry Pekon, but your comment makes no sense to me.
First of all, we're adding a new nandtest capability. The tool *already*
handles multiple erase/write/read cycle (by using the --passes parameter)
and one can already use it to stress drivers. This is not under discussion.
However, while testing the OMAP2 NAND driver provided in TI SKD 6.0.0
(the one with a v3.2 kernel) the nandtest was left running a large number
of times, using the --passes parameter each block was erase/write/read
lots and lots of times. So, *that* particular test passed without issues.
And still, since we were still observing instability when doing filesystem
operations we developed this new test, which consists in
erase/write/read/.../read.
Now, since each block is *erased* before the write/read/.../read loop, how is
this related to the unstable bit issue?
In case it's not clear, we never did *any* power-cutting, and still this
improved test quickly showed ECC read errors in the mentioned driver.
--
Ezequiel Garcia, VanguardiaSur
www.vanguardiasur.com.ar
next prev parent reply other threads:[~2014-05-05 10:34 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-28 13:14 [PATCH 0/3] nandtest: Allow multiple read & check iterations Ezequiel Garcia
2014-04-28 13:14 ` [PATCH 1/3] nandtest: Remove redundant check Ezequiel Garcia
2014-05-05 7:30 ` Artem Bityutskiy
2014-04-28 13:14 ` [PATCH 2/3] nandtest: Move the "read and compare" code to a function Ezequiel Garcia
2014-05-05 7:36 ` Artem Bityutskiy
2014-04-28 13:14 ` [PATCH 3/3] nandtest: Introduce multiple reads & check iterations Ezequiel Garcia
2014-05-05 7:35 ` Artem Bityutskiy
2014-05-05 9:56 ` Ezequiel García
2014-05-05 10:07 ` Gupta, Pekon
2014-05-05 10:33 ` Ezequiel Garcia [this message]
2014-05-05 10:58 ` Gupta, Pekon
2014-05-05 11:09 ` Artem Bityutskiy
2014-05-05 11:21 ` Gupta, Pekon
2014-05-05 12:50 ` Problems in Out of tree TI SDK omap2-nand driver (Re: [PATCH 3/3] nandtest: Introduce multiple reads & check iterations) Ezequiel Garcia
2014-05-05 18:12 ` Gupta, Pekon
2014-05-30 23:49 ` Brian Norris
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=20140505103335.GF2873@arch.cereza \
--to=ezequiel@vanguardiasur.com.ar \
--cc=computersforpeace@gmail.com \
--cc=dedekind1@gmail.com \
--cc=guido@vanguardiasur.com.ar \
--cc=linux-mtd@lists.infradead.org \
--cc=pekon@ti.com \
/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