Re: 2.3.43 breaks pppd! (SOLVED, possible config gotcha)

From: Vojtech Pavlik (vojtech@suse.cz)
Date: Mon Feb 14 2000 - 16:42:09 EST


On Mon, Feb 14, 2000 at 04:38:17PM -0500, Paul Barton-Davis wrote:
> >No, PPP works fine without KMOD. There is a bug in linux/kmod.h, that it
> >uses an (in that context) undefined -ENOACCES macro. What's needed is
> >either to use a number (-1) there, or #include <linux/errno.h>.
>
> No, thats not the problem.
>
> The problem is that attempts to open "/dev/ppp" will fail without
> KMOD, because the vfs layer (devices.c) will *not* call
> request_module() to load the the module for char-major-108 (the code
> is #ifdef'ed out).
>
> Thus, there is no device to use. Its not a compile time problem, its a
> run-time thing: modules that depend on dynamic "creation" of
> major number devices via KMOD will never work without KMOD.
>
> I suspect that ppp is not the only driver with this problem, BTW.

Why then I'm using PPP without any problems and without KMOD with 2.3.44?
Well, probably because of that I have either PPP compiled into kernel
or load it as a module. But I don't need KMOD for that!

-- 
Vojtech Pavlik
SuSE Labs

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



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:28 EST