Subject: Re: kern/32224 (NetBSD 3.99.13 doesn't boot because of pmap errors)
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Matthias Scheler <tron@zhadum.org.uk>
List: netbsd-bugs
Date: 12/12/2005 10:40:03
The following reply was made to PR kern/32224; it has been noted by GNATS.
From: Matthias Scheler <tron@zhadum.org.uk>
To: NetBSD GNATS <gnats-bugs@netbsd.org>
Cc:
Subject: Re: kern/32224 (NetBSD 3.99.13 doesn't boot because of pmap errors)
Date: Mon, 12 Dec 2005 10:36:25 +0000
On Fri, Dec 09, 2005 at 08:30:06PM +0000, Matthias Scheler wrote:
> I've tried to figured out at what point during system startup the messages
> start to appear by manually invoking all scripts in "/etc/rc.d". The
> messages start to appear when "/etc/rc.d/savecore" is run. They stop
> as soon as I abort the script.
My machine crashed this morning and I got another crashdump (although
running "savecore" still causes problems). Here's the stack trace:
panic: lockmgr: using decommissioned lock
#0 0xc0669000 in ?? ()
(gdb) where
#0 0xc0669000 in ?? ()
#1 0xc037313a in cpu_reboot (howto=260, bootstr=0x0)
at /usr/src/sys/arch/i386/i386/machdep.c:752
#2 0xc02f79e8 in panic (
fmt=0xc04c4980 "wdc_exec_command: polled command not done")
at /usr/src/sys/kern/subr_prf.c:244
#3 0xc01cc807 in wdc_exec_command (drvp=0xc2bfb2b8, ata_c=0xcda97aa4)
at /usr/src/sys/dev/ic/wdc.c:1312
#4 0xc0398586 in wd_flushcache (wd=0xc2c36000, flags=16)
at /usr/src/sys/dev/ata/wd.c:1773
#5 0xc0398646 in wd_shutdown (arg=0xc2c36000)
at /usr/src/sys/dev/ata/wd.c:1796
#6 0xc02e700b in doshutdownhooks () at /usr/src/sys/kern/kern_subr.c:516
#7 0xc037306f in cpu_reboot (howto=260, bootstr=0x0)
at /usr/src/sys/arch/i386/i386/machdep.c:755
#8 0xc02f79e8 in panic (fmt=0xc04d1ee0 "lockmgr: locking against myself")
at /usr/src/sys/kern/subr_prf.c:244
#9 0xc02d6c38 in lockmgr (lkp=0xd427a27c, flags=65554, interlkp=0xd427a20c)
at /usr/src/sys/kern/kern_lock.c:905
#10 0xc032b649 in genfs_lock (v=0xcda97bc4)
at /usr/src/sys/miscfs/genfs/genfs_vnops.c:300
#11 0xc032a42d in VOP_LOCK (vp=0xd427a20c, flags=65554)
at /usr/src/sys/kern/vnode_if.c:1228
#12 0xc0327d7c in vn_lock (vp=0xd427a20c, flags=65554)
at /usr/src/sys/kern/vfs_vnops.c:720
#13 0xc031efea in vget (vp=0xd427a20c, flags=65554)
at /usr/src/sys/kern/vfs_subr.c:1203
#14 0xc026a188 in ffs_sync (mp=0xc270b000, waitfor=2, cred=0xcc7c0ad4,
p=0xcda2e19c) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1328
#15 0xc0322216 in sys_sync (l=0xcda30adc, v=0x0, retval=0x0)
at /usr/src/sys/kern/vfs_syscalls.c:653
#16 0xc03203e4 in vfs_shutdown () at /usr/src/sys/kern/vfs_subr.c:2227
#17 0xc037314e in cpu_reboot (howto=256, bootstr=0x0)
at /usr/src/sys/arch/i386/i386/machdep.c:738
#18 0xc02f79e8 in panic (fmt=0xc04d2020 "lockmgr: using decommissioned lock")
at /usr/src/sys/kern/subr_prf.c:244
#19 0xc02d6c38 in lockmgr (lkp=0xd41ecc00, flags=1, interlkp=0x0)
at /usr/src/sys/kern/kern_lock.c:905
#20 0xc031dc8d in vfs_busy (mp=0xd41ecbe8, flags=0, interlkp=0x0)
at /usr/src/sys/kern/vfs_subr.c:325
#21 0xc031d65b in lookup (ndp=0xcda97e64) at /usr/src/sys/kern/vfs_lookup.c:700
#22 0xc031cddc in namei (ndp=0xcda97e64) at /usr/src/sys/kern/vfs_lookup.c:279
#23 0xc0324d2f in sys___stat30 (l=0xcda30adc, v=0xcda97f64, retval=0xcda97f5c)
at /usr/src/sys/kern/vfs_syscalls.c:2164
#24 0xc037ba57 in syscall_plain (frame=0xcda97fa8)
at /usr/src/sys/arch/i386/i386/syscall.c:160
Kind regards
--
Matthias Scheler http://scheler.de/~matthias/