From owner-freebsd-current@FreeBSD.ORG Mon Oct 11 18:54:19 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from green.homeunix.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3712C16A4CE; Mon, 11 Oct 2004 18:54:19 +0000 (GMT) Received: from green.homeunix.org (green@localhost [127.0.0.1]) by green.homeunix.org (8.13.1/8.13.1) with ESMTP id i9BIsIkH052948; Mon, 11 Oct 2004 14:54:18 -0400 (EDT) (envelope-from green@green.homeunix.org) Received: (from green@localhost) by green.homeunix.org (8.13.1/8.13.1/Submit) id i9BIsIoq052947; Mon, 11 Oct 2004 14:54:18 -0400 (EDT) (envelope-from green) Date: Mon, 11 Oct 2004 14:54:17 -0400 From: Brian Fundakowski Feldman To: Robert Watson Message-ID: <20041011185417.GG988@green.homeunix.org> References: <16745.57237.472660.492897@jerusalem.litteratus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i cc: Robert Huff cc: current@freebsd.org Subject: Re: "panic: spin lock entropy harvest mutex not in order list" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Oct 2004 18:54:19 -0000 On Mon, Oct 11, 2004 at 04:26:23AM -0400, Robert Watson wrote: > On Sun, 10 Oct 2004, Robert Huff wrote: > > > > > About 2000 UTC Sunday I cvsuped system source and rebuilt. > > "make buildworld" went fine. (Log available) > > "make buildkernel" also good. (Log also available) > > I installed the new kernel and rebooted. > > When the system came up, I got: > > > > Real memory: XXXXXXXXX > > Avail memory: YYYYYYYYY > > panic: spin lock entropy harvest mutex not in order list > > KDB: enter: panic > > [thread 0] > > ddb> > > When I committed the rewrite of the /dev/random entropy harvesting > locking, I ommitted to commit the change to subr_witness.c telling witness > about the lock change; witness requires that all spin locks be identified > in the hard-coded lock order (although maybe only if witness skipspin is > off, hence more people not running into it?). I've merged the change to > subr_witness.c as change 1.182 as of a minute or two ago. Please letme > know if that change doesn't fix the problem. We should really not do that -- makes loading modules that try to use spinlocks ~impossible. For example, the nvidia driver. -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\