Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2012 09:25:36 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Andrey Chernov <ache@freebsd.org>, "Kenneth D. Merry" <ken@FreeBSD.ORG>, src-committers@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, svn-src-head@FreeBSD.ORG
Subject:   Re: svn commit: r240822 - head/sys/geom
Message-ID:  <20120926072536.GI1391@garage.freebsd.pl>
In-Reply-To: <20120926063407.GA44807@vniz.net>
References:  <201209221241.q8MCfnhJ067937@svn.freebsd.org> <20120925233712.GA26920@nargothrond.kdm.org> <20120926063407.GA44807@vniz.net>

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

--boAH8PqvUi1v1f55
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Sep 26, 2012 at 10:34:07AM +0400, Andrey Chernov wrote:
> On Tue, Sep 25, 2012 at 05:37:12PM -0600, Kenneth D. Merry wrote:
> > >   Use the topology lock to protect list of providers while withering =
them.
> > >   It is possible that provider is destroyed while we are iterating ov=
er the
> > >   list.
> >=20
> > This breaks devices going away in CAM.
> >=20
> > When the da(4) driver calls disk_gone(), it is necessarily holding the =
SIM
> > lock, which is a regular MTX_DEF mutex.  The GEOM topology lock is an sx
> > lock, and of WITNESS blows up because of that:
>=20
> I don't know is it related, but in recent -current I got stable panic at=
=20
> the very last stage of reboot (after buffers syncing):
> reboot after panic: mutex Giant owned at ../../../geom/geom_disk.c:638
> using just plain AHCI disks perhaps attached to CAM.

Yes, that looks very related. Stay tuned.

--=20
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://tupytaj.pl

--boAH8PqvUi1v1f55
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlBirfAACgkQForvXbEpPzSiYgCeK0yU/SlEFTk25JZ6HNaIaJ9T
xFoAoNkTjgRcN4qFENJVro5dl9XvB22v
=MFjd
-----END PGP SIGNATURE-----

--boAH8PqvUi1v1f55--



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