*BSD News Article 22053


Return to BSD News archive

Xref: sserve comp.os.386bsd.questions:5743 comp.os.386bsd.development:1297
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!ads.com!decwrl!decwrl!waikato!thebes.cc.waikato.ac.nz!hamish
From: hamish@thebes.cc.waikato.ac.nz (Hamish Marson)
Newsgroups: comp.os.386bsd.questions,comp.os.386bsd.development
Subject: Re: SCSI drivers do a TEST_UNIT_READY..
Followup-To: comp.os.386bsd.questions,comp.os.386bsd.development
Date: 7 Oct 1993 20:58:56 GMT
Organization: The University of Waikato
Lines: 39
Message-ID: <291vug$1go9@thebes.cc.waikato.ac.nz>
References: <28vrml$v7p@thebes.cc.waikato.ac.nz> <CEItrq.7n3@world.std.com>
NNTP-Posting-Host: thebes.cc.waikato.ac.nz
X-Newsreader: TIN [version 1.2 PL1]

HD Associates (hd@world.std.com) wrote:
> In article <28vrml$v7p@thebes.cc.waikato.ac.nz>,
> Hamish Marson <hamish@thebes.cc.waikato.ac.nz> wrote:
> >
> >Hi all, can someone enlighten me as to why 386BSD does a TEST_UNIT_READY
> >command first on each device and marks the device as absent without
> >an INQUIRY when TEST_UNIT_READY is an optional command. Does noone
> >out there use SCSI devices that don't do TEST_UNIT_READY.... Am I
> >just halluconating? Or is there a really good reason for this? I'm 
> >trying to get the WD7000 driver going on a Connor30170, and a Quantum
> >40M of some description that Linux will see, but the TESTUNITREADY command
> >times out on both devices...

> Hamish is right and this is a problem in the SCSI system.

[Deleted]

> Which adapter do you use and how is the ID code set?  The two that I've
> used (1542 and 1740) have the host adapter ID set by the user.

This is using the WD7000, which has its SCSI ID set by the initialisation
sequence..... Now when probing on the scsi busses, what addresses does the
scsi drivers probe? 1-7, 0-6, or 0-7?

PS. I've heard that there are several version of the WD7000 driver
floating around. I'm hacking the one that was in the source of NetBSD-0.9
is there a later one? I had to increase a few timeouts in order for this
one to see my FASST card (I think the ASC is a little quicker at doing
a NOOP....


--
======================================================================
|  Hamish Marson                                                     |
|  Systems Programmer              |                                 |
|  Computer Services               | INTERNET h.marson@waikato.ac.nz |
|  University of Waikato           | PHONE    +64 7 8562889 xt 8181  |
|  New Zealand                     | FAX      +64 7 8384066          |
===========Disclaimer :- Remember. You heard it here first.===========