lkml.org 
[lkml]   [2000]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: [OMG] test8-pre6 horribly, awfully screwed!
Date
On Fri, 08 Sep 2000 23:50:32 -1100, 
Daniel Stone <daniel@dustpuppy.ods.org> wrote:
>When I boot up, I have a netfilter init script. It loads many netfilter
>modules, among them, ipt_LOG, ipt_state, and ipt_limit. When they load,
>whammo, instant OOPS.
>ip_conntrack_irc is also among them.

You might have been bitten by the spurious dependencies that pulls in
both ipchains and ip_conntrack which do not co-exist well. It has been
reported that modules.dep contains lines like this.

/lib/modules/2.4.0-test8-pre1/kernel/net/ipv4/netfilter/ip_nat_ftp.o:
/lib/modules/2.4.0-test8-pre1/kernel/net/ipv4/netfilter/iptable_nat.o \
/lib/modules/2.4.0-test8-pre1/kernel/net/ipv4/netfilter/ipchains.o \
/lib/modules/2.4.0-test8-pre1/kernel/net/ipv4/netfilter/ip_conntrack.o

ipchains does not export any symbols, nor does it suppress symbol
export so the default is export everything. This results in duplicate
exported symbols which confuses depmod. This patch appears to fix the
problem, apply, make modules, make modules_install.

Index: 0-test8-pre6.4/net/ipv4/netfilter/ipchains_core.c
--- 0-test8-pre6.4/net/ipv4/netfilter/ipchains_core.c Fri, 26 May 2000 13:10:01 +1000 kaos (linux-2.4/g/2_ipchains_c 1.1 644)
+++ 0-test8-pre6.4(w)/net/ipv4/netfilter/ipchains_core.c Fri, 08 Sep 2000 15:27:43 +1100 kaos (linux-2.4/g/2_ipchains_c 1.1 644)
@@ -67,6 +67,8 @@
* This software is provided ``AS IS'' without any warranties of any kind. */

#include <linux/config.h>
+#include <linux/module.h>
+EXPORT_NO_SYMBOLS;

#include <asm/uaccess.h>
#include <asm/system.h>

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

\
 
 \ /
  Last update: 2005-03-22 12:38    [from the cache]
©2003-2011 Jasper Spaans