Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jun 1999 11:57:02 +0930
From:      Greg Lehey <grog@lemis.com>
To:        FreeBSD current users <FreeBSD-current@FreeBSD.ORG>
Cc:        Kirk McKusick <mckusick@mckusick.com>
Subject:   Lockmgr panic out of nfs_bwrite in latest -CURRENT
Message-ID:  <19990628115702.M15144@freebie.lemis.com>

next in thread | raw e-mail | index | archive | help
I'm getting the following repeatable panic since the introduction of
the changed lockmgr code:

(kgdb) bt
#0  Debugger (msg=0xc025d4fb "panic") at ../../i386/i386/db_interface.c:324
#1  0xc0153268 in panic (fmt=0xc0265de0 "nfs_strategy: buffer %p not locked") at ../../kern/kern_shutdown.c:450
#2  0xc01e3ade in nfs_strategy (ap=0xc6df6c00) at ../../nfs/nfs_vnops.c:2650
#3  0xc01e44c9 in nfs_writebp (bp=0xc2374e20, force=0x1, procp=0xc68a5100) at vnode_if.h:891
#4  0xc01e4322 in nfs_bwrite (ap=0xc6df6ca0) at ../../nfs/nfs_vnops.c:3034
#5  0xc01e4190 in nfs_flush (vp=0xc6df3440, cred=0xc0f48300, waitfor=0x1, p=0xc68a5100, commit=0x1) at vnode_if.h:1147
#6  0xc01e3b65 in nfs_fsync (ap=0xc6df6d40) at ../../nfs/nfs_vnops.c:2710
#7  0xc0179036 in vinvalbuf (vp=0xc6df3440, flags=0x1, cred=0xc0f48300, p=0xc68a5100, slpflag=0x0, slptimeo=0x0)
    at vnode_if.h:499
#8  0xc01b1af4 in nfs_vinvalbuf (vp=0xc6df3440, flags=0x1, cred=0xc0f48300, p=0xc68a5100, intrflg=0x1)
    at ../../nfs/nfs_bio.c:1078
#9  0xc01b10ac in nfs_write (ap=0xc6df6eb4) at ../../nfs/nfs_bio.c:730
#10 0xc018024c in vn_write (fp=0xc0f51940, uio=0xc6df6efc, cred=0xc0f48300, flags=0x0) at vnode_if.h:331
#11 0xc015f2a8 in dofilewrite (p=0xc68a5100, fp=0xc0f51940, fd=0x3, buf=0x804b000, nbyte=0x55,
    offset=0xffffffffffffffff, flags=0x0) at ../../kern/sys_generic.c:363
#12 0xc015f1b7 in write (p=0xc68a5100, uap=0xc6df6f80) at ../../kern/sys_generic.c:298
#13 0xc022a062 in syscall (frame={tf_fs = 0x2f, tf_es = 0x2f, tf_ds = 0x2f, tf_edi = 0x804b000, tf_esi = 0x804d040,
      tf_ebp = 0xbfbfcfb0, tf_isp = 0xc6df6fd4, tf_ebx = 0x55, tf_edx = 0x804b000, tf_ecx = 0x4, tf_eax = 0x4,
      tf_trapno = 0x7, tf_err = 0x2, tf_eip = 0x280956dc, tf_cs = 0x1f, tf_eflags = 0x202, tf_esp = 0xbfbfcf88,
      tf_ss = 0x2f}) at ../../i386/i386/trap.c:1056
#14 0xc021baf0 in Xint0x80_syscall ()
#15 0x80485b9 in ?? ()
(kgdb)

I assume that the origins are easy enough to trace, but I can take a
dump or get other information if necessary.

Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key


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




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