[paranoia] cdparanoia fails to open CD

Monty xiphmont at xiph.org
Mon Dec 20 18:34:34 PST 1999



I should get this on the troubleshooting page...

> I had cdparanoia installed and working on my RH5.2 system. After
> upgrading to 6.1 I get:
> 
> Checking /dev/cdrom for cdrom...
>         Testing /dev/cdrom for cooked ioctl() interface
>                 /dev/scd0 is not a cooked ioctl CDROM.
>         Testing /dev/cdrom for SCSI interface
>                 Could not access device /dev/scd0: Wrong medium type
> 
> After playing around some, I realized that the open(device, O_RDONLY)
> fails, even though I run this as root.

A 'feature' in recent (2.2.12+ and 2.3.x) Linux kernels requires a cdrom device
to be opened O_RDONLY|O_NONBLOCK when accessing an audio disc.  I have no clue
why, but I'm sure the reason seemed good to whoever coded the interface.

Anyway, you *must* use cdparanoia 9.6 or later for a recent kernel.  9.7 is
recommended.

Monty

--- >8 ----
List archives:  http://www.xiph.org/archives/
Paranoia homepage: http://www.xiph.org/paranoia/
To unsubscribe from this list, send a message to 'paranoia-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Paranoia mailing list