Crash (locking against myself) during ntfs mount

Kevin Oberman oberman at es.net
Tue Sep 6 09:15:45 PDT 2005


Since I updated my kernel on 9/3, I panic when I try to mount an NTFS
volume. The error is "panic: lockmgr: locking against myself". My kernel
lacks WITNESS, although I could build a new one with it if needed. My
previous kernel was built on Aug. 27, so the breakage was during this 7
day period.

I have the full core dump and can get added information. The panic is
quite reliable. All I have to do is issue the "mount -t ntfs /dev/ad0s1
/mnt" command.

I am attaching the kgdb back trace. Hopefully the mailer won't strip it off.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at es.net			Phone: +1 510 486-8634

-------------- next part --------------
panic: lockmgr: locking against myself
KDB: enter: panic
#0  doadump () at pcpu.h:165
165             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) bt
#0  doadump () at pcpu.h:165
#1  0xc044794b in db_fncall (dummy1=-1066484928, dummy2=0, dummy3=-1067276077,
    dummy4=0xdbb21658 "\204\026\uffff\uffff@\213b\uffffp\026\uffff\ufffft\026\uffff\uffff\uffff+")
    at /usr/src/sys/ddb/db_command.c:486
#2  0xc0447750 in db_command (last_cmdp=0xc06c24e4, cmd_table=0x0,
    aux_cmd_tablep=0xc068ce94, aux_cmd_tablep_end=0xc068ce98)
    at /usr/src/sys/ddb/db_command.c:401
#3  0xc0447818 in db_command_loop () at /usr/src/sys/ddb/db_command.c:452
#4  0xc04493c9 in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_main.c:221
#5  0xc050f863 in kdb_trap (type=3, code=0, tf=0xdbb21798)
    at /usr/src/sys/kern/subr_kdb.c:473
#6  0xc0640fa0 in trap (frame=
      {tf_fs = -609091576, tf_es = -1068433368, tf_ds = -1066991576, tf_edi = 1, tf_esi = -1066985939, tf_ebp = -609085480, tf_isp = -609085500, tf_ebx = -609085436, tf_edx = 0, tf_ecx = -1056878592, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1068435993, tf_cs = 32, tf_eflags = 524934, tf_esp = -609085448, tf_ss = -1068536785}) at /usr/src/sys/i386/i386/trap.c:601
#7  0xc0633ada in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#8  0xdbb20008 in ?? ()
#9  0xc0510028 in logtimeout (arg=0xc0672a91)
    at /usr/src/sys/kern/subr_log.c:196
#10 0xc04f6c2f in panic (fmt=0xc067162d "lockmgr: locking against myself")
    at /usr/src/sys/kern/kern_shutdown.c:537
#11 0xc04eb316 in lockmgr (lkp=0xc33d19e8, flags=12290, interlkp=0x80,
    td=0xc24d5640) at /usr/src/sys/kern/kern_lock.c:321
#12 0xc054470e in vop_stdlock (ap=0x0) at /usr/src/sys/kern/vfs_default.c:263
#13 0xc0651163 in VOP_LOCK_APV (vop=0xc06ab100, a=0xdbb21868)
    at vnode_if.c:1642
#14 0xc0559358 in vn_lock (vp=0xc33d1990, flags=4098, td=0xc24d5640)
    at vnode_if.h:844
#15 0xc463c5bd in ?? ()
#16 0xc33d1990 in ?? ()
#17 0x00001002 in ?? ()
#18 0xc24d5640 in ?? ()
#19 0x00000000 in ?? ()
#20 0x00002002 in ?? ()
#21 0xc3062110 in ?? ()
#22 0xdbb218e4 in ?? ()
#23 0xc0559358 in vn_lock (vp=0xc33d1990, flags=-1045588752, td=0x0)
    at vnode_if.h:844
#24 0xc05483dd in vfs_domount (td=0xc24d5640,
    fstype=0xc46432c0 " \001f\031ntfs", fspath=0xc38db030 "/C", fsflags=0,
    fsdata=0xc44c8060) at /usr/src/sys/kern/vfs_mount.c:739
#25 0xc0547bd4 in vfs_donmount (td=0xc24d5640, fsflags=0, fsoptions=0xdbb21be4)
    at /usr/src/sys/kern/vfs_mount.c:503
#26 0xc054a0e4 in kernel_mount (ma=0xc38db8d0, flags=0) at pcpu.h:162
#27 0xc463c423 in ?? ()
#28 0xc38db8d0 in ?? ()
#29 0x00000000 in ?? ()
#30 0xbfbfede9 in ?? ()
#31 0x00000000 in ?? ()
#32 0x0000fffe in ?? ()
#33 0x00000000 in ?? ()
#34 0x00000000 in ?? ()
#35 0x00000000 in ?? ()
#36 0x00000000 in ?? ()
#37 0x00000000 in ?? ()
#38 0x00000000 in ?? ()
#39 0x00000000 in ?? ()
#40 0x00000000 in ?? ()
#41 0x00000000 in ?? ()
#42 0x00000000 in ?? ()
#43 0x00000000 in ?? ()
#44 0x00000000 in ?? ()
#45 0x00000000 in ?? ()
#46 0x00000000 in ?? ()
#47 0x00000000 in ?? ()
#48 0x00000000 in ?? ()
#49 0x00000000 in ?? ()
#50 0x00000000 in ?? ()
#51 0x00000000 in ?? ()
#52 0x00000000 in ?? ()
#53 0x00000000 in ?? ()
#54 0x00000000 in ?? ()
#55 0x00000000 in ?? ()
#56 0x00000000 in ?? ()
#57 0x00000000 in ?? ()
#58 0x00000000 in ?? ()
#59 0x00000000 in ?? ()
#60 0x000001ed in ?? ()
#61 0x00000000 in ?? ()
#62 0x00000000 in ?? ()
#63 0x00000000 in ?? ()
#64 0xc38db8d0 in ?? ()
#65 0x00000001 in ?? ()
#66 0xc449a060 in ?? ()
#67 0xdbb21cdc in ?? ()
#68 0xc0547dae in mount (td=0xc38db8d0, uap=0xdbb21d04)
    at /usr/src/sys/kern/vfs_mount.c:566


More information about the freebsd-current mailing list