>[ 26.096000] x_tables: ip_tables: limit.0 match: invalid size 40 >(kernel) != (user) 48 > >The problem seems to be that the linux kernel is 64 bits [...] Iptables >as packaged is a 32 bits mipsel executable, and seems to have some data >structures that include 32 bits pointers or something that don't work >when shared with the 64 bit kernel.
IIRC this also occured to the ARM guys. The kernel parts support zero or one "compat format", and one "native format", which depends on the compiler options used. i386 kernel: native=i386 compat=NONE amd64 kernel: native=amd64 compat=i386 sparc64 kernel: native=sparc64 compat=sparcv9 armv7-eabi kernel: native=armv7-eabi compat=NONE (Turning off CONFIG_COMPAT in the kernel .config means compat is never included.) This meant that one cannot use a ARM OABI iptables binary. [And there was no reason to continue using OABI anyway, so that was simple.] It will also mean that you will not be able to use a x32-type iptables binary on amd64. (Hint, hint, ljlane) I suppose you may have a similar case with your mips environment that you have a non-standard userspace. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org