From owner-freebsd-scsi@FreeBSD.ORG Wed Apr 25 18:27:10 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 CE9C516A404 for ; Wed, 25 Apr 2007 18:27:10 +0000 (UTC) (envelope-from c47g@gmx.at) Received: from email.aon.at (nat-warsl417-01.aon.at [195.3.96.119]) by mx1.freebsd.org (Postfix) with ESMTP id 320A213C448 for ; Wed, 25 Apr 2007 18:27:09 +0000 (UTC) (envelope-from c47g@gmx.at) Received: (qmail 20642 invoked from network); 25 Apr 2007 18:00:29 -0000 Received: from unknown (HELO email.aon.at) ([172.18.5.234]) (envelope-sender ) by fallback02.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 25 Apr 2007 18:00:29 -0000 Received: (qmail 3722 invoked from network); 25 Apr 2007 18:00:27 -0000 Received: from m3639p010.adsl.highway.telekom.at (HELO bones) ([88.117.102.202]) (envelope-sender ) by smarthub79.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 25 Apr 2007 18:00:27 -0000 From: Christian Gusenbauer To: josh.carroll@gmail.com Date: Wed, 25 Apr 2007 20:01:36 +0200 User-Agent: KMail/1.9.6 References: <8cb6106e0703261318o120c620ar6b2461802632fc01@mail.gmail.com> <8cb6106e0704241845r737dca05p50fc967a61d66677@mail.gmail.com> <8cb6106e0704242119h4a09d7d4v667d64071b3bd053@mail.gmail.com> In-Reply-To: <8cb6106e0704242119h4a09d7d4v667d64071b3bd053@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704252001.37696.c47g@gmx.at> 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: Wed, 25 Apr 2007 18:27:10 -0000 Hi Josh! Thanks for your patch. But unfortunately, my problem is a little bit different to yours. I get the errors when accessing the ATA drive using /dev/acd0. My problem doesn't seem to be ATAPI-CAM related. So, I'm glad that obviously Thomas' last patch solved your problem, but I' afraid, it is not the solution for my problem :-(. Ciao, Christian. On Wednesday, 25. April 2007, Josh Carroll wrote: > I used the following patch (attached) against a RELENG_6_2 src tree, > and it's working brilliantly. No problems to speak of. I can boot with > atapicam in the kernel without a disk in the drive and there were no > hangs at all. > > The sg_readcap command still gives (immediately): > > READ CAPACITY (10) failed, device not ready > > I was able to burn a DVD-R with growisofs and blank and burn a CD-RW > with cdrecord. So all seems well, though I'll continue to keep an eye > on it. > > I'm not sure which patches need to be committed, etc. But I wanted to > include the cumulative patch against the 6.2-R src in case it helps > you decide which code to commit to -CURRENT/etc. > > Christian - can you give the attached patch a shot if you've got a > 6.2-R kernel/install handy on your P5B-E? > > Thanks for all your help Thomas! > Josh