* DOC will formatted again and again
@ 2002-08-02 8:20 Jens Nixdorf
2002-08-02 8:41 ` David Woodhouse
0 siblings, 1 reply; 2+ messages in thread
From: Jens Nixdorf @ 2002-08-02 8:20 UTC (permalink / raw)
To: linux-mtd
Hi,
i've send this posting some days before, but didn't get an answer and
also didn't found a solution somewhere else. Therefore i send my
question again:
--snip--
now, with your help, my DoC is acknowledged by the system. But the next
problem is underway ;)
Every time the system is booting, it try to format the DoC. It has two
bad blocks, and therefore i think it starts over and over again. How can
i get rid of it? nftl_format from the mtd-utils still doesnt work, it
brings still the message:
ioctl(MEMGETINFO): Inappropriate ioctl for device
Here is a part of my dmesg-output after a fresh boot:
NFTL driver: nftlcore.c $Revision: 1.82 $, nftlmount.c $Revision: 1.25 $
NFTL_notify_add for DiskOnChip 2000
NFTL_setup
Formatting block 1964
Error erasing at 0x1eb0000
Error while formatting block 1964
Formatting block 6028
Error erasing at 0x5e30000
Error while formatting block 6028
Cannot calculate an NFTL geometry to match size of 0x853c0.
Using C:1003 H:16 S:34 (== 0x85360 sects)
nftla:<6>NFTL_request
NFTL read request of 0x2 sectors @ 0 (req->nr_sectors == 8)
NFTL read request completed OK
NFTL_request
NFTL read request of 0x2 sectors @ 2 (req->nr_sectors == 6)
NFTL read request completed OK
NFTL_request
NFTL read request of 0x2 sectors @ 4 (req->nr_sectors == 4)
NFTL read request completed OK
NFTL_request
NFTL read request of 0x2 sectors @ 6 (req->nr_sectors == 2)
NFTL read request completed OK
nftla1
--snip--
Thanks in Advance, Jens
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: DOC will formatted again and again
2002-08-02 8:20 DOC will formatted again and again Jens Nixdorf
@ 2002-08-02 8:41 ` David Woodhouse
0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2002-08-02 8:41 UTC (permalink / raw)
To: Jens Nixdorf; +Cc: linux-mtd
jens.nixdorf@embesso.com said:
> i've send this posting some days before, but didn't get an answer and
> also didn't found a solution somewhere else. Therefore i send my
> question again:
You need to ensure the offending blocks are _marked_ as bad so we don't try
to format them again. Not sure why we don't do that anyway when the format
fails.
Where did you get nftl_format and how are you trying to run it?
--
dwmw2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-08-02 8:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-02 8:20 DOC will formatted again and again Jens Nixdorf
2002-08-02 8:41 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox