LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ondemand loading of Kernel modules (https://www.linuxquestions.org/questions/linux-newbie-8/ondemand-loading-of-kernel-modules-496412/)

theblaze 10-28-2006 01:35 PM

Ondemand loading of Kernel modules
 
Hello ppl,

I have a linux box running rh9 with kernel 2.4.20. I upgraded to kernel 2.6.18. I downloaded and installed module-init-tools from kernel.org and can load modules properly.

But i have a problem with iptables. The relavent iptables modules are not being loaded. AFAICS the demand loading is not working properly.. None of the modules are being loaded. BUt i can load them manually using modprobe -i.

I even tried using the latest version of iptables but in vain :mad:

and, how does the on demand module loading work? and how can it be configured ? :confused:

Thank you

Lenard 10-29-2006 07:59 AM

You also need udev and hal and other updates (in support of both) installed. It would be a lot easier to install a modern supported OS then to continue patching RHL9.

Suggestions, keeping in the Red Hat family both are freely available 'clones' of RHEL:

http://www.centos.org/
https://www.scientificlinux.org/

theblaze 10-29-2006 11:22 AM

No, but are HAL and UDEV present in 2.4 kernels also? actually when running 2.4 modules were demand loaded when iptables was being started. Whats the mechanism basically in 2.4 and 2.6 ?

Lenard 10-30-2006 05:39 AM

Nope, the use of hal and udev are for the newer 2.6 kernel series.

You might want to use the old 2.4 kernel make menuconfig along side the new 2.6 kernel make menuconfig as a side by side comparison to make sure you did not forget something.


All times are GMT -5. The time now is 10:12 AM.