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

From: Bill Wendling (wendling@ganymede.isdn.uiuc.edu)
Date: Mon Feb 14 2000 - 18:44:43 EST


Also sprach Vojtech Pavlik:
} 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>.
}
Hardcoded numbers bad...

Macros good...

Fire ouch...

Ugh...

-- 
|| Bill "Neaderthal" Wendling		wendling@ganymede.isdn.uiuc.edu

- 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