From: Thomas Gleixner <tglx@linutronix.de>
To: Steve Finney <saf76@earthlink.net>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Cannot erase nand flash
Date: Mon, 26 Jun 2006 19:19:20 +0200 [thread overview]
Message-ID: <1151342360.25491.424.camel@localhost.localdomain> (raw)
In-Reply-To: <26260868.1151341349996.JavaMail.root@elwamui-sweet.atl.sa.earthlink.net>
On Mon, 2006-06-26 at 10:02 -0700, Steve Finney wrote:
> >Date: Mon, 26 Jun 2006 10:52:43 +0200
> >From: peter.hosten@rwth-aachen.de
>
> > Unfortunately the mtd-util
> >(flash_eraseall, mtd_debug) is not able to erase the NAND-Flash. I get the
> >error "./flash_eraseall: /dev/mtd3: MTD Erase failure: Input/output error"
> >(see below)
>
> >I also dumped the NAND Flash ( see below); may it be possible that it does
> >not work because of the OBB data ( OOB Data: 00 00 00 00 00 00 00 00 00 00
> >00 00 00 00 00 00) ?
>
> I have seen that error with some versions of mtd-utils when the partition contains a
> bad block, and your dumped OOB would be interpreted as a bad block
> (no 0xFF in byte 5). But, in fact, the flash may have been successfully erased, and Linux
> works reasonably well with bad blocks, so you may be able to just ignore
> the "error".
Err, when oob data are all set to 0, there is something wrong.
tglx
prev parent reply other threads:[~2006-06-26 17:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-26 17:02 Cannot erase nand flash Steve Finney
2006-06-26 17:08 ` Josh Boyer
2006-06-26 17:19 ` Thomas Gleixner [this message]
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=1151342360.25491.424.camel@localhost.localdomain \
--to=tglx@linutronix.de \
--cc=linux-mtd@lists.infradead.org \
--cc=saf76@earthlink.net \
/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