devfs
[Top] [All Lists]

devfs(d) problem

To: Pavel Roskin <proski@xxxxxxx>
Subject: devfs(d) problem
From: ib@xxxxxxxxxxxxxxx (Ingo Brueckl)
Date: Tue, 04 Nov 2003 21:49:00 +0100
Cc: devfs@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.58.0311031320390.1398@marabou.research.att.com>
Sender: devfs-bounce@xxxxxxxxxxx
Pavel,

 PR> Try "modprobe -C /etc/modules.devfs /dev/ppp0" to see if modprobe
 PR> understands your /etc/modules.devfs.

Thanks, this is what helped me to figure out what's going wrong.

I was surprised, that modprobe could NOT load the ppp_generic module, thus
indicating that my problem isn't a devfsd problem at all, but rather a
problem with modprobe and module loading. After understanding this and
playing around with /etc/modules.devfs, I found the line causing the trouble:

  alias     /dev/*dsp*           sound

Because modprobe stops comparing when reaching the first '*' character, every
/dev entry still not defined in an earlier line matches this definition,
resulting in the sound drivers getting loaded. My definitions for the serial
and ppp module are in lines behind this one and thus never reached.

Shame on me. :-)

Ingo

<Prev in Thread] Current Thread [Next in Thread>