Re: 2.3.43 breaks pppd! (SOLVED, possible config gotcha)
Vojtech Pavlik (vojtech@suse.cz)
Mon, 14 Feb 2000 22:15:12 +0100
On Mon, Feb 14, 2000 at 10:24:50AM -0500, Paul Barton-Davis wrote:
> Ah, stupid me. I had compiled a kernel without CONFIG_KMOD, which
> prevents on-demand loading of modules. still, there should really be a
> check in the config stuff to prevent you from asking for PPP as a
> module if CONFIG_KMOD is not set. Unlike some other modularized code,
> PPP clearly does not work as a module without KMOD.
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>.
--
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/