* [gentoo-dev] RE: Problem with iptables
@ 2003-04-11 15:03 Alberto Romero
2003-04-11 23:14 ` Tom Molesworth
0 siblings, 1 reply; 5+ messages in thread
From: Alberto Romero @ 2003-04-11 15:03 UTC (permalink / raw
To: gentoo-dev
I have tried the make clean or make mrproper before and it didn't work.
I will try a standard vanilla kernel and let you know if it works.
Thanks,
Alberto Romero
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] RE: Problem with iptables
2003-04-11 15:03 [gentoo-dev] RE: Problem with iptables Alberto Romero
@ 2003-04-11 23:14 ` Tom Molesworth
0 siblings, 0 replies; 5+ messages in thread
From: Tom Molesworth @ 2003-04-11 23:14 UTC (permalink / raw
To: gentoo-dev
On Fri, Apr 11, 2003 at 03:03:55PM +0000, Alberto Romero wrote:
> I have tried the make clean or make mrproper before and it didn't work.
> I will try a standard vanilla kernel and let you know if it works.
Try turning off MOD_VERSIONS (Loadable Module Support->Set version
information on all modules), and recompiling the kernel (including
"make modules && make modules_install").
TM
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-dev] RE: Problem with iptables
@ 2003-04-12 9:04 Alberto Romero
2003-04-12 17:12 ` Per-Erik Westerberg
0 siblings, 1 reply; 5+ messages in thread
From: Alberto Romero @ 2003-04-12 9:04 UTC (permalink / raw
To: gentoo-dev
Ok, I 've compiled a vanilla kernel, but I think it still loads the
modules of the other kernel (the gentoo one). My modules (the ip_tables
one) are in:
/lib/modules/2.4.20/kernel/net/ipv4/netfilter/
but it still looks at:
/lib/modules/2.4.20-gentoo-r1/kernel/net/ipv4/netfilter/
So I did:
insmod /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables
but it gives me more errors than the gentoo module, and they are similar
(unresolved symbols).
Any ideas? How can I change the loadable modules default path?
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] RE: Problem with iptables
2003-04-12 9:04 Alberto Romero
@ 2003-04-12 17:12 ` Per-Erik Westerberg
0 siblings, 0 replies; 5+ messages in thread
From: Per-Erik Westerberg @ 2003-04-12 17:12 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1090 bytes --]
Which kernel is in your "/usr/src/linux" directory? You should create a
symbolic link in "/usr/src" called "linux" which is "linked to" the
kernel you are compiling the modules for. I've had exactly this problem
when I switched from the gentoo-sources to the gentoo-gaming-sources,
I'd forgot to change the "/usr/src/linux"-link to point to the gaming-
sources.
Regards / Per-Erik
On Sat, 2003-04-12 at 11:04, Alberto Romero wrote:
> Ok, I 've compiled a vanilla kernel, but I think it still loads the
> modules of the other kernel (the gentoo one). My modules (the ip_tables
> one) are in:
> /lib/modules/2.4.20/kernel/net/ipv4/netfilter/
> but it still looks at:
> /lib/modules/2.4.20-gentoo-r1/kernel/net/ipv4/netfilter/
> So I did:
> insmod /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables
> but it gives me more errors than the gentoo module, and they are similar
> (unresolved symbols).
>
> Any ideas? How can I change the loadable modules default path?
>
>
> --
> gentoo-dev@gentoo.org mailing list
--
Per-Erik Westerberg <pew@wesper.net>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-dev] Problem with iptables
@ 2003-04-11 10:23 Alberto Romero
2003-04-11 18:52 ` [gentoo-dev] " Douglas Pollock
0 siblings, 1 reply; 5+ messages in thread
From: Alberto Romero @ 2003-04-11 10:23 UTC (permalink / raw
To: gentoo-dev
Hello, I was trying to install iptables in my gentoo, but I always have
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 compiled the modules required in Network options-->IP: Netfilter
Configuration,and "emerged" iptables but it doesn't work.
Anybody has any idea of what's the problem here?
Thanks,
Alberto Romero
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-dev] Re: Problem with iptables
2003-04-11 10:23 [gentoo-dev] " Alberto Romero
@ 2003-04-11 18:52 ` Douglas Pollock
0 siblings, 0 replies; 5+ messages in thread
From: Douglas Pollock @ 2003-04-11 18:52 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 925 bytes --]
I've seen similar problems before, and it happened when I tried to add IP
tables support to an existing kernel. Is this what you are trying to do?
I don't know if this will help, but:
Did you execute "make clean" on the kernel tree before compiling? If so, then
you might want to copy your ".config" in the root of the kernel source to
your home directory, executing "make mrproper" and then copying the config
back. (I've seen some wonkiness with dependency checking on the Gentoo take
on the Linux kernel.)
So something like:
make clean
make dep bzImage modules modules_install
Check to see if it works. If not....
cp .config ~/
make mrproper
cp ~/.config .
make dep bzImage modules modules_install
Good luck,
Doug.
On Friday April 11 2003 6:23 am, Alberto Romero wrote:
> Hello, I was trying to install iptables in my gentoo, but I always have
> the same error message:
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-04-12 17:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-11 15:03 [gentoo-dev] RE: Problem with iptables Alberto Romero
2003-04-11 23:14 ` Tom Molesworth
-- strict thread matches above, loose matches on Subject: below --
2003-04-12 9:04 Alberto Romero
2003-04-12 17:12 ` Per-Erik Westerberg
2003-04-11 10:23 [gentoo-dev] " Alberto Romero
2003-04-11 18:52 ` [gentoo-dev] " Douglas Pollock
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox