From owner-svn-src-head@FreeBSD.ORG Tue Mar 16 16:08:59 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FF25106564A; Tue, 16 Mar 2010 16:08:59 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 62D318FC1A; Tue, 16 Mar 2010 16:08:59 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 02C8846B81; Tue, 16 Mar 2010 12:08:59 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id D43778A01F; Tue, 16 Mar 2010 12:08:57 -0400 (EDT) From: John Baldwin To: src-committers@freebsd.org Date: Tue, 16 Mar 2010 12:08:56 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <201003161601.o2GG1JmE028502@svn.freebsd.org> In-Reply-To: <201003161601.o2GG1JmE028502@svn.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201003161208.56952.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Tue, 16 Mar 2010 12:08:57 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org Subject: Re: svn commit: r205214 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2010 16:08:59 -0000 On Tuesday 16 March 2010 12:01:19 pm John Baldwin wrote: > Author: jhb > Date: Tue Mar 16 16:01:19 2010 > New Revision: 205214 > URL: http://svn.freebsd.org/changeset/base/205214 > > Log: > - Extend the machine check record structure to include several fields useful > for parsing model-specific and other fields in machine check events > including the global machine check capabilities and status registers, > CPU identification, and the FreeBSD CPU ID. > - Report these added fields in the console log of a machine check so that > a record structure can be reconstituted from the console messages. These changes were inspired by adding FreeBSD support to mcelog (a tool to monitor machine checks used on Linux). There is a partial port of mcelog available at //depot/projects/mcelog/... in p4. It supports reading records from a running machine via the hw.mca sysctls as well as parsing the console log messages via the --ascii flag. > - Parse new architectural errors including memory controller errors. Newer CPUs (e.g. i7) report correctable ECC errors as memory controller errors rather than memory hierarchy errors. I'm also currently testing some other patches to add support for CMCI which is a local APIC interrupt that can be enabled to fire when a correctable machine check occurs. The existing machine check exceptions only fire for uncorrectable events, so correctable events have to be discovered via polling. -- John Baldwin