From owner-freebsd-current@FreeBSD.ORG Fri Jan 18 20:56:44 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 87D20D37 for ; Fri, 18 Jan 2013 20:56:44 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from anubis.delphij.net (anubis.delphij.net [64.62.153.212]) by mx1.freebsd.org (Postfix) with ESMTP id 6B2CA792 for ; Fri, 18 Jan 2013 20:56:44 +0000 (UTC) Received: from epsilon.delphij.net (drawbridge.ixsystems.com [206.40.55.65]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by anubis.delphij.net (Postfix) with ESMTPSA id B40131E4B4; Fri, 18 Jan 2013 12:56:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=delphij.net; s=anubis; t=1358542603; bh=8Wop4HCKYo4r05si3M4zKhF36HXv3tkRpX02O6rAXAo=; h=Date:From:Reply-To:To:CC:Subject:References:In-Reply-To; b=iF3pGs9cI5Wh3cyVvNZrtHxfZp8aXgXBEF2aeEOP+sUugkWSaG7mFosyE8evbheDW YoRqGuv0V8ZqW3ZY9k5pB+QqUUM0ufYiELE9jKcYhgMhEek6MyBnKWwI+MT4APg9d9 8xvkg847tIu5nqAcWznPEWG8NQSXtqRWz0O2Dyns= Message-ID: <50F9B70A.5040305@delphij.net> Date: Fri, 18 Jan 2013 12:56:42 -0800 From: Xin Li Organization: The FreeBSD Project MIME-Version: 1.0 To: Brandon Gooch Subject: Re: sysctl -a causes kernel trap 12 References: <50EB602F.9050300@delphij.net> <20130108000233.GZ82219@kib.kiev.ua> <50EB63A9.50903@delphij.net> <50EB870D.3020306@delphij.net> <50EF3FEC.60605@delphij.net> In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Konstantin Belousov , freebsd-current@freebsd.org, d@delphij.net X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: d@delphij.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2013 20:56:44 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 01/18/13 12:50, Brandon Gooch wrote: > On Thu, Jan 10, 2013 at 4:25 PM, Xin Li > wrote: > > -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 > > To all: this became more and more hard to replicate lately. I've > tried these options and the most important progress is that it's > possible to get a crashdump when debug.debugger_on_panic=0 and I > managed to get a backtrace which indicates the panic occur when > trying to do mtx_lock(&Giant) -> __mtx_lock_sleep -> turnstile_wait > -> propagate_priority, but after I've added some instruments to > the surrounding code and enabled INVARIANT and/or WITNESS, it > mysteriously went away. > > Reverting my instruments code and update to latest svn makes the > issue disappear for one day. I've hit it again today but > unfortunately didn't get a successful dump and after reboot I can't > reproduce it again :( > > Still trying... > > > Any updates Xin? No, it mysteriously disappeared for now. According to my understanding to recent svn commits, I didn't see anybody committing something that fixes it but I can no longer panic my system, with or without debugging code :( > I was actually hitting what I believe to be exactly the same issue > as you on one of my systems, and, as you've seen, adding any extra > debugging or diagnostics seemed to eliminate the issue. > > I was able to generate quite a few vmcores and still have these > sitting around in my filesystem (along with the kernels that helped > produce them). > > I can recreate this crash on my system by compiling the NVIDIA > driver with clang at -01 and above. Although it's been noted that > this issue has been seen in scenarios without an NIVIDIA driver in > the mix, whatever is happening in the kernel to cause the panic is > somehow triggered by this, at least on my system. I'm not sure if this is the same problem. Could you please try using gcc to compile the nVIdia driver and see if that "fixes" the problem? Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- iQEcBAEBCgAGBQJQ+bcKAAoJEG80Jeu8UPuz5D8H/RFSmPv2nNqGmLCNZpElesN5 IYHWTNwxekFLC5M/jeYCLePLGEozBqOBzryrVr1xslvIJJf2w0NLCEIzyC+kdWy9 ksi+DihihuwqEp7BIieQi/HQkwhFKxm0SmovPYu8Al3rFFyazuMCHstuToWyT9sN OV8ZjyinFIyb8EPqm7V6Ziwi7A6sApHO5SlQXscqANrT03FrU4I8tseNzdDX9uwQ zzewf05rkcko771Vk7JI9Xwu7VHZ+eN4NbujBhuVhMWw+utZSJFOf67o11JZw9B0 aM1PCfZef2NM9OfAN40JTY4/Hjk6TSygJKu3mGd3R5tjcRywU0ypwPXgOsUxlVg= =3Kk8 -----END PGP SIGNATURE-----