Subject: LFS Locking Panic on Reboot
To: None <current-users@netbsd.org>
From: Gary Duzan <gary@duzan.org>
List: current-users
Date: 03/22/2003 15:52:09
===========================================================================
NetBSD capo 1.6Q NetBSD 1.6Q (CAPO) #1: Sat Mar 22 11:40:48 EST 2003  root@capo:/usr/tmp/src/sys/arch/i386/compile/CAPO i386
===========================================================================
(gdb) target kcore netbsd.2.core
panic: lockmgr: draining against myself
#0  0x1 in ?? ()
(gdb) where
#0  0x1 in ?? ()
#1  0xc025a596 in cpu_reboot (howto=260, bootstr=0x0)
    at /usr/tmp/src/sys/arch/i386/i386/machdep.c:863
#2  0xc01f6197 in panic () at /usr/tmp/src/sys/kern/subr_prf.c:246
#3  0xc01df641 in lockmgr (lkp=0xe34f3818, flags=65543, interlkp=0xe34f37ac)
    at /usr/tmp/src/sys/kern/kern_lock.c:778
#4  0xc021d1c0 in genfs_lock (v=0xe35edcd4)
    at /usr/tmp/src/sys/miscfs/genfs/genfs_vnops.c:325
#5  0xc0214612 in vclean (vp=0xe34f37ac, flags=8, p=0xe35a9d10)
    at /usr/tmp/src/sys/sys/vnode_if.h:1035
#6  0xc0214892 in vgonel (vp=0xe34f37ac, p=0xe35a9d10)
    at /usr/tmp/src/sys/kern/vfs_subr.c:1696
#7  0xc0214848 in vgone (vp=0xe34f37ac)
    at /usr/tmp/src/sys/kern/vfs_subr.c:1665
#8  0xc01b605d in lfs_unmount (mp=0xc0df6a00, mntflags=524288, p=0xe35a9d10)
    at /usr/tmp/src/sys/ufs/lfs/lfs_vfsops.c:1406
#9  0xc02169e7 in dounmount (mp=0xc0df6a00, flags=524288, p=0xe35a9d10)
    at /usr/tmp/src/sys/kern/vfs_syscalls.c:525
#10 0xc0215792 in vfs_unmountall (p=0xe35a9d10)
    at /usr/tmp/src/sys/kern/vfs_subr.c:2485
#11 0xc0215a49 in vfs_shutdown () at /usr/tmp/src/sys/kern/vfs_subr.c:2591
#12 0xc025a56b in cpu_reboot (howto=2056, bootstr=0x0)
    at /usr/tmp/src/sys/arch/i386/i386/machdep.c:850
---Type <return> to continue, or q <return> to quit---
#13 0xc01f0022 in sys_reboot (l=0xe3589584, v=0xe35edf80, retval=0xe35edf78)
    at /usr/tmp/src/sys/kern/kern_xxx.c:83
#14 0xc02620f3 in syscall_plain (frame={tf_gs = 31, tf_fs = 31, tf_es = 31, 
      tf_ds = 31, tf_edi = 0, tf_esi = -1077936687, tf_ebp = -1077936920, 
      tf_ebx = 2, tf_edx = -1, tf_ecx = 1208951468, tf_eax = 208, 
      tf_trapno = 3, tf_err = 2, tf_eip = 1208483895, tf_cs = 23, 
      tf_eflags = 647, tf_esp = -1077936980, tf_ss = 31, tf_vm86_es = 0, 
      tf_vm86_ds = 0, tf_vm86_fs = 0, tf_vm86_gs = 0})
    at /usr/tmp/src/sys/arch/i386/i386/syscall.c:156
#15 0xc0100b17 in syscall1 ()
can not access 0xbfbffce8, invalid translation (invalid PDE)
can not access 0xbfbffce8, invalid translation (invalid PDE)
Cannot access memory at address 0xbfbffce8
(gdb) 
===========================================================================

					Gary Duzan