All of lore.kernel.org
 help / color / mirror / Atom feed
* Error when using iptables 1.2.6a (or another version)
@ 2002-06-04  8:42 Philippe Dhont   (Sea-ro)
  2002-06-04 20:41 ` Tony Earnshaw
  0 siblings, 1 reply; 6+ messages in thread
From: Philippe Dhont   (Sea-ro) @ 2002-06-04  8:42 UTC (permalink / raw)
  To: 'netfilter@lists.samba.org'

[root@server11 iptables-1.2.6]# ./iptables -L
/lib/modules/2.4.18-6mdksecure/kernel/net/ipv4/netfilter/ip_tables.o.gz:
init_module: Device or resource busy
Hint: insmod errors can be caused by incorrect module parameters, including
invalid IO or IRQ parameters
modprobe: insmod
/lib/modules/2.4.18-6mdksecure/kernel/net/ipv4/netfilter/ip_tables.o.gz
failed
modprobe: insmod ip_tables failed
iptables v1.2.6: can't initialize iptables table `filter': iptables who? (do
you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
[root@server11 iptables-1.2.6]# 


This is what i get, i'm pretty new with iptables but i really would like to
use it.

Greetz!

Philippe Dhont 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Error when using iptables 1.2.6a (or another version)
  2002-06-04  8:42 Error when using iptables 1.2.6a (or another version) Philippe Dhont   (Sea-ro)
@ 2002-06-04 20:41 ` Tony Earnshaw
  2002-06-04 21:06   ` Tony Earnshaw
                     ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Tony Earnshaw @ 2002-06-04 20:41 UTC (permalink / raw)
  To: Philippe Dhont   (Sea-ro); +Cc: 'netfilter@lists.samba.org'

[-- Attachment #1: Type: text/plain, Size: 1872 bytes --]

tir, 2002-06-04 kl. 10:42 skrev Philippe Dhont (Sea-ro): 

> [root@server11 iptables-1.2.6]# ./iptables -L
> /lib/modules/2.4.18-6mdksecure/kernel/net/ipv4/netfilter/ip_tables.o.gz:
> init_module: Device or resource busy
> Hint: insmod errors can be caused by incorrect module parameters, including
> invalid IO or IRQ parameters
> modprobe: insmod
> /lib/modules/2.4.18-6mdksecure/kernel/net/ipv4/netfilter/ip_tables.o.gz
> failed
> modprobe: insmod ip_tables failed
> iptables v1.2.6: can't initialize iptables table `filter': iptables who? (do
> you need to insmod?)
> Perhaps iptables or your kernel needs to be upgraded.
> [root@server11 iptables-1.2.6]# 

O.k., I use Red Hat and kernel.org kernels and modules, but it seems
*very* strange to me that Mandrake should use gzipped modules. Maybe it
does, who knows? Because my basic iptables modules are compiled into the
kernel, I couldn't try gzipping iptables modules, but I put my precious
Conexant modem modules on the line for you, gzipped them and tried to
load them. 

Well, of course I couldn't. So I unzipped them again and hey presto,
good as new. 

do: 'cd /lib/modules/2.4.18-6mdksecure/kernel/net/ipv4/netfilter'
'mkdir ../netfilter.bkup' 
'find . | cpio -pumv ../netfilter.bkup' 
'gunzip *' 

Then try your iptables load again. 

If it still doesn't work, change the dir. contents back to what they
were: 
'gzip *' 

It still won't work, but you won't be any the worse off. 

Remove cd /lib/modules/2.4.18-6mdksecure/kernel/net/ipv4/netfilter,
whatever happens.

Tony 

-- 

Tony Earnshaw

e-post:		tonni@billy.demon.nl
www:		http://www.billy.demon.nl
gpg public key:	http://www.billy.demon.nl/tonni.armor

Telefoon:	(+31) (0)172 530428
Mobiel:		(+31) (0)6 51153356

GPG Fingerprint = 3924 6BF8 A755 DE1A 4AD6 FA2B F7D7 6051 3BE7 B981
3BE7B981


[-- Attachment #2: Dette er en digitalt signert meldingsdel --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Error when using iptables 1.2.6a (or another version)
  2002-06-04 20:41 ` Tony Earnshaw
@ 2002-06-04 21:06   ` Tony Earnshaw
  2002-06-04 21:06   ` Tony Earnshaw
  2002-06-04 21:28   ` James Sneeringer
  2 siblings, 0 replies; 6+ messages in thread
From: Tony Earnshaw @ 2002-06-04 21:06 UTC (permalink / raw)
  To: Tony Earnshaw
  Cc: Philippe Dhont   (Sea-ro), 'netfilter@lists.samba.org'

[-- Attachment #1: Type: text/plain, Size: 567 bytes --]

tir, 2002-06-04 kl. 22:41 skrev Tony Earnshaw:

> Remove cd /lib/modules/2.4.18-6mdksecure/kernel/net/ipv4/netfilter,
> whatever happens.

***NO***!

Remove /lib/modules/2.4.18-6mdksecure/kernel/net/ipv4/netfilter.bkup and
contents!

Humble apologies :-(

Tony

-- 

Tony Earnshaw

e-post:		tonni@billy.demon.nl
www:		http://www.billy.demon.nl
gpg public key:	http://www.billy.demon.nl/tonni.armor

Telefoon:	(+31) (0)172 530428
Mobiel:		(+31) (0)6 51153356

GPG Fingerprint = 3924 6BF8 A755 DE1A 4AD6 FA2B F7D7 6051 3BE7 B981
3BE7B981



[-- Attachment #2: Dette er en digitalt signert meldingsdel --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Error when using iptables 1.2.6a (or another version)
  2002-06-04 20:41 ` Tony Earnshaw
  2002-06-04 21:06   ` Tony Earnshaw
@ 2002-06-04 21:06   ` Tony Earnshaw
  2002-06-04 21:28   ` James Sneeringer
  2 siblings, 0 replies; 6+ messages in thread
From: Tony Earnshaw @ 2002-06-04 21:06 UTC (permalink / raw)
  To: Tony Earnshaw
  Cc: Philippe Dhont   (Sea-ro), 'netfilter@lists.samba.org'

[-- Attachment #1: Type: text/plain, Size: 567 bytes --]

tir, 2002-06-04 kl. 22:41 skrev Tony Earnshaw:

> Remove cd /lib/modules/2.4.18-6mdksecure/kernel/net/ipv4/netfilter,
> whatever happens.

***NO***!

Remove /lib/modules/2.4.18-6mdksecure/kernel/net/ipv4/netfilter.bkup and
contents!

Humble apologies :-(

Tony

-- 

Tony Earnshaw

e-post:		tonni@billy.demon.nl
www:		http://www.billy.demon.nl
gpg public key:	http://www.billy.demon.nl/tonni.armor

Telefoon:	(+31) (0)172 530428
Mobiel:		(+31) (0)6 51153356

GPG Fingerprint = 3924 6BF8 A755 DE1A 4AD6 FA2B F7D7 6051 3BE7 B981
3BE7B981



[-- Attachment #2: Dette er en digitalt signert meldingsdel --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Error when using iptables 1.2.6a (or another version)
  2002-06-04 20:41 ` Tony Earnshaw
  2002-06-04 21:06   ` Tony Earnshaw
  2002-06-04 21:06   ` Tony Earnshaw
@ 2002-06-04 21:28   ` James Sneeringer
  2002-06-05  6:25     ` Tony Earnshaw
  2 siblings, 1 reply; 6+ messages in thread
From: James Sneeringer @ 2002-06-04 21:28 UTC (permalink / raw)
  To: netfilter

On Tue, Jun 04, 2002 at 10:41:01PM +0200, Tony Earnshaw wrote:
| O.k., I use Red Hat and kernel.org kernels and modules, but it seems
| *very* strange to me that Mandrake should use gzipped modules.

There is a compile-time option to modutils (modprobe, insmod, et al) that
permits gzipped kernel modules.  The INSTALL file from modutils-2.4.16
has this to say about it:

    [configure options]

    --disable-zlib          Handle gzipped objects?  Default is no.
                            You probably only need this if you are booting
                            a small root filesystem and the filesystem is
                            not compressed itself.

I know Slackware 7.1 and 8.0 enable this feature.

-James



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Error when using iptables 1.2.6a (or another version)
  2002-06-04 21:28   ` James Sneeringer
@ 2002-06-05  6:25     ` Tony Earnshaw
  0 siblings, 0 replies; 6+ messages in thread
From: Tony Earnshaw @ 2002-06-05  6:25 UTC (permalink / raw)
  To: netfilter; +Cc: James Sneeringer, Philippe Dhont  (Sea-ro)

[-- Attachment #1: Type: text/plain, Size: 1000 bytes --]

tir, 2002-06-04 kl. 23:28 skrev James Sneeringer:

> There is a compile-time option to modutils (modprobe, insmod, et al) that
> permits gzipped kernel modules.

> I know Slackware 7.1 and 8.0 enable this feature.

Ah. Well then, Philippe's possibly suffering from the well-known
ipchains syndrome. lsmod would show this.

The solution is remove the ipchains modules (if they're not compiled
into a monolithic kernel) and substitute iptables.

Under Red Hat, up to v7.2, anyway, it was standard to start up ipchains
instead of iptables after a fresh install. All the iptables stuff had to
be done by hand, i.e. stopping automatic loading and enabling automatic
loading of iptables.

Tony

-- 

Tony Earnshaw

e-post:		tonni@billy.demon.nl
www:		http://www.billy.demon.nl
gpg public key:	http://www.billy.demon.nl/tonni.armor

Telefoon:	(+31) (0)172 530428
Mobiel:		(+31) (0)6 51153356

GPG Fingerprint = 3924 6BF8 A755 DE1A 4AD6 FA2B F7D7 6051 3BE7 B981
3BE7B981



[-- Attachment #2: Dette er en digitalt signert meldingsdel --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-06-05  6:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-04  8:42 Error when using iptables 1.2.6a (or another version) Philippe Dhont   (Sea-ro)
2002-06-04 20:41 ` Tony Earnshaw
2002-06-04 21:06   ` Tony Earnshaw
2002-06-04 21:06   ` Tony Earnshaw
2002-06-04 21:28   ` James Sneeringer
2002-06-05  6:25     ` Tony Earnshaw

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.