From owner-freebsd-scsi@FreeBSD.ORG Tue Mar 27 04:54:05 2007 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CFB8216A401; Tue, 27 Mar 2007 04:54:05 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 7F9E813C484; Tue, 27 Mar 2007 04:54:05 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id l2R4rwVL035546; Mon, 26 Mar 2007 22:54:04 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4608A35E.3010404@samsco.org> Date: Mon, 26 Mar 2007 22:53:50 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1 MIME-Version: 1.0 To: josh.carroll@psualum.com References: <20070313205731.GB3866@melamine.cuivre.fr.eu.org> <45F71A0F.4080601@samsco.org> <45F71B7D.3090305@samsco.org> <20070326111453.GA6636@melamine.cuivre.fr.eu.org> <4607F336.3000707@samsco.org> <8cb6106e0703261057j55b554f9h84a894a4dbd19991@mail.gmail.com> <20070326180018.GA23771@melamine.cuivre.fr.eu.org> <460829E9.3080102@samsco.org> <8cb6106e0703261318o120c620ar6b2461802632fc01@mail.gmail.com> <8cb6106e0703262119g5a9afd4m2c3d5665c85c4969@mail.gmail.com> In-Reply-To: <8cb6106e0703262119g5a9afd4m2c3d5665c85c4969@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [168.103.85.57]); Mon, 26 Mar 2007 21:54:04 -0700 (MST) X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-scsi@freebsd.org, bug-followup@freebsd.org, Thomas Quinot Subject: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2007 04:54:05 -0000 Josh Carroll wrote: >> Thanks for the hard work guys! I plan on testing this in a few hours >> when I get home from work. I'll report back soon. > > Well this is odd. I have the same problem I had with the Pioneer > drive. Namely, it hangs on the INQUIRY. I had to run this for > RELENG_6_2 with the cumulative atapi-cam patch and Scott's new patch > for scsi_cd.c, since I get the mutex Giant not owned panic with my > snapshot of -CURRENT. I'll try cvsup'ing -CURRENT and re-applying the > cumulative atapi-cam.c patch and the new scsi_cd.c patch and see if I > still get the INQUIRY failure. > > I had to transcribe this from a digital photo, but here's what I see > shortly after it prints out the hard drives (e.g. ad10, etc): Ok, so the problem is happening long before the READ_CAPACITY command is sent. If it's dying on the INQ then it's going to be quite a bit harder to fix; every device under the sun needs to respond to an INQ so that the OS knows what kind of device it is. Skipping that will make the device pretty much useless to the OS. Scott