From owner-freebsd-current@FreeBSD.ORG Thu Jul 3 18:58:48 2008 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 85AE2106567B for ; Thu, 3 Jul 2008 18:58:48 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id DE4988FC1B for ; Thu, 3 Jul 2008 18:58:47 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m63IwYDZ044067 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Jul 2008 21:58:34 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m63IwY3a056838; Thu, 3 Jul 2008 21:58:34 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m63IwX5V056837; Thu, 3 Jul 2008 21:58:33 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 3 Jul 2008 21:58:33 +0300 From: Kostik Belousov To: Ed Maste Message-ID: <20080703185833.GQ17123@deviant.kiev.zoral.com.ua> References: <20080703181431.GA10858@sandvine.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Tm3avfvRG8umVcF7" Content-Disposition: inline In-Reply-To: <20080703181431.GA10858@sandvine.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on skuns.kiev.zoral.com.ua Cc: freebsd-current@freebsd.org Subject: Re: head panic: mutex Giant owned at /d2/emaste/svn-head/src/sys/geom/geom_dev.c:184 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 03 Jul 2008 18:58:48 -0000 --Tm3avfvRG8umVcF7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 03, 2008 at 02:14:31PM -0400, Ed Maste wrote: > I haven't looked into this yet, but just got the following panic on boot > from a GENERIC kernel built from svn head ~ 1 hour ago: >=20 > Loading configuration files. > panic: mutex Giant owned at /d2/emaste/svn-head/src/sys/geom/geom_dev.c:1= 84 > cpuid =3D 0 > KDB: enter: panic > [thread pid 35 tid 100069 ] > Stopped at kdb_enter+0x3a: movl $0,kdb_why > db> >=20 > db> bt > Tracing pid 35 tid 100069 td 0xc7119230 > kdb_enter(c0b46154,c0b46154,c0b44be1,e93899a4,0,...) at kdb_enter+0x3a > panic(c0b44be1,c0b64e7b,c0b3daac,b8,e93899e0,...) at panic+0x12c > _mtx_assert(c0c89570,0,c0b3daac,b8,2000,...) at _mtx_assert+0x127 > g_dev_open(c707ad00,1,2000,c7119230,4,...) at g_dev_open+0xb4 > devfs_open(e9389acc,c7119230,e9389ba8,0,e9389af4,...) at devfs_open+0xdf > VOP_OPEN_APV(c0c17580,e9389acc,c7119230,e9389a54,c710a860,...) at VOP_OPE= N_APV+0xa5 > vn_open_cred(e9389ba8,e9389c5c,9cd,c648b800,c70d7818,...) at vn_open_cred= +0x429 > vn_open(e9389ba8,e9389c5c,9cd,c70d7818,0,...) at vn_open+0x33 > kern_openat(c7119230,ffffff9c,bfbfef70,0,1,...) at kern_openat+0x106 > kern_open(c7119230,bfbfef70,0,0,80489df,...) at kern_open+0x35 > open(c7119230,e9389cf8,c,c7119230,c0c1aad8,...) at open+0x30 > syscall(e9389d38) at syscall+0x2a3 > Xint0x80_syscall() at Xint0x80_syscall+0x20 > --- syscall (5, FreeBSD ELF32, open), eip =3D 0x28159cb3, esp =3D 0xbfbfe= e2c, ebp =3D 0xbfbfee88 --- Do you have sysctl debug.mpsafevfs=3D0 ? I see no other possibility for this to happen. If yes, the panic is a consequence of the r178834. --Tm3avfvRG8umVcF7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkhtIVkACgkQC3+MBN1Mb4jwKgCfXzsOehS96Uc5JLqK4f/rNkhp cEIAoN5SqZ5EChoxiXTmuWAPCPa5VfS+ =BmS/ -----END PGP SIGNATURE----- --Tm3avfvRG8umVcF7--