From owner-freebsd-scsi Thu Dec 3 16:50:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA25706 for freebsd-scsi-outgoing; Thu, 3 Dec 1998 16:50:32 -0800 (PST) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from icicle.winternet.com (icicle.winternet.com [198.174.169.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA25701 for ; Thu, 3 Dec 1998 16:50:30 -0800 (PST) (envelope-from mestery@mail.winternet.com) Received: (from adm@localhost) by icicle.winternet.com (8.8.8/8.8.8) id SAA08638; Thu, 3 Dec 1998 18:50:09 -0600 (CST) Received: from tundra.winternet.com(198.174.169.11) by icicle.winternet.com via smap (V2.0) id xma008615; Thu, 3 Dec 98 18:49:57 -0600 Received: from localhost (mestery@localhost) by tundra.winternet.com (8.8.7/8.8.4) with ESMTP id SAA07194; Thu, 3 Dec 1998 18:49:56 -0600 (CST) X-Authentication-Warning: tundra.winternet.com: mestery owned process doing -bs Date: Thu, 3 Dec 1998 18:49:56 -0600 (CST) From: Kyle Mestery To: "Kenneth D. Merry" cc: freebsd-scsi@FreeBSD.ORG Subject: Re: Still errors stopping audio CDs in current In-Reply-To: <199812032317.QAA04738@panzer.plutotech.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 3 Dec 1998, Kenneth D. Merry wrote: > Heh. Well, it isn't what you think. In this case, the kernel is retrying > the command over and over again. If I had to guess, I'd say that the drive > is returning busy status. In that case, we wouldn't get any sense > information. > > I've attached a patch for camcontrol.c. Can you try the above stop command > using this patch? > Sure, here is the sequence of commands again, and assosciated output: hope.winternet.com$ cdcontrol cdcontrol: no CD device name specified, defaulting to /dev/cd0c Compact Disc Control utility, version 2.0 Type `?' for command list cdcontrol> p 6 cdcontrol> ^C hope.winternet.com$ sudo camcontrol stop -v -n cd -u 0 Error received from stop unit command CAM status is 0x20c, SCSI status is 0x28 > Good deal. And, as I said above, the problem is that the kernel is > retrying the command indefinitely. The patch to camcontrol that I've > attached will tell us exactly what error is returned. Once I know that, we > can try to decide what to do. > Does that give you enough information to go by? Let me know if there is anything else you need from me to figure this one out. I decided to download XFree86 3.3.3 tomorrow, since at this time I am limited to a 28.8 modem connection.:) Thanks for all the help! -- Kyle Mestery StorageTek's Storage Networking Group To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message