Port-amd64 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
cannot ktrace compat netbsd32/linux32 binaries
Hi,
I just got a new machine at home (Dell Optiplex 740) running
up-to-date -current, where i cannot run ktrace on compat netbsd32 or
linux32 binaries ... it seems to abort early, even before running the
expected command.
njoly@petaure [~]> uname -a
NetBSD petaure.lan 4.99.54 NetBSD 4.99.54 (PETAURE) #3: Sun Feb 24 23:40:28 CET
2008
njoly%petaure.lan@localhost:/local/src/NetBSD/obj.amd64/sys/arch/amd64/compile/PETAURE
amd64
njoly@petaure [~]> file /misc/netbsd32/bin/date
/misc/netbsd32/bin/date: ELF 32-bit LSB executable, Intel 80386, version 1
(SYSV), for NetBSD 4.99.54, dynamically linked (uses shared libs), not stripped
njoly@petaure [~]> /misc/netbsd32/bin/date
Mon Feb 25 00:50:46 CET 2008
njoly@petaure [~]> ktrace /misc/netbsd32/bin/date
zsh: abort ktrace /misc/netbsd32/bin/date
njoly@petaure [~]> kdump
400 1 ktrace EMUL "netbsd"
400 1 ktrace RET ktrace 0
400 1 ktrace CALL
execve(0x7f7ffffff9bf,0x7f7fffffd7d0,0x7f7fffffd7e0)
400 1 ktrace NAMI "/misc/netbsd32/bin/date"
400 1 ktrace NAMI "/emul/linux32"
400 1 ktrace NAMI "/emul/linux32/libexec/ld.elf_so"
400 1 ktrace NAMI "/libexec/ld.elf_so"
400 1 ktrace NAMI "/emul/netbsd32"
400 1 ktrace NAMI "/emul/netbsd32/libexec/ld.elf_so"
njoly@petaure [~]> file hello
hello: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux
2.4.1, dynamically linked (uses shared libs), not stripped
njoly@petaure [~]> ./hello
Hello World!
njoly@petaure [~]> ktrace ./hello
zsh: abort ktrace ./hello
njoly@petaure [~]> kdump
570 1 ktrace EMUL "netbsd"
570 1 ktrace RET ktrace 0
570 1 ktrace CALL
execve(0x7f7ffffff9cf,0x7f7fffffd7e0,0x7f7fffffd7f0)
570 1 ktrace NAMI "./hello"
570 1 ktrace NAMI "/emul/linux32"
570 1 ktrace NAMI "/emul/linux32/lib/ld-linux.so.2"
Any idea ?
Thanks.
--
Nicolas Joly
Biological Software and Databanks.
Institut Pasteur, Paris.
Home |
Main Index |
Thread Index |
Old Index