Article View: comp.sys.amiga.tech
Article #10934Re: 2090A speed (and a Prep script)
From: Blaine Gardner
Date: Sun, 18 Dec 1988 06:57
Date: Sun, 18 Dec 1988 06:57
107 lines
3200 bytes
3200 bytes
From article <5522@cbmvax.UUCP>, by jesup@cbmvax.UUCP (Randell Jesup):
< In article <328@b11.INGR.COM.> jim@b11.UUCP (Jim Levie ) writes:
<
<>The question is does format add to the badblock information for SCSI or ST506
<>drives? It would seem to me that one of the things either format or some
<>other utility should do is to find and report badblocks that are present on
<>hard disks and also update the bad block data on the drive. When the bad blocks
<>are reported they should be in a form suitable for input to "prep' to avoid
<>having to scan for them in the future.
<
< Actually the idea is that when format is formatting and testing the
< tracks, if the driver notes an error it should automatically map out that
^^^^^^
< sector, and add it to the list of bad blocks at the beginning of the drive.
< Similar things happen with SCSI.
Ok, maybe I'm being a bit thick here, but DOES the A2090A actually add
bad blocks found in formatting to the list of bad blocks on ST506
drives?
A little bit off the track: I've made a little script to run Prep, and
enter all the bad block data. I used this when I was messing with
different interleaves on my drive.
There are no comments (I didn't try it, but I figured any comments would
be read by Prep. Was I right or wrong?), but here's a rundown of what's
going on.
0 Select "User Defined"
8 Number of heads (Not 9. Sob, whimper. :-)
1024 Number of cylinders
Default (17) sectors
Default Write Precomp
Default (No) autopark
3 High Cylinder for DH0:
Default (30) buffers
y Mark bad blocks (Yes)
857;1;4151 Cylinder; Head; Offset (BFI) of bad block.
y Correct? (Yes) [Repeat these two lines as needed.]
Last bad block
n No more bad blocks
y Proceed with Prep? (Yes)
Dunno why this is here, but it wouldn't work without it.
=============================Cut Here==================================
0
8
1024
3
y
857;1;4151
y
177;2;8334
y
178;2;8335
y
359;2;9132
y
360;2;9131
y
737;3;9352
y
882;3;8061
y
954;4;6055
y
968;4;2577
y
969;4;2576
y
23;6;8703
y
24;6;4097
y
24;6;6795
y
819;6;10222
y
961;7;581
y
n
y
===============================Cut Here========================
All the blank lines are just a LF, and there needs to be a LF after the
last "y" in the script.
With this script, playing with interleave was as easy as
Mount RES0:
Prep <BadBlocks RES0:
with the script being named BadBlocks.
I hope this is of some use.
--
Blaine Gardner @ Evans & Sutherland 580 Arapeen Drive, SLC, Utah 84108
Here: utah-cs!esunix!blgardne {ucbvax,allegra,decvax}!decwrl!esunix!blgardne
There: uunet!iconsys!caeco!pedro!worsel!blaine
"Nobody will ever need more than 64K." "Nobody needs multitasking on a PC."
Technical Details
Message-ID:
<1164@esunix.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-lcc!lll-ncis!oodis01!uplherc!esunix!blgardneReferences:
<5522@cbmvax.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-lcc!lll-ncis!oodis01!uplherc!esunix!blgardne From: blgardne@esunix.UUCP (Blaine Gardner) Newsgroups: comp.sys.amiga.tech Subject: Re: 2090A speed (and a Prep script) Message-ID: <1164@esunix.UUCP> Date: 18 Dec 88 06:57:27 GMT References: <5522@cbmvax.UUCP> Organization: Evans & Sutherland Computer Corporation Lines: 107