2002-08-02 15:52:19

by Marc-Christian Petersen

[permalink] [raw]
Subject: [BUG] 2.4.19-rc5 with ipchains module

Hi there,

ipchains isn't able to be loaded as a module, even there is no iptables
loaded. .config is attached.

root@codeman:[/] > modprobe ipchains
Warning: loading /lib/modules/2.4.19-rc5/kernel/net/ipv4/netfilter/ipchains.o
will taint the kernel: non-GPL license - BSD without advertisement clause
/lib/modules/2.4.19-rc5/kernel/net/ipv4/netfilter/ipchains.o: init_module:
Device or resource busy
Hint: insmod errors can be caused by incorrect module parameters, including
invalid IO or IRQ parameters
/lib/modules/2.4.19-rc5/kernel/net/ipv4/netfilter/ipchains.o: insmod
/lib/modules/2.4.19-rc5/kernel/net/ipv4/netfilter/ipchains.o failed
/lib/modules/2.4.19-rc5/kernel/net/ipv4/netfilter/ipchains.o: insmod ipchains
failed
root@codeman:[/] > uname -a
Linux codeman 2.4.19-rc5 #1 Fri Aug 2 00:44:58 CEST 2002 i686 unknown unknown
GNU/Linux
root@codeman:[/] > lsmod
Module Size Used by Tainted: P
r128 88576 0 (autoclean)
ppp_deflate 39040 0 (autoclean)
bsd_comp 3960 0 (autoclean)
8139too 14024 1 (autoclean)
mii 1056 0 (autoclean) [8139too]
ppp_async 6368 1 (autoclean)
ppp_generic 19552 3 (autoclean) [ppp_deflate bsd_comp ppp_async]
slhc 4272 0 (autoclean) [ppp_generic]
sd_mod 10636 0 (autoclean) (unused)
eepro100 17208 1 (autoclean)
ide-scsi 7376 1 (autoclean)
sg 28700 0 (autoclean) (unused)
scsi_mod 87880 3 (autoclean) [sd_mod ide-scsi sg]
parport_pc 24776 1 (autoclean)
lp 6980 0 (autoclean)
parport 23520 1 (autoclean) [parport_pc lp]
ipv6 124692 -1 (autoclean)


--
Kind regards
Marc-Christian Petersen

http://sourceforge.net/projects/wolk

PGP/GnuPG Key: 1024D/408B2D54947750EC
Fingerprint: 8602 69E0 A9C2 A509 8661 2B0B 408B 2D54 9477 50EC
Key available at http://www.keyserver.net. Encrypted e-mail preferred.


Attachments:
.config (25.14 kB)

2002-08-09 10:24:45

by Adrian Bunk

[permalink] [raw]
Subject: Re: [BUG] 2.4.19-rc5 with ipchains module

On Fri, 2 Aug 2002, Marc-Christian Petersen wrote:

> Hi there,
>
> ipchains isn't able to be loaded as a module, even there is no iptables
> loaded. .config is attached.
>
> root@codeman:[/] > modprobe ipchains
> Warning: loading /lib/modules/2.4.19-rc5/kernel/net/ipv4/netfilter/ipchains.o
> will taint the kernel: non-GPL license - BSD without advertisement clause
>...

The following trivial patch taken from 2.4.20-pre1-ac1 fixes it:

--- linux.20pre1/net/ipv4/netfilter/ipchains_core.c 2002-08-06 15:40:34.000000000 +0100
+++ linux.20pre1-ac1/net/ipv4/netfilter/ipchains_core.c 2002-08-06 15:41:56.000000000 +0100
@@ -1779,4 +1779,4 @@
#endif
return ret;
}
-MODULE_LICENSE("BSD without advertisement clause");
+MODULE_LICENSE("Dual BSD/GPL");



Marcelo:
Please include this patch in 2.4.20.


cu
Adrian

--

You only think this is a free country. Like the US the UK spends a lot of
time explaining its a free country because its a police state.
Alan Cox