From owner-freebsd-stable@FreeBSD.ORG Fri Mar 11 19:04:19 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60D1116A4CE; Fri, 11 Mar 2005 19:04:19 +0000 (GMT) Received: from cs.rice.edu (cs.rice.edu [128.42.1.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AC0D43D39; Fri, 11 Mar 2005 19:04:19 +0000 (GMT) (envelope-from alc@cs.rice.edu) Received: from localhost (calypso.cs.rice.edu [128.42.1.127]) by cs.rice.edu (Postfix) with ESMTP id 736434A99E; Fri, 11 Mar 2005 13:04:18 -0600 (CST) Received: from cs.rice.edu ([128.42.1.30]) by localhost (calypso.cs.rice.edu [128.42.1.127]) (amavisd-new, port 10024) with LMTP id 23551-01-34; Fri, 11 Mar 2005 13:04:18 -0600 (CST) Received: by cs.rice.edu (Postfix, from userid 19572) id F1D704A9AC; Fri, 11 Mar 2005 13:04:17 -0600 (CST) Date: Fri, 11 Mar 2005 13:04:17 -0600 From: Alan Cox To: Gavin Atkinson Message-ID: <20050311190417.GJ28845@cs.rice.edu> References: <20050311184658.Q63048@ury.york.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050311184658.Q63048@ury.york.ac.uk> User-Agent: Mutt/1.4.2i X-Virus-Scanned: by amavis-2.2.1 at cs.rice.edu cc: alc@freebsd.org cc: stable@freebsd.org Subject: Re: panic: mutex vm object not owned X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2005 19:04:19 -0000 On Fri, Mar 11, 2005 at 06:59:02PM +0000, Gavin Atkinson wrote: > > Hi, > > I'm tracking RELENG_5 and since my last update I can no longer start X > without getting the following panic: > > panic: mutex vm object not owned at /usr/src/sys/vm/vm_page.c:334 > cpuid = 0 > KDB: enter: panic > [ thread pid 2762 tid 100116 ] > stopped at kdb_enter+0x2b: nop > > At which point the machine hangs solid (note this is over a serial console > - it is after X has claimed the display). > > I've done a binary chop to find where the bug was introduced, and it > started at some point between 19:00 on 2005/02/25 and 00:00 on 2005/02/26. > The MFC to vm_page.c which added the assertion I'm tripping up on happened > between those two points: > $FreeBSD: src/sys/vm/vm_page.c,v 1.290.2.4 2005/02/25 23:38:22 alc Exp $ > > vm_page.c:334 seems to correspond to the line > VM_OBJECT_LOCK_ASSERT(m->object, MA_OWNED); > within vm_page_wakeup() > > Any suggestions? I'll try to coerce it into generating a backtrace but > given the machine wedges before even giving the DDB prompt I'm not sure > I'll be able to. > Are you using an Nvidia driver? Regards, Alan