Subject: qemu 4 linux on COMPAT_LINUX
To: None <current-users@netbsd.org, port-macppc@netbsd.org>
From: Cherry G. Mathew <cherry.g.mathew@gmail.com>
List: current-users
Date: 03/31/2006 16:57:14
------=_Part_15756_13330280.1143804434666
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hi,
qemu-i386, the usermode linux emulator dies without comment.
Ideally, its supposed to dump a "usage" text.
I've attached the kdump. Any clues ?
Thanks,
--
~Cherry
------=_Part_15756_13330280.1143804434666
Content-Type: application/octet-stream; name=kdump
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="kdump"
22941 1 ktrace EMUL "netbsd"
22941 1 ktrace CALL execve(0xffffdb23,0xffffda80,0xffffda88)
22941 1 ktrace NAMI "./qemu-i386"
22941 1 ktrace NAMI "/emul/linux/lib/ld.so.1"
22941 1 ktrace NAMI "/emul/linux"
22941 1 ktrace NAMI "/emul/linux/lib/ld.so.1"
22941 1 qemu-i386 EMUL "linux"
22941 1 qemu-i386 RET execve JUSTRETURN
22941 1 qemu-i386 CALL new_uname(0xffffd5ac)
22941 1 qemu-i386 RET new_uname 0
22941 1 qemu-i386 CALL brk(0)
22941 1 qemu-i386 RET brk 1624588288/0x60d54000
22941 1 qemu-i386 CALL access(0xeffe4a6c,4)
22941 1 qemu-i386 NAMI "/emul/linux/etc/ld.so.preload"
22941 1 qemu-i386 NAMI "/etc/ld.so.preload"
22941 1 qemu-i386 RET access -1 errno 2 No such file or directory
22941 1 qemu-i386 CALL open(0xeffe6158,0,1)
22941 1 qemu-i386 NAMI "/emul/linux/etc/ld.so.cache"
22941 1 qemu-i386 NAMI "/emul/linux"
22941 1 qemu-i386 NAMI "/emul/linux/etc/ld.so.cache"
22941 1 qemu-i386 RET open 3
22941 1 qemu-i386 CALL fstat64(3,0xffffce18)
22941 1 qemu-i386 RET fstat64 0
22941 1 qemu-i386 CALL mmap(0,0xc75,1,2,3,0)
22941 1 qemu-i386 RET mmap -268443648/0xefffe000
22941 1 qemu-i386 CALL close(3)
22941 1 qemu-i386 RET close 0
22941 1 qemu-i386 CALL open(0xefffea87,0,0)
22941 1 qemu-i386 NAMI "/emul/linux/lib/libm.so.6"
22941 1 qemu-i386 NAMI "/emul/linux"
22941 1 qemu-i386 NAMI "/emul/linux/lib/libm.so.6"
22941 1 qemu-i386 RET open 3
22941 1 qemu-i386 CALL read(3,0xffffcefc,0x200)
22941 1 qemu-i386 GIO fd 3 read 512 bytes
"\^?ELF\^A\^B\^A\0\0\0\0\0\0\0\0\0\0\^C\0\^T\0\0\0\^A\0\0\M^_\240\0\0\
\0004\0\a\M-MD\0\0\0\0\0004\0 \0 \0(\0 \0\^]\0\0\0\^F\0\0\0004\
\0\0\0004\0\0\0004\0\0\^A \0\0\^A \0\0\0\^E\0\0\0\^D\0\0\0\^C\0\al\M-p\
\0\al\M-p\0\al\M-p\0\0\0\^P\0\0\0\^P\0\0\0\^D\0\0\0\^D\0\0\0\^A\0\0\0\
\0\0\0\0\0\0\0\0\0\0\am\^D\0\am\^D\0\0\0\^E\0\^A\0\0\0\0\0\^A\0\an\M^P\
\0\bn\M^P\0\bn\M^P\0\0%\M-P\0\0'\M-H\0\0\0\a\0\^A\0\0\0\0\0\^B\0\ao \0\
\bo \0\bo \0\0\0\M-`\0\0\0\M-`\0\0\0\^F\0\0\0\^D\0\0\0\^D\0\0\^AT\0\0\
\^AT\0\0\^AT\0\0\0 \0\0\0 \0\0\0\^D\0\0\0\^D\0\0\0\^D\0\0\^At\0\0\^At\
\0\0\^At\0\0\0\^X\0\0\0\^X\0\0\0\^D\0\0\0\^Ddt\M-eQ\0\0\0\0\0\0\0\0\0\
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\^F\0\0\0\^Ddt\M-eR\0\an\M^P\0\bn\M^P\0\bn\
\M^P\0\0\^Ap\0\0\^Ap\0\0\0\^E\0\0\0\^D\0\0\0\^D\0\0\0\^P\0\0\0\^AGNU\0\
\0\0\0\0\0\0\0\^B\0\0\0\^B\0\0\0\^E\0\0\0\^E\0\0\0\^DESuSSuSE\0\0\0\0\
\^A\0
\0\0\0\^B]\0\0\^Ad\0\0\0\M^P\0\0\^Ac\0\0\0\M^G\0\0\0\0\0\0\0\0\0\0\0\0\
\0\0\0\0\0\0\0*\0\0\0\0\0\0\0\0\0\0\0\M-+\0\0\0\0\0\0\0\0\0\0\^AR\0\0\
\0\0\0\0\^AE\0\0\0\0\0\0\0\0\0\0\0\M-{\0\0\0\M-G\0\0\0\^]\0\0\0\0\0\0\
\0\0\0\0\0\0\0\0\0\M-B\0\0\0\M-X\0\0\0\0"
22941 1 qemu-i386 RET read 512/0x200
22941 1 qemu-i386 CALL fstat64(3,0xffffce00)
22941 1 qemu-i386 RET fstat64 0
22941 1 qemu-i386 CALL mmap(0,0x1000,3,0x22,0xffffffff,0)
22941 1 qemu-i386 RET mmap -268447744/0xefffd000
22941 1 qemu-i386 CALL mmap(0x5ff66000,0x89658,5,0x802,3,0)
22941 1 qemu-i386 RET mmap 1609981952/0x5ff66000
22941 1 qemu-i386 CALL mincore(0x5ff66000,0x89658,3)
22941 1 qemu-i386 RET mincore -1 errno 14 Bad address
22941 1 qemu-i386 CALL mprotect(0x5ffdd000,0x12658,0)
22941 1 qemu-i386 RET mprotect 0
22941 1 qemu-i386 CALL mmap(0x5ffec000,0x4000,7,0x812,3,0x76000)
22941 1 qemu-i386 RET mmap 1610530816/0x5ffec000
22941 1 qemu-i386 CALL close(3)
22941 1 qemu-i386 RET close 0
22941 1 qemu-i386 CALL open(0xefffe779,0,0x1d)
22941 1 qemu-i386 NAMI "/emul/linux/lib/librt.so.1"
22941 1 qemu-i386 NAMI "/emul/linux"
22941 1 qemu-i386 NAMI "/emul/linux/lib/librt.so.1"
22941 1 qemu-i386 RET open 3
22941 1 qemu-i386 CALL read(3,0xffffcedc,0x200)
22941 1 qemu-i386 GIO fd 3 read 512 bytes
"\^?ELF\^A\^B\^A\0\0\0\0\0\0\0\0\0\0\^C\0\^T\0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\0\0\0\0\0\
\0\^?\0\0\0}\0\0\0\0\0\0\0\0"
22941 1 qemu-i386 RET read 512/0x200
22941 1 qemu-i386 CALL fstat64(3,0xffffcde0)
22941 1 qemu-i386 RET fstat64 0
22941 1 qemu-i386 CALL mmap(0x5ff32000,0x231e8,5,0x802,3,0)
22941 1 qemu-i386 RET mmap 1609768960/0x5ff32000
22941 1 qemu-i386 CALL mincore(0x5ff32000,0x231e8,3)
22941 1 qemu-i386 RET mincore -1 errno 14 Bad address
22941 1 qemu-i386 CALL mprotect(0x5ff3a000,0x1b1e8,0)
22941 1 qemu-i386 RET mprotect 0
22941 1 qemu-i386 CALL mmap(0x5ff49000,0x2000,7,0x812,3,0x7000)
22941 1 qemu-i386 RET mmap 1609863168/0x5ff49000
22941 1 qemu-i386 CALL mmap(0x5ff4b000,0xa1e8,7,0x32,0xffffffff,0)
22941 1 qemu-i386 RET mmap 1609871360/0x5ff4b000
22941 1 qemu-i386 CALL close(3)
22941 1 qemu-i386 RET close 0
22941 1 qemu-i386 CALL open(0xefffeba6,0,0x1d)
22941 1 qemu-i386 NAMI "/emul/linux/lib/libc.so.6"
22941 1 qemu-i386 NAMI "/emul/linux"
22941 1 qemu-i386 NAMI "/emul/linux/lib/libc.so.6"
22941 1 qemu-i386 RET open 3
22941 1 qemu-i386 CALL read(3,0xffffcebc,0x200)
22941 1 qemu-i386 GIO fd 3 read 512 bytes
"\^?ELF\^A\^B\^A\0\0\0\0\0\0\0\0\0\0\^C\0\^T\0\0\0\^A\0\^A\M-A\M^@\0\0\
\0004\0\^TmX\0\0\0\0\0004\0 \0
\0(\0?\0<\0\0\0\^F\0\0\0004\0\0\0004\0\0\0004\0\0\^A@\0\0\^A@\0\0\0\^E\
\0\0\0\^D\0\0\0\^C\0\^R\M-b\M-8\0\^R\M-b\M-8\0\^R\M-b\M-8\0\0\0\^P\0\0\
\0\^P\0\0\0\^D\0\0\0\^D\0\0\0\^A\0\0\0\0\0\0\0\0\0\0\0\0\0\^S6\M-t\0\
\^S6\M-t\0\0\0\^E\0\^A\0\0\0\0\0\^A\0\^S9\240\0\^T9\240\0\^T9\240\0\0F\
\0\0\0nx\0\0\0\a\0\^A\0\0\0\0\0\^B\0\^SO \0\^TO \0\^TO \0\0\0\M-`\0\0\
\0\M-`\0\0\0\^F\0\0\0\^D\0\0\0\^D\0\0\^At\0\0\^At\0\0\^At\0\0\0 \0\0\0\
\0\0\0\^D\0\0\0\^D\0\0\0\^D\0\0\^A\M^T\0\0\^A\M^T\0\0\^A\M^T\0\0\0\^X\
\0\0\0\^X\0\0\0\^D\0\0\0\^Ddt\M-eP\0\^R\M-b\M-H\0\^R\M-b\M-H\0\^R\M-b\
\M-H\0\0\r\M-d\0\0\r\M-d\0\0\0\^D\0\0\0\^Ddt\M-eQ\0\0\0\0\0\0\0\0\0\0\
\0\0\0\0\0\0\0\0\0\0\0\0\0\^F\0\0\0\^Ddt\M-eR\0\^S9\240\0\^T9\240\0\^T\
9\240\0\0\^V`\0\0\^V`\0\0\0\^E\0\0\0\^D\0\0\0\^D\0\0\0\^P\0\0\0\^AGNU\
\0\0\0\0\0\0\0\0\^B\0\0\0\^B\0\0\0\^E\0\0\0\^E\0\0\0\^DESuSSuSE\0\0\0\
\0\^A\0
\0\0\0\^C\M^?\0\0\bj\0\0\^A\a\0\0\^F\M^L\0\0\0\0\0\0\0\M-R\0\0\^F\M-t\
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\^F{\0\0\^E\M-]\0\0\0\0\0\0\b#\0\0\
\^F\M^D\0\0\^B\^X\0\0\^B\M-,\0\0\b8\0\0\^D,\0\0\b,"
22941 1 qemu-i386 RET read 512/0x200
22941 1 qemu-i386 CALL fstat64(3,0xffffcdc0)
22941 1 qemu-i386 RET fstat64 0
22941 1 qemu-i386 CALL mmap(0x5fdd7000,0x14a818,5,0x802,3,0)
22941 1 qemu-i386 RET mmap 1608347648/0x5fdd7000
22941 1 qemu-i386 CALL mincore(0x5fdd7000,0x14a818,3)
22941 1 qemu-i386 RET mincore -1 errno 14 Bad address
22941 1 qemu-i386 CALL mprotect(0x5ff0b000,0x16818,0)
22941 1 qemu-i386 RET mprotect 0
22941 1 qemu-i386 CALL mmap(0x5ff1a000,0x5000,7,0x812,3,0x133000)
22941 1 qemu-i386 RET mmap 1609670656/0x5ff1a000
22941 1 qemu-i386 CALL mmap(0x5ff1f000,0x2818,7,0x32,0xffffffff,0)
22941 1 qemu-i386 RET mmap 1609691136/0x5ff1f000
22941 1 qemu-i386 CALL close(3)
22941 1 qemu-i386 RET close 0
22941 1 qemu-i386 CALL open(0xefffe80c,0,0xefffd278)
22941 1 qemu-i386 NAMI "/emul/linux/lib/libpthread.so.0"
22941 1 qemu-i386 NAMI "/emul/linux"
22941 1 qemu-i386 NAMI "/emul/linux/lib/libpthread.so.0"
22941 1 qemu-i386 RET open 3
22941 1 qemu-i386 CALL read(3,0xffffcd6c,0x200)
22941 1 qemu-i386 GIO fd 3 read 512 bytes
"\^?ELF\^A\^B\^A\0\0\0\0\0\0\0\0\0\0\^C\0\^T\0\0\0\^A\0\0A\M-P\0\0\0004\
\0\0\M^?\M-<\0\0\0\0\0004\0 \0
\0(\0%\0\"\0\0\0\^F\0\0\0004\0\0\0004\0\0\0004\0\0\^A@\0\0\^A@\0\0\0\
\^E\0\0\0\^D\0\0\0\^C\0\0\M-j\M-t\0\0\M-j\M-t\0\0\M-j\M-t\0\0\0\^P\0\0\
\0\^P\0\0\0\^D\0\0\0\^D\0\0\0\^A\0\0\0\0\0\0\0\0\0\0\0\0\0\0\M-mH\0\0\
\M-mH\0\0\0\^E\0\^A\0\0\0\0\0\^A\0\0\M-nT\0\^A\M-nT\0\^A\M-nT\0\0\^E\
\^T\0\^D*`\0\0\0\a\0\^A\0\0\0\0\0\^B\0\0\M-o\^X\0\^A\M-o\^X\0\^A\M-o\
\^X\0\0\0\M-h\0\0\0\M-h\0\0\0\^F\0\0\0\^D\0\0\0\^D\0\0\^At\0\0\^At\0\0\
\^At\0\0\0 \0\0\0 \0\0\0\^D\0\0\0\^D\0\0\0\^D\0\0\^A\M^T\0\0\^A\M^T\0\
\0\^A\M^T\0\0\0\^X\0\0\0\^X\0\0\0\^D\0\0\0\^Ddt\M-eP\0\0\M-k\^D\0\0\
\M-k\^D\0\0\M-k\^D\0\0\0|\0\0\0|\0\0\0\^D\0\0\0\^Ddt\M-eQ\0\0\0\0\0\0\
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\^F\0\0\0\^Ddt\M-eR\0\0\M-nT\0\^A\
\M-nT\0\^A\M-nT\0\0\^A\M-,\0\0\^A\M-,\0\0\0\^E\0\0\0\^D\0\0\0\^D\0\0\0\
\^P\0\0\0\^AGNU\0\0\0\0\0\0\0\0\^B\0\0\0\^B\0\0\0\^E\0\0\0\^E\0\0\0\^D\
ESuSSuSE\0\0\0\0\^A\0
\0\0\0\^B\^U\0\0\^A:\0\0\0\0\0\0\0\0\0\0\0\M-G\0\0\0\0\0\0\0\M-4\0\0\0\
\0\0\0\0\M-D\0\0\0o\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
\0\0\0\0\0\0w\0\0\0\0\0\0\0G\0\0\0\M^P"
22941 1 qemu-i386 RET read 512/0x200
22941 1 qemu-i386 CALL fstat64(3,0xffffcc70)
22941 1 qemu-i386 RET fstat64 0
22941 1 qemu-i386 CALL mmap(0x5fd65000,0x618b4,5,0x802,3,0)
22941 1 qemu-i386 RET mmap 1607880704/0x5fd65000
22941 1 qemu-i386 CALL mincore(0x5fd65000,0x618b4,3)
22941 1 qemu-i386 RET mincore -1 errno 14 Bad address
22941 1 qemu-i386 CALL mprotect(0x5fd74000,0x528b4,0)
22941 1 qemu-i386 RET mprotect 0
22941 1 qemu-i386 CALL mmap(0x5fd83000,0x2000,7,0x812,3,0xe000)
22941 1 qemu-i386 RET mmap 1608003584/0x5fd83000
22941 1 qemu-i386 CALL mmap(0x5fd85000,0x418b4,7,0x32,0xffffffff,0)
22941 1 qemu-i386 RET mmap 1608011776/0x5fd85000
22941 1 qemu-i386 CALL close(3)
22941 1 qemu-i386 RET close 0
22941 1 qemu-i386 CALL mmap(0,0x1000,3,0x22,0xffffffff,0)
22941 1 qemu-i386 RET mmap -268451840/0xefffc000
22941 1 qemu-i386 CALL mprotect(0x5fd83000,0x1000,1)
22941 1 qemu-i386 RET mprotect 0
22941 1 qemu-i386 CALL mprotect(0x5ff1a000,0x2000,1)
22941 1 qemu-i386 RET mprotect 0
22941 1 qemu-i386 CALL mprotect(0x5ff49000,0x1000,1)
22941 1 qemu-i386 RET mprotect 0
22941 1 qemu-i386 CALL mprotect(0x5ffec000,0x1000,1)
22941 1 qemu-i386 RET mprotect 0
22941 1 qemu-i386 CALL mprotect(0xefff6000,0x1000,1)
22941 1 qemu-i386 RET mprotect 0
22941 1 qemu-i386 CALL munmap(0xefffe000,0xc75)
22941 1 qemu-i386 RET munmap 0
22941 1 qemu-i386 CALL getpid
22941 1 qemu-i386 RET getpid 22941/0x599d
22941 1 qemu-i386 CALL rt_sigaction(SIGSignal 0,0xffffd518,0,8)
22941 1 qemu-i386 RET rt_sigaction 0
22941 1 qemu-i386 CALL rt_sigaction(SIGSignal 0,0xffffd518,0,8)
22941 1 qemu-i386 RET rt_sigaction 0
22941 1 qemu-i386 CALL rt_sigaction(SIGSignal 0,0xffffd518,0,8)
22941 1 qemu-i386 RET rt_sigaction 0
22941 1 qemu-i386 CALL rt_sigprocmask(0,0xffffd65c,0,8)
22941 1 qemu-i386 RET rt_sigprocmask 0
22941 1 qemu-i386 CALL rt_sigprocmask(1,0xffffd65c,0,8)
22941 1 qemu-i386 RET rt_sigprocmask 0
22941 1 qemu-i386 CALL __sysctl(0xffffd5f8)
22941 1 qemu-i386 RET __sysctl 0
22941 1 qemu-i386 CALL fstat64(1,0xffffb068)
22941 1 qemu-i386 RET fstat64 0
22941 1 qemu-i386 CALL ioctl(1,TIOCGETA,0xffffafc8)
22941 1 qemu-i386 RET ioctl -1 errno 22 Invalid argument
22941 1 qemu-i386 CALL mmap(0,0x1000,3,0x22,0xffffffff,0)
22941 1 qemu-i386 RET mmap -268443648/0xefffe000
22941 1 qemu-i386 CALL exit_group(1)
------=_Part_15756_13330280.1143804434666--