From owner-p4-projects@FreeBSD.ORG Wed May 19 10:16:44 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 2ECF016A4D0; Wed, 19 May 2004 10:16:44 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0339316A4CE for ; Wed, 19 May 2004 10:16:44 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0ECA43D53 for ; Wed, 19 May 2004 10:16:43 -0700 (PDT) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i4JHGPcN013198 for ; Wed, 19 May 2004 10:16:25 -0700 (PDT) (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i4JHGOiS013195 for perforce@freebsd.org; Wed, 19 May 2004 10:16:24 -0700 (PDT) (envelope-from peter@freebsd.org) Date: Wed, 19 May 2004 10:16:24 -0700 (PDT) Message-Id: <200405191716.i4JHGOiS013195@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm To: Perforce Change Reviews Subject: PERFORCE change 53056 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2004 17:16:44 -0000 http://perforce.freebsd.org/chv.cgi?CH=53056 Change 53056 by peter@peter_hammer on 2004/05/19 10:15:57 Add a Debugger() call if we have busy buffers. This seems to be the only way to catch it since things hang solid right after this. Affected files ... .. //depot/projects/hammer/sys/kern/kern_shutdown.c#12 edit Differences ... ==== //depot/projects/hammer/sys/kern/kern_shutdown.c#12 (text+ko) ==== @@ -345,6 +345,9 @@ * unmount filesystems (thus forcing an fsck on reboot). */ printf("giving up on %d buffers\n", nbusy); +#ifdef DDB + Debugger("busy buffers"); +#endif DELAY(5000000); /* 5 seconds */ } else { printf("done\n");