Linux-kernel mailing list archive 1999-36,: Re: CDROM (VCD) and 2.3.15-17pre1

# Re: CDROM (VCD) and 2.3.15-17pre1

Jens Axboe (axboe@image.dk)
Sun, 5 Sep 1999 16:30:44 +0200

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Jens Axboe: "Re: LINUX-2.3.16 && ISOFS"
- Previous message: Lourdes A Jones: "RE: 2.2.12 Memory Leak?"

On Sun, Sep 05 1999, German Jose Gomez Garcia wrote:
> Hello,
> Since 2.3.15 (the first 2.3.6+ kernel I was able to boot) the CDROM
> driver is giving very strange problems, it seems that trying to open a
> Audio CDROM will fail, and mtv (an mpeg player) is unable to play VCD
> cds. Some programs like cdtool will fail also.
> Does this mean that there have been uncompatible changes to the
> CDROM driver? If that is true lot of non-free applications will be
> broken, and I think that this is not the correct way to do things, I
> really prefer free software, but not everything may be free. Just hope the
> problems with CDROM driver will get fixed before 2.4 (and also hope devfs
> gets finally into the kernel before 2.4).

The CD-ROM problem is not as big as it sounds and is easily fixable
(either the kernel or the programs). The problems you are seeing
are caused by Uniform CD-ROM interface completely failing blocking
opens on non-data CD's. Either patch the application to open
the device O_NONBLOCK or load cdrom.o with check_media_type=0.
I think I'll let it default to 0 again (which it did prior to
2.3.15).

    --
    *  Jens Axboe <axboe@image.dk>
    *  Linux CD-ROM Maintainer
    *  http://www.kernel.dk

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

- Next message: Jens Axboe: "Re: LINUX-2.3.16 && ISOFS"
- Previous message: Lourdes A Jones: "RE: 2.2.12 Memory Leak?"