2002-01-16 11:13:51

by Luca Adesso

[permalink] [raw]
Subject: iptables and 2.4.17

There is some problem with iptables modules and kernel 2.4.17 ?
I'm using 2.4.10 and it works fine; I tried on another computer at work the
2.4.17 but I got unresolved symbol errors
ip_tables.o: unresolved symbol nf_unregister_sockopt
ip_tables.o: unresolved symbol nf_register_sockopt

I downloaded 2.4.16 and compiled with the same configuration and it works fine.
I have Slackware 7.0

Please CC me for the reply.
Thanks.


2002-01-16 12:12:48

by Harald Welte

[permalink] [raw]
Subject: Re: iptables and 2.4.17

On Wed, Jan 16, 2002 at 12:13:11PM +0100, Luca Adesso wrote:
> There is some problem with iptables modules and kernel 2.4.17 ?
> I'm using 2.4.10 and it works fine; I tried on another computer at work the
> 2.4.17 but I got unresolved symbol errors
> ip_tables.o: unresolved symbol nf_unregister_sockopt
> ip_tables.o: unresolved symbol nf_register_sockopt

Strange. Are you sure you really did it in the following order:

make clean (better: make mrproper)
- configure the kernel
make bzImage
- install your new bzImage
make modules
make modules_install
- boot into your new kernel

We haven't had any bug report regarding your problem, and I'm personally
also running plain 2.4.17 on one of my boxes without any problems.

> Thanks.

--
Live long and prosper
- Harald Welte / [email protected] http://www.gnumonks.org/
============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M-
V-- PS+ PE-- Y+ PGP++ t++ 5-- !X !R tv-- b+++ DI? !D G+ e* h+ r% y+(*)

2002-01-16 13:30:12

by Luca Adesso

[permalink] [raw]
Subject: Re: iptables and 2.4.17

At 13.03 16/01/02 +0100, you wrote:
>On Wed, Jan 16, 2002 at 12:13:11PM +0100, Luca Adesso wrote:
> > There is some problem with iptables modules and kernel 2.4.17 ?
> > I'm using 2.4.10 and it works fine; I tried on another computer at work
> the
> > 2.4.17 but I got unresolved symbol errors
> > ip_tables.o: unresolved symbol nf_unregister_sockopt
> > ip_tables.o: unresolved symbol nf_register_sockopt
>
>Strange. Are you sure you really did it in the following order:
>make clean (better: make mrproper)
>- configure the kernel
>make bzImage
>- install your new bzImage
>make modules
>make modules_install
>- boot into your new kernel
Sure I always do in the same way!
I go in /usr/src and rm -r linux and rm linux-2.4.5 (the kernel installed
with Slackware 7.0) then downloaded kernel 2.4.17
make mrproper and reconfigured my kernel.
I create a script to compile the kernel, so I'm sure I do al the same
everytime.
The script is:
#mkernel begin
#!/bin/sh
make dep && make clean && make bzImage && make modules
make modules_install
cp System.map /boot
cp arch/i386/boot/bzImage /boot
lilo
#mkernel end

>We haven't had any bug report regarding your problem, and I'm personally
>also running plain 2.4.17 on one of my boxes without any problems.
I have problem with iptables.o and with apm.o.
For apm I haven't found help and I never create a working modules so I
compiled it in the kernel.
I was sure that iptables works like modules and now it's working fine on
that system with 2.4.16

Any suggestions?

2002-01-16 13:46:49

by Bruce Harada

[permalink] [raw]
Subject: Re: iptables and 2.4.17

On Wed, 16 Jan 2002 14:28:53 +0100
Luca Adesso <[email protected]> wrote:

> I go in /usr/src and rm -r linux and rm linux-2.4.5 (the kernel installed
> with Slackware 7.0) then downloaded kernel 2.4.17

Er... are you sure you don't mean Slackware 8.0? Slackware 7.0 was 2.2.x.

2002-01-16 13:50:49

by Luca Adesso

[permalink] [raw]
Subject: Re: iptables and 2.4.17

At 22.46 16/01/02 +0900, you wrote:
> > with Slackware 7.0) then downloaded kernel 2.4.17
>
>Er... are you sure you don't mean Slackware 8.0? Slackware 7.0 was 2.2.x.
Sorry! you are right! Slackware 8.0

2002-01-16 14:42:56

by Harald Welte

[permalink] [raw]
Subject: Re: iptables and 2.4.17

On Wed, Jan 16, 2002 at 02:28:53PM +0100, Luca Adesso wrote:

> >Strange. Are you sure you really did it in the following order:

> Sure I always do in the same way!

Could you please send me your .config kernel configuration in private mail
(NOT to the linux-kernel list), I will try to reproduce your problem

> I was sure that iptables works like modules and now it's working fine on
> that system with 2.4.16

It definitely works in all relesed kernel version since 2.4.0 as modules,
I've used all of them :)

> Any suggestions?

--
Live long and prosper
- Harald Welte / [email protected] http://www.gnumonks.org/
============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M-
V-- PS+ PE-- Y+ PGP++ t++ 5-- !X !R tv-- b+++ DI? !D G+ e* h+ r% y+(*)