Re: IDE CDROM and dd...

From: Jens Axboe (axboe@suse.de)
Date: Wed Jun 07 2000 - 06:27:44 EST


On Wed, Jun 07 2000, Jeff Garzik wrote:
> Jens and lkml,
>
> I have consistently had a problem with kernels >= 2.2.x where dd'ing
> from /dev/cdrom to a file fails. In fact this operation has never
> worked for me on a CDROM drive faster than 4X, and this behavior is
> noted across multiple CDROM drivers and multiple IDE controllers.
> Mounting the CDROM (as opposed to 'dd') works just fine, even under
> stress.

> 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?

-- 
* Jens Axboe <axboe@suse.de>
* SuSE Labs

- 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 : Wed Jun 07 2000 - 21:00:28 EST