[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dd bug or cdrom driver bug???



alphahere@home.com (Alan P. Kennedy, Sr) writes:

> I was reading the cdrom writing howto and the howto gave a demo on how
> to copy a data cdrom directly to the harddisk. I tried this on an
> alpha and got the following result with /dev/scd0, and I also tried
> /dev/hda and got the same result. Both devices are cdroms and they
> work fine. It appeared that the system was locked for a short time but
> the system started responding after the command was complete.
> 
> dd if=/dev/scd0 of=cdrom.iso bs=8192
> dd: /dev/scd0: Input/output error
> 0+0 records in
> 0+0 records out
> 0+0 records in
> 0+0 records out
> dd: /dev/scd0: Bad file descriptor

Hum. Funny. I get an error, too:

% dd if=/dev/scd0 of=cdrom.iso bs=8192
dd: /dev/scd0: Input/output error
0+0 records in
0+0 records out

Note no "Bad file descriptor". Mounting works fine. cp gives the same
error, so it's not dd.

This is with kernel 2.2.14 and a SCSI CDROM on an Adaptec AHA-294X.

	Falk



Reply to: