Skip to contentSkip to conversation

Custom kernel won't load iptables modules

DISCUSSION Jason Corekin 1 participant 2 messages Feb 16, 2003 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Does anybody no why I can not get my custom compiled kernel to load it's iptables modules?

I am running on RedHat 8.0. I have everything else working, but iptables goes to load I get the messages

Feb 15 20:36:10 corekin iptables: Starting iptables:
Feb 15 20:36:10 corekin iptables:
/lib/modules/2.4.18-24.8.0custom/kernel/net/ipv4/netfilter/ip_tables.o:
Feb 15 20:36:10 corekin iptables: Hint: insmod errors can be caused by
incorrect module parameters, including invalid IO or IRQ parameters.
Feb 15 20:36:10 corekin iptables: You may find more information in syslog or
the output from dmesg
Feb 15 20:36:10 corekin iptables: init_module: Device or resource busy
Feb 15 20:36:10 corekin iptables:

/lib/modules/2.4.18-24.8.0custom/kernel/net/ipv4/netfilter/ip_tables.o:
insmod /lib/modules/2.4.18-24.8.0custom/kernel/net/ipv4/netfilter/ip_tables.o failed

Feb 15 20:36:10 corekin iptables:
/lib/modules/2.4.18-24.8.0custom/kernel/net/ipv4/netfilter/ip_tables.o:
insmod ip_tables failed
Feb 15 20:36:10 corekin iptables: iptables v1.2.6a: can't initialize
iptables table `filter': iptables who? (do you need to insmod?)
Feb 15 20:36:10 corekin iptables: Perhaps iptables or your kernel needs to
be upgraded.
Feb 15 20:36:10 corekin iptables:
/lib/modules/2.4.18-24.8.0custom/kernel/net/ipv4/netfilter/ip_tables.o:
Feb 15 20:36:10 corekin iptables: Hint: insmod errors can be caused by
incorrect module parameters, including invalid IO or IRQ parameters.
Feb 15 20:36:10 corekin iptables: You may find more information in syslog or
the output from dmesg
Feb 15 20:36:10 corekin iptables: init_module: Device or resource busy
Feb 15 20:36:10 corekin iptables:

/lib/modules/2.4.18-24.8.0custom/kernel/net/ipv4/netfilter/ip_tables.o:
insmod /lib/modules/2.4.18-24.8.0custom/kernel/net/ipv4/netfilter/ip_tables.o failed

Feb 15 20:36:10 corekin iptables:
/lib/modules/2.4.18-24.8.0custom/kernel/net/ipv4/netfilter/ip_tables.o:
insmod ip_tables failed
Feb 15 20:36:10 corekin iptables: iptables-restore v1.2.6a:
iptables-restore: unable to initializetable 'nat'
Feb 15 20:36:10 corekin iptables:
Feb 15 20:36:10 corekin iptables: Try `iptables-restore -h' or
'iptables-restore --help' for more information.
Feb 15 20:36:10 corekin rc: Starting iptables: failed

I have attached my configuration file if that will help.

I explicitly made sure that fast switching was turned off, but beyond that I do not know what else could conflict with iptables.

Thanks in advance

Jason Corekin

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

According to RedHat my modutils is up to date, along with the rest of my
system.

I also checked for myself, my modutils is at the same version level as
my kernel 2.4.18. Should my modutils be at a higher version?

Jason Corekin
----- Original Message -----
From: "Julian Gomez" <[email protected]>
To: "Jason Corekin" <[email protected]>
Sent: Saturday, February 15, 2003 11:36 PM
Subject: Re: Custom kernel won't load iptables modules

Quoted 7 lines
Quoted 4 lines
Feb 15 20:36:10 corekin iptables: init_module: Device or resource busy
Feb 15 20:36:10 corekin iptables: /lib/modules/2.4.18-24.8.0custom/

kernel/net/ipv4/netfilter/ip_tables.o:insmod

Other people noticed the same issue before also -- upgrading modutils fixed the issue, but that was on RH v7.2 -> v7.3 I think. You can try it

though.

Quoted 4 lines