Date: Thu, 11 Jul 2013 14:43:48 -0700 From: Attilio Rao <attilio@freebsd.org> To: John Baldwin <jhb@freebsd.org> Cc: Steven Hartland <steven@multiplay.co.uk>, stable@freebsd.org, freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: locks under printf(9) and WITNESS = panic? Message-ID: <CAJ-FndD2ePG1opX5ZYptePTtp40TvTGL=hu598RD4_L7DM=Efg@mail.gmail.com> In-Reply-To: <201307111621.41665.jhb@freebsd.org> References: <77F3F7FC35D843ADA82D54EF37249ED0@multiplay.co.uk> <201307111621.41665.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 11, 2013 at 1:21 PM, John Baldwin <jhb@freebsd.org> wrote: > On Saturday, June 29, 2013 9:19:24 pm Steven Hartland wrote: >> when booting stable/9 under a debug kernel with WITNESS >> enabled and verbose I get the following panic.. >> >> It seems very much like the discussion from a year back on >> current: http://lists.freebsd.org/pipermail/freebsd-current/2012- > January/031375.html >> >> Any ideas? > > Yeah, that lock needs to be MTX_RECURSE (the cnputs_mtx). However, it > only recurses under witness. *sigh* I have a patch to make mtx_lock_flags() to accept MTX_RECURSE. I will commit it as long as all the consumers code will be reviewed which should be any day. Attilio -- Peace can only be achieved by understanding - A. Einstein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-FndD2ePG1opX5ZYptePTtp40TvTGL=hu598RD4_L7DM=Efg>
