Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 1997 11:15:33 +0200 (SAT)
From:      Ian Freislich <iang@digs.iafrica.com>
To:        current@freebsd.org
Cc:        root@deadline.snafu.de
Subject:   Re: lockmgr panic on reboot?
Message-ID:  <E0x3eCL-0000A7-00@brane.digs.iafrica.com>
In-Reply-To: From iang at "Aug 26, 97 09:34:55 pm"

next in thread | raw e-mail | index | archive | help
Hi

> You may have noticed that the PID the panic was complaining about
> was in fact the shutdown or reboot pid. It seems to have gone away
> with today's kernel though. That means that in the two reboots
> (because my PC travels a lot) today, I didn't get that panic.

Looks like I spoke too soon.

Here is a stack trace from the resulting vmcore:

GDB 4.16 (i386-unknown-freebsd), 
Copyright 1996 Free Software Foundation, Inc...
IdlePTD 262000
current pcb at 20a3cc
panic: lockmgr: pid %d, not %s %d unlocking
#0  boot (howto=256) at ../../kern/kern_shutdown.c:290
290					dumppcb.pcb_cr3 = rcr3();
(kgdb) where
#0  boot (howto=256) at ../../kern/kern_shutdown.c:290
#1  0xf0115a62 in panic (fmt=0xf0111035 "lockmgr: pid %d, not %s %d unlocking")
    at ../../kern/kern_shutdown.c:417
#2  0xf011131f in lockmgr (lkp=0xf087a834, flags=65542, interlkp=0xf08744dc, 
    p=0xf0925e00) at ../../kern/kern_lock.c:392
#3  0xf01a3de2 in ufs_unlock (ap=0xf486fe3c) at ../../ufs/ufs/ufs_vnops.c:1778
#4  0xf0134915 in vputrele (vp=0xf0874480, put=1) at vnode_if.h:799
#5  0xf013492d in vput (vp=0xf0874480) at ../../kern/vfs_subr.c:1154
#6  0xf01a0f8c in quotaoff (p=0xf07fae00, mp=0xf0822200, type=0)
    at ../../ufs/ufs/ufs_quota.c:477
#7  0xf019c41d in ffs_flushfiles (mp=0xf0822200, flags=2, p=0xf07fae00)
    at ../../ufs/ffs/ffs_vfsops.c:753
#8  0xf019c2b6 in ffs_unmount (mp=0xf0822200, mntflags=524288, p=0xf07fae00)
    at ../../ufs/ffs/ffs_vfsops.c:699
#9  0xf0136215 in dounmount (mp=0xf0822200, flags=524288, p=0xf07fae00)
    at ../../kern/vfs_syscalls.c:427
#10 0xf0135445 in vfs_unmountall () at ../../kern/vfs_subr.c:1921
#11 0xf011570b in boot (howto=0) at ../../kern/kern_shutdown.c:258
#12 0xf01154d9 in reboot (p=0xf0925e00, uap=0xf486ff94, retval=0xf486ff84)
    at ../../kern/kern_shutdown.c:148
#13 0xf01bcfbb in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 0, 
      tf_esi = 0, tf_ebp = -272638312, tf_isp = -192479260, tf_ebx = 2, 
      tf_edx = -1, tf_ecx = 0, tf_eax = 55, tf_trapno = 7, tf_err = 7, 
      tf_eip = 6073, tf_cs = 31, tf_eflags = 582, tf_esp = -272638336, 
      tf_ss = 39}) at ../../i386/i386/trap.c:947
#14 0x17b9 in ?? ()
#15 0x107f in ?? ()

-- igf (Ian Freislich)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0x3eCL-0000A7-00>