Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19443 - can't initialize iptables table filter and it cannot resolve symbols nf_resister_sockopt and nf_unregister_sockopt
Summary: can't initialize iptables table filter and it cannot resolve symbols nf_resis...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-16 18:07 UTC by Alberto Romero
Modified: 2003-05-03 12:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alberto Romero 2003-04-16 18:07:50 UTC
I have compiled the modules required in Network options-->IP: Netfilter
Configuration, and "emerged" iptables but I always get the same error message:
***
/lib/modules/2.4.20-gentoo-r1/kernel/net/ipv4/netfilter/ip_tables.o:
unresolved symbol nf_unregister_sockopt_Rsmp_dfe5ec30
/lib/modules/2.4.20-gentoo-r1/kernel/net/ipv4/netfilter/ip_tables.o:
unresolved symbol nf_register_sockopt_Rsmp_0e0e3305
/lib/modules/2.4.20-gentoo-r1/kernel/net/ipv4/netfilter/ip_tables.o:
insmod /lib/modules/2.4.20-gentoo-r1/kernel/net/ipv4/netfilter/ip_tables.o
failed /lib/modules/2.4.20-gentoo-r1/kernel/net/ipv4/netfilter/ip_tables.o:
insmod ip_tables failed
iptables v1.2.7a: can't initialize iptables table `filter': iptables
who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
***
I have also made 'make mrproper' and 'make clean' before compiling the kernel
and I always have the same error message.

Reproducible: Always
Steps to Reproduce:
1.iptables -L
or
2.insmod ip_tables
or
3.modprobe ip_tables

Actual Results:  
/lib/modules/2.4.20-gentoo-r1/kernel/net/ipv4/netfilter/ip_tables.o:
unresolved
symbol nf_unregister_sockopt_Rsmp_dfe5ec30
/lib/modules/2.4.20-gentoo-r1/kernel/net/ipv4/netfilter/ip_tables.o:
unresolved
symbol nf_register_sockopt_Rsmp_0e0e3305
/lib/modules/2.4.20-gentoo-r1/kernel/net/ipv4/netfilter/ip_tables.o:
insmod
/lib/modules/2.4.20-gentoo-r1/kernel/net/ipv4/netfilter/ip_tables.o
failed
/lib/modules/2.4.20-gentoo-r1/kernel/net/ipv4/netfilter/ip_tables.o:
insmod ip_tables failed
iptables v1.2.7a: can't initialize iptables table `filter': iptables
who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Expected Results:  
List the rules of iptables.

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 Pentium III (Coppermine)
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ libwww mikmod mmx
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml
alsa gdbm berkdb slang readline arts bonobo svga tcltk java guile X sdl gpm tcpd
pam ssl perl python esd imlib oggvorbis motif opengl mozilla snmp cdr qt kde
-gnome -gtk"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-04-16 18:23:15 UTC
i think this is solved with -r2
Comment 2 Jay Pfeifer (RETIRED) gentoo-dev 2003-05-03 12:53:22 UTC
cannot reproduce on gentoo-sources-2.4.20-r2. upgrade.

closing.

Jay