Re: cdromaudio patch gives up too easily

From: Jens Axboe
Date: Tue Mar 09 2004 - 09:37:23 EST


On Tue, Mar 09 2004, Jens Axboe wrote:
> On Tue, Mar 09 2004, Adrian Cox wrote:
> > The patch for DMA based CD reading worked well for me until I tried to
> > read the audio from a badly damaged CDR. At this point the code dropped
> > back to the old mechanism and stayed that way for further CDs.
> >
> > The logs below show what happened, running 2.6.4-rc2 with just that
> > patch:
> >
> > cdrom: open failed.
> > hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
> > hdc: packet command error: error=0x30
> > ATAPI device hdc:
> > Error: Medium error -- (Sense key=0x03)
> > (reserved error code) -- (asc=0x57, ascq=0x00)
> > The failed "Prevent/Allow Medium Removal" packet command was:
> > "1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
> > cdrom: open failed.
> > hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
> > hdc: packet command error: error=0x30
> > ATAPI device hdc:
> > Error: Medium error -- (Sense key=0x03)
> > (reserved error code) -- (asc=0x57, ascq=0x00)
> > The failed "Prevent/Allow Medium Removal" packet command was:
> > "1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
> > cdrom: cdda rip sense 03/02/00
> > cdrom: dropping to old style cdda
>
> Ok, it's pretty harmful. I was just telling Andrew last week that I

Harmless, of course :-)

--
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/