Subject: Re: kern/36669: NetBSD 4.0_BETA2 crashes with "panic: lockmgr: locking against myself"
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Matthias Scheler <tron@zhadum.org.uk>
List: netbsd-bugs
Date: 07/22/2007 10:15:05
The following reply was made to PR kern/36669; it has been noted by GNATS.
From: Matthias Scheler <tron@zhadum.org.uk>
To: Antti Kantee <pooka@cs.hut.fi>
Cc: gnats-bugs@NetBSD.org
Subject: Re: kern/36669: NetBSD 4.0_BETA2 crashes with "panic: lockmgr: locking against myself"
Date: Sun, 22 Jul 2007 11:10:52 +0100
On Sun, Jul 22, 2007 at 12:34:25PM +0300, Antti Kantee wrote:
> This is DIAGNOSTIC & DEBUG & LOCKDEBUG.
My kernel doesn't use any of those option.
> Can you post a traceback?
Here it is:
#0 0xc037d67b in cpu_reboot (howto=0, bootstr=0x0)
at /usr/src/sys/arch/i386/i386/machdep.c:896
#1 0xc030cb78 in panic (fmt=0xc04cce77 "trap")
at /usr/src/sys/kern/subr_prf.c:246
#2 0xc038616c in trap (frame=0xd419e6f4)
at /usr/src/sys/arch/i386/i386/trap.c:339
#3 0xc010b087 in calltrap ()
#4 0xd4190010 in ?? ()
#5 0x00000030 in ?? ()
#6 0xd4190010 in ?? ()
#7 0xc01a0010 in pfr_ktablehead_RB_INSERT_COLOR (head=0x10002, elm=0x10002)
at /usr/src/sys/dist/pf/net/pf_table.c:189
#8 0xc01a724d in db_get_value (addr=65538, size=4, is_signed=0)
at /usr/src/sys/ddb/db_access.c:62
#9 0xc037a1d9 in db_stack_trace_print (addr=-736499628, have_addr=1,
count=65535, modif=0xc04c4d4e "", pr=0xc030c9a0 <printf>)
at /usr/src/sys/arch/i386/i386/db_trace.c:447
#10 0xc030cb4f in panic (fmt=0xc04f65cc "lockmgr: locking against myself")
at /usr/src/sys/kern/subr_prf.c:235
#11 0xc02e8f31 in lockmgr (lkp=0x0, flags=65538, interlkp=0xcd933198)
at /usr/src/sys/kern/kern_lock.c:768
#12 0xc0343a25 in genfs_lock (v=0xd419e8d0)
at /usr/src/sys/miscfs/genfs/genfs_vnops.c:309
#13 0xc03425e5 in VOP_LOCK (vp=0xcd933198, flags=65538)
at /usr/src/sys/kern/vnode_if.c:1228
#14 0xc033f3c7 in vn_lock (vp=0xcd933198, flags=131074)
at /usr/src/sys/kern/vfs_vnops.c:703
#15 0xc033239e in getcwd_common (lvp=0xcd933198, rvp=0xccaf1cc4,
bpp=0xd419ea88, bufp=0xc28b9400 "", limit=512, flags=0, l=0xcdb6253c)
at /usr/src/sys/kern/vfs_getcwd.c:375
#16 0xc022511d in procfs_readlink (v=0xd419eabc)
at /usr/src/sys/miscfs/procfs/procfs_vnops.c:1469
#17 0xc034252b in VOP_READLINK (vp=0xcd9330ec, uio=0xd419eb1c, cred=0xcda92008)
at /usr/src/sys/kern/vnode_if.c:1098
#18 0xc03344c2 in namei (ndp=0xd419ebd8) at /usr/src/sys/kern/vfs_lookup.c:396
#19 0xc033afb6 in sys___stat30 (l=0xcdb6253c, v=0xd419ec48, retval=0xd419ec68)
at /usr/src/sys/kern/vfs_syscalls.c:2424
#20 0xc03859f9 in syscall_plain (frame=0xd419ec88)
at /usr/src/sys/arch/i386/i386/syscall.c:144
#21 0xc0100623 in syscall1 ()
#22 0xd419ec88 in ?? ()
#23 0x0000001f in ?? ()
#24 0x0000001f in ?? ()
#25 0x0000001f in ?? ()
#26 0x0000001f in ?? ()
#27 0x0805fdce in ?? ()
#28 0x00000004 in ?? ()
#29 0xbfbfe228 in ?? ()
#30 0xbfbfe1ff in ?? ()
#31 0x00000000 in ?? ()
Kind regards
--
Matthias Scheler http://zhadum.org.uk/