Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with kernel 2.4.20-r2 and iptables
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Sylhouette
n00b
n00b


Joined: 18 Apr 2002
Posts: 70
Location: Beverwijk , Holland

PostPosted: Wed Mar 26, 2003 1:39 pm    Post subject: Problem with kernel 2.4.20-r2 and iptables Reply with quote

I had to re install my gentoo box (HD crashed)

Now i have kernel 2.4.20-gentoo-r2

The problem is i cannot insmod my iptables modules when i do insmod ip_tables i get :

Code:

Firewall root # insmod ip_tables
Using /lib/modules/2.4.20-gentoo-r2/kernel/net/ipv4/netfilter/ip_tables.o
/lib/modules/2.4.20-gentoo-r2/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol nf_unregister_sockopt
/lib/modules/2.4.20-gentoo-r2/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol nf_register_sockopt


I used the .config i had from my old box -r1 it did not work either
remerging iptables did not work.
emerge -C iptables and then emerge iptables did also not work

Please help
Back to top
View user's profile Send private message
Sylhouette
n00b
n00b


Joined: 18 Apr 2002
Posts: 70
Location: Beverwijk , Holland

PostPosted: Wed Mar 26, 2003 2:58 pm    Post subject: Reply with quote

Well a little update

emerged 2.4.20 - r1

used the same .config of r2
and all worked well

Is this a bug or am i doing something wrong
Back to top
View user's profile Send private message
rtn
Guru
Guru


Joined: 15 Nov 2002
Posts: 427

PostPosted: Wed Mar 26, 2003 3:40 pm    Post subject: Reply with quote

There are a bunch of posts about fixing unresolved symbols in kernel modules,
try a search.

Generally, the procedure to fix it looks like this:

Code:
cd /usr/src/linux
cp .config ..
make mrproper
cp ../.config .
make oldconfig
make dep && make clean bzImage modules modules_install


--rtn
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum