From owner-freebsd-scsi Wed Dec 2 21:26:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA00611 for freebsd-scsi-outgoing; Wed, 2 Dec 1998 21:26:13 -0800 (PST) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from narnia.plutotech.com (narnia.plutotech.com [206.168.67.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA00606 for ; Wed, 2 Dec 1998 21:26:11 -0800 (PST) (envelope-from gibbs@narnia.plutotech.com) Received: (from gibbs@localhost) by narnia.plutotech.com (8.9.1/8.7.3) id WAA58219; Wed, 2 Dec 1998 22:18:34 -0700 (MST) Date: Wed, 2 Dec 1998 22:18:34 -0700 (MST) From: "Justin T. Gibbs" Message-Id: <199812030518.WAA58219@narnia.plutotech.com> To: Kyle Mestery cc: scsi@FreeBSD.ORG Subject: Re: Still errors stopping audio CDs in current X-Newsgroups: pluto.freebsd.scsi In-Reply-To: User-Agent: tin/pre-1.4-980818 ("Laura") (UNIX) (FreeBSD/3.0-CURRENT (i386)) Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article you wrote: > > Greetings, > > I am still seeing the same problems trying to stop audio CDs in my SCSI CD-ROM > drive. I am now running a 3.0 kernel from about 6:30AM CST. The machine is a > dual Pentium machine, with a Buslogic BT-946c SCSI controller, one 1GB HP > SCSI-2 disk, and a Sony 4x SCSI CD-ROM attached. It also has an IDE disk in > it. Here is dmesg info for the controller, disk, and cd-rom: I've been too swamped with 'real work' to really look into this, which is why I haven't commented so far. Sorry about that. I took a quick look at the cd ioctl code and did find at least one potential problem. When performing a CDIOEJECT, an allow media removal operation is not performed before issuing the stop unit command. This may confuse the device. This doesn't explain why we would hang waiting to get a CCB though. That indicates a resource tracking bug somewhere in the driver most likely triggered by something cdcontrol or cdplay is doing before the eject. A ktrace of what these programs do would be useful. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message