From owner-freebsd-current@FreeBSD.ORG Sun Oct 18 21:01:54 2009 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99DE4106568B; Sun, 18 Oct 2009 21:01:54 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw0.york.ac.uk (mail-gw0.york.ac.uk [144.32.128.245]) by mx1.freebsd.org (Postfix) with ESMTP id 2DE1E8FC0A; Sun, 18 Oct 2009 21:01:53 +0000 (UTC) Received: from mail-gw7.york.ac.uk (mail-gw7.york.ac.uk [144.32.129.30]) by mail-gw0.york.ac.uk (8.13.6/8.13.6) with ESMTP id n9IL1krj013544; Sun, 18 Oct 2009 22:01:46 +0100 (BST) Received: from ury.york.ac.uk ([144.32.108.81]) by mail-gw7.york.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1Mzcss-000053-6i; Sun, 18 Oct 2009 22:01:46 +0100 Received: from ury.york.ac.uk (localhost.york.ac.uk [127.0.0.1]) by ury.york.ac.uk (8.14.3/8.14.3) with ESMTP id n9IL1jir028529; Sun, 18 Oct 2009 22:01:45 +0100 (BST) (envelope-from gavin@FreeBSD.org) Received: from localhost (gavin@localhost) by ury.york.ac.uk (8.14.3/8.14.3/Submit) with ESMTP id n9IL1jSg028526; Sun, 18 Oct 2009 22:01:45 +0100 (BST) (envelope-from gavin@FreeBSD.org) X-Authentication-Warning: ury.york.ac.uk: gavin owned process doing -bs Date: Sun, 18 Oct 2009 22:01:45 +0100 (BST) From: Gavin Atkinson X-X-Sender: gavin@ury.york.ac.uk To: Robert Watson In-Reply-To: Message-ID: <20091018210042.I82400@ury.york.ac.uk> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin@freebsd.org Cc: current@FreeBSD.org Subject: Re: dtrace profile timers still unstable? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Oct 2009 21:01:54 -0000 On Fri, 16 Oct 2009, Robert Watson wrote: > In the past, I've had little luck using the DTrace profile timers on FreeBSD > for much without crashes, and this morning was no different. I attempted to > use the following(ish) script: > > profile-1ms > { > > @data[stack()] = count(); > } > > The result was: > > spin lock 0x849747d8 (cyclic cpu) held by 0x85442b40 (tid 100539) too long > panic: spin lock held too long [...] > (I've seen panics with it pretty deterministically on i386 and amd64) Is there any particular technique to get this to panic? I've been trying to get a panic from the above script (using "dtrace -s prof.d") for a few hours now without success... Gavin