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

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


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/



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