Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2008 21:58:33 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Ed Maste <emaste@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: head panic: mutex Giant owned at /d2/emaste/svn-head/src/sys/geom/geom_dev.c:184
Message-ID:  <20080703185833.GQ17123@deviant.kiev.zoral.com.ua>
In-Reply-To: <20080703181431.GA10858@sandvine.com>
References:  <20080703181431.GA10858@sandvine.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080703185833.GQ17123>