Subject: Linux support non-functional - a ktrace!
To: None <current-users@netbsd.org>
From: Mason Loring Bliss <mason@acheron.middleboro.ma.us>
List: current-users
Date: 11/20/1998 21:12:03
Here's my kdump output, as seen while trying to run Quake II with a new
kernel.
4417 ktrace RET ktrace 0
4417 ktrace CALL __sysctl(0xefbfd2a0,0x2,0xaa24,0xefbfd2a8,0,0)
4417 ktrace RET __sysctl 0
4417 ktrace CALL break(0xaa68)
4417 ktrace RET break 0
4417 ktrace CALL break(0xaffc)
4417 ktrace RET break 0
4417 ktrace CALL break(0xbffc)
4417 ktrace RET break 0
4417 ktrace CALL execve(0xefbfd304,0xefbfd784,0xefbfd78c)
4417 ktrace NAMI "/sbin/quake2"
4417 ktrace RET execve -1 errno 2 No such file or directory
4417 ktrace CALL execve(0xefbfd304,0xefbfd784,0xefbfd78c)
4417 ktrace NAMI "/usr/sbin/quake2"
4417 ktrace RET execve -1 errno 2 No such file or directory
4417 ktrace CALL execve(0xefbfd304,0xefbfd784,0xefbfd78c)
4417 ktrace NAMI "/bin/quake2"
4417 ktrace RET execve -1 errno 2 No such file or directory
4417 ktrace CALL execve(0xefbfd304,0xefbfd784,0xefbfd78c)
4417 ktrace NAMI "/usr/bin/quake2"
4417 ktrace RET execve -1 errno 2 No such file or directory
4417 ktrace CALL execve(0xefbfd304,0xefbfd784,0xefbfd78c)
4417 ktrace NAMI "/usr/local/sbin/quake2"
4417 ktrace RET execve -1 errno 2 No such file or directory
4417 ktrace CALL execve(0xefbfd304,0xefbfd784,0xefbfd78c)
4417 ktrace NAMI "/usr/local/bin/quake2"
4417 ktrace NAMI "/bin/sh"
4417 sh EMUL "netbsd"
4417 sh RET execve JUSTRETURN
4417 sh CALL getpid
4417 sh RET getpid 4417/0x1141
4417 sh CALL geteuid
4417 sh RET geteuid 2001/0x7d1
4417 sh CALL __sysctl(0xefbfd690,0x2,0x49660,0xefbfd698,0,0)
4417 sh RET __sysctl 0
4417 sh CALL break(0x4a2d4)
4417 sh RET break 0
4417 sh CALL break(0x4affc)
4417 sh RET break 0
4417 sh CALL break(0x4bffc)
4417 sh RET break 0
4417 sh CALL __stat13(0x4966c,0xefbfd650)
4417 sh NAMI "/var/mail/mason"
4417 sh RET __stat13 0
4417 sh CALL open(0xefbfd7f0,0,0xefbfd770)
4417 sh NAMI "/usr/local/bin/quake2"
4417 sh RET open 3
4417 sh CALL fcntl(0x3,0,0xa)
4417 sh RET fcntl 10/0xa
4417 sh CALL close(0x3)
4417 sh RET close 0
4417 sh CALL fcntl(0xa,0x2,0x1)
4417 sh RET fcntl 0
4417 sh CALL getuid
4417 sh RET getuid 2001/0x7d1
4417 sh CALL geteuid
4417 sh RET geteuid 2001/0x7d1
4417 sh CALL getgid
4417 sh RET getgid 0
4417 sh CALL getegid
4417 sh RET getegid 0
4417 sh CALL open(0xefbfda3c,0,0)
4417 sh NAMI "$HOME/.kshrc"
4417 sh RET open -1 errno 2 No such file or directory
4417 sh CALL read(0xa,0x49c6c,0x3ff)
4417 sh GIO fd 10 read 51 bytes
"#!/bin/sh
cd /emul/linux/usr/games/quake2
./quake2
"
4417 sh RET read 51/0x33
4417 sh CALL __stat13(0x49700,0xefbfd590)
4417 sh NAMI "/emul/linux/usr/games/quake2"
4417 sh RET __stat13 0
4417 sh CALL __lstat13(0x49740,0xefbfd510)
4417 sh NAMI "/emul"
4417 sh RET __lstat13 0
4417 sh CALL chdir(0x49700)
4417 sh NAMI "/emul/linux/usr/games/quake2"
4417 sh RET chdir 0
4417 sh CALL break(0x4cffc)
4417 sh RET break 0
4417 sh CALL __stat13(0x288b7,0xefbfd2a0)
4417 sh NAMI "/"
4417 sh RET __stat13 0
4417 sh CALL __lstat13(0x4c000,0xefbfd2a0)
4417 sh NAMI "."
4417 sh RET __lstat13 0
4417 sh CALL open(0x4c000,0x4,0x49725)
4417 sh NAMI ".."
4417 sh RET open 3
4417 sh CALL __fstat13(0x3,0xefbfd1e4)
4417 sh RET __fstat13 0
4417 sh CALL fcntl(0x3,0x2,0x1)
4417 sh RET fcntl 0
4417 sh CALL break(0x4dffc)
4417 sh RET break 0
4417 sh CALL fstatfs(0x3,0xefbfd0e4)
4417 sh RET fstatfs 0
4417 sh CALL break(0x4fffc)
4417 sh RET break 0
4417 sh CALL __fstat13(0x3,0xefbfd2a0)
4417 sh RET __fstat13 0
4417 sh CALL lseek(0x3,0,0,0,0x1)
4417 sh RET lseek 0
4417 sh CALL getdents(0x3,0x4e000,0x1000)
4417 sh RET getdents 512/0x200
4417 sh CALL lseek(0x3,0,0,0,0)
4417 sh RET lseek 0
4417 sh CALL close(0x3)
4417 sh RET close 0
4417 sh CALL __lstat13(0x4c000,0xefbfd2a0)
4417 sh NAMI "../"
4417 sh RET __lstat13 0
4417 sh CALL open(0x4c000,0x4,0)
4417 sh NAMI "../.."
4417 sh RET open 3
4417 sh CALL __fstat13(0x3,0xefbfd1e4)
4417 sh RET __fstat13 0
4417 sh CALL fcntl(0x3,0x2,0x1)
4417 sh RET fcntl 0
4417 sh CALL fstatfs(0x3,0xefbfd0e4)
4417 sh RET fstatfs 0
4417 sh CALL __fstat13(0x3,0xefbfd2a0)
4417 sh RET __fstat13 0
4417 sh CALL lseek(0x3,0,0,0,0x1)
4417 sh RET lseek 0
4417 sh CALL getdents(0x3,0x4e000,0x1000)
4417 sh RET getdents 512/0x200
4417 sh CALL lseek(0x3,0,0,0,0)
4417 sh RET lseek 0
4417 sh CALL close(0x3)
4417 sh RET close 0
4417 sh CALL __lstat13(0x4c000,0xefbfd2a0)
4417 sh NAMI "../../"
4417 sh RET __lstat13 0
4417 sh CALL open(0x4c000,0x4,0)
4417 sh NAMI "../../.."
4417 sh RET open 3
4417 sh CALL __fstat13(0x3,0xefbfd1e4)
4417 sh RET __fstat13 0
4417 sh CALL fcntl(0x3,0x2,0x1)
4417 sh RET fcntl 0
4417 sh CALL fstatfs(0x3,0xefbfd0e4)
4417 sh RET fstatfs 0
4417 sh CALL __fstat13(0x3,0xefbfd2a0)
4417 sh RET __fstat13 0
4417 sh CALL lseek(0x3,0,0,0,0x1)
4417 sh RET lseek 0
4417 sh CALL getdents(0x3,0x4e000,0x1000)
4417 sh RET getdents 512/0x200
4417 sh CALL lseek(0x3,0,0,0,0)
4417 sh RET lseek 0
4417 sh CALL close(0x3)
4417 sh RET close 0
4417 sh CALL __lstat13(0x4c000,0xefbfd2a0)
4417 sh NAMI "../../../"
4417 sh RET __lstat13 0
4417 sh CALL open(0x4c000,0x4,0)
4417 sh NAMI "../../../.."
4417 sh RET open 3
4417 sh CALL __fstat13(0x3,0xefbfd1e4)
4417 sh RET __fstat13 0
4417 sh CALL fcntl(0x3,0x2,0x1)
4417 sh RET fcntl 0
4417 sh CALL fstatfs(0x3,0xefbfd0e4)
4417 sh RET fstatfs 0
4417 sh CALL __fstat13(0x3,0xefbfd2a0)
4417 sh RET __fstat13 0
4417 sh CALL lseek(0x3,0,0,0,0x1)
4417 sh RET lseek 0
4417 sh CALL getdents(0x3,0x4e000,0x1000)
4417 sh RET getdents 512/0x200
4417 sh CALL lseek(0x3,0,0,0,0)
4417 sh RET lseek 0
4417 sh CALL close(0x3)
4417 sh RET close 0
4417 sh CALL __lstat13(0x4c000,0xefbfd2a0)
4417 sh NAMI "../../../../"
4417 sh RET __lstat13 0
4417 sh CALL open(0x4c000,0x4,0)
4417 sh NAMI "../../../../.."
4417 sh RET open 3
4417 sh CALL __fstat13(0x3,0xefbfd1e4)
4417 sh RET __fstat13 0
4417 sh CALL fcntl(0x3,0x2,0x1)
4417 sh RET fcntl 0
4417 sh CALL fstatfs(0x3,0xefbfd0e4)
4417 sh RET fstatfs 0
4417 sh CALL __fstat13(0x3,0xefbfd2a0)
4417 sh RET __fstat13 0
4417 sh CALL lseek(0x3,0,0,0,0x1)
4417 sh RET lseek 0
4417 sh CALL getdents(0x3,0x4e000,0x1000)
4417 sh RET getdents 512/0x200
4417 sh CALL lseek(0x3,0,0,0,0)
4417 sh RET lseek 0
4417 sh CALL close(0x3)
4417 sh RET close 0
4417 sh CALL __lstat13(0x4c000,0xefbfd2a0)
4417 sh NAMI "../../../../../"
4417 sh RET __lstat13 0
4417 sh CALL open(0x4c000,0x4,0)
4417 sh NAMI "../../../../../.."
4417 sh RET open 3
4417 sh CALL __fstat13(0x3,0xefbfd1e4)
4417 sh RET __fstat13 0
4417 sh CALL fcntl(0x3,0x2,0x1)
4417 sh RET fcntl 0
4417 sh CALL fstatfs(0x3,0xefbfd0e4)
4417 sh RET fstatfs 0
4417 sh CALL __fstat13(0x3,0xefbfd2a0)
4417 sh RET __fstat13 0
4417 sh CALL lseek(0x3,0,0,0,0x1)
4417 sh RET lseek 0
4417 sh CALL getdents(0x3,0x4e000,0x1000)
4417 sh RET getdents 512/0x200
4417 sh CALL lseek(0x3,0,0,0,0)
4417 sh RET lseek 0
4417 sh CALL close(0x3)
4417 sh RET close 0
4417 sh CALL __lstat13(0x4c000,0xefbfd2a0)
4417 sh NAMI "../../../../../../"
4417 sh RET __lstat13 0
4417 sh CALL open(0x4c000,0x4,0)
4417 sh NAMI "../../../../../../.."
4417 sh RET open 3
4417 sh CALL __fstat13(0x3,0xefbfd1e4)
4417 sh RET __fstat13 0
4417 sh CALL fcntl(0x3,0x2,0x1)
4417 sh RET fcntl 0
4417 sh CALL fstatfs(0x3,0xefbfd0e4)
4417 sh RET fstatfs 0
4417 sh CALL __fstat13(0x3,0xefbfd2a0)
4417 sh RET __fstat13 0
4417 sh CALL lseek(0x3,0,0,0,0x1)
4417 sh RET lseek 0
4417 sh CALL getdents(0x3,0x4e000,0x1000)
4417 sh RET getdents 512/0x200
4417 sh CALL __lstat13(0x4c000,0xefbfd2a0)
4417 sh NAMI "../../../../../../../usr"
4417 sh RET __lstat13 0
4417 sh CALL lseek(0x3,0,0,0,0)
4417 sh RET lseek 0
4417 sh CALL close(0x3)
4417 sh RET close 0
4417 sh CALL __lstat13(0x4c000,0xefbfd2a0)
4417 sh NAMI "../../../../../../../"
4417 sh RET __lstat13 0
4417 sh CALL break(0x50ffc)
4417 sh RET break 0
4417 sh CALL fork
4417 sh RET fork 4418/0x1142
4417 sh CALL getpgrp
4417 sh RET getpgrp 4417/0x1141
4417 sh CALL wait4(0xffffffff,0xefbfd5d4,0x2,0)
4417 sh RET wait4 4418/0x1142
4417 sh CALL read(0xa,0x49c6c,0x3ff)
4417 sh GIO fd 10 read 0 bytes
""
4417 sh RET read 0
4417 sh CALL exit(0x1)
--
Mason Loring Bliss..mason@acheron.middleboro.ma.us..acheron.dyn.ml.org/mason
"In the drowsy dark cave of the mind dreams build their nest with fragments
dropped from day's caravan."--Rabindranath Tagore..awake ? sleep : dream;