From owner-freebsd-scsi@FreeBSD.ORG Tue Mar 27 04:19:02 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 A47DB16A405 for ; Tue, 27 Mar 2007 04:19:02 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id 0BDB613C459 for ; Tue, 27 Mar 2007 04:19:01 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so2856010nfc for ; Mon, 26 Mar 2007 21:19:00 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UqulU7CIyoQiq6tpVqZV6SazfYd1dJxZh3kj+7TAaTmzbjnGYSRa/HPbdOxnvsQ2rbkBHXaoZx0V/ts6AFzDlCHi4DevDiAJ9SqBZF6SVltqF7erWwiiR6tgPirn/XSfFkMurx74kp4YFaZvhxi8qZrrN8m+2Lg+EwbtXjw2TEI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RPmbVr9xYzMQb3vBfauP4XiOuQjrFqBAhoBx7wuiUhcFSwtAhzoylpj+530aRgxdJGb734bOaa2NSh4KvDX5iL9FAMbluQCVDv4EQDJIXfhFidwJ6LbJxB8GU2IBruwBLNd3xJEmhBeu7bYM9pUPkUVh+3BgzuwJU2gvINKL320= Received: by 10.82.167.5 with SMTP id p5mr15270090bue.1174969140579; Mon, 26 Mar 2007 21:19:00 -0700 (PDT) Received: by 10.82.163.16 with HTTP; Mon, 26 Mar 2007 21:19:00 -0700 (PDT) Message-ID: <8cb6106e0703262119g5a9afd4m2c3d5665c85c4969@mail.gmail.com> Date: Mon, 26 Mar 2007 21:19:00 -0700 From: "Josh Carroll" To: "Scott Long" In-Reply-To: <8cb6106e0703261318o120c620ar6b2461802632fc01@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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> 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 Reply-To: josh.carroll@psualum.com List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2007 04:19:02 -0000 > 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): acd0: cmd INQUIRY status 50 result 00 error 00 (probe0:ata2:0:1:0): xpt_done (probe0:ata2:0:1:0): camisr (probe0:ata2:0:1:0): probedone cam_debug: xpt_release_ccb (probe0:ata2:0:1:0): xpt_schedule (probe0:ata2:0:1:0): added periph to queue cam_debug: xpt_schedule_dev cam_debug: Inserting onto queue (probe0:ata2:0:1:0): calling xpt_run_devq cam_debug: xpt_run_dev_allocq cam_debug: qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0 cam_debug: running device 0xc6633800 (probe0:ata2:0:1:0): xpt_setup_ccb cam_debug: calling periph start (probe0:ata2:0:1:0): probestart (probe0:ata2:0:1:0): xpt_action (probe0:ata2:0:1:0): INQUIRY. CDB: 12 1 80 0 ff 0 cam_debug: xpt_schedule_dev cam_debug: Inserting onto queue cam_debug: xpt_run_dev_sendq cam_debug: running device 0xc6633800 (probe0:ata2:0:1:0): XPT_SCSI_IO atapi_action: hcb@0xc67c67c0: 12 1 80 0 ff 0 (noperiph:ata2:0:-1:-1): xpt_async (noperiph:ata2:0:-1:-1): xpt_compile_path (noperiph:ata2:0:-1:-1): xpt_release_path acd0: FAILURE - INQUIRY timed out atapi_cb: hcb@0xc67c67c0 sense = 00: sk = 0 Thanks, Josh