*BSD News Article 98415


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!not-for-mail
From: mmcg@heraclitus.cs.monash.edu.au (Mike McGaughey)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Diamond Data 16x CDrom?
Date: 25 Jun 1997 08:54:30 GMT
Organization: Monash Uni
Lines: 39
Message-ID: <5oqmc6$qlp$1@towncrier.cc.monash.edu.au>
References: <5oni94$ldc$1@towncrier.cc.monash.edu.au>
NNTP-Posting-Host: heraclitus.cs.monash.edu.au
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:43475

Last Tue, I wrote:
> 
> I have a diamond data 16x IDE CDrom, which works fine under DOS.
> It is attached as a slave on wdc1 (I also have 3 IDE disks).  When
> the CD is attached, FreeBSD fails to detect wdc1 (hence the third
> disk as well).  However, FreeBSD works with the older (2x) Vertos
> 300SSD IDE CDrom which used to be in that box.

Well, that problem's solved: the wdc probe was failing because my
ATAPI drive doesn't initialise itself correctly (the drive
happily resets itself when probed later, by the ATAPI-specific
routines; the same thing happens under DOS).  Then, the wdc probe
routine was correctly detecting that there was a controller, that
drive 0 was working, but that the second device (the CDrom) didn't
look right, and (due to an apparent logic error in a workaround
for some other broken hardware that I don't own and couldn't care
less about :), decided that having a non-working drive 1 implied
there was no controller.

The quick fix (has been send-pr'd) was to alter the workaround code
such that if drive 1 failed, we still assumed we had a controller
(which is reasonable, because the controller must have returned a
series of valid status codes to get to that point).

However, I'm still interested in:

> ps: anyone know where I can find the appropriate ATAPI and/or PC
> IDE controller specs?

After all, I have no idea what I'm doing here :)

Cheers,

    Mike.
-- 
Mike McGaughey			AARNET:	mmcg@cs.monash.edu.au

"Thousands at his bidding speed,
 And post o'er land and ocean without rest" - Milton.