kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in

Christian Gusenbauer chrisg1331 at gmx.at
Thu Apr 26 06:31:04 UTC 2007


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 <scottl at samsco.org>
An: Christian Gusenbauer <c47g at gmx.at>
CC: bug-followup at freebsd.org, freebsd-scsi at freebsd.org, thomas at freebsd.org, josh.carroll at 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 <scottl at samsco.org>
> > An: Christian Gusenbauer <c47g at gmx.at>
> > CC: josh.carroll at gmail.com, Thomas Quinot <thomas at freebsd.org>,
> freebsd-scsi at freebsd.org, bug-followup at 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


More information about the freebsd-scsi mailing list