Subject: Re: mips ddb(4) trace fix
To: None <port-mips@NetBSD.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-cobalt
Date: 05/27/2007 10:39:34
I wrote:

> I guess it's a bit ugly but works better than current one..

One example:
---
 :
#   install  /usr/src/obj.cobalt/destdir.cobalt/usr/share/man/cat3/mvwaddchstr.0
STRIP=/usr/tools/mipsel/bin/mipsel--netbsd-strip \
/usr/tools/mipsel/bin/nbinstall  -N /usr/src/etc -l h -r \
/usr/src/obj.cobalt/destdir.cobalt/usr/share/man/cat3/curses_addchstr.0 \
/usr/src/obj.cobalt/destdir.cobalt/usr/share/man/cat3/mvwaddchstr.0

_fstrans_start with held simple_lock 0x802ec484 CPU 0 \
../../../../kern/vfs_syscalls.c:630
pid -864969808 not found
Stopped in pid 18207.1 (amd) at netbsd:cpu_Debugger+0x4:        jr      ra
                bdslot: nop
db> tr
cpu_Debugger+4 (ff01,802f2210,d,0) ra 801e9fac sz 0
_fstrans_start+38 (ff01,802f2210,d,0) ra 80114100 sz 40
ffs_fsync+44 (cc719cb0,802f2210,d,0) ra 801ee308 sz 160
VOP_FSYNC+5c (8c9696c8,ffffffff,5,0) ra 801e0694 sz 64
vinvalbuf+1ac (8c9696c8,ffffffff,5,0) ra 801e08b4 sz 88
vclean+ac (8c9696c8,ffffffff,5,0) ra 801e0e58 sz 48
vgonel+4c (8c9696c8,ffffffff,5,0) ra 801e18b4 sz 40
getcleanvnode+148 (8c9696c8,ffffffff,5,0) ra 801e2260 sz 56
getnewvnode+dc (15,ffffffff,c0027a00,cc719e18) ra 801f7858 sz 64
vfs_allocate_syncvnode+2c (15,ffffffff,c0027a00,cc719e18) ra 801e8cf0 sz 40
dounmount+408 (15,0,c0027a00,cc719e18) ra 801e8edc sz 72
sys_unmount+170 (15,8feeff30,c0027a00,cc719e18) ra 8021e1b0 sz 128
syscall_plain+160 (15,8feeff30,c0027a00,cc719e18) ra 802176fc sz 80
mips3_SystemCall+bc (15,8feeff30,c0027a00,cc719e18) ra 7ddbafb0 sz 0
PC 0x7ddbafb0: not in kernel space
0+7ddbafb0 (15,8feeff30,c0027a00,cc719e18) ra 0 sz 0
User-level: pid 18207.1
db> 

---
Izumi Tsutsui