Just for the record, i compiled the following program on my Ubuntu/i386:
// hello.c #include <stdio.h> int main() { printf("Hello Puffy!\n"); return 0; } $ gcc -static -o hello hello.c I copied the binary in /emul/linux/usr/bin, used dd as before, run it and still i get "Bad system call (core dump)". ktrace-kdump: 26357 ktrace RET brk 0 26357 ktrace CALL oldolduname(0xcfbc1b43,0xcfbc19f4,0xcfbc19fc) 26357 ktrace NAMI "/emul/linux/usr/bin/hello" 26357 hello EMUL "linux" 26357 hello RET oldolduname 0 26357 hello CALL uname(0xcfbebeb6) 26357 hello RET uname 0 26357 hello CALL brk(0) 26357 hello RET brk 135032832/0x80c7000 26357 hello CALL brk(0x80c7c80) 26357 hello RET brk 135036032/0x80c7c80 26357 hello CALL #243 (unimplemented linux_sys_set_thread_area)() 26357 hello PSIG SIGSYS SIG_DFL code 0 26357 hello NAMI "hello.core" Maybe compat_linux needs some additional work. PS1 @patrick :) PS2 @vadim Will do.