Odroid-u2 Iptables Error

This forum is for supported devices using an ARMv7 Samsung SoC.

Odroid-u2 Iptables Error

Postby emanresu » Sun Nov 15, 2015 11:07 pm

Hello,

I have kernel 3.8.13.30-1-ARCH.

I am trying to run iptables -nvL but I get the message.

$this->bbcode_second_pass_code('', '
iptables v1.4.21: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
')

So far after an many internet searches I have found out that this file /proc/net/ip_tables_names is empty.

I have also run lsmod.

$this->bbcode_second_pass_code('', '
# lsmod

Module Size Used by
smsc95xx 20985 0
usbnet 21989 1 smsc95xx
gpio_keys 7296 0
ip_tables 11800 0
x_tables 16638 1 ip_tables
ipv6 301199 20
')

Here is an strace iptables -nvL.

$this->bbcode_second_pass_code('', '
# strace iptables -nvL
execve("/usr/bin/iptables", ["iptables", "-nvL"], [/* 17 vars */]) = 0
brk(0) = 0x84000
uname({sysname="Linux", nodename="u2", ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6fdc000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=27706, ...}) = 0
mmap2(NULL, 27706, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb6fd5000
close(3) = 0
open("/usr/lib/libip4tc.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\220\20\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=22412, ...}) = 0
mmap2(NULL, 86544, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6f98000
mprotect(0xb6f9d000, 61440, PROT_NONE) = 0
mmap2(0xb6fac000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0xb6fac000
')

I have also run these commands. They did not help.

$this->bbcode_second_pass_code('', '
modprobe ip_tables
modprobe ip_conntrack
modprobe iptable_filter
modprobe ipt_state
')
emanresu
 
Posts: 2
Joined: Sun Nov 15, 2015 10:59 pm

Re: Odroid-u2 Iptables Error

Postby NariOX » Mon Nov 16, 2015 2:54 pm

It's possible that the latest version of iptables requires features no present in 3.8. You might want to try linux-armv7 instead.

It seems like the kernel limits the clock to 1.4, but otherwise it seems to work wonderfully.
NariOX
 
Posts: 2
Joined: Sun Aug 11, 2013 1:10 am

Re: Odroid-u2 Iptables Error

Postby emanresu » Wed Nov 18, 2015 2:00 pm

NariOX,

I tried linux-armv7 and my system would not boot anymore. Do you have any more ideas?


$this->bbcode_second_pass_quote('NariOX', 'I')t's possible that the latest version of iptables requires features no present in 3.8. You might want to try linux-armv7 instead.

It seems like the kernel limits the clock to 1.4, but otherwise it seems to work wonderfully.
emanresu
 
Posts: 2
Joined: Sun Nov 15, 2015 10:59 pm

Re: Odroid-u2 Iptables Error

Postby WarheadsSE » Wed Nov 18, 2015 2:28 pm

At this point, it seems more likely that you had a running kernel vs package mismatch.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to Samsung

Who is online

Users browsing this forum: No registered users and 15 guests