devfs
[Top] [All Lists]

Re: devfs(d) problem

To: Ingo Brueckl <ib@xxxxxxxxxxxxxxx>
Subject: Re: devfs(d) problem
From: Pavel Roskin <proski@xxxxxxx>
Date: Mon, 3 Nov 2003 13:27:33 -0500 (EST)
Cc: devfs@xxxxxxxxxxx
In-reply-to: <3f9d61c6@wupperonline.de>
References: <3f9d61c6@wupperonline.de>
Sender: devfs-bounce@xxxxxxxxxxx
On Mon, 27 Oct 2003, Ingo Brueckl wrote:

> Hope, this is the right place to ask.
>
> I'm using devfs with devfsd for some time now, no problems. So far, I had
> kernel 2.4.20 and devfsd 1.3.23.
>
> After updating to kernel 2.4.22 and devfsd 1.3.25 there are problems with
> some devices (like /dev/ttyS0 and /dev/ppp) which won't automatically
> register any more. I can't, for example, do 'ls' on them: no such file. After
> loading modules "serial" and "ppp_generic" using 'modprobe', the devices show
> up normally.

Check if you have LOOKUP entries for those files in /etc/devfsd.conf

See "man devfsd.conf" for the syntax of "LOOKUP".

> This is from my modules.defvs, but as mentioned it worked until the update:
>
>   # Serial ports
>   alias     /dev/tts*           serial
>   alias     /dev/ttyS*          serial
>   alias     /dev/cua*           serial
>
>   # PPP devices
>   alias     /dev/ppp*           ppp_generic

That may work if you have this line in /etc/devfsd.conf:

LOOKUP          .*              MODLOAD

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

-- 
Regards,
Pavel Roskin

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