Subject: Re: old SCSI devices that don't support INQUIRY
To: Matthew Fredette <fredette@MIT.EDU>
From: Matthew Jacob <mjacob@feral.com>
List: tech-kern
Date: 09/13/2001 22:01:40
That's an interesting question. It's also true that the Emulex MT-02 also
doesn't support a sane INQUIRY command- it just returns a null bytes for
vendor and product.

I'm not really sure what the best approach on this is for something like
NetBSD. I also have to wonder, at this time, actually how many ACB-4000s *and*
the 70MB ST506 drives that they attach to still work.

On a similar topic, supporting something like the sun2 VME SCSI controller is
also interesting, since it's really SASI, not SCSI.

That actually gives me an idea. Since the ACB4000 && the MT-02 really aren't
even SCSI-1, let alone even CCS, perhaps another sub-bus attachment defined as
"sasi" might be in order... naw, it's really too complex. Maybe the best
approach here is to add

#ifdef	sun2

and do quirks. I dunno. Like I said- this is tough. It's more than this,
though. There is a base assumption for most of the SCSI code about some
minimal response level and sane response. Chances are pretty good that you'd
choke over other commands as well, so maybe a 'sasi' attachment (like the
'atapi' attachment) would be best. Uck. Alternative to this would also be to
just special case it in sys/arch/sun2/dev. Double uck.

-matt


On Thu, 13 Sep 2001, Matthew Fredette wrote:

> 
> Hi.  Sun-2s often have MFM hard drives sitting behind Adaptec ACB-4000
> SCSI->MFM converter boards.  These boards are really old and don't
> understand the INQUIRY command.  What's the best way to go about
> adding support for them?  Thanks -
> 
> Matt
> 
> --
> Matt Fredette
> http://mit.edu/fredette/www
> 
> 
>