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

From: Paul Barton-Davis (pbd@Op.Net)
Date: Mon Feb 14 2000 - 16:38:17 EST


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

--p

-
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