Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Feb 2014 15:12:28 -0500
From:      Benjamin Kaduk <bjkfbsd@gmail.com>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Re: panic: stable/10 with Debugging enabled in kern_cons.c:500
Message-ID:  <CAJ5_RoDQF1jFjTJGf=-Ym806MLQr4V5SmFcmQbZDUCPFdfgf5w@mail.gmail.com>
In-Reply-To: <20140112034203.GA59496@kib.kiev.ua>
References:  <1389478327.46758.7.camel@powernoodle.corp.yahoo.com> <1389480297.46758.9.camel@powernoodle.corp.yahoo.com> <20140112034203.GA59496@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 11, 2014 at 10:42 PM, Konstantin Belousov
<kostikbel@gmail.com>wrote:

> On Sat, Jan 11, 2014 at 02:44:57PM -0800, Sean Bruno wrote:
> > > panic: mtx_lock_spin: recursed on non-recursive mutex cnputs_mtx
> > > @ /usr/src/sys/kern/kern_cons.c:500
>
> Add
> options         WITNESS_SKIPSPIN
> to the kernel config.  This is required now, unfortunately.
>

I ran into this a few days ago (I had missed Sean's report here) as well.
It seems a poor state to be in; can we mark the cnputs_mtx to not be
checked by WITNESS?  (Or is it a more generic problem with all spin locks
and cnputs is just the first one that is used?)

-Ben



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