🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.m68k.pc
Article #115

(none)

#115
From: UNIX-to-UNIX Copy
Date: Mon, 29 Jun 1987 21:01
61 lines
3242 bytes
Path: scgvaxd!wlbr!pete
From: pete@wlbr.UUCP (Pete Lyall)
Newsgroups: comp.sys.m68k.pc
Subject: Re: hard disk tool needed for os-9
Message-ID: <1035@wlbr.UUCP>
Date: 29 Jun 87 19:43:18 GMT
References: <PEPRBV.870625.215954.A0@CFAAMP.BITNET>
Reply-To: pete@wlbr.UUCP (0000-Pete Lyall)
Distribution: world
Organization: Eaton IMS, Westlake Village, CA
Lines: 48


In article <PEPRBV.870625.215954.A0@CFAAMP.BITNET> PEPRBV@CFAAMP.BITNET (Bob Babcock) writes:
>I just  installed  a replacement  hard  disk  in  a Mizar  system
>running OS-9/68K.  The manufacturer's  tests show one bad sector,
>but this is not detected  by the verify  stage of format,  so the
>sector is not locked out.  Mizar's documentation  says to use the
>Mizar  badsector  utility  in a case like this, but it turns  out
>that  they  haven't  yet  written  this  utility,  and  can  only
>recommend  that I run format  repeatedly  in hopes  that  it will
>eventually  find the bad spot.  I could easily  see wasting  more
>than  a man-day  learning  enough  about  the file structure  and
>writing  custom  code to solve this problem,  which means that it
>might be cheaper  to buy another  disk.  Has anyone  solved  this
>problem already?  Reasonable solutions would be to figure out the
>mapping  between head/cylinder  number and OS-9 sector number and
>fiddle  with the bit map, or thoroughly  test all the unallocated
>disk sectors and leave a read-only file on top of any bad sectors
>found.
>
>Thanks for any suggestions.

Well,  we have a program written by an OS9 UG member (actually, a
staffer as  well - Carl Kreider) that wrote something called
HDREAD. It reads a disk a track at a time, and then backs up and
isolates bad sectors if a track has a hit. You can use two companion
utilities with this: a) Hooz - determines who the sector's owner is
(if any), and b) Mapout - which toggles the sector bit in the bitmap.
These may be set up in filter/pipe fashion (i.e. hdread -h ! mapout
-z).

Caveats:

a) I'm not sure that this code is truly PD - I will check.

b) It was written & used under OS9/6809 level II, but since it's
in MW C, it should be trivial to port. Carl has both 6809 and 68000
systems.


-- 
                                                   Pete Lyall

Usenet:     {trwrb, scgvaxd, ihnp4, voder, vortex}!wlbr!pete
Compuserve: 76703,4230 (OS9 Forum Sysop)
OS9 (home): (805)-985-0632 (24hr./1200 baud)
Phone:      (818)-706-5693 (work 9-5 PST)

EATON Corp, IMSD, 31717 La Tienda Dr., Westlake Village, Ca. 91359
----------------------------------------------------------------------
Technical Details
Message-ID: <8706292101.AA25946@scgvaxd.SCG.HAC.COM>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!husc6!mit-eddie!ll-xn!ames!ucbcad!ucbvax!scgvaxd.scg.hac.COM!uucp

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!husc6!mit-eddie!ll-xn!ames!ucbcad!ucbvax!scgvaxd.scg.hac.COM!uucp
From: uucp@scgvaxd.scg.hac.COM (UNIX-to-UNIX Copy)
Newsgroups: comp.sys.m68k.pc
Subject: (none)
Message-ID: <8706292101.AA25946@scgvaxd.SCG.HAC.COM>
Date: Mon, 29-Jun-87 17:01:43 EDT
Article-I.D.: scgvaxd.8706292101.AA25946
Posted: Mon Jun 29 17:01:43 1987
Date-Received: Wed, 1-Jul-87 04:44:05 EDT
Sender: daemon@ucbvax.BERKELEY.EDU
Distribution: world
Organization: The ARPA Internet
Lines: 61
Approved: info-68k@ucbvax.berkeley.edu