On Sat, Nov 03, 2012 at 04:17:20PM +0100, Jan Engelhardt wrote: > > On IRC I have heard that MIPS has multiple ABIs; as far as modern Linux > is concerned, I think you may be running into: o32, n32, n64. > > Your kernel is probably n64 (and its compat companion is n32), but your > iptables is o32. Can you check with the file(1) utility and/or > readelf(1)? >
with iptables from debian: $ file /sbin/xtables-multi /sbin/xtables-multi: ELF 32-bit LSB executable, MIPS, MIPS-II version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=0xe1cef2e75006b69298b9f5b44a4226a2bb3cfebf, with unknown capability 0xf41 = 0x756e6700, with unknown capability 0x70100 = 0x1040000, stripped with the one I compiled : # file /sbin/xtables-multi /sbin/xtables-multi: ELF 64-bit LSB executable, MIPS, MIPS-III version 1 (SYSV), dynamically linked (uses shared libs), BuildID[sha1]=0xbb77fe15d50ff348068cca4a16554aaa3f8c2fef, for GNU/Linux 2.6.26, with unknown capability 0x756e670000000f41 = 0x104000000070100, stripped # readelf -a /sbin/xtables-multi ELF Header: Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 Class: ELF64 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: EXEC (Executable file) Machine: MIPS R3000 Version: 0x1 Entry point address: 0x120002960 Start of program headers: 64 (bytes into file) Start of section headers: 92520 (bytes into file) Flags: 0x20a10007, noreorder, pic, cpic, loongson-2f, mips3 Size of this header: 64 (bytes) Size of program headers: 56 (bytes) Number of program headers: 9 Size of section headers: 64 (bytes) Number of section headers: 29 Section header string table index: 28 Thank you very much and sorry, but I'm in a hurry right now. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org