Re: bug: cd-rom autoclose no longer works in 2.6.9/2.6.10

From: Paul Ionescu
Date: Sat Dec 25 2004 - 20:32:28 EST


Hi Stas,

Does
cat /proc/sys/dev/cdrom/autoclose
return 1 or 0 ?

On Sun, 26 Dec 2004 03:34:43 +0300, Stas Sergeev wrote:

> Hello.
>
> CD-ROM autoclose stopped working for
> me quite some time ago. I used to type only "mount /mnt/cdrom" and that
> took care about closing, but now I am getting this:
> ---
> $ mount /mnt/cdrom
> mount: No medium found
> ---
> so I have to do "eject -t" first.
> I can reproduce this problem on 2
> completely different machines, so I
> don't think this have something to
> do with the particular hardware.
> The configuration haven't changed
> either:
>
> $ cat /proc/sys/dev/cdrom/autoclose
> 1
>
> $ cat /proc/sys/dev/cdrom/info
> CD-ROM information, Id: cdrom.c 3.20 2003/12/17
>
> drive name: hdd
> drive speed: 50
> drive # of slots: 1
> Can close tray: 1
> Can open tray: 1
> Can lock tray: 1
> Can change speed: 1
> Can select disk: 0
> Can read multisession: 1
> Can read MCN: 1
> Reports media changed: 1
> Can play audio: 1
> Can write CD-R: 0
> Can write CD-RW: 0
> Can read DVD: 0
> Can write DVD-R: 0
> Can write DVD-RAM: 0
> Can read MRW: 1
> Can write MRW: 1
> Can write RAM: 1


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/