Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 May 1999 12:30:26 -0400
From:      "David E. Cross" <crossd@cs.rpi.edu>
To:        freebsd-hackers@freebsd.org
Subject:   lockmgr: locking against myself (again)
Message-ID:  <199905311630.MAA82638@cs.rpi.edu>

next in thread | raw e-mail | index | archive | help
Well, I have a debuging kernel compiled with DEBUG_LOCKS turned on, below is
the result.  This was cvsup-ed and built about May 27, 14:00 EDT.

gdb -k /usr/src/sys/compile/STAGGER/kernel.debug vmcore.10 (yes, that's right, #10 in a little over one week)
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
IdlePTD 2990080
initial pcb at 2663b8
panicstr: lockmgr: locking against myself
panic messages:
---
panic: lockmgr: locking against myself

syncing disks... 26 19 11 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 giving up

dumping to dev 20001, offset 303392
dump 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 
---
#0  boot (howto=256) at ../../kern/kern_shutdown.c:285
285                     dumppcb.pcb_cr3 = rcr3();
(kgdb) bt
#0  boot (howto=256) at ../../kern/kern_shutdown.c:285
#1  0xc014baa4 in at_shutdown (
    function=0xc02354bb <__set_sysuninit_set_sym_M_KTRACE_uninit_sys_uninit+179>, arg=0xc75b9b40, queue=65538) at ../../kern/kern_shutdown.c:446
#2  0xc0147794 in debuglockmgr (lkp=0xc1276200, flags=16842754, 
    interlkp=0xc75b9bb0, p=0xc743f780, name=0xc0237d57 "vop_stdlock", 
    file=0xc023804b "../../kern/vfs_subr.c", line=1274)
    at ../../kern/kern_lock.c:326
#3  0xc016d6c1 in vop_stdlock (ap=0xc7453a5c) at ../../kern/vfs_default.c:211
#4  0xc01e5bfd in ufs_vnoperate (ap=0xc7453a5c)
    at ../../ufs/ufs/ufs_vnops.c:2299
#5  0xc0176635 in debug_vn_lock (vp=0xc75b9b40, flags=65538, p=0xc743f780, 
    filename=0xc023804b "../../kern/vfs_subr.c", line=1274) at vnode_if.h:811
#6  0xc01700d1 in vget (vp=0xc75b9b40, flags=2, p=0xc743f780)
    at ../../kern/vfs_subr.c:1274
#7  0xc016c1b3 in vfs_cache_lookup (ap=0xc7453b24)
    at ../../kern/vfs_cache.c:439
#8  0xc01e5bfd in ufs_vnoperate (ap=0xc7453b24)
    at ../../ufs/ufs/ufs_vnops.c:2299
#9  0xc016e7c1 in lookup (ndp=0xc7453d94) at vnode_if.h:31
#10 0xc01b8260 in nfs_namei (ndp=0xc7453d94, fhp=0xc7453d0c, len=3, 
    slp=0xc0f7e400, nam=0xc0f54370, mdp=0xc7453c48, dposp=0xc7453c44, 
    retdirp=0xc7453c2c, p=0xc743f780, kerbflag=0, pubflag=0)
    at ../../nfs/nfs_subs.c:1642
#11 0xc01a123f in nfsrv_lookup (nfsd=0xc108f100, slp=0xc0f7e400, 
    procp=0xc743f780, mrq=0xc7453e34) at ../../nfs/nfs_serv.c:396
#12 0xc01b9cba in nfssvc_nfsd (nsd=0xc7453e94, argp=0x8071af4 "", p=0xc743f780)
    at ../../nfs/nfs_syscalls.c:656
#13 0xc01b95d5 in nfssvc (p=0xc743f780, uap=0xc7453f94)
    at ../../nfs/nfs_syscalls.c:342
#14 0xc020d02f in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 8, 
      tf_esi = 0, tf_ebp = -1077944892, tf_isp = -951762972, tf_ebx = 0, 
      tf_edx = -1077945288, tf_ecx = 0, tf_eax = 155, tf_trapno = 12, 
      tf_err = 2, tf_eip = 134518940, tf_cs = 31, tf_eflags = 642, 
      tf_esp = -1077945280, tf_ss = 39}) at ../../i386/i386/trap.c:1100
#15 0xc0203e5c in Xint0x80_syscall ()
#16 0x80480e9 in ?? ()
(kgdb) 




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905311630.MAA82638>