From owner-freebsd-scsi@FreeBSD.ORG Thu Apr 26 06:31:04 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 9B4DE16A40B for ; Thu, 26 Apr 2007 06:31:04 +0000 (UTC) (envelope-from chrisg1331@gmx.at) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id D51BA13C465 for ; Thu, 26 Apr 2007 06:31:03 +0000 (UTC) (envelope-from chrisg1331@gmx.at) Received: (qmail 21800 invoked by uid 0); 26 Apr 2007 06:04:20 -0000 Received: from 212.183.10.52 by www047.gmx.net with HTTP; Thu, 26 Apr 2007 08:04:20 +0200 (CEST) Content-Type: text/plain; charset="us-ascii" Date: Thu, 26 Apr 2007 08:04:20 +0200 From: "Christian Gusenbauer" In-Reply-To: <46303D71.5050605@samsco.org> Message-ID: <20070426060420.66700@gmx.net> MIME-Version: 1.0 References: <8cb6106e0703261318o120c620ar6b2461802632fc01@mail.gmail.com> <8cb6106e0704241845r737dca05p50fc967a61d66677@mail.gmail.com> <8cb6106e0704242119h4a09d7d4v667d64071b3bd053@mail.gmail.com> <200704252001.37696.c47g@gmx.at> <462FC366.6060105@samsco.org> <20070426050911.267460@gmx.net> <46303D71.5050605@samsco.org> To: Scott Long X-Authenticated: #9978462 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX18d3pMqE3kdZjjivwezZY+dLqC2yCIy9J6Wniwlds S9egsE1D4GcZeLCby2JrMeGq5nVkSw7z4iBQ== Content-Transfer-Encoding: 7bit X-GMX-UID: 3XgGD0ZdQEV/FGl08XVpURpCNzg2NUJ8 Cc: josh.carroll@gmail.com, freebsd-scsi@freebsd.org, bug-followup@freebsd.org, thomas@freebsd.org 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: Thu, 26 Apr 2007 06:31:04 -0000 Hi Scott! Ahh, I see. Sorry for the confusion. OK, then it's an IDE one. Ciao, Christian. -------- Original-Nachricht -------- Datum: Wed, 25 Apr 2007 23:49:37 -0600 Von: Scott Long An: Christian Gusenbauer CC: bug-followup@freebsd.org, freebsd-scsi@freebsd.org, thomas@freebsd.org, josh.carroll@gmail.com Betreff: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in > IDE, not SATA, right? Just so we have the terms straight, let me explain: > > IDE = 40/80 pin ribbon cable, connects motherboard to disk and CD/DVD > drives > > SATA = 4 pin twisted serial cable. Connects motherboard to disk and > CD/DVD drives > > ATA = Command language spoken by _hard_drives_ that are connected via > IDE or SATA > > ATAPI = Command language, similar to SCSI, that is spoken by CD/DVD > drives over IDE and SATA > > There is no such a thing as an ATA DVD drive, but there are ATAPI DVD > drives. The interesting question is whether yours is IDE or SATA. > > Scott > > Christian Gusenbauer wrote: > > Hi Scott! > > > > I'm talking about an ATA DVD writer. > > > > Ciao, > > Christian. > > > > -------- Original-Nachricht -------- > > Datum: Wed, 25 Apr 2007 15:08:54 -0600 > > Von: Scott Long > > An: Christian Gusenbauer > > CC: josh.carroll@gmail.com, Thomas Quinot , > freebsd-scsi@freebsd.org, bug-followup@freebsd.org > > Betreff: Re: kern/103602: drive gets wedged on READ CD CAPACITY if no > disc is in > > > >> 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 > >>> > > -- "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail