Re: dd bug or cdrom driver bug???
On Thu, Jul 27, 2000 at 10:44:18PM +0200, Falk Hueffner came forth with:
> "Christopher C. Chimelis" <chris@debian.org> writes:
>
> > On 27 Jul 2000, Falk Hueffner wrote:
> >
> > > 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.
> >
> > Do you have a '/dev/scd0'? Could be that the major/minors are hosed on
> > that device if you do...(just a wild guess).
>
> Mounting /dev/scd0 works fine, and it looks like this:
>
> brw-rw---- 2 root cdrom 11, 0 Jun 8 17:47 /dev/scd0
>
> I have SCSI cdrom and generic as module, perhaps that makes a
> difference, too...
really stupid question, does it work with bs=2048? The block size on
CD's is 2048. I always had 512 work fine under linux, but FreeBSD
threw a wobbler at me. It was only by accident that it
worked with 2048 (that I found it)...
L.
--
Liam Bedford | Four thousand holes in Blackburn, Lancashire
System Administrator | And though the holes were rather small
WBT Systems, Block 2, | They had to count them all
Harcourt Centre, Harcourt St. | Now they know how many holes it takes to fill
01-4170100 | The Albert Hall
Reply to: