[Bug 734] Iptables on Arm Processor with Vanilla Kernel
bugzilla-daemon at bugzilla.netfilter.org
bugzilla-daemon at bugzilla.netfilter.org
Fri Aug 26 22:35:23 CEST 2011
http://bugzilla.netfilter.org/show_bug.cgi?id=734
Tom <xsited at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |xsited at yahoo.com
--- Comment #3 from Tom <xsited at yahoo.com> 2011-08-26 22:35:23 ---
I would like to tag along if you don't mind as it seems relevant and similar.
Thanks
# strace iptables -L
execve("/sbin/iptables", ["iptables", "-L"], [/* 12 vars */]) = 0
brk(0) = 0x63000
uname({sys="Linux", node="viz", ...}) = 0
...
open("/lib/libip4tc.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\240\16\0\0004\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=21884, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x4001a000
mmap2(NULL, 53504, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x40023000
mprotect(0x40028000, 28672, PROT_NONE) = 0
mmap2(0x4002f000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4) = 0x4002f000
close(3) = 0
open("/lib/libxtables.so.7", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\200!\0\0004\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=38500, ...}) = 0
mmap2(NULL, 71392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x40031000
mprotect(0x4003a000, 28672, PROT_NONE) = 0
mmap2(0x40041000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8) = 0x40041000
close(3) = 0
open("/lib/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\00083\0\0004\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=654536, ...}) = 0
mmap2(NULL, 684236, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x40043000
mprotect(0x400e2000, 28672, PROT_NONE) = 0
mmap2(0x400e9000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9e) = 0x400e9000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0Pd\1\0004\0\0\0"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1128020, ...}) = 0
mmap2(NULL, 1164200, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x400eb000
mprotect(0x401fa000, 32768, PROT_NONE) = 0
mmap2(0x40202000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10f) = 0x40202000
mmap2(0x40205000, 9128, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40205000
close(3) = 0
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\300\n\0\0004\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=9708, ...}) = 0
mmap2(NULL, 41188, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x40208000
mprotect(0x4020a000, 28672, PROT_NONE) = 0
mmap2(0x40211000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x40211000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x4001b000
set_tls(0x4001b860, 0x4001b860, 0x4001bfb8, 0x4001bf38, 0x40022044) = 0
mprotect(0x40211000, 4096, PROT_READ) = 0
mprotect(0x40202000, 8192, PROT_READ) = 0
mprotect(0x400e9000, 4096, PROT_READ) = 0
mprotect(0x40041000, 4096, PROT_READ) = 0
mprotect(0x4002f000, 4096, PROT_READ) = 0
mprotect(0x1a000, 4096, PROT_READ) = 0
mprotect(0x40021000, 4096, PROT_READ) = 0
socket(PF_INET, SOCK_RAW, IPPROTO_RAW) = 3
getsockopt(3, SOL_IP, 0x40 /* IP_??? */,
"filter\0\303\223\0\0\240\23\0\0`\340&\213\303\5\0\0\0d\246\2\300\0\300/\303"...,
[84]) = 0
brk(0) = 0x63000
brk(0x84000) = 0x84000
getsockopt(3, SOL_IP, 0x41 /* IP_??? */, 0x63090, 0xbecbfb6c) = -1 EINVAL
(Invalid argument)
close(3) = 0
lstat64("/proc/net/ip_tables_names", {st_mode=S_IFREG|0440, st_size=0, ...}) =
0
statfs("/proc/net/ip_tables_names", {f_type="PROC_SUPER_MAGIC", f_bsize=4096,
f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0},
f_namelen=255, f_frsize=4096}) = 0
socket(PF_INET, SOCK_RAW, IPPROTO_RAW) = 3
getsockopt(3, SOL_IP, 0x40 /* IP_??? */,
"filter\0\303\223\0\0\240\23\0\0`\340&\213\303\5\0\0\0d\246\2\300\0\300/\303"...,
[84]) = 0
getsockopt(3, SOL_IP, 0x41 /* IP_??? */, 0x63090, 0xbecbfb6c) = -1 EINVAL
(Invalid argument)
close(3) = 0
write(2, "iptables v1.4.12: ", 18iptables v1.4.12: ) = 18
write(2, "can't initialize iptables table "..., 58can't initialize iptables
table `filter': Invalid argument) = 58
open("/lib/libgcc_s.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0x\36\0\0004\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=46512, ...}) = 0
mmap2(NULL, 78408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x40213000
mprotect(0x4021e000, 28672, PROT_NONE) = 0
mmap2(0x40225000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa) = 0x40225000
close(3) = 0
mprotect(0x40225000, 4096, PROT_READ) = 0
write(2, "\n", 1
) = 1
write(2, "Perhaps iptables or your kernel "..., 54Perhaps iptables or your
kernel needs to be upgraded.
) = 54
exit_group(3) = ?
# cat /proc/net/ip_tables_names
nat
mangle
filter
Linux viz 2.6.33.5-at91 #2 Wed Aug 24 13:16:37 PDT 2011 armv5tejl GNU/Linux
iptables v1.4.12
# cctypeinfo
TYPE SIZEOF ALIGNOF
char 1 1
short 2 2
int 4 4
long 4 4
long long 8 4
float 4 4
double 8 4
long double 8 4
void * 4 4
void (*)(void) 4 4
intptr_t 4 4
size_t 4 4
wchar_t 4 4
off_t 4 4
loff_t 8 4
uint8_t 1 1
uint16_t 2 2
uint32_t 4 4
uint64_t 8 4
struct x16 4 4
struct x32 8 4
struct x64 16 4
mode_t 4 4
time_t 4 4
struct timespec 8 4
struct sockaddr 16 4
struct sockaddr_in 16 4
struct sockaddr_in6 28 4
struct sockaddr_storage 128 4
--
Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.
More information about the netfilter-buglog
mailing list