From owner-freebsd-current@FreeBSD.ORG Sat Jun 13 14:01:48 2015 Return-Path: Delivered-To: current@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2C48D803; Sat, 13 Jun 2015 14:01:48 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ipmail05.adl6.internode.on.net (ipmail05.adl6.internode.on.net [150.101.137.143]) by mx1.freebsd.org (Postfix) with ESMTP id 5CA0EC7A; Sat, 13 Jun 2015 14:01:46 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ppp118-210-12-163.lns20.adl2.internode.on.net (HELO midget.dons.net.au) ([118.210.12.163]) by ipmail05.adl6.internode.on.net with ESMTP; 13 Jun 2015 23:31:45 +0930 Received: from [10.65.210.53] ([137.122.64.26]) (authenticated bits=0) by midget.dons.net.au (8.15.1/8.14.9) with ESMTPSA id t5DE1dQd005101 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 13 Jun 2015 23:31:41 +0930 (CST) (envelope-from darius@dons.net.au) X-Authentication-Warning: midget.dons.net.au: Host [137.122.64.26] claimed to be [10.65.210.53] Subject: Re: obtaining a minidump from panic() called from NMI handler Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: text/plain; charset=us-ascii From: "O'Connor, Daniel" In-Reply-To: <557C2D5F.4080005@freebsd.org> Date: Sat, 13 Jun 2015 10:01:32 -0400 Cc: Maksim Yevmenkin , Andriy Gapon , "current@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <3FCB93E6-40AA-4673-99F1-14CD145FFFAA@dons.net.au> References: <557B1905.80307@FreeBSD.org> <557C2D5F.4080005@freebsd.org> To: Julian Elischer X-Mailer: Apple Mail (2.2098) X-Spam-Score: -1.107 () BAYES_00,RDNS_NONE X-Scanned-By: MIMEDefang 2.75 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Sat, 13 Jun 2015 14:01:48 -0000 > On 13 Jun 2015, at 09:17, Julian Elischer wrote: >=20 >>> could it be that more than one CPUs get the NMI at the same time? >> i guess, its possible. is there an easy way to check for that? > hard code checks in the code so that all except the first do something = different. > (even only as a debug check).. like write to some location and loop... How about just something to the effect of.. if (curcpu !=3D cpu0) while (1) ; -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C