Re: ide-cd vs. DMA

From: Kurt Wall
Date: Tue May 24 2005 - 20:33:42 EST


On Monday 23 May 2005 23:24, Benjamin Herrenschmidt enlightened us
thusly:
> On Mon, 2005-05-23 at 23:27 -0400, Karim Yaghmour wrote:
> > Benjamin Herrenschmidt wrote:
> > > hdb: command error: status=0x51 { DriveReady SeekComplete Error }
> > > hdb: command error: error=0x54 { AbortedCommand
> > > LastFailedSense=0x05 } ide: failed opcode was: unknown
> > > end_request: I/O error, dev hdb, sector 42872
> >
> > Got plenty of these an old Dell Optiplex GX1 (PIII-450) with
> > vanilla FC3. ... you've got to wonder when the kernel says there
> > are bad sectors on a CD (?) and then they disappear with:
> > hdparm -d0 /dev/hdc
>
> Well, not sure what's wrong here, but ATAPI errors shouldn't normally
> result in stopping DMA. We may want to just blacklist your drive
> rather than having this stupid fallback. In this case, I suspect it's
> CSS/region issue with a DVD.

I see the same thing here on a plain vanilla CD-ROM (pardon the
unsightly wrapping):

May 23 21:52:34 luther kernel: hdc: packet command error: status=0x51
{ DriveReady SeekComplete Error }
May 23 21:52:34 luther kernel: hdc: packet command error: error=0x54
{ AbortedCommand LastFailedSense=0x05 }
May 23 23:12:37 luther kernel: hdc: packet command error: status=0x51
{ DriveReady SeekComplete Error }
May 23 23:12:37 luther kernel: hdc: packet command error: error=0x54
{ AbortedCommand LastFailedSense=0x05 }


Kurt
-
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/