From owner-freebsd-stable@FreeBSD.ORG Sat Feb 15 20:12:29 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8BED2F67 for ; Sat, 15 Feb 2014 20:12:29 +0000 (UTC) Received: from mail-oa0-x234.google.com (mail-oa0-x234.google.com [IPv6:2607:f8b0:4003:c02::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 50A8E15C6 for ; Sat, 15 Feb 2014 20:12:29 +0000 (UTC) Received: by mail-oa0-f52.google.com with SMTP id i4so16004464oah.39 for ; Sat, 15 Feb 2014 12:12:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=a/HQKyhFTOmkOEiZGhFF971jqTg2st8JycnFwnPRtQQ=; b=Emex9UgANxVDHyo0EOAayCNSexLuP3ITZyawe0xPurfd1O6A+N9axXF8MkQd/mvZmP Yg6uex30R+mu0q4+IXTVwSY8+0YTgM/eb/4I3doWWiZkNflUD5LOuZo+vEEnSfiBg2LN +srFdplqsBRcnZqmfsvxrRQDIOykqmGczQnQTln9LRZV90Wcs7mNUw7pC9QwcJfCx43e c3N+cx2J6HFh6nFYPb10FG81SjxXR+idUncFhSbvR2EJvI72OAhLH+iM05vEkvzuWPJH LETJS/xR5VtL80+qt7Ti7uADmu2jABrJGvx3ED6gGuGNGkvVyhcTBb+5PD9kC4IY6jeM MyTg== MIME-Version: 1.0 X-Received: by 10.60.84.143 with SMTP id z15mr13110602oey.27.1392495148630; Sat, 15 Feb 2014 12:12:28 -0800 (PST) Received: by 10.182.92.36 with HTTP; Sat, 15 Feb 2014 12:12:28 -0800 (PST) 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> Date: Sat, 15 Feb 2014 15:12:28 -0500 Message-ID: Subject: Re: panic: stable/10 with Debugging enabled in kern_cons.c:500 From: Benjamin Kaduk To: Konstantin Belousov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Feb 2014 20:12:29 -0000 On Sat, Jan 11, 2014 at 10:42 PM, Konstantin Belousov 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