*BSD News Article 93862


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!EU.net!main.Germany.EU.net!Dortmund.Germany.EU.net!news
From: knob@wizards.staff.Germany.EU.net (Bernard Steiner)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: bad block scan crashes -- help!
Date: 19 Apr 1997 00:53:31 GMT
Organization: Customer of EUnet Germany; Info: info@Germany.EU.net
Lines: 23
Sender: bs@wizards.staff.Germany.EU.net
Message-ID: <5j952b$3bl@news.Dortmund.Germany.EU.net>
References: <3351E4DD.41C6@gambier.ugrad.cs.ubc.ca>
    <5iu6pm$26m@uriah.heep.sax.de> <5j4d18$sjc$5@easystreet03>
NNTP-Posting-Host: peu-90.do.eunet.de
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.7
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39302


In article <5j4d18$sjc$5@easystreet03>,
	tedm@portsoft.com writes:
> Anyway, bad144 only works if the total number of tracks is reachable via BIOS,
> ie they must be under 1024 or some translation of.  Large ESDI drives often

Actually, that's not true. Ever since the introduction of the slice code,
(correct mi if *I* am wrong) the magic sectors went to the end of rwd?s?c
instead of 386bsd's rwd?d. Of course, this assumes that your "driver" is able
to access those cylinders, and in my experience UNIces seem rather capable of
doing that. The trick is merely to get the boot slice below 1024.

> exceed this with impunity, (large being 300MB, of course) but their controller
> BIOS'es would translate it down so you could still use bad144. bad144 is activated
> BEFORE the wd disk driver sends the controller commands
> to determine the number of sectors, etc. so it must operate on the bios-returned
> number of tracks. (which is going to be 1024 or under)

Nah. My good old WD1009 does not translate if I tell it not to.
Up to and including 2.1.5 bad144 did a marvellous job on those drives.
But now, I seem to be stuck with this weeny P6 mainboard with such few ISA
slots so I chucked the ESDI drives out until I get a PCI VGA ;-)

Bernard