From owner-freebsd-stable@FreeBSD.ORG Fri Nov 5 21:22:15 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1991A106566C for ; Fri, 5 Nov 2010 21:22:15 +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 DF9268FC19 for ; Fri, 5 Nov 2010 21:22:14 +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 5E8A846B03; Fri, 5 Nov 2010 17:22:14 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 8255A8A009; Fri, 5 Nov 2010 17:22:13 -0400 (EDT) From: John Baldwin To: freebsd-stable@freebsd.org Date: Fri, 5 Nov 2010 17:21:05 -0400 User-Agent: KMail/1.13.5 (FreeBSD/7.3-CBSD-20100819; KDE/4.4.5; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201011051721.05898.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Fri, 05 Nov 2010 17:22:13 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.96.3 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.9 required=4.2 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bigwig.baldwin.cx Cc: Thomas Zander Subject: Re: How to tell whether ECC (memory) is enabled? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2010 21:22:15 -0000 On Friday, November 05, 2010 12:09:14 pm Thomas Zander wrote: > Dear, > > is there any way to inspect a running STABLE machine for the presence > or state of ECC memory before an MCA "error detected" message actually > occurs? > In comparison when I quickly boot the machine in question with a Linux > live CD, I find (among other EDAC messages) the following output in > its dmesg: > > ... > EDAC amd64: ECC is enabled by BIOS, Proceeding with EDAC module initialization > ... > > During POST, die BIOS also tells me that ECC memory is installed, so > far so good. But I was a little surprised that the FreeBSD kernel > tells me absolutely nothing about it. Or do I have to tune loader.conf > variables? I think the EDAC register is using the registers for the QPI PCI buses. There is a driver now to export those PCI buses to the OS in 7.x+. However, someone would need to port the EDAC driver (or something similar) to work with those devices. -- John Baldwin