From owner-svn-src-head@FreeBSD.ORG Wed Sep 26 07:25:13 2012 Return-Path: Delivered-To: svn-src-head@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD9F2106564A; Wed, 26 Sep 2012 07:25:13 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (garage.dawidek.net [91.121.88.72]) by mx1.freebsd.org (Postfix) with ESMTP id 6E7838FC1B; Wed, 26 Sep 2012 07:25:13 +0000 (UTC) Received: from localhost (89-73-195-149.dynamic.chello.pl [89.73.195.149]) by mail.dawidek.net (Postfix) with ESMTPSA id F11DC7C6; Wed, 26 Sep 2012 09:24:12 +0200 (CEST) Date: Wed, 26 Sep 2012 09:25:36 +0200 From: Pawel Jakub Dawidek To: Andrey Chernov , "Kenneth D. Merry" , src-committers@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, svn-src-head@FreeBSD.ORG Message-ID: <20120926072536.GI1391@garage.freebsd.pl> References: <201209221241.q8MCfnhJ067937@svn.freebsd.org> <20120925233712.GA26920@nargothrond.kdm.org> <20120926063407.GA44807@vniz.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="boAH8PqvUi1v1f55" Content-Disposition: inline In-Reply-To: <20120926063407.GA44807@vniz.net> X-OS: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: Re: svn commit: r240822 - head/sys/geom X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2012 07:25:13 -0000 --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--