* iptables -> can't initialize iptables table `filter': Bad file descriptor
@ 2007-12-02 19:22 Salatiel Filho
2007-12-03 8:07 ` Patrick McHardy
0 siblings, 1 reply; 26+ messages in thread
From: Salatiel Filho @ 2007-12-02 19:22 UTC (permalink / raw)
To: netfilter-devel
HI guys , i don`t know if this is the right list , but i could not
find help anywhere else.
I am having a very strange problem with my machine , i can not use
iptables at all.
I have the modules compiled and loaded but i always get :
# iptables -L
iptables v1.3.6: can't initialize iptables table `filter': Bad file descriptor
Perhaps iptables or your kernel needs to be upgraded.
My machine is a ARM machine with debian 4.0.
I also have already tried 1.3.8 and got the same error.
# lsmod
Module Size Used by
iptable_filter 2304 0
ip_tables 22016 1 iptable_filter
strace here:
strace iptables -L
execve("/sbin/iptables", ["iptables", "-L"], [/* 20 vars */]) = 0
uname({sys="Linux", node="LS-GL7D6", ...}) = 0
brk(0) = 0x1c000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40015000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=25798, ...}) = 0
mmap2(NULL, 25798, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001e000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
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\250\v\0\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9592, ...}) = 0
mmap2(NULL, 41124, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x40025000
mprotect(0x40027000, 32932, PROT_NONE) = 0
mmap2(0x4002e000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x4002e000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libnsl.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\0\3703\0\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=68460, ...}) = 0
mmap2(NULL, 108188, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x40030000
mprotect(0x40040000, 42652, PROT_NONE) = 0
mmap2(0x40047000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf) = 0x40047000
mmap2(0x40049000, 5788, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40049000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libselinux.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\0 7\0\0004"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=75268, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x4004b000
mmap2(NULL, 109376, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x4004c000
mprotect(0x4005e000, 35648, PROT_NONE) = 0
mmap2(0x40065000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11) = 0x40065000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
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\0HO\1\0004"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1091216, ...}) = 0
mmap2(NULL, 1128068, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
3, 0) = 0x40067000
mprotect(0x4016e000, 50820, PROT_NONE) = 0
mmap2(0x40175000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x106) = 0x40175000
mmap2(0x40178000, 9860, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40178000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libsepol.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\0h/\0\0004"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=223904, ...}) = 0
mmap2(NULL, 297872, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x4017b000
mprotect(0x401b2000, 72592, PROT_NONE) = 0
mmap2(0x401b9000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x36) = 0x401b9000
mmap2(0x401ba000, 39824, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401ba000
close(3) = 0
mprotect(0x40175000, 8192, PROT_READ) = 0
mprotect(0x40065000, 4096, PROT_READ) = 0
mprotect(0x40047000, 4096, PROT_READ) = 0
mprotect(0x4002e000, 4096, PROT_READ) = 0
mprotect(0x4001c000, 4096, PROT_READ) = 0
munmap(0x4001e000, 25798) = 0
access("/etc/selinux/", F_OK) = -1 ENOENT (No such file or directory)
brk(0) = 0x1c000
brk(0x3d000) = 0x3d000
open("/proc/mounts", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x4001e000
read(3, "rootfs / rootfs rw 0 0\n/dev/root"..., 1024) = 486
read(3, "", 1024) = 0
close(3) = 0
munmap(0x4001e000, 4096) = 0
socket(PF_INET, SOCK_RAW, IPPROTO_RAW) = 3
getsockopt(3, SOL_IP, 0x40 /* IP_??? */,
"filter\0@\0\0\0\0\340\257\6@h\262\4@\1\0\0\0\234\213\0"..., [84]) = 0
getsockopt(3, SOL_IP, 0x41 /* IP_??? */, 0x1c0c0, 0xbed05c10) = -1
EINVAL (Invalid argument)
close(3) = 0
open("/proc/sys/kernel/modprobe", O_RDONLY) = 3
read(3, "/sbin/modprobe\n", 1024) = 15
close(3) = 0
fork() = 22448
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 22448
--- SIGCHLD (Child exited) @ 0 (0) ---
getsockopt(-1, SOL_IP, 0x40 /* IP_??? */, 0xbed05bb4, 0xbed05c0c) = -1
EBADF (Bad file descriptor)
write(2, "iptables v1.3.6: ", 17iptables v1.3.6: ) = 17
write(2, "can\'t initialize iptables table "..., 61can't initialize
iptables table `filter': Bad file descriptor) = 61
write(2, "\n", 1
) = 1
write(2, "Perhaps iptables or your kernel "..., 54Perhaps iptables or
your kernel needs to be upgraded.
) = 54
io_submit(0x3, 0, 0x8 <unfinished ... exit status 3>
Process 22447 detached
strace of the child here:
strace -Ff iptables -L
execve("/sbin/iptables", ["iptables", "-L"], [/* 20 vars */]) = 0
uname({sys="Linux", node="LS-GL7D6", ...}) = 0
brk(0) = 0x1c000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40015000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=25798, ...}) = 0
mmap2(NULL, 25798, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001e000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
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\250\v\0\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9592, ...}) = 0
mmap2(NULL, 41124, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x40025000
mprotect(0x40027000, 32932, PROT_NONE) = 0
mmap2(0x4002e000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x4002e000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libnsl.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\0\3703\0\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=68460, ...}) = 0
mmap2(NULL, 108188, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x40030000
mprotect(0x40040000, 42652, PROT_NONE) = 0
mmap2(0x40047000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf) = 0x40047000
mmap2(0x40049000, 5788, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40049000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libselinux.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\0 7\0\0004"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=75268, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x4004b000
mmap2(NULL, 109376, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x4004c000
mprotect(0x4005e000, 35648, PROT_NONE) = 0
mmap2(0x40065000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11) = 0x40065000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
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\0HO\1\0004"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1091216, ...}) = 0
mmap2(NULL, 1128068, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
3, 0) = 0x40067000
mprotect(0x4016e000, 50820, PROT_NONE) = 0
mmap2(0x40175000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x106) = 0x40175000
mmap2(0x40178000, 9860, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40178000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libsepol.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\0h/\0\0004"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=223904, ...}) = 0
mmap2(NULL, 297872, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x4017b000
mprotect(0x401b2000, 72592, PROT_NONE) = 0
mmap2(0x401b9000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x36) = 0x401b9000
mmap2(0x401ba000, 39824, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401ba000
close(3) = 0
mprotect(0x40175000, 8192, PROT_READ) = 0
mprotect(0x40065000, 4096, PROT_READ) = 0
mprotect(0x40047000, 4096, PROT_READ) = 0
mprotect(0x4002e000, 4096, PROT_READ) = 0
mprotect(0x4001c000, 4096, PROT_READ) = 0
munmap(0x4001e000, 25798) = 0
access("/etc/selinux/", F_OK) = -1 ENOENT (No such file or directory)
brk(0) = 0x1c000
brk(0x3d000) = 0x3d000
open("/proc/mounts", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x4001e000
read(3, "rootfs / rootfs rw 0 0\n/dev/root"..., 1024) = 486
read(3, "", 1024) = 0
close(3) = 0
munmap(0x4001e000, 4096) = 0
socket(PF_INET, SOCK_RAW, IPPROTO_RAW) = 3
getsockopt(3, SOL_IP, 0x40 /* IP_??? */,
"filter\0@\0\0\0\0\340\257\6@h\262\4@\1\0\0\0\234\213\0"..., [84]) = 0
getsockopt(3, SOL_IP, 0x41 /* IP_??? */, 0x1c0c0, 0xbed24c10) = -1
EINVAL (Invalid argument)
close(3) = 0
open("/proc/sys/kernel/modprobe", O_RDONLY) = 3
read(3, "/sbin/modprobe\n", 1024) = 15
close(3) = 0
fork(Process 22506 attached
) = 22506
[pid 22505] wait4(-1, Process 22505 suspended
any help ?
--
[]'s
Salatiel
"O maior prazer do inteligente é bancar o idiota
diante de um idiota que banca o inteligente".
-
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: iptables -> can't initialize iptables table `filter': Bad file descriptor
2007-12-02 19:22 iptables -> can't initialize iptables table `filter': Bad file descriptor Salatiel Filho
@ 2007-12-03 8:07 ` Patrick McHardy
2007-12-03 12:35 ` Salatiel Filho
0 siblings, 1 reply; 26+ messages in thread
From: Patrick McHardy @ 2007-12-03 8:07 UTC (permalink / raw)
To: Salatiel Filho; +Cc: netfilter-devel
Salatiel Filho wrote:
> HI guys , i don`t know if this is the right list , but i could not
> find help anywhere else.
> I am having a very strange problem with my machine , i can not use
> iptables at all.
> I have the modules compiled and loaded but i always get :
>
> # iptables -L
> iptables v1.3.6: can't initialize iptables table `filter': Bad file descriptor
> Perhaps iptables or your kernel needs to be upgraded.
>
>
> My machine is a ARM machine with debian 4.0.
> I also have already tried 1.3.8 and got the same error.
Which kernel version (please also send .config)? Did you compile
iptables yourself or used a version from Debian?
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: iptables -> can't initialize iptables table `filter': Bad file descriptor
2007-12-03 8:07 ` Patrick McHardy
@ 2007-12-03 12:35 ` Salatiel Filho
2007-12-04 8:18 ` Patrick McHardy
0 siblings, 1 reply; 26+ messages in thread
From: Salatiel Filho @ 2007-12-03 12:35 UTC (permalink / raw)
To: Patrick McHardy; +Cc: netfilter-devel
[-- Attachment #1: Type: text/plain, Size: 1156 bytes --]
On Dec 3, 2007 5:07 AM, Patrick McHardy <kaber@trash.net> wrote:
> Salatiel Filho wrote:
> > HI guys , i don`t know if this is the right list , but i could not
> > find help anywhere else.
> > I am having a very strange problem with my machine , i can not use
> > iptables at all.
> > I have the modules compiled and loaded but i always get :
> >
> > # iptables -L
> > iptables v1.3.6: can't initialize iptables table `filter': Bad file descriptor
> > Perhaps iptables or your kernel needs to be upgraded.
> >
> >
> > My machine is a ARM machine with debian 4.0.
> > I also have already tried 1.3.8 and got the same error.
>
>
> Which kernel version (please also send .config)? Did you compile
> iptables yourself or used a version from Debian?
>
>
# uname -a
Linux LS-GL7D6 2.6.12.6-arm2 #77 Sun Dec 2 15:43:18 BRT 2007 armv5tejl GNU/Linux
Right now i am using iptables from debian, but i already try to use
1.3.8 compiled by myself and the error was the same.
.config is attached.
Thanks.
--
[]'s
Salatiel
"O maior prazer do inteligente é bancar o idiota
diante de um idiota que banca o inteligente".
[-- Attachment #2: config --]
[-- Type: application/octet-stream, Size: 29613 bytes --]
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.12.6-arm2
# Sun Dec 2 15:44:59 2007
#
CONFIG_ARM=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_GENERIC_IOMAP=y
#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_CLEAN_COMPILE=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_INIT_ENV_ARG_LIMIT=32
#
# General setup
#
CONFIG_LOCALVERSION=""
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
# CONFIG_POSIX_MQUEUE is not set
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
# CONFIG_AUDIT is not set
CONFIG_HOTPLUG=y
CONFIG_KOBJECT_UEVENT=y
# CONFIG_IKCONFIG is not set
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_SHMEM=y
CONFIG_CC_ALIGN_FUNCTIONS=0
CONFIG_CC_ALIGN_LABELS=0
CONFIG_CC_ALIGN_LOOPS=0
CONFIG_CC_ALIGN_JUMPS=0
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
CONFIG_OBSOLETE_MODPARM=y
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_KMOD=y
#
# System Type
#
# CONFIG_ARCH_CLPS7500 is not set
# CONFIG_ARCH_CLPS711X is not set
# CONFIG_ARCH_CO285 is not set
# CONFIG_ARCH_EBSA110 is not set
# CONFIG_ARCH_CAMELOT is not set
# CONFIG_ARCH_FOOTBRIDGE is not set
# CONFIG_ARCH_INTEGRATOR is not set
CONFIG_ARCH_MV88fxx81=y
# CONFIG_ARCH_IOP3XX is not set
# CONFIG_ARCH_IXP4XX is not set
# CONFIG_ARCH_IXP2000 is not set
# CONFIG_ARCH_L7200 is not set
# CONFIG_ARCH_PXA is not set
# CONFIG_ARCH_RPC is not set
# CONFIG_ARCH_SA1100 is not set
# CONFIG_ARCH_S3C2410 is not set
# CONFIG_ARCH_SHARK is not set
# CONFIG_ARCH_LH7A40X is not set
# CONFIG_ARCH_OMAP is not set
# CONFIG_ARCH_VERSATILE is not set
# CONFIG_ARCH_IMX is not set
# CONFIG_ARCH_H720X is not set
#
# BUFFALO Features
#
CONFIG_BUFFALO_PLATFORM=y
CONFIG_BUFFALO_LINKSTATION_LSGL=y
# CONFIG_BUFFALO_TERASTATION_TEST is not set
# CONFIG_BUFFALO_LSGL_SOFT_BOARDID is not set
CONFIG_USE_RS5C372=y
CONFIG_BUFFALO_USE_MICON=y
#
# mv88fxx81 Options
#
# CONFIG_ARCH_MV88f1181 is not set
CONFIG_ARCH_MV88f5181=y
CONFIG_MV88F5182=y
# CONFIG_VOIP_RD2 is not set
# CONFIG_MV_88W8660 is not set
CONFIG_ARCH_SUPPORTS_BIG_ENDIAN=y
# CONFIG_USE_DSP is not set
CONFIG_MV_DMA_COPYUSER=y
#
# egiga options
#
CONFIG_ETH_0_MACADDR="000000000051"
# CONFIG_EGIGA_PROC is not set
# CONFIG_EGIGA_MULTI_Q is not set
# CONFIG_QUARTER_DECK is not set
#
# cesa options
#
CONFIG_MV_CESA=y
CONFIG_MV_CESA_OCF=y
CONFIG_SCSI_MVSATA=y
CONFIG_MV88fxx81_PROC=y
CONFIG_UBOOT_STRUCT=y
#
# Processor Type
#
CONFIG_CPU_32=y
CONFIG_CPU_ARM926T=y
CONFIG_CPU_32v5=y
CONFIG_CPU_ABRT_EV5TJ=y
CONFIG_CPU_CACHE_VIVT=y
CONFIG_CPU_COPY_V4WB=y
CONFIG_CPU_TLB_V4WBI=y
#
# Processor Features
#
CONFIG_ARM_THUMB=y
# CONFIG_CPU_BIG_ENDIAN is not set
# CONFIG_CPU_ICACHE_DISABLE is not set
# CONFIG_CPU_DCACHE_DISABLE is not set
# CONFIG_CPU_DCACHE_WRITETHROUGH is not set
# CONFIG_CPU_CACHE_ROUND_ROBIN is not set
#
# Bus support
#
CONFIG_ISA_DMA_API=y
CONFIG_PCI=y
# CONFIG_PCI_LEGACY_PROC is not set
# CONFIG_PCI_NAMES is not set
#
# PCCARD (PCMCIA/CardBus) support
#
# CONFIG_PCCARD is not set
#
# Kernel Features
#
# CONFIG_SMP is not set
# CONFIG_PREEMPT is not set
CONFIG_AEABI=y
CONFIG_OABI_COMPAT=y
# CONFIG_REORDER is not set
# CONFIG_DISCONTIGMEM is not set
CONFIG_LEDS=y
CONFIG_LEDS_TIMER=y
# CONFIG_LEDS_CPU is not set
CONFIG_ALIGNMENT_TRAP=y
#
# Boot options
#
CONFIG_ZBOOT_ROM_TEXT=0x0
CONFIG_ZBOOT_ROM_BSS=0x0
CONFIG_CMDLINE="console=ttyAM0 root=/dev/nfs rw nfsroot=10.4.50.31:/home/rshitrit/cramfs-1.1/cramfs-1.1/shoko2 mem=32M ip=10.4.50.99:10.4.50.31:::ARM:eth0:none"
# CONFIG_XIP_KERNEL is not set
#
# Floating point emulation
#
#
# At least one emulation must be selected
#
# CONFIG_FPE_NWFPE is not set
CONFIG_FPE_FASTFPE=y
# CONFIG_VFP is not set
CONFIG_VFP_RUN_FAST_MODE=y
#
# Userspace binary formats
#
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_AOUT is not set
# CONFIG_BINFMT_MISC is not set
# CONFIG_ARTHUR is not set
#
# Power management options
#
# CONFIG_PM is not set
#
# Device Drivers
#
#
# Generic Driver Options
#
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
#
# Memory Technology Devices (MTD)
#
CONFIG_MTD=y
# CONFIG_MTD_DEBUG is not set
# CONFIG_MTD_CONCAT is not set
CONFIG_MTD_PARTITIONS=y
# CONFIG_MTD_REDBOOT_PARTS is not set
# CONFIG_MTD_CMDLINE_PARTS is not set
# CONFIG_MTD_AFS_PARTS is not set
#
# User Modules And Translation Layers
#
CONFIG_MTD_CHAR=y
CONFIG_MTD_BLOCK=y
# CONFIG_FTL is not set
# CONFIG_NFTL is not set
# CONFIG_INFTL is not set
#
# RAM/ROM/Flash chip drivers
#
CONFIG_MTD_CFI=y
CONFIG_MTD_JEDECPROBE=y
CONFIG_MTD_GEN_PROBE=y
CONFIG_MTD_CFI_ADV_OPTIONS=y
CONFIG_MTD_CFI_NOSWAP=y
# CONFIG_MTD_CFI_BE_BYTE_SWAP is not set
# CONFIG_MTD_CFI_LE_BYTE_SWAP is not set
# CONFIG_MTD_CFI_GEOMETRY is not set
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
CONFIG_MTD_CFI_I1=y
CONFIG_MTD_CFI_I2=y
# CONFIG_MTD_CFI_I4 is not set
# CONFIG_MTD_CFI_I8 is not set
CONFIG_MTD_CFI_INTELEXT=y
CONFIG_MTD_CFI_AMDSTD=y
CONFIG_MTD_CFI_AMDSTD_RETRY=0
# CONFIG_MTD_CFI_STAA is not set
CONFIG_MTD_CFI_UTIL=y
# CONFIG_MTD_RAM is not set
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_ABSENT is not set
# CONFIG_MTD_XIP is not set
#
# Mapping drivers for chip access
#
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
CONFIG_MTD_PHYSMAP=y
CONFIG_MTD_PHYSMAP_START=0xf0000000
CONFIG_MTD_PHYSMAP_LEN=0x1000000
CONFIG_MTD_PHYSMAP_BANKWIDTH=2
# CONFIG_MTD_ARM_INTEGRATOR is not set
# CONFIG_MTD_EDB7312 is not set
# CONFIG_MTD_IMPA7 is not set
#
# Self-contained MTD device drivers
#
# CONFIG_MTD_PMC551 is not set
# CONFIG_MTD_SLRAM is not set
# CONFIG_MTD_PHRAM is not set
# CONFIG_MTD_MTDRAM is not set
# CONFIG_MTD_BLKMTD is not set
# CONFIG_MTD_BLOCK2MTD is not set
#
# Disk-On-Chip Device Drivers
#
# CONFIG_MTD_DOC2000 is not set
# CONFIG_MTD_DOC2001 is not set
# CONFIG_MTD_DOC2001PLUS is not set
#
# NAND Flash Device Drivers
#
# CONFIG_MTD_NAND is not set
#
# Parallel port support
#
# CONFIG_PARPORT is not set
#
# Plug and Play support
#
#
# Block devices
#
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_SX8 is not set
# CONFIG_BLK_DEV_UB is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=3
CONFIG_BLK_DEV_RAM_SIZE=16384
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
# CONFIG_CDROM_PKTCDVD is not set
#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_ATA_OVER_ETH is not set
#
# SCSI device support
#
CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y
#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
# CONFIG_BLK_DEV_SR is not set
CONFIG_CHR_DEV_SG=y
#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
CONFIG_SCSI_MULTI_LUN=y
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set
#
# SCSI Transport Attributes
#
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
#
# SCSI low-level drivers
#
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_MEGARAID_NEWGEN is not set
# CONFIG_MEGARAID_LEGACY is not set
# CONFIG_SCSI_SATA is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_QLOGIC_FC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
CONFIG_SCSI_QLA2XXX=y
# CONFIG_SCSI_QLA21XX is not set
# CONFIG_SCSI_QLA22XX is not set
# CONFIG_SCSI_QLA2300 is not set
# CONFIG_SCSI_QLA2322 is not set
# CONFIG_SCSI_QLA6312 is not set
# CONFIG_SCSI_LPFC is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set
#
# Multi-device support (RAID and LVM)
#
CONFIG_MD=y
CONFIG_BLK_DEV_MD=m
CONFIG_MD_LINEAR=m
CONFIG_MD_RAID0=m
CONFIG_MD_RAID1=m
# CONFIG_MD_RAID10 is not set
CONFIG_MD_RAID5=m
# CONFIG_MD_RAID6 is not set
# CONFIG_MD_MULTIPATH is not set
# CONFIG_MD_FAULTY is not set
# CONFIG_BLK_DEV_DM is not set
#
# Fusion MPT device support
#
# CONFIG_FUSION is not set
#
# IEEE 1394 (FireWire) support
#
# CONFIG_IEEE1394 is not set
#
# I2O device support
#
# CONFIG_I2O is not set
#
# Networking support
#
CONFIG_NET=y
#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
CONFIG_UNIX=y
# CONFIG_NET_KEY is not set
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
# CONFIG_IP_PNP_BOOTP is not set
# CONFIG_IP_PNP_RARP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_TUNNEL is not set
CONFIG_IP_TCPDIAG=y
# CONFIG_IP_TCPDIAG_IPV6 is not set
#
# IP: Virtual Server Configuration
#
# CONFIG_IP_VS is not set
# CONFIG_IPV6 is not set
CONFIG_NETFILTER=y
CONFIG_NETFILTER_DEBUG=y
#
# IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=m
CONFIG_IP_NF_CT_ACCT=y
CONFIG_IP_NF_CONNTRACK_MARK=y
CONFIG_IP_NF_CT_PROTO_SCTP=m
CONFIG_IP_NF_FTP=m
CONFIG_IP_NF_IRC=m
CONFIG_IP_NF_TFTP=m
CONFIG_IP_NF_AMANDA=m
CONFIG_IP_NF_QUEUE=m
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_LIMIT=m
CONFIG_IP_NF_MATCH_IPRANGE=m
CONFIG_IP_NF_MATCH_MAC=m
CONFIG_IP_NF_MATCH_PKTTYPE=m
CONFIG_IP_NF_MATCH_MARK=m
CONFIG_IP_NF_MATCH_MULTIPORT=m
CONFIG_IP_NF_MATCH_TOS=m
CONFIG_IP_NF_MATCH_RECENT=m
CONFIG_IP_NF_MATCH_ECN=m
CONFIG_IP_NF_MATCH_DSCP=m
CONFIG_IP_NF_MATCH_AH_ESP=m
CONFIG_IP_NF_MATCH_LENGTH=m
CONFIG_IP_NF_MATCH_TTL=m
CONFIG_IP_NF_MATCH_TCPMSS=m
CONFIG_IP_NF_MATCH_HELPER=m
CONFIG_IP_NF_MATCH_STATE=m
CONFIG_IP_NF_MATCH_CONNTRACK=m
CONFIG_IP_NF_MATCH_OWNER=m
CONFIG_IP_NF_MATCH_ADDRTYPE=m
CONFIG_IP_NF_MATCH_REALM=m
CONFIG_IP_NF_MATCH_SCTP=m
CONFIG_IP_NF_MATCH_COMMENT=m
CONFIG_IP_NF_MATCH_CONNMARK=m
CONFIG_IP_NF_MATCH_HASHLIMIT=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_TARGET_ULOG=m
CONFIG_IP_NF_TARGET_TCPMSS=m
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP_NF_TARGET_REDIRECT=m
CONFIG_IP_NF_TARGET_NETMAP=m
CONFIG_IP_NF_TARGET_SAME=m
CONFIG_IP_NF_NAT_SNMP_BASIC=m
CONFIG_IP_NF_NAT_IRC=m
CONFIG_IP_NF_NAT_FTP=m
CONFIG_IP_NF_NAT_TFTP=m
CONFIG_IP_NF_NAT_AMANDA=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_TOS=m
CONFIG_IP_NF_TARGET_ECN=m
CONFIG_IP_NF_TARGET_DSCP=m
CONFIG_IP_NF_TARGET_MARK=m
CONFIG_IP_NF_TARGET_CLASSIFY=m
CONFIG_IP_NF_TARGET_CONNMARK=m
CONFIG_IP_NF_TARGET_CLUSTERIP=m
CONFIG_IP_NF_RAW=m
CONFIG_IP_NF_TARGET_NOTRACK=m
CONFIG_IP_NF_ARPTABLES=m
CONFIG_IP_NF_ARPFILTER=m
CONFIG_IP_NF_ARP_MANGLE=m
#
# SCTP Configuration (EXPERIMENTAL)
#
# CONFIG_IP_SCTP is not set
# CONFIG_ATM is not set
# CONFIG_BRIDGE is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
CONFIG_LLC=m
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
CONFIG_ATALK=m
# CONFIG_DEV_APPLETALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set
CONFIG_NET_CLS_ROUTE=y
#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
# CONFIG_HAMRADIO is not set
CONFIG_IRDA=m
#
# IrDA protocols
#
# CONFIG_IRLAN is not set
# CONFIG_IRNET is not set
# CONFIG_IRCOMM is not set
# CONFIG_IRDA_ULTRA is not set
#
# IrDA options
#
# CONFIG_IRDA_CACHE_LAST_LSAP is not set
# CONFIG_IRDA_FAST_RR is not set
# CONFIG_IRDA_DEBUG is not set
#
# Infrared-port device drivers
#
#
# SIR device drivers
#
# CONFIG_IRTTY_SIR is not set
#
# Dongle support
#
#
# Old SIR device drivers
#
# CONFIG_IRPORT_SIR is not set
#
# Old Serial dongle support
#
#
# FIR device drivers
#
# CONFIG_USB_IRDA is not set
# CONFIG_SIGMATEL_FIR is not set
# CONFIG_NSC_FIR is not set
# CONFIG_WINBOND_FIR is not set
# CONFIG_TOSHIBA_FIR is not set
# CONFIG_SMC_IRCC_FIR is not set
# CONFIG_ALI_FIR is not set
# CONFIG_VLSI_FIR is not set
# CONFIG_VIA_FIR is not set
CONFIG_BT=m
# CONFIG_BT_L2CAP is not set
# CONFIG_BT_SCO is not set
#
# Bluetooth device drivers
#
# CONFIG_BT_HCIUSB is not set
# CONFIG_BT_HCIUART is not set
# CONFIG_BT_HCIBCM203X is not set
# CONFIG_BT_HCIBPA10X is not set
# CONFIG_BT_HCIBFUSB is not set
# CONFIG_BT_HCIVHCI is not set
CONFIG_NETDEVICES=y
# CONFIG_DUMMY is not set
CONFIG_BONDING=m
# CONFIG_EQUALIZER is not set
CONFIG_TUN=m
#
# ARCnet devices
#
# CONFIG_ARCNET is not set
#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
CONFIG_MII=y
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_SMC91X is not set
#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_HP100 is not set
# CONFIG_NET_PCI is not set
#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
CONFIG_SK98LIN=y
CONFIG_SK98LIN_NAPI=y
# CONFIG_TIGON3 is not set
# CONFIG_BNX2 is not set
#
# Ethernet (10000 Mbit)
#
# CONFIG_IXGB is not set
# CONFIG_S2IO is not set
#
# Token Ring devices
#
# CONFIG_TR is not set
#
# Wireless LAN (non-hamradio)
#
CONFIG_NET_RADIO=y
#
# Obsolete Wireless cards support (pre-802.11)
#
# CONFIG_STRIP is not set
#
# Wireless 802.11b ISA/PCI cards support
#
# CONFIG_HERMES is not set
# CONFIG_ATMEL is not set
#
# Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support
#
# CONFIG_PRISM54 is not set
#
# Marvell HardAP
#
# CONFIG_MARVELL_HARDAP is not set
#
# Marvell SoftAP
#
# CONFIG_MARVELL_SOFTAP is not set
CONFIG_NET_WIRELESS=y
#
# Wan interfaces
#
# CONFIG_WAN is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
CONFIG_PPP=m
CONFIG_PPP_MULTILINK=y
CONFIG_PPP_FILTER=y
CONFIG_PPP_ASYNC=m
CONFIG_PPP_SYNC_TTY=m
CONFIG_PPP_DEFLATE=m
CONFIG_PPP_BSDCOMP=m
CONFIG_PPPOE=m
# CONFIG_SLIP is not set
# CONFIG_NET_FC is not set
# CONFIG_SHAPER is not set
# CONFIG_NETCONSOLE is not set
#
# ISDN subsystem
#
# CONFIG_ISDN is not set
#
# Telephony Support
#
# CONFIG_PHONE is not set
#
# Input device support
#
CONFIG_INPUT=y
#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set
#
# Input Device Drivers
#
# CONFIG_INPUT_KEYBOARD is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set
#
# Hardware I/O ports
#
# CONFIG_SERIO is not set
# CONFIG_GAMEPORT is not set
#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_SERIAL_NONSTANDARD is not set
#
# Serial drivers
#
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_NR_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set
#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_JSM is not set
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=16
#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set
#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_NVRAM is not set
# CONFIG_RTC is not set
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
#
# Ftape, the floppy tape device driver
#
# CONFIG_DRM is not set
# CONFIG_RAW_DRIVER is not set
#
# TPM devices
#
# CONFIG_TCG_TPM is not set
#
# I2C support
#
CONFIG_I2C=m
# CONFIG_I2C_CHARDEV is not set
#
# I2C Algorithms
#
# CONFIG_I2C_ALGOBIT is not set
# CONFIG_I2C_ALGOPCF is not set
# CONFIG_I2C_ALGOPCA is not set
#
# I2C Hardware Bus support
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_I801 is not set
# CONFIG_I2C_I810 is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_I2C_ISA is not set
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_PROSAVAGE is not set
# CONFIG_I2C_SAVAGE4 is not set
# CONFIG_SCx200_ACB is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_STUB is not set
# CONFIG_I2C_VIA is not set
# CONFIG_I2C_VIAPRO is not set
# CONFIG_I2C_VOODOO3 is not set
# CONFIG_I2C_PCA_ISA is not set
#
# Hardware Sensors Chip support
#
# CONFIG_I2C_SENSOR is not set
# CONFIG_SENSORS_ADM1021 is not set
# CONFIG_SENSORS_ADM1025 is not set
# CONFIG_SENSORS_ADM1026 is not set
# CONFIG_SENSORS_ADM1031 is not set
# CONFIG_SENSORS_ASB100 is not set
# CONFIG_SENSORS_DS1621 is not set
# CONFIG_SENSORS_FSCHER is not set
# CONFIG_SENSORS_FSCPOS is not set
# CONFIG_SENSORS_GL518SM is not set
# CONFIG_SENSORS_GL520SM is not set
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_LM63 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM77 is not set
# CONFIG_SENSORS_LM78 is not set
# CONFIG_SENSORS_LM80 is not set
# CONFIG_SENSORS_LM83 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_LM87 is not set
# CONFIG_SENSORS_LM90 is not set
# CONFIG_SENSORS_LM92 is not set
# CONFIG_SENSORS_MAX1619 is not set
# CONFIG_SENSORS_PC87360 is not set
# CONFIG_SENSORS_SMSC47B397 is not set
# CONFIG_SENSORS_SIS5595 is not set
# CONFIG_SENSORS_SMSC47M1 is not set
# CONFIG_SENSORS_VIA686A is not set
# CONFIG_SENSORS_W83781D is not set
# CONFIG_SENSORS_W83L785TS is not set
# CONFIG_SENSORS_W83627HF is not set
#
# Other I2C Chip support
#
# CONFIG_SENSORS_DS1337 is not set
# CONFIG_SENSORS_EEPROM is not set
# CONFIG_SENSORS_PCF8574 is not set
# CONFIG_SENSORS_PCF8591 is not set
# CONFIG_SENSORS_RTC8564 is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_I2C_DEBUG_CHIP is not set
#
# Misc devices
#
#
# Multimedia devices
#
CONFIG_VIDEO_DEV=m
#
# Video For Linux
#
#
# Video Adapters
#
# CONFIG_VIDEO_BT848 is not set
# CONFIG_VIDEO_CPIA is not set
# CONFIG_VIDEO_SAA5246A is not set
# CONFIG_VIDEO_SAA5249 is not set
# CONFIG_TUNER_3036 is not set
# CONFIG_VIDEO_STRADIS is not set
# CONFIG_VIDEO_SAA7134 is not set
# CONFIG_VIDEO_MXB is not set
# CONFIG_VIDEO_DPC is not set
# CONFIG_VIDEO_HEXIUM_ORION is not set
# CONFIG_VIDEO_HEXIUM_GEMINI is not set
# CONFIG_VIDEO_CX88 is not set
# CONFIG_VIDEO_OVCAMCHIP is not set
#
# Radio Adapters
#
# CONFIG_RADIO_GEMTEK_PCI is not set
# CONFIG_RADIO_MAXIRADIO is not set
# CONFIG_RADIO_MAESTRO is not set
#
# Digital Video Broadcasting Devices
#
CONFIG_DVB=y
# CONFIG_DVB_CORE is not set
#
# Graphics support
#
# CONFIG_FB is not set
#
# Console display driver support
#
# CONFIG_VGA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
#
# Sound
#
CONFIG_SOUND=m
#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
#
# Generic devices
#
CONFIG_SND_MPU401_UART=m
CONFIG_SND_OPL3_LIB=m
CONFIG_SND_VX_LIB=m
CONFIG_SND_DUMMY=m
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
#
# PCI devices
#
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_ALI5451=m
CONFIG_SND_ATIIXP=m
CONFIG_SND_ATIIXP_MODEM=m
CONFIG_SND_AU8810=m
CONFIG_SND_AU8820=m
CONFIG_SND_AU8830=m
CONFIG_SND_AZT3328=m
CONFIG_SND_BT87X=m
CONFIG_SND_BT87X_OVERCLOCK=y
CONFIG_SND_CS46XX=m
CONFIG_SND_CS46XX_NEW_DSP=y
CONFIG_SND_CS4281=m
CONFIG_SND_EMU10K1=m
CONFIG_SND_EMU10K1X=m
CONFIG_SND_CA0106=m
CONFIG_SND_KORG1212=m
CONFIG_SND_MIXART=m
CONFIG_SND_NM256=m
CONFIG_SND_RME32=m
CONFIG_SND_RME96=m
CONFIG_SND_RME9652=m
CONFIG_SND_HDSP=m
CONFIG_SND_TRIDENT=m
CONFIG_SND_YMFPCI=m
CONFIG_SND_ALS4000=m
CONFIG_SND_CMIPCI=m
CONFIG_SND_ENS1370=m
CONFIG_SND_ENS1371=m
CONFIG_SND_ES1938=m
CONFIG_SND_ES1968=m
CONFIG_SND_MAESTRO3=m
CONFIG_SND_FM801=m
CONFIG_SND_FM801_TEA575X=m
CONFIG_SND_ICE1712=m
CONFIG_SND_ICE1724=m
CONFIG_SND_INTEL8X0=m
CONFIG_SND_INTEL8X0M=m
CONFIG_SND_SONICVIBES=m
CONFIG_SND_VIA82XX=m
CONFIG_SND_VIA82XX_MODEM=m
CONFIG_SND_VX222=m
CONFIG_SND_HDA_INTEL=m
#
# ALSA ARM devices
#
#
# USB devices
#
CONFIG_SND_USB_AUDIO=m
#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set
#
# USB support
#
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set
#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_OTG is not set
#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_SPLIT_ISO=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_OHCI_HCD=y
# CONFIG_USB_OHCI_BIG_ENDIAN is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_UHCI_HCD=y
# CONFIG_USB_SL811_HCD is not set
#
# USB Device Class drivers
#
CONFIG_USB_AUDIO=m
#
# USB Bluetooth TTY can only be used with disabled Bluetooth subsystem
#
CONFIG_USB_MIDI=m
CONFIG_USB_ACM=m
CONFIG_USB_PRINTER=m
#
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information
#
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_DATAFAB=y
CONFIG_USB_STORAGE_FREECOM=y
CONFIG_USB_STORAGE_DPCM=y
# CONFIG_USB_STORAGE_USBAT is not set
CONFIG_USB_STORAGE_SDDR09=y
CONFIG_USB_STORAGE_SDDR55=y
CONFIG_USB_STORAGE_JUMPSHOT=y
#
# USB Input Devices
#
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
# CONFIG_HID_FF is not set
CONFIG_USB_HIDDEV=y
#
# USB HID Boot Protocol drivers
#
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
CONFIG_USB_AIPTEK=m
CONFIG_USB_WACOM=m
CONFIG_USB_KBTAB=m
CONFIG_USB_POWERMATE=m
CONFIG_USB_MTOUCH=m
CONFIG_USB_EGALAX=m
CONFIG_USB_XPAD=m
CONFIG_USB_ATI_REMOTE=m
#
# USB Imaging devices
#
CONFIG_USB_MDC800=m
CONFIG_USB_MICROTEK=m
#
# USB Multimedia devices
#
CONFIG_USB_DABUSB=m
# CONFIG_USB_VICAM is not set
# CONFIG_USB_DSBR is not set
CONFIG_USB_IBMCAM=m
CONFIG_USB_KONICAWC=m
CONFIG_USB_OV511=m
CONFIG_USB_SE401=m
CONFIG_USB_SN9C102=m
CONFIG_USB_STV680=m
CONFIG_USB_PWC=m
#
# USB Network Adapters
#
# CONFIG_USB_CATC is not set
CONFIG_USB_KAWETH=m
CONFIG_USB_PEGASUS=m
# CONFIG_USB_RTL8150 is not set
CONFIG_USB_USBNET=m
#
# USB Host-to-Host Cables
#
CONFIG_USB_ALI_M5632=y
CONFIG_USB_AN2720=y
CONFIG_USB_BELKIN=y
CONFIG_USB_GENESYS=y
CONFIG_USB_NET1080=y
CONFIG_USB_PL2301=y
CONFIG_USB_KC2190=y
#
# Intelligent USB Devices/Gadgets
#
CONFIG_USB_ARMLINUX=y
CONFIG_USB_EPSON2888=y
CONFIG_USB_ZAURUS=y
CONFIG_USB_CDCETHER=y
#
# USB Network Adapters
#
CONFIG_USB_AX8817X=y
CONFIG_USB_ZD1201=m
# CONFIG_USB_MON is not set
#
# USB port drivers
#
#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set
#
# USB Miscellaneous drivers
#
CONFIG_USB_EMI62=m
CONFIG_USB_EMI26=m
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
CONFIG_USB_LCD=m
CONFIG_USB_LED=m
CONFIG_USB_CYTHERM=m
CONFIG_USB_PHIDGETKIT=m
CONFIG_USB_PHIDGETSERVO=m
CONFIG_USB_IDMOUSE=m
CONFIG_USB_SISUSBVGA=m
# CONFIG_USB_TEST is not set
#
# USB ATM/DSL drivers
#
#
# USB Gadget Support
#
CONFIG_USB_GADGET=m
# CONFIG_USB_GADGET_DEBUG_FILES is not set
CONFIG_USB_GADGET_NET2280=y
CONFIG_USB_NET2280=m
# CONFIG_USB_GADGET_PXA2XX is not set
# CONFIG_USB_GADGET_GOKU is not set
# CONFIG_USB_GADGET_LH7A40X is not set
# CONFIG_USB_GADGET_OMAP is not set
# CONFIG_USB_GADGET_DUMMY_HCD is not set
CONFIG_USB_GADGET_DUALSPEED=y
# CONFIG_USB_ZERO is not set
CONFIG_USB_ETH=m
CONFIG_USB_ETH_RNDIS=y
# CONFIG_USB_GADGETFS is not set
CONFIG_USB_FILE_STORAGE=m
# CONFIG_USB_FILE_STORAGE_TEST is not set
CONFIG_USB_G_SERIAL=m
#
# MMC/SD Card support
#
CONFIG_MMC=m
# CONFIG_MMC_DEBUG is not set
CONFIG_MMC_BLOCK=m
CONFIG_MMC_WBSD=m
#
# File systems
#
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
CONFIG_EXT3_FS=y
# CONFIG_EXT3_FS_XATTR is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_REISERFS_FS=m
# CONFIG_REISERFS_CHECK is not set
CONFIG_REISERFS_PROC_INFO=y
CONFIG_REISERFS_FS_XATTR=y
CONFIG_REISERFS_FS_POSIX_ACL=y
CONFIG_REISERFS_FS_SECURITY=y
CONFIG_JFS_FS=m
CONFIG_JFS_POSIX_ACL=y
CONFIG_JFS_SECURITY=y
# CONFIG_JFS_DEBUG is not set
CONFIG_JFS_STATISTICS=y
CONFIG_FS_POSIX_ACL=y
#
# XFS support
#
CONFIG_XFS_FS=y
CONFIG_XFS_EXPORT=y
# CONFIG_XFS_RT is not set
# CONFIG_XFS_QUOTA is not set
# CONFIG_XFS_SECURITY is not set
# CONFIG_XFS_POSIX_ACL is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_QUOTA is not set
CONFIG_DNOTIFY=y
# CONFIG_AUTOFS_FS is not set
CONFIG_AUTOFS4_FS=y
#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_ZISOFS_FS=m
CONFIG_UDF_FS=m
CONFIG_UDF_NLS=y
#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="utf8"
CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not set
CONFIG_NTFS_RW=y
#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_SYSFS=y
# CONFIG_DEVFS_FS is not set
# CONFIG_DEVPTS_FS_XATTR is not set
CONFIG_TMPFS=y
# CONFIG_TMPFS_XATTR is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y
#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_JFFS_FS is not set
# CONFIG_JFFS2_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
#
# Network File Systems
#
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
CONFIG_NFSD_V4=y
CONFIG_NFSD_TCP=y
CONFIG_ROOT_NFS=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=y
CONFIG_SUNRPC=y
# CONFIG_RPCSEC_GSS_KRB5 is not set
# CONFIG_RPCSEC_GSS_SPKM3 is not set
# CONFIG_SMB_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
#
# Native Language Support
#
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="utf8"
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_CODEPAGE_737=m
CONFIG_NLS_CODEPAGE_775=m
CONFIG_NLS_CODEPAGE_850=m
CONFIG_NLS_CODEPAGE_852=m
CONFIG_NLS_CODEPAGE_855=m
CONFIG_NLS_CODEPAGE_857=m
CONFIG_NLS_CODEPAGE_860=m
CONFIG_NLS_CODEPAGE_861=m
CONFIG_NLS_CODEPAGE_862=m
CONFIG_NLS_CODEPAGE_863=m
CONFIG_NLS_CODEPAGE_864=m
CONFIG_NLS_CODEPAGE_865=m
CONFIG_NLS_CODEPAGE_866=m
CONFIG_NLS_CODEPAGE_869=m
CONFIG_NLS_CODEPAGE_936=m
CONFIG_NLS_CODEPAGE_950=m
CONFIG_NLS_CODEPAGE_932=y
CONFIG_NLS_CODEPAGE_949=m
CONFIG_NLS_CODEPAGE_874=m
CONFIG_NLS_ISO8859_8=m
CONFIG_NLS_CODEPAGE_1250=m
CONFIG_NLS_CODEPAGE_1251=m
CONFIG_NLS_ASCII=m
CONFIG_NLS_ISO8859_1=m
CONFIG_NLS_ISO8859_2=m
CONFIG_NLS_ISO8859_3=m
CONFIG_NLS_ISO8859_4=m
CONFIG_NLS_ISO8859_5=m
CONFIG_NLS_ISO8859_6=m
CONFIG_NLS_ISO8859_7=m
CONFIG_NLS_ISO8859_9=m
CONFIG_NLS_ISO8859_13=m
CONFIG_NLS_ISO8859_14=m
CONFIG_NLS_ISO8859_15=m
CONFIG_NLS_KOI8_R=m
CONFIG_NLS_KOI8_U=m
CONFIG_NLS_UTF8=y
#
# Profiling support
#
# CONFIG_PROFILING is not set
#
# Kernel hacking
#
# CONFIG_PRINTK_TIME is not set
# CONFIG_DEBUG_KERNEL is not set
CONFIG_LOG_BUF_SHIFT=14
CONFIG_DEBUG_BUGVERBOSE=y
CONFIG_FRAME_POINTER=y
CONFIG_DEBUG_USER=y
#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY is not set
#
# Cryptographic options
#
CONFIG_CRYPTO=y
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_NULL=y
CONFIG_CRYPTO_MD4=y
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_SHA1=y
CONFIG_CRYPTO_SHA256=y
CONFIG_CRYPTO_SHA512=y
CONFIG_CRYPTO_WP512=y
CONFIG_CRYPTO_TGR192=y
CONFIG_CRYPTO_DES=y
CONFIG_CRYPTO_BLOWFISH=y
CONFIG_CRYPTO_TWOFISH=y
CONFIG_CRYPTO_SERPENT=y
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_CAST5=y
CONFIG_CRYPTO_CAST6=y
CONFIG_CRYPTO_TEA=y
CONFIG_CRYPTO_ARC4=y
CONFIG_CRYPTO_KHAZAD=y
CONFIG_CRYPTO_ANUBIS=y
CONFIG_CRYPTO_DEFLATE=y
CONFIG_CRYPTO_MICHAEL_MIC=y
CONFIG_CRYPTO_CRC32C=y
# CONFIG_CRYPTO_TEST is not set
#
# OCF Configuration
#
CONFIG_OCF_OCF=y
CONFIG_OCF_CRYPTODEV=y
CONFIG_OCF_CRYPTOSOFT=y
CONFIG_OCF_BENCH=m
#
# Hardware crypto devices
#
#
# Library routines
#
CONFIG_CRC_CCITT=m
CONFIG_CRC32=y
CONFIG_LIBCRC32C=y
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: iptables -> can't initialize iptables table `filter': Bad file descriptor
2007-12-03 12:35 ` Salatiel Filho
@ 2007-12-04 8:18 ` Patrick McHardy
2007-12-04 8:51 ` Jan Engelhardt
0 siblings, 1 reply; 26+ messages in thread
From: Patrick McHardy @ 2007-12-04 8:18 UTC (permalink / raw)
To: Salatiel Filho; +Cc: netfilter-devel
Salatiel Filho wrote:
> On Dec 3, 2007 5:07 AM, Patrick McHardy <kaber@trash.net> wrote:
>> Salatiel Filho wrote:
>
>>> # iptables -L
>>> iptables v1.3.6: can't initialize iptables table `filter': Bad file descriptor
>>> Perhaps iptables or your kernel needs to be upgraded.
>>>
>>>
>>> My machine is a ARM machine with debian 4.0.
>>> I also have already tried 1.3.8 and got the same error.
>>
>> Which kernel version (please also send .config)? Did you compile
>> iptables yourself or used a version from Debian?
>>
>>
> # uname -a
> Linux LS-GL7D6 2.6.12.6-arm2 #77 Sun Dec 2 15:43:18 BRT 2007 armv5tejl GNU/Linux
>
>
> Right now i am using iptables from debian, but i already try to use
> 1.3.8 compiled by myself and the error was the same.
I can't find anything responsible for this. Could you enable
debugging in net/ipv4/netfilter/ip_tables.c (uncomment the
#define DEBUG_* at the top) and post the output please?
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: iptables -> can't initialize iptables table `filter': Bad file descriptor
2007-12-04 8:18 ` Patrick McHardy
@ 2007-12-04 8:51 ` Jan Engelhardt
2007-12-04 8:58 ` Jesper Dangaard Brouer
2007-12-04 9:14 ` Patrick McHardy
0 siblings, 2 replies; 26+ messages in thread
From: Jan Engelhardt @ 2007-12-04 8:51 UTC (permalink / raw)
To: Patrick McHardy; +Cc: Salatiel Filho, netfilter-devel
On Dec 4 2007 09:18, Patrick McHardy wrote:
> Salatiel Filho wrote:
>> On Dec 3, 2007 5:07 AM, Patrick McHardy <kaber@trash.net> wrote:
>> > Salatiel Filho wrote:
>>
>> > > # iptables -L
>> > > iptables v1.3.6: can't initialize iptables table `filter': Bad file
>> > > descriptor
>> > > Perhaps iptables or your kernel needs to be upgraded.
>> > >
>> > > My machine is a ARM machine with debian 4.0.
>> > > I also have already tried 1.3.8 and got the same error.
>> >
>> > Which kernel version (please also send .config)? Did you compile
>> > iptables yourself or used a version from Debian?
>> >
This looks more like an userspace issue. The strace log shows that the
netlink socket was obtained, but calls setsockopt with fd=-1.
Just a guess, though.
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: iptables -> can't initialize iptables table `filter': Bad file descriptor
2007-12-04 8:51 ` Jan Engelhardt
@ 2007-12-04 8:58 ` Jesper Dangaard Brouer
2007-12-04 9:14 ` Patrick McHardy
1 sibling, 0 replies; 26+ messages in thread
From: Jesper Dangaard Brouer @ 2007-12-04 8:58 UTC (permalink / raw)
To: Salatiel Filho; +Cc: Netfilter Developers
On Tue, 4 Dec 2007, Jan Engelhardt wrote:
> On Dec 4 2007 09:18, Patrick McHardy wrote:
>> Salatiel Filho wrote:
>>> On Dec 3, 2007 5:07 AM, Patrick McHardy <kaber@trash.net> wrote:
>>>> Salatiel Filho wrote:
>>>
>>>>> # iptables -L
>>>>> iptables v1.3.6: can't initialize iptables table `filter': Bad file
>>>>> descriptor
>>>>> Perhaps iptables or your kernel needs to be upgraded.
>>>>>
>>>>> My machine is a ARM machine with debian 4.0.
>>>>> I also have already tried 1.3.8 and got the same error.
>>>>
>>>> Which kernel version (please also send .config)? Did you compile
>>>> iptables yourself or used a version from Debian?
>>>>
>
> This looks more like an userspace issue. The strace log shows that the
> netlink socket was obtained, but calls setsockopt with fd=-1.
> Just a guess, though.
My guess is that the auto loading of the module fails...
Please post the output of "lsmod"
Hilsen
Jesper Brouer
--
-------------------------------------------------------------------
MSc. Master of Computer Science
Dept. of Computer Science, University of Copenhagen
Author of http://www.adsl-optimizer.dk
-------------------------------------------------------------------
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: iptables -> can't initialize iptables table `filter': Bad file descriptor
2007-12-04 8:51 ` Jan Engelhardt
2007-12-04 8:58 ` Jesper Dangaard Brouer
@ 2007-12-04 9:14 ` Patrick McHardy
2007-12-04 14:16 ` Salatiel Filho
1 sibling, 1 reply; 26+ messages in thread
From: Patrick McHardy @ 2007-12-04 9:14 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: Salatiel Filho, netfilter-devel, Jesper Dangaard Brouer
[-- Attachment #1: Type: text/plain, Size: 1016 bytes --]
Jan Engelhardt wrote:
> On Dec 4 2007 09:18, Patrick McHardy wrote:
>> Salatiel Filho wrote:
>>> On Dec 3, 2007 5:07 AM, Patrick McHardy <kaber@trash.net> wrote:
>>>> Salatiel Filho wrote:
>>>>> # iptables -L
>>>>> iptables v1.3.6: can't initialize iptables table `filter': Bad file
>>>>> descriptor
>>>>> Perhaps iptables or your kernel needs to be upgraded.
>>>>>
>>>>> My machine is a ARM machine with debian 4.0.
>>>>> I also have already tried 1.3.8 and got the same error.
>>>> Which kernel version (please also send .config)? Did you compile
>>>> iptables yourself or used a version from Debian?
>>>>
>
> This looks more like an userspace issue. The strace log shows that the
> netlink socket was obtained, but calls setsockopt with fd=-1.
> Just a guess, though.
Right, I missed that, thanks. Jesper seems to be correct, if autoloading
fails we close the socket and decrement sockfd_use twice, which causes
iptables to not open it again for the second attempt.
Salatiel, does this patch fix the problem?
[-- Attachment #2: x --]
[-- Type: text/plain, Size: 319 bytes --]
Index: libiptc/libiptc.c
===================================================================
--- libiptc/libiptc.c (Revision 7130)
+++ libiptc/libiptc.c (Arbeitskopie)
@@ -866,10 +866,6 @@
CHECK(h);
return h;
error:
- if (--sockfd_use == 0) {
- close(sockfd);
- sockfd = -1;
- }
TC_FREE(&h);
return NULL;
}
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: iptables -> can't initialize iptables table `filter': Bad file descriptor
2007-12-04 9:14 ` Patrick McHardy
@ 2007-12-04 14:16 ` Salatiel Filho
2007-12-04 14:18 ` Patrick McHardy
0 siblings, 1 reply; 26+ messages in thread
From: Salatiel Filho @ 2007-12-04 14:16 UTC (permalink / raw)
To: Patrick McHardy; +Cc: Jan Engelhardt, netfilter-devel, Jesper Dangaard Brouer
On 12/4/07, Patrick McHardy <kaber@trash.net> wrote:
> Jan Engelhardt wrote:
> > On Dec 4 2007 09:18, Patrick McHardy wrote:
> >> Salatiel Filho wrote:
> >>> On Dec 3, 2007 5:07 AM, Patrick McHardy <kaber@trash.net> wrote:
> >>>> Salatiel Filho wrote:
> >>>>> # iptables -L
> >>>>> iptables v1.3.6: can't initialize iptables table `filter': Bad file
> >>>>> descriptor
> >>>>> Perhaps iptables or your kernel needs to be upgraded.
> >>>>>
> >>>>> My machine is a ARM machine with debian 4.0.
> >>>>> I also have already tried 1.3.8 and got the same error.
> >>>> Which kernel version (please also send .config)? Did you compile
> >>>> iptables yourself or used a version from Debian?
> >>>>
> >
> > This looks more like an userspace issue. The strace log shows that the
> > netlink socket was obtained, but calls setsockopt with fd=-1.
> > Just a guess, though.
>
>
> Right, I missed that, thanks. Jesper seems to be correct, if autoloading
> fails we close the socket and decrement sockfd_use twice, which causes
> iptables to not open it again for the second attempt.
>
> Salatiel, does this patch fix the problem?
>
> Index: libiptc/libiptc.c
> ===================================================================
> --- libiptc/libiptc.c (Revision 7130)
> +++ libiptc/libiptc.c (Arbeitskopie)
> @@ -866,10 +866,6 @@
> CHECK(h);
> return h;
> error:
> - if (--sockfd_use == 0) {
> - close(sockfd);
> - sockfd = -1;
> - }
> TC_FREE(&h);
> return NULL;
> }
>
>
I tried the patch but it didn`t work.
~# iptables --version [patched now]
iptables v1.3.8
~# iptables -L
iptables v1.3.8: can't initialize iptables table `filter': Invalid argument
Perhaps iptables or your kernel needs to be upgraded.
~# lsmod
Module Size Used by
iptable_filter 2304 0
ip_tables 22016 1 iptable_filter
snd_mixer_oss 14848 0
snd 41976 1 snd_mixer_oss
soundcore 7524 1 snd
--
[]'s
Salatiel
"O maior prazer do inteligente é bancar o idiota
diante de um idiota que banca o inteligente".
-
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: iptables -> can't initialize iptables table `filter': Bad file descriptor
2007-12-04 14:16 ` Salatiel Filho
@ 2007-12-04 14:18 ` Patrick McHardy
[not found] ` <beb91d720712040645w76be238bmdd9dc362bf601755@mail.gmail.com>
0 siblings, 1 reply; 26+ messages in thread
From: Patrick McHardy @ 2007-12-04 14:18 UTC (permalink / raw)
To: Salatiel Filho; +Cc: Jan Engelhardt, netfilter-devel, Jesper Dangaard Brouer
Salatiel Filho wrote:
> On 12/4/07, Patrick McHardy <kaber@trash.net> wrote:
>
>> Salatiel, does this patch fix the problem?
>>
>> Index: libiptc/libiptc.c
>> ===================================================================
>> --- libiptc/libiptc.c (Revision 7130)
>> +++ libiptc/libiptc.c (Arbeitskopie)
>> @@ -866,10 +866,6 @@
>> CHECK(h);
>> return h;
>> error:
>> - if (--sockfd_use == 0) {
>> - close(sockfd);
>> - sockfd = -1;
>> - }
>> TC_FREE(&h);
>> return NULL;
>> }
>>
>>
>
> I tried the patch but it didn`t work.
>
> ~# iptables --version [patched now]
> iptables v1.3.8
>
> ~# iptables -L
> iptables v1.3.8: can't initialize iptables table `filter': Invalid argument
> Perhaps iptables or your kernel needs to be upgraded.
Could you send another strace please?
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: iptables -> can't initialize iptables table `filter': Bad file descriptor
[not found] ` <beb91d720712040645w76be238bmdd9dc362bf601755@mail.gmail.com>
@ 2007-12-04 15:07 ` Patrick McHardy
2007-12-04 15:40 ` Salatiel Filho
0 siblings, 1 reply; 26+ messages in thread
From: Patrick McHardy @ 2007-12-04 15:07 UTC (permalink / raw)
To: Salatiel Filho; +Cc: Netfilter Development Mailinglist
[netfilter-devel re-added. Please don't drop CCs]
Salatiel Filho wrote:
> On 12/4/07, Patrick McHardy <kaber@trash.net> wrote:
>
>>> I tried the patch but it didn`t work.
>>>
>>> ~# iptables --version [patched now]
>>> iptables v1.3.8
>>>
>>> ~# iptables -L
>>> iptables v1.3.8: can't initialize iptables table `filter': Invalid argument
>>> Perhaps iptables or your kernel needs to be upgraded.
>>
>> Could you send another strace please?
>>
> getsockopt(3, SOL_IP, 0x40 /* IP_??? */,
> "filter\0\0\0\0\0\0\340?\3@\310[\1@\1\0\0\0\244\213\0\0"..., [84]) = 0
> brk(0) = 0x1c000
> brk(0x3d000) = 0x3d000
> getsockopt(3, SOL_IP, 0x41 /* IP_??? */, 0x1c0c0, 0xbea55c24) = -1
Thanks. The invalid fd usage is gone, this seems to be a problem
in the interaction between kernel and userspace. Please enable
debugging as I wrote a couple of mails ago and post the output.
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: iptables -> can't initialize iptables table `filter': Bad file descriptor
2007-12-04 15:07 ` Patrick McHardy
@ 2007-12-04 15:40 ` Salatiel Filho
2007-12-04 15:57 ` Patrick McHardy
0 siblings, 1 reply; 26+ messages in thread
From: Salatiel Filho @ 2007-12-04 15:40 UTC (permalink / raw)
To: Patrick McHardy; +Cc: Netfilter Development Mailinglist
On 12/4/07, Patrick McHardy <kaber@trash.net> wrote:
> [netfilter-devel re-added. Please don't drop CCs]
>
> Salatiel Filho wrote:
> > On 12/4/07, Patrick McHardy <kaber@trash.net> wrote:
> >
> >>> I tried the patch but it didn`t work.
> >>>
> >>> ~# iptables --version [patched now]
> >>> iptables v1.3.8
> >>>
> >>> ~# iptables -L
> >>> iptables v1.3.8: can't initialize iptables table `filter': Invalid argument
> >>> Perhaps iptables or your kernel needs to be upgraded.
> >>
> >> Could you send another strace please?
> >>
>
> > getsockopt(3, SOL_IP, 0x40 /* IP_??? */,
> > "filter\0\0\0\0\0\0\340?\3@\310[\1@\1\0\0\0\244\213\0\0"..., [84]) = 0
> > brk(0) = 0x1c000
> > brk(0x3d000) = 0x3d000
> > getsockopt(3, SOL_IP, 0x41 /* IP_??? */, 0x1c0c0, 0xbea55c24) = -1
>
>
> Thanks. The invalid fd usage is gone, this seems to be a problem
> in the interaction between kernel and userspace. Please enable
> debugging as I wrote a couple of mails ago and post the output.
> -
> To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
OK. Debug enabled.
~# iptables -L
iptables v1.3.8: can't initialize iptables table `filter': Invalid argument
Perhaps iptables or your kernel needs to be upgraded.
# dmesg
ip_tables: (C) 2000-2002 Netfilter core team
translate_table: size 632
Finished chain 1
Finished chain 2
Finished chain 3
table->private->number = 4
get_entries: 668 != 672
~# lsmod
Module Size Used by
iptable_filter 2304 0
ip_tables 24672 1 iptable_filter
snd_mixer_oss 14848 0
snd 41976 1 snd_mixer_oss
soundcore 7524 1 snd
--
[]'s
Salatiel
"O maior prazer do inteligente é bancar o idiota
diante de um idiota que banca o inteligente".
-
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: iptables -> can't initialize iptables table `filter': Bad file descriptor
2007-12-04 15:40 ` Salatiel Filho
@ 2007-12-04 15:57 ` Patrick McHardy
2007-12-04 16:05 ` Salatiel Filho
0 siblings, 1 reply; 26+ messages in thread
From: Patrick McHardy @ 2007-12-04 15:57 UTC (permalink / raw)
To: Salatiel Filho; +Cc: Netfilter Development Mailinglist
Salatiel Filho wrote:
> ~# iptables -L
> iptables v1.3.8: can't initialize iptables table `filter': Invalid argument
> Perhaps iptables or your kernel needs to be upgraded.
>
> # dmesg
> ip_tables: (C) 2000-2002 Netfilter core team
> translate_table: size 632
> Finished chain 1
> Finished chain 2
> Finished chain 3
> table->private->number = 4
> get_entries: 668 != 672
This looks like an alignment problem. Old kernels required
alignof(struct ipt_entry), which should be 4. Userspace
compiled against current headers use:
struct _xt_align
{
u_int8_t u8;
u_int16_t u16;
u_int32_t u32;
u_int64_t u64;
};
#define XT_ALIGN(s) (((s) + (__alignof__(struct _xt_align)-1)) \
& ~(__alignof__(struct _xt_align)-1))
which I guess is 8 on ARM. Does removing the u_int64_t
from the struct above in the iptables source
(include/linux/netfilter/x_tables.h) help?
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: iptables -> can't initialize iptables table `filter': Bad file descriptor
2007-12-04 15:57 ` Patrick McHardy
@ 2007-12-04 16:05 ` Salatiel Filho
2007-12-04 16:15 ` Patrick McHardy
0 siblings, 1 reply; 26+ messages in thread
From: Salatiel Filho @ 2007-12-04 16:05 UTC (permalink / raw)
To: Patrick McHardy; +Cc: Netfilter Development Mailinglist
On 12/4/07, Patrick McHardy <kaber@trash.net> wrote:
> Salatiel Filho wrote:
> > ~# iptables -L
> > iptables v1.3.8: can't initialize iptables table `filter': Invalid argument
> > Perhaps iptables or your kernel needs to be upgraded.
> >
> > # dmesg
> > ip_tables: (C) 2000-2002 Netfilter core team
> > translate_table: size 632
> > Finished chain 1
> > Finished chain 2
> > Finished chain 3
> > table->private->number = 4
> > get_entries: 668 != 672
>
> This looks like an alignment problem. Old kernels required
> alignof(struct ipt_entry), which should be 4. Userspace
> compiled against current headers use:
>
> struct _xt_align
> {
> u_int8_t u8;
> u_int16_t u16;
> u_int32_t u32;
> u_int64_t u64;
> };
>
> #define XT_ALIGN(s) (((s) + (__alignof__(struct _xt_align)-1)) \
>
> & ~(__alignof__(struct _xt_align)-1))
>
> which I guess is 8 on ARM. Does removing the u_int64_t
> from the struct above in the iptables source
> (include/linux/netfilter/x_tables.h) help?
>
>
I can not find include/linux/netfilter/x_tables.h in iptables source.
# ls -1 include/linux/netfilter/
nf_conntrack_common.h
nf_conntrack_tuple_common.h
nf_conntrack_tuple.h
nf_nat.h
--
[]'s
Salatiel
"O maior prazer do inteligente é bancar o idiota
diante de um idiota que banca o inteligente".
-
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: iptables -> can't initialize iptables table `filter': Bad file descriptor
2007-12-04 16:05 ` Salatiel Filho
@ 2007-12-04 16:15 ` Patrick McHardy
2007-12-04 16:32 ` Salatiel Filho
0 siblings, 1 reply; 26+ messages in thread
From: Patrick McHardy @ 2007-12-04 16:15 UTC (permalink / raw)
To: Salatiel Filho; +Cc: Netfilter Development Mailinglist
Salatiel Filho wrote:
> On 12/4/07, Patrick McHardy <kaber@trash.net> wrote:
>> Salatiel Filho wrote:
>>> ~# iptables -L
>>> iptables v1.3.8: can't initialize iptables table `filter': Invalid argument
>>> Perhaps iptables or your kernel needs to be upgraded.
>>>
>>> # dmesg
>>> ip_tables: (C) 2000-2002 Netfilter core team
>>> translate_table: size 632
>>> Finished chain 1
>>> Finished chain 2
>>> Finished chain 3
>>> table->private->number = 4
>>> get_entries: 668 != 672
>> This looks like an alignment problem. Old kernels required
>> alignof(struct ipt_entry), which should be 4. Userspace
>> compiled against current headers use:
>>
>> struct _xt_align
>> {
>> u_int8_t u8;
>> u_int16_t u16;
>> u_int32_t u32;
>> u_int64_t u64;
>> };
>>
>> #define XT_ALIGN(s) (((s) + (__alignof__(struct _xt_align)-1)) \
>>
>> & ~(__alignof__(struct _xt_align)-1))
>>
>> which I guess is 8 on ARM. Does removing the u_int64_t
>> from the struct above in the iptables source
>> (include/linux/netfilter/x_tables.h) help?
>>
>>
>
> I can not find include/linux/netfilter/x_tables.h in iptables source.
>
> # ls -1 include/linux/netfilter/
> nf_conntrack_common.h
> nf_conntrack_tuple_common.h
> nf_conntrack_tuple.h
> nf_nat.h
Right, we only recently added it. Are you compiling against your
kernel source? Otherwise check in /usr/include/linux/...
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: iptables -> can't initialize iptables table `filter': Bad file descriptor
2007-12-04 16:15 ` Patrick McHardy
@ 2007-12-04 16:32 ` Salatiel Filho
2007-12-05 8:05 ` Patrick McHardy
0 siblings, 1 reply; 26+ messages in thread
From: Salatiel Filho @ 2007-12-04 16:32 UTC (permalink / raw)
To: Patrick McHardy; +Cc: Netfilter Development Mailinglist
On 12/4/07, Patrick McHardy <kaber@trash.net> wrote:
> Salatiel Filho wrote:
> > On 12/4/07, Patrick McHardy <kaber@trash.net> wrote:
> >> Salatiel Filho wrote:
> >>> ~# iptables -L
> >>> iptables v1.3.8: can't initialize iptables table `filter': Invalid argument
> >>> Perhaps iptables or your kernel needs to be upgraded.
> >>>
> >>> # dmesg
> >>> ip_tables: (C) 2000-2002 Netfilter core team
> >>> translate_table: size 632
> >>> Finished chain 1
> >>> Finished chain 2
> >>> Finished chain 3
> >>> table->private->number = 4
> >>> get_entries: 668 != 672
> >> This looks like an alignment problem. Old kernels required
> >> alignof(struct ipt_entry), which should be 4. Userspace
> >> compiled against current headers use:
> >>
> >> struct _xt_align
> >> {
> >> u_int8_t u8;
> >> u_int16_t u16;
> >> u_int32_t u32;
> >> u_int64_t u64;
> >> };
> >>
> >> #define XT_ALIGN(s) (((s) + (__alignof__(struct _xt_align)-1)) \
> >>
> >> & ~(__alignof__(struct _xt_align)-1))
> >>
> >> which I guess is 8 on ARM. Does removing the u_int64_t
> >> from the struct above in the iptables source
> >> (include/linux/netfilter/x_tables.h) help?
> >>
> >>
> >
> > I can not find include/linux/netfilter/x_tables.h in iptables source.
> >
> > # ls -1 include/linux/netfilter/
> > nf_conntrack_common.h
> > nf_conntrack_tuple_common.h
> > nf_conntrack_tuple.h
> > nf_nat.h
>
> Right, we only recently added it. Are you compiling against your
> kernel source? Otherwise check in /usr/include/linux/...
>
How do i know if i am compiling against my kernel source ?
Does it auto use /usr/src/linux/... ?
anyway , i changed /usr/include/linux/linux/netfilter/x_tables.h but
still the same problem.
# iptables -L
iptables v1.3.8: can't initialize iptables table `filter': Invalid argument
Perhaps iptables or your kernel needs to be upgraded.
# dmesg
ip_tables: (C) 2000-2002 Netfilter core team
translate_table: size 632
Finished chain 1
Finished chain 2
Finished chain 3
table->private->number = 4
get_entries: 668 != 672
--
[]'s
Salatiel
"O maior prazer do inteligente é bancar o idiota
diante de um idiota que banca o inteligente".
-
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: iptables -> can't initialize iptables table `filter': Bad file descriptor
2007-12-04 16:32 ` Salatiel Filho
@ 2007-12-05 8:05 ` Patrick McHardy
2007-12-05 11:39 ` Salatiel Filho
0 siblings, 1 reply; 26+ messages in thread
From: Patrick McHardy @ 2007-12-05 8:05 UTC (permalink / raw)
To: Salatiel Filho; +Cc: Netfilter Development Mailinglist
Salatiel Filho wrote:
> On 12/4/07, Patrick McHardy <kaber@trash.net> wrote:
>
>> Right, we only recently added it. Are you compiling against your
>> kernel source? Otherwise check in /usr/include/linux/...
>>
> How do i know if i am compiling against my kernel source ?
> Does it auto use /usr/src/linux/... ?
> anyway , i changed /usr/include/linux/linux/netfilter/x_tables.h but
> still the same problem.
>
>
> # iptables -L
> iptables v1.3.8: can't initialize iptables table `filter': Invalid argument
> Perhaps iptables or your kernel needs to be upgraded.
Perhaps the 32/64 bit hacks that are still included in 1.3.8
are falsely enabled. Please post a few lines from the iptables
compilation output.
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: iptables -> can't initialize iptables table `filter': Bad file descriptor
2007-12-05 8:05 ` Patrick McHardy
@ 2007-12-05 11:39 ` Salatiel Filho
2007-12-06 9:51 ` Patrick McHardy
0 siblings, 1 reply; 26+ messages in thread
From: Salatiel Filho @ 2007-12-05 11:39 UTC (permalink / raw)
To: Patrick McHardy; +Cc: Netfilter Development Mailinglist
On Dec 5, 2007 5:05 AM, Patrick McHardy <kaber@trash.net> wrote:
> Salatiel Filho wrote:
> > On 12/4/07, Patrick McHardy <kaber@trash.net> wrote:
> >
> >> Right, we only recently added it. Are you compiling against your
> >> kernel source? Otherwise check in /usr/include/linux/...
> >>
> > How do i know if i am compiling against my kernel source ?
> > Does it auto use /usr/src/linux/... ?
> > anyway , i changed /usr/include/linux/linux/netfilter/x_tables.h but
> > still the same problem.
> >
> >
> > # iptables -L
> > iptables v1.3.8: can't initialize iptables table `filter': Invalid argument
> > Perhaps iptables or your kernel needs to be upgraded.
>
> Perhaps the 32/64 bit hacks that are still included in 1.3.8
> are falsely enabled. Please post a few lines from the iptables
> compilation output.
>
Should i try 1.40 ?
# make
Extensions found: IPv4:CLUSTERIP IPv4:recent IPv6:ah IPv6:esp
IPv6:frag IPv6:ipv6header IPv6:hbh IPv6:dst IPv6:rt
cc -O2 -Wall -Wunused -I"/lib/modules/2.6.12.6-arm2/build"/include
-Iinclude/ -DIPTABLES_VERSION=\"1.3.8\" -fPIC -o
extensions/libipt_ah_sh.o -c extensions/libipt_ah.c
cc -shared -o extensions/libipt_ah.so extensions/libipt_ah_sh.o
cc -O2 -Wall -Wunused -I"/lib/modules/2.6.12.6-arm2/build"/include
-Iinclude/ -DIPTABLES_VERSION=\"1.3.8\" -fPIC -o
extensions/libipt_addrtype_sh.o -c extensions/libipt_addrtype.c
cc -shared -o extensions/libipt_addrtype.so extensions/libipt_addrtype_sh.o
cc -O2 -Wall -Wunused -I"/lib/modules/2.6.12.6-arm2/build"/include
-Iinclude/ -DIPTABLES_VERSION=\"1.3.8\" -fPIC -o
extensions/libipt_comment_sh.o -c extensions/libipt_comment.c
cc -shared -o extensions/libipt_comment.so extensions/libipt_comment_sh.o
cc -O2 -Wall -Wunused -I"/lib/modules/2.6.12.6-arm2/build"/include
-Iinclude/ -DIPTABLES_VERSION=\"1.3.8\" -fPIC -o
extensions/libipt_connmark_sh.o -c extensions/libipt_connmark.c
cc -shared -o extensions/libipt_connmark.so extensions/libipt_connmark_sh.o
cc -O2 -Wall -Wunused -I"/lib/modules/2.6.12.6-arm2/build"/include
-Iinclude/ -DIPTABLES_VERSION=\"1.3.8\" -fPIC -o
extensions/libipt_conntrack_sh.o -c extensions/libipt_conntrack.c
--
[]'s
Salatiel
"O maior prazer do inteligente é bancar o idiota
diante de um idiota que banca o inteligente".
-
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: iptables -> can't initialize iptables table `filter': Bad file descriptor
2007-12-05 11:39 ` Salatiel Filho
@ 2007-12-06 9:51 ` Patrick McHardy
2007-12-06 11:25 ` Salatiel Filho
0 siblings, 1 reply; 26+ messages in thread
From: Patrick McHardy @ 2007-12-06 9:51 UTC (permalink / raw)
To: Salatiel Filho; +Cc: Netfilter Development Mailinglist
Salatiel Filho wrote:
> On Dec 5, 2007 5:05 AM, Patrick McHardy <kaber@trash.net> wrote:
>> Salatiel Filho wrote:
>>
>>> iptables v1.3.8: can't initialize iptables table `filter': Invalid argument
>>> Perhaps iptables or your kernel needs to be upgraded.
>> Perhaps the 32/64 bit hacks that are still included in 1.3.8
>> are falsely enabled. Please post a few lines from the iptables
>> compilation output.
>>
>
> Should i try 1.40 ?
I don't expect it will help, but would still be worth a try.
> # make
> Extensions found: IPv4:CLUSTERIP IPv4:recent IPv6:ah IPv6:esp
> IPv6:frag IPv6:ipv6header IPv6:hbh IPv6:dst IPv6:rt
> cc -O2 -Wall -Wunused -I"/lib/modules/2.6.12.6-arm2/build"/include
> -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\" -fPIC -o
> extensions/libipt_ah_sh.o -c extensions/libipt_ah.c
This looks OK, the 32/64 bit hacks are not enabled.
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: iptables -> can't initialize iptables table `filter': Bad file descriptor
2007-12-06 9:51 ` Patrick McHardy
@ 2007-12-06 11:25 ` Salatiel Filho
2007-12-09 13:34 ` Salatiel Filho
0 siblings, 1 reply; 26+ messages in thread
From: Salatiel Filho @ 2007-12-06 11:25 UTC (permalink / raw)
To: Patrick McHardy; +Cc: Netfilter Development Mailinglist
On Dec 6, 2007 6:51 AM, Patrick McHardy <kaber@trash.net> wrote:
> Salatiel Filho wrote:
> > On Dec 5, 2007 5:05 AM, Patrick McHardy <kaber@trash.net> wrote:
> >> Salatiel Filho wrote:
> >>
> >>> iptables v1.3.8: can't initialize iptables table `filter': Invalid argument
> >>> Perhaps iptables or your kernel needs to be upgraded.
> >> Perhaps the 32/64 bit hacks that are still included in 1.3.8
> >> are falsely enabled. Please post a few lines from the iptables
> >> compilation output.
> >>
> >
> > Should i try 1.40 ?
>
> I don't expect it will help, but would still be worth a try.
>
Still it doesn`t work :/
> > # make
> > Extensions found: IPv4:CLUSTERIP IPv4:recent IPv6:ah IPv6:esp
> > IPv6:frag IPv6:ipv6header IPv6:hbh IPv6:dst IPv6:rt
> > cc -O2 -Wall -Wunused -I"/lib/modules/2.6.12.6-arm2/build"/include
> > -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\" -fPIC -o
> > extensions/libipt_ah_sh.o -c extensions/libipt_ah.c
>
> This looks OK, the 32/64 bit hacks are not enabled.
>
:(
--
[]'s
Salatiel
"O maior prazer do inteligente é bancar o idiota
diante de um idiota que banca o inteligente".
-
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: iptables -> can't initialize iptables table `filter': Bad file descriptor
2007-12-06 11:25 ` Salatiel Filho
@ 2007-12-09 13:34 ` Salatiel Filho
2007-12-09 14:11 ` Salatiel Filho
0 siblings, 1 reply; 26+ messages in thread
From: Salatiel Filho @ 2007-12-09 13:34 UTC (permalink / raw)
To: Patrick McHardy; +Cc: Netfilter Development Mailinglist
On 12/6/07, Salatiel Filho <salatiel.filho@gmail.com> wrote:
> On Dec 6, 2007 6:51 AM, Patrick McHardy <kaber@trash.net> wrote:
> > Salatiel Filho wrote:
> > > On Dec 5, 2007 5:05 AM, Patrick McHardy <kaber@trash.net> wrote:
> > >> Salatiel Filho wrote:
> > >>
> > >>> iptables v1.3.8: can't initialize iptables table `filter': Invalid argument
> > >>> Perhaps iptables or your kernel needs to be upgraded.
> > >> Perhaps the 32/64 bit hacks that are still included in 1.3.8
> > >> are falsely enabled. Please post a few lines from the iptables
> > >> compilation output.
> > >>
> > >
> > > Should i try 1.40 ?
> >
> > I don't expect it will help, but would still be worth a try.
> >
> Still it doesn`t work :/
>
> > > # make
> > > Extensions found: IPv4:CLUSTERIP IPv4:recent IPv6:ah IPv6:esp
> > > IPv6:frag IPv6:ipv6header IPv6:hbh IPv6:dst IPv6:rt
> > > cc -O2 -Wall -Wunused -I"/lib/modules/2.6.12.6-arm2/build"/include
> > > -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\" -fPIC -o
> > > extensions/libipt_ah_sh.o -c extensions/libipt_ah.c
> >
> > This looks OK, the 32/64 bit hacks are not enabled.
> >
>
> :(
>
> --
> []'s
> Salatiel
>
> "O maior prazer do inteligente é bancar o idiota
> diante de um idiota que banca o inteligente".
>
anything else?
--
[]'s
Salatiel
"O maior prazer do inteligente é bancar o idiota
diante de um idiota que banca o inteligente".
-
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: iptables -> can't initialize iptables table `filter': Bad file descriptor
2007-12-09 13:34 ` Salatiel Filho
@ 2007-12-09 14:11 ` Salatiel Filho
2007-12-11 10:29 ` Patrick McHardy
0 siblings, 1 reply; 26+ messages in thread
From: Salatiel Filho @ 2007-12-09 14:11 UTC (permalink / raw)
To: Patrick McHardy; +Cc: Netfilter Development Mailinglist
On 12/9/07, Salatiel Filho <salatiel.filho@gmail.com> wrote:
> On 12/6/07, Salatiel Filho <salatiel.filho@gmail.com> wrote:
> > On Dec 6, 2007 6:51 AM, Patrick McHardy <kaber@trash.net> wrote:
> > > Salatiel Filho wrote:
> > > > On Dec 5, 2007 5:05 AM, Patrick McHardy <kaber@trash.net> wrote:
> > > >> Salatiel Filho wrote:
> > > >>
> > > >>> iptables v1.3.8: can't initialize iptables table `filter': Invalid argument
> > > >>> Perhaps iptables or your kernel needs to be upgraded.
> > > >> Perhaps the 32/64 bit hacks that are still included in 1.3.8
> > > >> are falsely enabled. Please post a few lines from the iptables
> > > >> compilation output.
> > > >>
> > > >
> > > > Should i try 1.40 ?
> > >
> > > I don't expect it will help, but would still be worth a try.
> > >
> > Still it doesn`t work :/
> >
> > > > # make
> > > > Extensions found: IPv4:CLUSTERIP IPv4:recent IPv6:ah IPv6:esp
> > > > IPv6:frag IPv6:ipv6header IPv6:hbh IPv6:dst IPv6:rt
> > > > cc -O2 -Wall -Wunused -I"/lib/modules/2.6.12.6-arm2/build"/include
> > > > -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\" -fPIC -o
> > > > extensions/libipt_ah_sh.o -c extensions/libipt_ah.c
> > >
> > > This looks OK, the 32/64 bit hacks are not enabled.
> > >
> >
> > :(
> >
> > --
> > []'s
> > Salatiel
> >
> > "O maior prazer do inteligente é bancar o idiota
> > diante de um idiota que banca o inteligente".
> >
>
> anything else?
>
>
>
> --
> []'s
> Salatiel
>
> "O maior prazer do inteligente é bancar o idiota
> diante de um idiota que banca o inteligente".
>
I forgot to mention that the kernel is crosscompiled , but iptables is
natively compiled. Can this generate this problem ?
--
[]'s
Salatiel
"O maior prazer do inteligente é bancar o idiota
diante de um idiota que banca o inteligente".
-
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: iptables -> can't initialize iptables table `filter': Bad file descriptor
2007-12-09 14:11 ` Salatiel Filho
@ 2007-12-11 10:29 ` Patrick McHardy
2007-12-13 21:41 ` Laurence J. Lane
0 siblings, 1 reply; 26+ messages in thread
From: Patrick McHardy @ 2007-12-11 10:29 UTC (permalink / raw)
To: Salatiel Filho; +Cc: Netfilter Development Mailinglist
Salatiel Filho wrote:
> I forgot to mention that the kernel is crosscompiled , but iptables is
> natively compiled. Can this generate this problem ?
It shouldn't, but I haven't seen any other complaints about this
yet, so please try to either compile the kernel natively or also
cross-compile iptables.
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: iptables -> can't initialize iptables table `filter': Bad file descriptor
2007-12-11 10:29 ` Patrick McHardy
@ 2007-12-13 21:41 ` Laurence J. Lane
2007-12-13 22:14 ` Salatiel Filho
0 siblings, 1 reply; 26+ messages in thread
From: Laurence J. Lane @ 2007-12-13 21:41 UTC (permalink / raw)
To: Netfilter Development Mailinglist
On Dec 11, 2007 5:29 AM, Patrick McHardy <kaber@trash.net> wrote:
> It shouldn't, but I haven't seen any other complaints about this
> yet, so please try to either compile the kernel natively or also
> cross-compile iptables.
[ I'm jumping in on the end of the thread with comments not directed
at anyone specific.]
I just saw an additional comment to #446685. A search for "EABI iptables"
shows a known arm iptables' problem and at least one workaround is the chroot
method mentioned in the report.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=446685
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: iptables -> can't initialize iptables table `filter': Bad file descriptor
2007-12-13 21:41 ` Laurence J. Lane
@ 2007-12-13 22:14 ` Salatiel Filho
2007-12-14 9:22 ` Patrick McHardy
0 siblings, 1 reply; 26+ messages in thread
From: Salatiel Filho @ 2007-12-13 22:14 UTC (permalink / raw)
To: Laurence J. Lane; +Cc: Netfilter Development Mailinglist
On 12/13/07, Laurence J. Lane <ljlane@debian.org> wrote:
> On Dec 11, 2007 5:29 AM, Patrick McHardy <kaber@trash.net> wrote:
>
> > It shouldn't, but I haven't seen any other complaints about this
> > yet, so please try to either compile the kernel natively or also
> > cross-compile iptables.
>
> [ I'm jumping in on the end of the thread with comments not directed
> at anyone specific.]
>
> I just saw an additional comment to #446685. A search for "EABI iptables"
> shows a known arm iptables' problem and at least one workaround is the chroot
> method mentioned in the report.
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=446685
> -
> To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
I have not test the solution cause i have to download 116MB to chroot :)
But i`m curious , if i compile both source kernel and source iptables
, should`t they be compatible ?
--
[]'s
Salatiel
"O maior prazer do inteligente é bancar o idiota
diante de um idiota que banca o inteligente".
-
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: iptables -> can't initialize iptables table `filter': Bad file descriptor
2007-12-13 22:14 ` Salatiel Filho
@ 2007-12-14 9:22 ` Patrick McHardy
2007-12-14 12:39 ` Salatiel Filho
0 siblings, 1 reply; 26+ messages in thread
From: Patrick McHardy @ 2007-12-14 9:22 UTC (permalink / raw)
To: Salatiel Filho; +Cc: Laurence J. Lane, Netfilter Development Mailinglist
Salatiel Filho wrote:
> On 12/13/07, Laurence J. Lane <ljlane@debian.org> wrote:
>> On Dec 11, 2007 5:29 AM, Patrick McHardy <kaber@trash.net> wrote:
>>
>>> It shouldn't, but I haven't seen any other complaints about this
>>> yet, so please try to either compile the kernel natively or also
>>> cross-compile iptables.
>> [ I'm jumping in on the end of the thread with comments not directed
>> at anyone specific.]
>>
>> I just saw an additional comment to #446685. A search for "EABI iptables"
>> shows a known arm iptables' problem and at least one workaround is the chroot
>> method mentioned in the report.
>>
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=446685
The bad fd bug visible in the strace attached to that report is the
one I fixed in SVN.
> I have not test the solution cause i have to download 116MB to chroot :)
> But i`m curious , if i compile both source kernel and source iptables
> , should`t they be compatible ?
They should, unless something is causing different structure layout.
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: iptables -> can't initialize iptables table `filter': Bad file descriptor
2007-12-14 9:22 ` Patrick McHardy
@ 2007-12-14 12:39 ` Salatiel Filho
0 siblings, 0 replies; 26+ messages in thread
From: Salatiel Filho @ 2007-12-14 12:39 UTC (permalink / raw)
To: Patrick McHardy; +Cc: Laurence J. Lane, Netfilter Development Mailinglist
On Dec 14, 2007 6:22 AM, Patrick McHardy <kaber@trash.net> wrote:
> Salatiel Filho wrote:
> > On 12/13/07, Laurence J. Lane <ljlane@debian.org> wrote:
> >> On Dec 11, 2007 5:29 AM, Patrick McHardy <kaber@trash.net> wrote:
> >>
> >>> It shouldn't, but I haven't seen any other complaints about this
> >>> yet, so please try to either compile the kernel natively or also
> >>> cross-compile iptables.
> >> [ I'm jumping in on the end of the thread with comments not directed
> >> at anyone specific.]
> >>
> >> I just saw an additional comment to #446685. A search for "EABI iptables"
> >> shows a known arm iptables' problem and at least one workaround is the chroot
> >> method mentioned in the report.
> >>
> >> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=446685
>
>
> The bad fd bug visible in the strace attached to that report is the
> one I fixed in SVN.
>
> > I have not test the solution cause i have to download 116MB to chroot :)
> > But i`m curious , if i compile both source kernel and source iptables
> > , should`t they be compatible ?
>
>
> They should, unless something is causing different structure layout.
>
I tried chroot in that rootfs. But when i try to run iptables i get
# iptables -L
ERROR: 0 not a valid target)
Aborted
So that is not a workaround.
--
[]'s
Salatiel
"O maior prazer do inteligente é bancar o idiota
diante de um idiota que banca o inteligente".
-
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 26+ messages in thread
end of thread, other threads:[~2007-12-14 12:39 UTC | newest]
Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-02 19:22 iptables -> can't initialize iptables table `filter': Bad file descriptor Salatiel Filho
2007-12-03 8:07 ` Patrick McHardy
2007-12-03 12:35 ` Salatiel Filho
2007-12-04 8:18 ` Patrick McHardy
2007-12-04 8:51 ` Jan Engelhardt
2007-12-04 8:58 ` Jesper Dangaard Brouer
2007-12-04 9:14 ` Patrick McHardy
2007-12-04 14:16 ` Salatiel Filho
2007-12-04 14:18 ` Patrick McHardy
[not found] ` <beb91d720712040645w76be238bmdd9dc362bf601755@mail.gmail.com>
2007-12-04 15:07 ` Patrick McHardy
2007-12-04 15:40 ` Salatiel Filho
2007-12-04 15:57 ` Patrick McHardy
2007-12-04 16:05 ` Salatiel Filho
2007-12-04 16:15 ` Patrick McHardy
2007-12-04 16:32 ` Salatiel Filho
2007-12-05 8:05 ` Patrick McHardy
2007-12-05 11:39 ` Salatiel Filho
2007-12-06 9:51 ` Patrick McHardy
2007-12-06 11:25 ` Salatiel Filho
2007-12-09 13:34 ` Salatiel Filho
2007-12-09 14:11 ` Salatiel Filho
2007-12-11 10:29 ` Patrick McHardy
2007-12-13 21:41 ` Laurence J. Lane
2007-12-13 22:14 ` Salatiel Filho
2007-12-14 9:22 ` Patrick McHardy
2007-12-14 12:39 ` Salatiel Filho
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).