From owner-freebsd-current@FreeBSD.ORG Thu Jun 10 17:23:28 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34490106567A; Thu, 10 Jun 2010 17:23:28 +0000 (UTC) (envelope-from alan.l.cox@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id BDD958FC0A; Thu, 10 Jun 2010 17:23:27 +0000 (UTC) Received: by gwj20 with SMTP id 20so166131gwj.13 for ; Thu, 10 Jun 2010 10:23:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to :in-reply-to:references:date:message-id:subject:from:to:cc :content-type; bh=En5BzRpR+H5Kt7ANVyWP5Anx8v4Crg8Fm6YS2tsDJlk=; b=xtQUs710oY8xDqdQ+sHO2wqODFtH9bRCc3lUgkNGIPEnWNmiT5sfJG9YlOIy8bQcc7 Gj6brIQ54kHfz02OH0tr+wZ246709AIqJlt+qDQbYc3I5PxKYjRcEqQaayIc40ym6cR0 VrASeQa55Op1bUBFY17cAsEA5Vp7UTgr8iI2A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=SmVNDNbjQ/m5xSXUO2lOxT3o3+5dBgFpecJcBEslwC0oIVXxisV/HDY2iTJ1gn5vVP NRsiu0ELnFX9BzCaD/qQDaBrkTaImQQJbZY7TuITjsc7BQ3DfLblQ0FgW/wkHmD5qz5d icHIrxC0mOxwiWdf/JqUK+f4ZvW6D4Dc/T9vI= MIME-Version: 1.0 Received: by 10.229.233.205 with SMTP id jz13mr446212qcb.171.1276190604423; Thu, 10 Jun 2010 10:23:24 -0700 (PDT) Received: by 10.229.131.31 with HTTP; Thu, 10 Jun 2010 10:23:24 -0700 (PDT) In-Reply-To: <201006100816.24077.jhb@freebsd.org> References: <20100609212747.GF21929@gradx.cs.jhu.edu> <201006100816.24077.jhb@freebsd.org> Date: Thu, 10 Jun 2010 12:23:24 -0500 Message-ID: From: Alan Cox To: John Baldwin Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org, Nathaniel W Filardo Subject: Re: [sparc64] [panic] mutex vm object not owned X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: alc@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2010 17:23:28 -0000 On Thu, Jun 10, 2010 at 7:16 AM, John Baldwin wrote: > On Wednesday 09 June 2010 5:27:47 pm Nathaniel W Filardo wrote: > > Attempting to boot on (2-way SMP; SUN Fire V240) sparc64 a 9.0-CURRENT > > kernel built on Jun 9 at 14:41, and fully csup'd before building (I don't > > have the SVN revision number, sorry) yields, surprisingly late in the > boot > > process, this panic: > > > > panic: mutex vm object not owned at /systank/src/sys/vm/vm_object.c:1692 > > cpuid = 0 > > KDB: stack backtrace: > > panic() at panic+0x1c8 > > _mtx_assert() at _mtx_assert+0xb0 > > vm_object_collapse() at vm_object_collapse+0x28 > > vm_object_deallocate() at vm_object_deallocate+0x538 > > _vm_map_unlock() at _vm_map_unlock+0x64 > > vm_map_remove() at vm_map_remove+0x64 > > vmspace_exit() at vmspace_exit+0x100 > > exit1() at exit1+0x788 > > sys_exit() at sys_exit+0x10 > > syscallenter() at syscallenter+0x268 > > syscall() at syscall+0x74 > > -- syscall (1, FreeBSD ELF64, sys_exit) %o7=0x11980c -- > > userland() at 0x406fe8c8 > > user trace: trap %o7=0x11980c > > pc 0x406fe8c8, sp 0x7fdffff7611 > > done > > Uptime: 4m7s > > > > The system was, at the time, attempting to bring up its jails. > > > > Anything else that would be helpful to know? > > Can you get a crashdump? If so, it would be good to pull up gdb and check > the > value sof 'object' and 'robject' in the vm_object_deallocate() frame. > > That would be useful. None of the locking changes of the last few weeks have altered the vm object locking, so this assertion failure and stack trace come as something of a surprise. Alan