View previous topic :: View next topic |
Author |
Message |
Sylhouette n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 18 Apr 2002 Posts: 70 Location: Beverwijk , Holland
|
Posted: Wed Mar 26, 2003 1:39 pm Post subject: Problem with kernel 2.4.20-r2 and iptables |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Sylhouette n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 18 Apr 2002 Posts: 70 Location: Beverwijk , Holland
|
Posted: Wed Mar 26, 2003 2:58 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
rtn Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 15 Nov 2002 Posts: 427
|
Posted: Wed Mar 26, 2003 3:40 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|