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

next in thread | previous in thread | raw e-mail | index | archive | help
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 over the
> >   list.
> 
> This breaks devices going away in CAM.
> 
> 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:

I don't know is it related, but in recent -current I got stable panic at 
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.

-- 
http://ache.vniz.net/



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