From: "Stephen Bardsley" <sbardsley@rlwinc.com>
To: "David Woodhouse" <dwmw2@infradead.org>
Cc: <linux-mtd@lists.infradead.org>
Subject: RE: bad block recovery
Date: Mon, 18 Mar 2002 08:31:53 -0500 [thread overview]
Message-ID: <PCEBLNKIDOKLBPDJECFEKEBDDHAA.sbardsley@rlwinc.com> (raw)
In-Reply-To: <29597.1016456563@redhat.com>
> sbardsley@rlwinc.com said:
> > My understanding is that the chip is now "unreliable", which I can
> > live with for now. Does unreliable mean I can still use the chip if I
> > can somehow format it?
>
> Yes. Blocks can go bad during normal operation, and we have to be able to
> deal with that case _anyway_. My nftl_format program can be made to do some
> primitive tests on each erase block, and mark the completely broken ones as
> such before formatting. But (for the benefit of the peanut gallery) you
> should _only_ use nftl_format if you have already lost your bad block list.
>
> --
> dwmw2
Dave, thanks for the prompt response.
I built the mtd/utils, and read the FAQ. All indications are that the bad
block table is gone. So I ran nftl_format and received the message
"Erase size not 8Kb - I'm confused". What exactly does this mean?
I took a quick look at the code and see that meminfo.erasesize is used to
scale various values. I don't see why 8Kb is a limit. I have found that
my chip's erase size to be 16Kb; is there any way for me to use nftl_format?
If necessary, I don't mind modifying the code, but I don't want to screw it
up. Any hints?
Steve
_____________________
Stephen Bardsley
RLW Inc.
Malta, NY
next prev parent reply other threads:[~2002-03-18 13:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-18 12:54 bad block recovery Stephen Bardsley
2002-03-18 13:02 ` David Woodhouse
2002-03-18 13:31 ` Stephen Bardsley [this message]
2002-03-18 13:52 ` David Woodhouse
2002-03-18 15:51 ` Stephen Bardsley
2002-03-18 16:09 ` Stephen Bardsley
-- strict thread matches above, loose matches on Subject: below --
2002-04-06 5:05 Sulung Chang
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=PCEBLNKIDOKLBPDJECFEKEBDDHAA.sbardsley@rlwinc.com \
--to=sbardsley@rlwinc.com \
--cc=dwmw2@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