Article View: comp.sys.atari.st
Article #4171Re: HDX Bad sector list
From: Tomas Felner
Date: Wed, 20 Sep 1989 17:40
Date: Wed, 20 Sep 1989 17:40
54 lines
2929 bytes
2929 bytes
ONM07@DMSWWU1A.BITNET (Operator Julian) writes:
>Is there any documentation about the bad sector list format used by
>HDX? What is the meaning of the first 6 bytes? Any help appreciated!
I tried to figure out this myself some time ago, and even posted to the
net, but no reply so far. However, I was able to decipher some of it
myself. Here is my original posting from last march:
_________________________
I just added a new harddisk to my selfbuilt harddisk-kit. The disk has
some hard errors on the media as indicated on the cover of the disk. To
map them out, I formatted it with the HDX 2.0 from Atari, which has a
Markbad facility that generates a bad sector list (BSL). However, it
didn't find all hard errors, and after running 'Markbad' a few times, I
got several different BSLs. Two entries at the end of the bootblock
indicate the first sector and the number of contiguous sectors holding
the BSL. The BSL looks like this (3 real examples):
000002 550000 002DC8 002D2C ( 2 bad sectors )
000003 AB0000 002DC8 002D2C 0003A6 ( a 3rd bad sector )
000003 030000 00123F 002DC8 002D2C ( different ordering and
another bad sector)
It seems that the first entry indicates the number of bad sectors, and
the third, forth, ... hold the number of the bad sectors. But what does
the second entry mean ? Is it a checksum ? How to calculate it ???
Since this is the format used by Atari, I guess it will be 'official'.
If I know what the second entry means, I can build the BSL by hand,
adding the bad sectors not found by the formatter (you never know !).
But how about handling that BSL. Does the TOS or any driver support it
or even look at it ? Any comments ? Atari ?
Or even better: the format-command of the Adaptec 4000 controller supports
adding a BSL, so that the bad sectors are mapped out at format-time.
Doing so, you don't have to worry about them any more, because they are
not accessible. Is there any formatter around that accepts such a BSL as
parameter ?
BTW, how did you, netlanders, map out bad sectors before (or now) ? I
was lucky not to have any bad sectors on my other harddisk so far.
--------------------------
How about HDX 3.01 and the BSL ??
Tomas
--
Tomas Felner
Modula-2 CASE Systems AS | Internet: tomas@m2cs.uu.no
Maridalsveien 139 | Phone: +47 2 379784
N-0461 Oslo 4, Norway | FAX: +47 2 356448
Technical Details
Message-ID:
<1989Sep20.174011.20782@m2cs.uu.no>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!mcsun!sunic!ifi!m2cs.uu.no!tomasReferences:
<8909180954.AA27645@freya.math.dmswwu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!mcsun!sunic!ifi!m2cs.uu.no!tomas From: tomas@m2cs.uu.no (Tomas Felner) Newsgroups: comp.sys.atari.st Subject: Re: HDX Bad sector list Message-ID: <1989Sep20.174011.20782@m2cs.uu.no> Date: 20 Sep 89 17:40:11 GMT References: <8909180954.AA27645@freya.math.dmswwu> Organization: Modula-2 CASE Systems A/S, Oslo, Norway Lines: 54