Re: IDE CDROM and dd...

From: Andries Brouwer (aeb@veritas.com)
Date: Wed Jun 07 2000 - 20:52:42 EST


On Wed, Jun 07, 2000 at 01:27:44PM +0200, Jens Axboe wrote:
> On Wed, Jun 07 2000, Jeff Garzik wrote:

> > I have consistently had a problem with kernels >= 2.2.x where dd'ing
> > from /dev/cdrom to a file fails.

> > end_request: I/O error, dev 16:00 (hdc), sector 1252596
> > ATAPI device hdc:
> > Error: Illegal request -- (Sense key=0x05)
> > Illegal mode for this track or incompatible medium -- (asc=0x64, ascq=0x00)
> > hdc: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
>
> It looks as if you are hitting a non-mode1 data area after copying
> the first of the disk, cdda or maybe mode2? What disk is this?

One problem that exists is that the readahead causes EIO after reading all.
(The above error message looks like this - a seek error because the sector
after the last does not exist.)

Andries

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



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:15 EST