Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 1999 22:33:27 -0700 (MST)
From:      "Kenneth D. Merry" <ken@plutotech.com>
To:        winter@jurai.net (Matthew N. Dodd)
Cc:        joerg_wunsch@uriah.heep.sax.de, freebsd-scsi@FreeBSD.ORG
Subject:   Re: SONY SMO-C501-09 not recognized under CAM
Message-ID:  <199903180533.WAA39505@panzer.plutotech.com>
In-Reply-To: <Pine.BSF.4.02.9903180027150.2158-100000@sasami.jurai.net> from "Matthew N. Dodd" at "Mar 18, 1999  0:28:56 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew N. Dodd wrote...
> On Wed, 17 Mar 1999, Kenneth D. Merry wrote:
> > Kenneth D. Merry wrote...
> > > > eisa-test# camcontrol reset 2:3:0
> > > > camcontrol: CAMIOCOMMAND ioctl failed: Invalid argument
> > > > eisa-test# camcontrol reset 2:4:0
> > > > camcontrol: CAMIOCOMMAND ioctl failed: Invalid argument
> > 
> > Well, I just tried it out.  It does send a BDR to the device, but it
> > looks like there's some bogus behavior.  The camcontrol process gets
> > stuck in 'cbwait', so either the CCB isn't getting done(), or the
> > queue is not getting un-frozen.
> 
> ?  We still on the same problem?

Yes and no.  What I tried was sending a BDR to a disk on my test machine.
What I was getting at is that if you send a BDR to your MO drive, and
you've got the patch to cam_xpt.c in your kernel, you'll probably just end
up freezing the kernel's queue for the drive and you won't be able to talk
to it again without rebooting.

> > My guess is that the queue is still frozen, since I can't send a TUR
> > to the disk, and I/O times out.  Ahh well, more bugs to fix.
> 
> Heh.  When I first pluged in the SMO-C501 I thought the behavior was
> normal.  I didn't expect such an ancient device to work without quirks.
> ("There are no bugs in this code.")

Yeah, I'm sure it won't work without quirks.  We've just got to figure out
what those quirks are.

I think my patch for scsi_da.c will get you up and running without media in
the drive.  And since it boots with media spinning, all we've got to do is
figure out what exactly happens when there is media in the drive but not
spinning.

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?199903180533.WAA39505>