Am Donnerstag 07 August 2008 09:52:16 schrieb Martin Husemann:
> On Thu, Aug 07, 2008 at 07:26:03AM +0200, Mirko Rüther wrote:
> > the same hardware was running perfect with NetBSD 3.99 and actual on my
> > Linux box. So i think, the hardware is ok.
>
> Yes, this is a bug in the application (or it's port to NetBSD). It may
> have gone unnoticed due to bugs in the sab driver that have been fixed
> in the meantime.
>
thats good news. but how?
> > > ttyh1 "/usr/libexec/getty std.9600" unknown off local
> > >
> > > to /etc/ttys and then run ttyflags -a before trying the program again.
> >
> > I've tried, but it does nothing.
>
> Could you try again with softcar instead of local?
> Does the ktrace still end with the open call?
i've tried but it still ends with the open call:
root@mruether:~$ k kdump ktrace.out
21226 1 ktrace EMUL "netbsd"
21226 1 ktrace CALL
execve(0xffffffffffffc1f0,0xffffffffffffc820,0xffffffffffffc848)
21226 1 ktrace NAMI "/sbin/digitemp"
21226 1 ktrace RET execve -1 errno 2 No such file or directory
21226 1 ktrace CALL
execve(0xffffffffffffc1f0,0xffffffffffffc820,0xffffffffffffc848)
21226 1 ktrace NAMI "/usr/sbin/digitemp"
21226 1 ktrace RET execve -1 errno 2 No such file or directory
21226 1 ktrace CALL
execve(0xffffffffffffc1f0,0xffffffffffffc820,0xffffffffffffc848)
21226 1 ktrace NAMI "/bin/digitemp"
21226 1 ktrace RET execve -1 errno 2 No such file or directory
21226 1 ktrace CALL
execve(0xffffffffffffc1f0,0xffffffffffffc820,0xffffffffffffc848)
21226 1 ktrace NAMI "/usr/bin/digitemp"
21226 1 ktrace NAMI "/usr/libexec/ld.elf_so"
21226 1 digitemp_DS9097 EMUL "netbsd"
21226 1 digitemp_DS9097 RET execve JUSTRETURN
21226 1 digitemp_DS9097 CALL
mmap(0,0x8000,3,0x1002,0xffffffffffffffff,0,0)
21226 1 digitemp_DS9097 RET mmap 1075896320/0x4020e000
21226 1 digitemp_DS9097 CALL open(0x4030d070,0,0xffffffffffffffff)
21226 1 digitemp_DS9097 NAMI "/etc/ld.so.conf"
21226 1 digitemp_DS9097 RET open -1 errno 2 No such file or directory
21226 1 digitemp_DS9097 CALL
open(0xffffffffffffbed0,0,0x7f7f7f7f7f7f7f7f)
21226 1 digitemp_DS9097 NAMI "/usr/lib/libm.so.0"
21226 1 digitemp_DS9097 RET open 3
21226 1 digitemp_DS9097 CALL __fstat30(3,0xffffffffffffbd88)
21226 1 digitemp_DS9097 RET __fstat30 0, -17016/0xffffffffffffbd88
21226 1 digitemp_DS9097 CALL mmap(0,0x2000,1,1,3,0,0)
21226 1 digitemp_DS9097 RET mmap 1075937280/0x40218000
21226 1 digitemp_DS9097 CALL munmap(0x40218000,0x2000)
21226 1 digitemp_DS9097 RET munmap 0, 8192/0x2000
21226 1 digitemp_DS9097 CALL mmap(0,0x12c000,5,0x14000002,3,0,0)
21226 1 digitemp_DS9097 RET mmap 1078984704/0x40500000
21226 1 digitemp_DS9097 CALL mmap(0x40628000,0x4000,7,0x12,3,0,0x28000)
21226 1 digitemp_DS9097 RET mmap 1080197120/0x40628000,
1080197120/0x40628000
21226 1 digitemp_DS9097 CALL
mmap(0x4062c000,0,7,0x1012,0xffffffffffffffff,0,0)
21226 1 digitemp_DS9097 RET mmap 1080213504/0x4062c000,
1080213504/0x4062c000
21226 1 digitemp_DS9097 CALL mprotect(0x40528000,0x100000,0)
21226 1 digitemp_DS9097 RET mprotect 0, 1048576/0x100000
21226 1 digitemp_DS9097 CALL close(3)
21226 1 digitemp_DS9097 RET close 0, 3
21226 1 digitemp_DS9097 CALL
open(0xffffffffffffbed0,0,0x7f7f7f7f7f7f7f7f)
21226 1 digitemp_DS9097 NAMI "/usr/lib/libc.so.12"
21226 1 digitemp_DS9097 RET open 3
21226 1 digitemp_DS9097 CALL __fstat30(3,0xffffffffffffbd88)
21226 1 digitemp_DS9097 RET __fstat30 0, -17016/0xffffffffffffbd88
21226 1 digitemp_DS9097 CALL mmap(0,0x2000,1,1,3,0,0)
21226 1 digitemp_DS9097 RET mmap 1075937280/0x40218000
21226 1 digitemp_DS9097 CALL munmap(0x40218000,0x2000)
21226 1 digitemp_DS9097 RET munmap 0, 8192/0x2000
21226 1 digitemp_DS9097 CALL mmap(0,0x222000,5,0x14000002,3,0,0)
21226 1 digitemp_DS9097 RET mmap 1081081856/0x40700000
21226 1 digitemp_DS9097 CALL
mmap(0x408fc000,0x16000,7,0x12,3,0,0xfc000)
21226 1 digitemp_DS9097 RET mmap 1083162624/0x408fc000,
1083162624/0x408fc000
21226 1 digitemp_DS9097 CALL
mmap(0x40912000,0x10000,7,0x1012,0xffffffffffffffff,0,0)
21226 1 digitemp_DS9097 RET mmap 1083252736/0x40912000,
1083252736/0x40912000
21226 1 digitemp_DS9097 CALL mprotect(0x407fe000,0xfe000,0)
21226 1 digitemp_DS9097 RET mprotect 0, 1040384/0xfe000
21226 1 digitemp_DS9097 CALL close(3)
21226 1 digitemp_DS9097 RET close 0, 3
21226 1 digitemp_DS9097 CALL
__sysctl(0xffffffffffffc438,2,0x409105a8,0xffffffffffffc430,0,0)
21226 1 digitemp_DS9097 RET __sysctl 0, 2
21226 1 digitemp_DS9097 CALL open(0x20cc68,0,0x1b6)
21226 1 digitemp_DS9097 NAMI ".digitemprc"
21226 1 digitemp_DS9097 RET open -1 errno 2 No such file or directory
21226 1 digitemp_DS9097 CALL __fstat30(1,0xffffffffffffbe28)
21226 1 digitemp_DS9097 RET __fstat30 0, -16856/0xffffffffffffbe28
21226 1 digitemp_DS9097 CALL
__sysctl(0xffffffffffffbc94,2,0xffffffffffffbcac,0xffffffffffffbca0,0,0)
21226 1 digitemp_DS9097 RET __sysctl 0, 2
21226 1 digitemp_DS9097 CALL
readlink(0x407f4488,0xffffffffffffbd78,0x3f)
21226 1 digitemp_DS9097 NAMI "/etc/malloc.conf"
21226 1 digitemp_DS9097 RET readlink -1 errno 2 No such file or
directory
21226 1 digitemp_DS9097 CALL
mmap(0,0x2000,3,0x1002,0xffffffffffffffff,0,0)
21226 1 digitemp_DS9097 RET mmap 1075879936/0x4020a000
21226 1 digitemp_DS9097 CALL break(0x20dcd8)
21226 1 digitemp_DS9097 RET break 0, 8192/0x2000
21226 1 digitemp_DS9097 CALL break(0x20fcd8)
21226 1 digitemp_DS9097 RET break 0
21226 1 digitemp_DS9097 CALL break(0x210000)
21226 1 digitemp_DS9097 RET break 0
21226 1 digitemp_DS9097 CALL break(0x220000)
21226 1 digitemp_DS9097 RET break 0, 127/0x7f
21226 1 digitemp_DS9097 CALL ioctl(1,TIOCGETA,0xffffffffffffbe84)
21226 1 digitemp_DS9097 GIO fd 1 read 44 bytes
"\0\0\^A\^B\0\0\0\a\0\0K\0 \0\^E\M-O\^D\0\0\^?\^W\^U\^R\M^?
\^C\^\\^Z\^Y\^Q\^S\^V\^O\^A\0\^T\M^?\0\0\M^V\0\0\0\M^V\0"
21226 1 digitemp_DS9097 RET ioctl 0, 1076655123/0x402c7413
21226 1 digitemp_DS9097 CALL write(1,0x210000,0x35)
21226 1 digitemp_DS9097 GIO fd 1 wrote 53 bytes
"DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane
"
21226 1 digitemp_DS9097 RET write 53/0x35, 2162688/0x210000
21226 1 digitemp_DS9097 CALL write(1,0x210000,0x32)
21226 1 digitemp_DS9097 GIO fd 1 wrote 50 bytes
"GNU Public License v2.0 - http://www.digitemp.com
"
21226 1 digitemp_DS9097 RET write 50/0x32, 2162688/0x210000
21226 1 digitemp_DS9097 CALL __stat30(0x20d090,0xffffffffffffc028)
21226 1 digitemp_DS9097 NAMI "/dev/ttyh1"
21226 1 digitemp_DS9097 RET __stat30 0, -16344/0xffffffffffffc028
21226 1 digitemp_DS9097 CALL access(0x20d090,6)
21226 1 digitemp_DS9097 NAMI "/dev/ttyh1"
21226 1 digitemp_DS9097 RET access 0, 6
21226 1 digitemp_DS9097 CALL open(0x20d090,2,0)
21226 1 digitemp_DS9097 NAMI "/dev/ttyh1"
any idea how to fix?
greets
Mirko
Attachment:
signature.asc
Description: This is a digitally signed message part.