Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Mar 1999 19:22:18 -0700 (MST)
From:      "Kenneth D. Merry" <ken@plutotech.com>
To:        joerg_wunsch@uriah.heep.sax.de
Cc:        freebsd-scsi@FreeBSD.ORG
Subject:   Re: SONY SMO-C501-09 not recognized under CAM
Message-ID:  <199903220222.TAA63695@panzer.plutotech.com>
In-Reply-To: <19990321165244.06249@uriah.heep.sax.de> from J Wunsch at "Mar 21, 1999  4:52:44 pm"

next in thread | previous in thread | raw e-mail | index | archive | help

J Wunsch wrote...
> As Kenneth D. Merry wrote:
> 
> > > Any chance that camcontrol could gaing the ability to remove a
> > > device from the system?  'camcontrol detach' maybe?
> 
> > I suppose that's possible, but I'd rather just fix things so that the
> > da driver attaches properly.
> 
> Nevertheless, `camcontrol detach' would be a great option.  One of my
> machines at work is (often) used to test random SCSI equipment before
> shipping it to customers.  A `detach' option would be nice there,
> since it allowed for just making the device unknown again i've only
> attached for the test, without affecting anything else.

If you remove the device from the SCSI bus (assuming your bus topology can
support it), camcontrol rescan will detect that the device has gone, and
all peripheral driver instances that were attached to the device will go
away.

The passthrough device attaches to any device that will respond to an
inquiry.  So even if you don't have a 'normal' device compiled into the
system that will attach to a given device, you can always talk to it via
the pass(4) device.

Justin and I talked a bit yesterday about making the da driver a little
more lenient about what errors it will allow on attach.  I'm not sure
I'm convinced we should.  We'll have to discuss it a little more.

The only problem you're having, really, is that you've got a weird device
that doesn't attach under certain circumstances.  I think the only
oustanding issue with that MO drive is getting the da driver to attach to
it when the media isn't spun up.  The patches I sent out fixed (at least
for Matthew Dodd) the case where there's no media in the drive, and it
worked ok when there was spinning media in the drive.

Ken
-- 
Kenneth Merry
ken@plutotech.com


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?199903220222.TAA63695>