Re: 2.5 and module loading

Felipe Alfaro Solana (felipe_alfaro@linuxmail.org)
15 Jun 2003 10:07:01 +0200


On Sun, 2003-06-15 at 09:06, Joshua Kwan wrote:
> On Sun, Jun 15, 2003 at 08:53:03AM +0300, Per Bergqvist wrote:
> > Can somebody please explain what is needed to get module loading
> > working with the 2.5.xx kernels ?
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/rusty/modules/

For RedHat users, there's another pitfall in "/etc/rc.sysinit". During
startup, the script sets up the binary used to dynamically load modules
stored at "/proc/sys/kernel/modprobe". The initscript looks for
"/proc/ksyms" (if my memory servers me well), but since it doesn't exist
in 2.5 kernels, the binary used is "/sbin/true" instead.

This, eventually, will keep modules from working. RedHat users will have
to patch the "/etc/rc.sysinit" script to set "/proc/sys/kernel/modprobe"
to "/sbin/modprobe", even when "/proc/ksyms" doesn't exist.

I can't attach a patch. All my RH9 boxes are manually patched and can't
get access to the original "/etc/rc.sysinit" script :-(

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/