* Cannot use iptables with kernel 2.6.30
@ 2010-04-22 10:58 Elison Niven
2010-04-23 7:30 ` Jan Engelhardt
0 siblings, 1 reply; 3+ messages in thread
From: Elison Niven @ 2010-04-22 10:58 UTC (permalink / raw)
To: netfilter
Hi List,
I am trying to install iptables on ARM platform running linux kernel
2.6.30. I have enabled all the netfilter modules as enabled in the
kernel.
When statically building iptables-1.4.7, I get the following error:
# iptables
getsockopt failed strangely
When I build it dynamically, I am able to run iptables:
# iptables -h
(displays help)
However, When I try to apply any rules, It says:
# iptables -F
Can't initialize table filter.
Perhaps iptables or your kernel needs to be updated.
This is strange because I have enabled all the netfilter options in my kernel.
I also tried using iptables-1.4.4 and iptables-1.3.8 but am not able
to run iptables.
Searching a little more, It seems to be the bug reported here :
https://lists.linux-foundation.org/pipermail/bugme-new/2009-April/021618.html
However this patch that claims to solve this is already applied in my
kernel and I still get the same error:
http://marc.info/?l=linux-crypto-vger&m=123924457316022&w=2
Best Regards,
Elison
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Cannot use iptables with kernel 2.6.30
2010-04-22 10:58 Cannot use iptables with kernel 2.6.30 Elison Niven
@ 2010-04-23 7:30 ` Jan Engelhardt
2010-04-23 12:59 ` Elison Niven
0 siblings, 1 reply; 3+ messages in thread
From: Jan Engelhardt @ 2010-04-23 7:30 UTC (permalink / raw)
To: Elison Niven; +Cc: netfilter, Netfilter Developer Mailing List
On Thursday 2010-04-22 12:58, Elison Niven wrote:
>
>I am trying to install iptables on ARM platform running linux kernel
>2.6.30. I have enabled all the netfilter modules as enabled in the
>kernel.
>
>When statically building iptables-1.4.7, I get the following error:
># iptables
>getsockopt failed strangely
iptables without a command should display "no command specified",
not getsockopt failed.
What commands did you use for static compilation?
>When I build it dynamically, I am able to run iptables:
># iptables -h
>(displays help)
>However, When I try to apply any rules, It says:
># iptables -F
>Can't initialize table filter.
>Perhaps iptables or your kernel needs to be updated.
>
>This is strange because I have enabled all the netfilter options in my kernel.
I have a vague idea it could be ARM's alignments..
>I also tried using iptables-1.4.4 and iptables-1.3.8 but am not able
>to run iptables.
>
>Searching a little more, It seems to be the bug reported here :
>
>https://lists.linux-foundation.org/pipermail/bugme-new/2009-April/021618.html
This report mentions that versions before 2.6.30-rc1 (e.g. 2.6.29) were fine.
Is that also the case for you?
>However this patch that claims to solve this is already applied in my
>kernel and I still get the same error:
>
>http://marc.info/?l=linux-crypto-vger&m=123924457316022&w=2
Does it happen when iptable_filter.ko is loaded already before
iptables is executed?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Cannot use iptables with kernel 2.6.30
2010-04-23 7:30 ` Jan Engelhardt
@ 2010-04-23 12:59 ` Elison Niven
0 siblings, 0 replies; 3+ messages in thread
From: Elison Niven @ 2010-04-23 12:59 UTC (permalink / raw)
To: Jan Engelhardt, netfilter
Hi,
I should have mentioned that I am trying to run iptables on an
AT91RM9200. While compiling the linux kernel I had enabled the option
Use the latest ABI to compile the kernel. With this option enabled,
iptables did not work.
I disabled this option in the Linux kernel and iptables is now working
fine. So I guess this problem is solved.
I use all modules as built in the kernel so there aren't any .ko files
needed to be inserted.
Thanks,
Elison
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-04-23 12:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-22 10:58 Cannot use iptables with kernel 2.6.30 Elison Niven
2010-04-23 7:30 ` Jan Engelhardt
2010-04-23 12:59 ` Elison Niven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).