Re: modules in 2.6.0-test11

From: Harald Dunkel
Date: Sun Dec 14 2003 - 06:58:17 EST


Alexis wrote:
Ive compilled and installed 2.6.0-test11 on redhat 8 in order to filter
packets based on some patterns in layer 7 (l7-filter.sourceforge.net)

So, ive installed the kernel, and installed module-init-tools-0.9.14 too.

The kernel works fine, all modules too but i have to insert them with insmod
or modprobe, i cannot make that modules became loaded automatically.

Ive compiled the kernel with CONFIG_KMOD=Y

any help?


I found this in the FAQs (on Debian):


Q) I'm using RedHat and modules don't autoload any more.
A) RedHat turns module autoloading off if /proc/ksyms isn't found.
Change line 337 of /etc/rc.d/rc.sysinit from:

if ! grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/ksyms ]; then

to

if ! grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/modules ]; then


Hope this helps.


Regards

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