From: Kyungmin Park <kyungmin.park@samsung.com>
To: Artem Bityutskiy <dedekind@infradead.org>
Cc: linux-mtd <linux-mtd@lists.infradead.org>
Subject: Eraseblocks torture: OneNAND results
Date: Fri, 08 Dec 2006 07:42:25 +0000 (GMT) [thread overview]
Message-ID: <6640129.409201165563759259.JavaMail.weblogic@ep_ml20> (raw)
Hi Artem,
> 2. There is a "check" module option which is enabled by default. It
> slows the test down considerably. So I recommend to disable checking at
> first, run the test for, say 4 million erase cycles, then re-run it with
> checking enabled. So that you first screw up the eraseblocks, then you
> start checking data. There is a handy "cycles_count" option.
>
> 3. By default the test tortures 32 eraseblocks. You may configure this
> via a module parameter. Just glance inside of the torture.c.
Yes I already modified the source for my environment. and also add check initial bad block.
in tort_init()
while (1) {
int i;
for(i = eb; i < eb + ebcnt; i++) {
err = ebtest(i);
/* Skip initial bad block */
if (err == -EFAULT)
continue;
if (err)
break;
}
in ebtest()
err = mtd->erase(mtd, &ei);
if (unlikely(err)) {
printk(PRINT_PREF "error %d while erasing EB %d\n", err, ebnum);
/* Initial bad block case */
if (err == -EIO)
err = -EFAULT;
return err;
}
> P.S.: Test git: git://git.infradead.org/~dedekind/torture.git
I already downloaded it.
After weekend test. I will send the results.
Thank you,
Kyungmin Park
next reply other threads:[~2006-12-08 7:42 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-08 7:42 Kyungmin Park [this message]
2006-12-08 8:08 ` Eraseblocks torture: OneNAND results Artem Bityutskiy
2006-12-08 13:30 ` Artem Bityutskiy
-- strict thread matches above, loose matches on Subject: below --
2006-12-22 7:58 Kyungmin Park
2006-12-22 9:22 ` Artem Bityutskiy
2006-12-15 5:02 Kyungmin Park
2006-12-15 7:54 ` Enrico Migliore
2006-12-15 8:44 ` Ricard Wanderlof
2006-12-21 15:30 ` Jarkko Lavinen
2006-12-11 8:31 Kyungmin Park
2006-12-13 13:46 ` Artem Bityutskiy
2006-12-08 2:00 Kyungmin Park
2006-12-08 6:19 ` Artem Bityutskiy
2006-12-08 13:43 ` Ricard Wanderlof
2006-12-08 13:52 ` Artem Bityutskiy
2006-12-07 14:30 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=6640129.409201165563759259.JavaMail.weblogic@ep_ml20 \
--to=kyungmin.park@samsung.com \
--cc=dedekind@infradead.org \
--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