Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 1998 05:57:51 -0400 (EDT)
From:      Peter Dufault <dufault@hda.com>
To:        grog@lemis.com (Greg Lehey)
Cc:        ken@plutotech.com, jonny@jonny.eng.br, mjacob@feral.com, julian@whistle.com, ckempf@enigami.com, freebsd-scsi@FreeBSD.ORG
Subject:   Re: Rolling CAM in, what is still needed?
Message-ID:  <199806230957.FAA03226@hda.hda.com>
In-Reply-To: <19980623154334.A392@freebie.lemis.com> from Greg Lehey at "Jun 23, 98 03:43:34 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> > 	My guess is that that is what it was supposed to do in theory, but
> > in practice, I don't think it does.  I looked at the open routines in the
> > current cd, sd and st drivers, and none of them check to see if it was the
> > control device that was opened.  So if no media is in the drive, the open
> > will fail.
> 
> This matches my experience.

Check again and log it as a bug.  The ctl device is intercepted at the top
in scsi_open at a single point and should be completely reliable.

Much of the work I did involved pulling duplicated code into a common
point.  Unfortunately it tends to sneak back in - a good reason
for an occasional rewrite (with a commitment to backward support
of user interfaces).

Peter

-- 
Peter Dufault (dufault@hda.com)   Realtime development, Machine control,
HD Associates, Inc.               Safety critical systems, Agency approval

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806230957.FAA03226>