Skip to contentSkip to conversation

modules in 2.6.0-test11

DISCUSSION Alexis 3 participants 3 messages Dec 14, 2003 – Dec 17, 2003

lore
Share & tools
lore

Alexis

author
#0 lore raw

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?

Thanks

--
A man in black on a snow white horse,
A pointless life has run its course,
The red rimmed eyes, the tears still run
As he fades into the setting sun

#1 lore raw
Quoted 12 lines · Alexis

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

#2 lore raw
In reply to Alexis

|--==> "a" == alexis <[email protected]> writes:

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

Edit '/etc/modprobe.conf' and change "alias char-major-<major> foo" to "alias char-major-<major>-<minor> foo". Or "char-major-<major>-*" if you can't determine the minor number.

The modules themselves are supposed to export these chardev aliases, which will obsolete the entries in '/etc/modprobe.conf', but as yet only one or two actually do this. I have patches that fix most of the serial drivers and right now I'm working my way through './drivers/char/'. But I haven't yet sent them in.

Signature · 4 lines
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
|              Ashes to ashes, dust to dust.               |
|      The proof of the pudding, is under the crust.       |
|------------------------------<[email protected]>---|