From owner-freebsd-current Sun Jun 27 19:27:23 1999 Delivered-To: freebsd-current@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 8B0D7152AC for ; Sun, 27 Jun 1999 19:27:17 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id LAA16061; Mon, 28 Jun 1999 11:57:05 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id LAA42623; Mon, 28 Jun 1999 11:57:03 +0930 (CST) Date: Mon, 28 Jun 1999 11:57:02 +0930 From: Greg Lehey To: FreeBSD current users Cc: Kirk McKusick Subject: Lockmgr panic out of nfs_bwrite in latest -CURRENT Message-ID: <19990628115702.M15144@freebie.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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