Subject: Fwd: Re: COMPAT_LINUX fixed
To: None <port-macppc@netbsd.org>
From: Andreas Drewke <andreas_dr@gmx.de>
List: port-macppc
Date: 06/17/2004 12:38:31
Sorry, this was the first time. thanx a lot ... Anyway here it is
13543 ktrace EMUL "netbsd"
13543 ktrace CALL execve(0xffffda6f,0xffffd9b8,0xffffd9c0)
13543 ktrace NAMI "./uname"
13543 ktrace NAMI "/emul/linux/lib/ld.so.1"
13543 ktrace NAMI "/lib/ld.so.1"
13543 ktrace RET execve -1 errno 8 Exec format error
13543 ktrace CALL execve(0x418e2cb8,0xffffd4d0,0xffffd9c0)
13543 ktrace NAMI "/bin/sh"
13543 ktrace NAMI "/libexec/ld.elf_so"
13543 sh EMUL "netbsd"
13543 sh RET execve JUSTRETURN
13543 sh CALL mmap(0,0x8000,3,0x1002,0xffffffff,0,0,0)
13543 sh RET mmap 1099165696/0x4183f000
13543 sh CALL open(0x4183acec,0,0x4183acec)
13543 sh NAMI "/etc/ld.so.conf"
13543 sh RET open -1 errno 2 No such file or directory
13543 sh CALL __sysctl(0xffffd878,2,0x4183c368,0xffffd880,0,0)
13543 sh RET __sysctl 0
13543 sh CALL open(0x41842000,0,0x41842010)
13543 sh NAMI "/lib/libedit.so.2"
13543 sh RET open 3
13543 sh CALL __fstat13(3,0xffffd590)
13543 sh RET __fstat13 0
13543 sh CALL mmap(0,0x1000,1,1,3,0,0,0)
13543 sh RET mmap 1099198464/0x41847000
13543 sh CALL munmap(0x41847000,0x1000)
13543 sh RET munmap 0
13543 sh CALL mmap(0,0x31000,5,0x10000002,3,0,0,0)
13543 sh RET mmap 1099235328/0x41850000
13543 sh CALL mmap(0x4187d000,0x3000,7,0x12,3,0,0,0x1d000)
13543 sh RET mmap 1099419648/0x4187d000
13543 sh CALL mmap(0x41880000,0x1000,7,0x1012,0xffffffff,0,0,0)
13543 sh RET mmap 1099431936/0x41880000
13543 sh CALL mprotect(0x4186e000,0xf000,0)
13543 sh RET mprotect 0
13543 sh CALL close(3)
13543 sh RET close 0
13543 sh CALL open(0x41842040,0,0x41842054)
13543 sh NAMI "/lib/libtermcap.so.0"
13543 sh RET open 3
13543 sh CALL __fstat13(3,0xffffd590)
13543 sh RET __fstat13 0
13543 sh CALL mmap(0,0x1000,1,1,3,0,0,0)
13543 sh RET mmap 1099198464/0x41847000
13543 sh CALL munmap(0x41847000,0x1000)
13543 sh RET munmap 0
13543 sh CALL mmap(0,0x13000,5,0x10000002,3,0,0,0)
13543 sh RET mmap 1099497472/0x41890000
13543 sh CALL mmap(0x418a2000,0x1000,7,0x12,3,0,0,0x2000)
13543 sh RET mmap 1099571200/0x418a2000
13543 sh CALL mmap(0x418a3000,0,7,0x1012,0xffffffff,0,0,0)
13543 sh RET mmap 1099575296/0x418a3000
13543 sh CALL mprotect(0x41893000,0xf000,0)
13543 sh RET mprotect 0
13543 sh CALL close(3)
13543 sh RET close 0
13543 sh CALL open(0x41842080,0,0x4184208c)
13543 sh NAMI "/lib/libc.so.12"
13543 sh RET open 3
13543 sh CALL __fstat13(3,0xffffd590)
13543 sh RET __fstat13 0
13543 sh CALL mmap(0,0x1000,1,1,3,0,0,0)
13543 sh RET mmap 1099198464/0x41847000
13543 sh CALL munmap(0x41847000,0x1000)
13543 sh RET munmap 0
13543 sh CALL mmap(0,0xe4000,5,0x10000002,3,0,0,0)
13543 sh RET mmap 1099628544/0x418b0000
13543 sh CALL mmap(0x4197c000,0x9000,7,0x12,3,0,0,0xbc000)
13543 sh RET mmap 1100464128/0x4197c000
13543 sh CALL mmap(0x41985000,0xf000,7,0x1012,0xffffffff,0,0,0)
13543 sh RET mmap 1100500992/0x41985000
13543 sh CALL mprotect(0x4196d000,0xf000,0)
13543 sh RET mprotect 0
13543 sh CALL close(3)
13543 sh RET close 0
13543 sh CALL __sysctl(0x4183c320,2,0x4183d620,0xffffd878,0,0)
13543 sh RET __sysctl 0
13543 sh CALL issetugid
13543 sh RET issetugid 0
13543 sh CALL getpid
13543 sh RET getpid 13543/0x34e7, 15950/0x3e4e
13543 sh CALL __sysctl(0xffffd540,2,0xffffd574,0xffffd570,0,0)
13543 sh RET __sysctl 0
13543 sh CALL readlink(0x4196bff8,0xffffd5a0,0x3f)
13543 sh NAMI "/etc/malloc.conf"
13543 sh RET readlink -1 errno 2 No such file or directory
13543 sh CALL mmap(0,0x1000,3,0x1002,0xffffffff,0,0,0)
13543 sh RET mmap 1099198464/0x41847000
13543 sh CALL break(0x1831e58)
13543 sh RET break 0
13543 sh CALL break(0x1832e58)
13543 sh RET break 0
13543 sh CALL break(0x1833000)
13543 sh RET break 0
13543 sh CALL break(0x1834000)
13543 sh RET break 0
13543 sh CALL break(0x1835000)
13543 sh RET break 0
13543 sh CALL geteuid
13543 sh RET geteuid 0
13543 sh CALL __stat13(0x183196c,0xffffd5d0)
13543 sh NAMI "/var/mail/andreas"
13543 sh RET __stat13 -1 errno 2 No such file or directory
13543 sh CALL open(0xffffda70,0,0x10)
13543 sh NAMI "./uname"
13543 sh RET open 3
13543 sh CALL fcntl(3,0,0xa)
13543 sh RET fcntl 10/0xa
13543 sh CALL close(3)
13543 sh RET close 0
13543 sh CALL fcntl(0xa,2,1)
13543 sh RET fcntl 0
13543 sh CALL getuid
13543 sh RET getuid 0
13543 sh CALL geteuid
13543 sh RET geteuid 0
13543 sh CALL getgid
13543 sh RET getgid 0
13543 sh CALL getegid
13543 sh RET getegid 0
13543 sh CALL __sigaction_sigtramp(2,0,0xffffd680,0,0)
13543 sh RET __sigaction_sigtramp 0
13543 sh CALL __sigaction_sigtramp(2,0,0xffffd680,0,0)
13543 sh RET __sigaction_sigtramp 0
13543 sh CALL __sigaction_sigtramp(2,0xffffd680,0,0x419183d4,1)
13543 sh RET __sigaction_sigtramp 0
13543 sh CALL
__sigaction_sigtramp(2,0xffffd660,0xffffd680,0x419183d4,1)
13543 sh RET __sigaction_sigtramp 0
13543 sh CALL __sigaction_sigtramp(3,0,0xffffd680,0,0)
13543 sh RET __sigaction_sigtramp 0
13543 sh CALL __sigaction_sigtramp(3,0,0xffffd680,0,0)
13543 sh RET __sigaction_sigtramp 0
13543 sh CALL __sigaction_sigtramp(3,0xffffd680,0,0x419183d4,1)
13543 sh RET __sigaction_sigtramp 0
13543 sh CALL
__sigaction_sigtramp(3,0xffffd660,0xffffd680,0x419183d4,1)
13543 sh RET __sigaction_sigtramp 0
13543 sh CALL __sigaction_sigtramp(1,0,0xffffd680,0,0)
13543 sh RET __sigaction_sigtramp 0
13543 sh CALL __sigaction_sigtramp(1,0,0xffffd680,0,0)
13543 sh RET __sigaction_sigtramp 0
13543 sh CALL __sigaction_sigtramp(1,0xffffd680,0,0x419183d4,1)
13543 sh RET __sigaction_sigtramp 0
13543 sh CALL
__sigaction_sigtramp(1,0xffffd660,0xffffd680,0x419183d4,1)
13543 sh RET __sigaction_sigtramp 0
13543 sh CALL __sigaction_sigtramp(0x12,0,0xffffd680,0,0)
13543 sh RET __sigaction_sigtramp 0
13543 sh CALL __sigaction_sigtramp(0x12,0,0xffffd680,0,0)
13543 sh RET __sigaction_sigtramp 0
13543 sh CALL __sigaction_sigtramp(0x12,0xffffd680,0,0x419183d4,1)
13543 sh RET __sigaction_sigtramp 0
13543 sh CALL
__sigaction_sigtramp(0x12,0xffffd660,0xffffd680,0x419183d4,1)
13543 sh RET __sigaction_sigtramp 0
13543 sh CALL __sigaction_sigtramp(0xd,0,0xffffd680,0,0)
13543 sh RET __sigaction_sigtramp 0
13543 sh CALL __sigaction_sigtramp(0xd,0,0xffffd680,0,0)
13543 sh RET __sigaction_sigtramp 0
13543 sh CALL __sigaction_sigtramp(0xd,0xffffd680,0,0x419183d4,1)
13543 sh RET __sigaction_sigtramp 0
13543 sh CALL
__sigaction_sigtramp(0xd,0xffffd660,0xffffd680,0x419183d4,1)
13543 sh RET __sigaction_sigtramp 0
13543 sh CALL read(0xa,0x183150c,0x3f8)
13543 sh GIO fd 10 read 1016 bytes
"\^?ELF\^A\^B\^A\0\0\0\0\0\0\0\0\0\0\^B\0\^T\0\0\0\^A\^P\0\^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__\0__deregister_frame_info\0_\
_register_frame_info\0libc.so.6\0textdomain\0printf\0stdout\0getopt_"
13543 sh RET read 1016/0x3f8
13543 sh CALL break(0x1836000)
13543 sh RET break 0
13543 sh CALL __sysctl(0xffffd008,2,0x419811ec,0xffffd010,0,0)
13543 sh RET __sysctl 0
13543 sh CALL write(2,0x1835000,0xc)
13543 sh GIO fd 2 wrote 12 bytes
"./uname: 1: "
13543 sh RET write 12/0xc
13543 sh CALL write(2,0x1835000,0x1d)
13543 sh GIO fd 2 wrote 29 bytes
"Syntax error: \"(\" unexpected
"
13543 sh RET write 29/0x1d
13543 sh CALL exit(2)
On Thursday 17 June 2004 10:10, you wrote:
> On Thu, Jun 17, 2004 at 12:08:23PM +0000, Andreas Drewke wrote:
> > ktrace /usr/pkg/emul/linux/bin/uname
> > /usr/pkg/emul/linux/bin/uname: 1: Syntax error :"(" unexpected
> >
> > Strange... ?!
>
> Sure, but what is kdump output then?
--
www: http://drewke.net / icq:175089452
-------------------------------------------------------
--
www: http://drewke.net / icq:175089452