Re: /proc/sys/dev/cdrom missing

Mike (mike@oakley.keble.ox.ac.uk)
Thu, 16 Jul 1998 20:23:13 +0100 (BST)


On 15 Jul 1998, James H. Cloos Jr. wrote:

> >>>>> "Erik" == Erik Andersen <andersen@inconnect.com> writes:
>
> Erik> Well, /proc/sys/dev/cdrom/info will only show up when cdrom.o is
> Erik> loaded as a module, or compiled in. I havn't tried compiling
> Erik> ide-cd or cdrom into the kernel for quite a long while now. Can
> Erik> others verify that they also see this problem?
>
> I also have an empty /proc/sys/dev directory. I have cdrom.o and sr.o
> compiled in. This has been this way in at least from .103 through
> 109-pre1, with or without a number of other patches, incl Alan's and
> devfs.
>
# cat /proc/sys/dev/cdrom
cat: /proc/sys/dev/cdrom: Invalid argument

The file exists, but I can't read it. When I try and read it, I get the
above message, and the CD-ROM makes some very bizarre noises.

kernel 2.1.103, cdrom.o as a module (when it is not inserted,
/proc/sys/dev is empty, as expected). SYSCTL=y.

--
Mike <rickettm@ox.compsoc.net>

Schshschshchsch. -- The Gorn, "Arena", stardate 3046.2

- 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.altern.org/andrebalsa/doc/lkml-faq.html