From owner-freebsd-current Mon Jul 19 23:35:35 1999 Delivered-To: freebsd-current@freebsd.org Received: from knecht.sendmail.org (knecht.sendmail.org [209.31.233.160]) by hub.freebsd.org (Postfix) with ESMTP id 649101501F; Mon, 19 Jul 1999 23:35:30 -0700 (PDT) (envelope-from mckusick@flamingo.McKusick.COM) Received: from flamingo.McKusick.COM (root@flamingo.mckusick.com [209.31.233.178]) by knecht.sendmail.org (8.9.3/8.9.3) with ESMTP id XAA13887; Mon, 19 Jul 1999 23:35:25 -0700 (PDT) Received: from flamingo.McKusick.COM (mckusick@localhost.concentric.net [127.0.0.1]) by flamingo.McKusick.COM (8.9.3/8.9.0) with ESMTP id VAA18341; Mon, 19 Jul 1999 21:59:56 -0700 (PDT) Message-Id: <199907200459.VAA18341@flamingo.McKusick.COM> To: "Andrew Atrens" Subject: Re: lockmanager panic Cc: current@freebsd.org, peter@freebsd.org, dg@root.com In-reply-to: Your message of "Tue, 20 Jul 1999 01:09:24 EDT." Date: Mon, 19 Jul 1999 21:59:51 -0700 From: Kirk McKusick Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Please be sure that you are running with vm/swap_pager.c at version 1.120 or later. In particular, you should have two calls to the macro BUF_KERNPROC in that file. If you are missing those two calls, you will get the panic. If you do have those two calls in that code, then (and *only* then) try the following patch to see if it helps. It is making use of BUF_KERNPROC for cases in which it is not intended, but if it gets around your current problem, then gives a good indication of what to look for as a real fix. Kirk McKusick Index: vm_pager.c =================================================================== RCS file: /usr/ncvs/src/sys/vm/vm_pager.c,v retrieving revision 1.51 diff -c -r1.51 vm_pager.c *** vm_pager.c 1999/07/05 12:50:54 1.51 --- vm_pager.c 1999/07/20 06:33:59 *************** *** 550,555 **** --- 550,556 ---- nbp->b_flags = B_CALL | (bp->b_flags & B_ORDERED) | flags; nbp->b_rcred = nbp->b_wcred = proc0.p_ucred; nbp->b_iodone = vm_pager_chain_iodone; + BUF_KERNPROC(nbp); crhold(nbp->b_rcred); crhold(nbp->b_wcred); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message