From owner-freebsd-scsi@FreeBSD.ORG Wed Apr 25 21:09:24 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 E65A316A401; Wed, 25 Apr 2007 21:09:24 +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 7FAC413C483; Wed, 25 Apr 2007 21:09:24 +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 l3PL9KPS016197; Wed, 25 Apr 2007 15:09:21 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <462FC366.6060105@samsco.org> Date: Wed, 25 Apr 2007 15:08:54 -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: Christian Gusenbauer References: <8cb6106e0703261318o120c620ar6b2461802632fc01@mail.gmail.com> <8cb6106e0704241845r737dca05p50fc967a61d66677@mail.gmail.com> <8cb6106e0704242119h4a09d7d4v667d64071b3bd053@mail.gmail.com> <200704252001.37696.c47g@gmx.at> In-Reply-To: <200704252001.37696.c47g@gmx.at> 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]); Wed, 25 Apr 2007 15:09:21 -0600 (MDT) X-Spam-Status: No, score=-1.4 required=5.5 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: josh.carroll@gmail.com, 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 21:09:25 -0000 Are you talking about an ATA disk drive or a SATA CDROM drive? Scott Christian Gusenbauer wrote: > 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 > >