svn commit: r240822 - head/sys/geom

Pawel Jakub Dawidek pjd at FreeBSD.org
Wed Sep 26 07:25:13 UTC 2012


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

Yes, that looks very related. Stay tuned.

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://tupytaj.pl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20120926/3d018914/attachment.pgp


More information about the svn-src-head mailing list