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? TIA, Riggs
On Fri, Nov 5, 2010 at 5:09 PM, Thomas Zander <thomas.e.zander@googlemail.com> 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?Have you tried 'dmidecode' (as run), from the port sysutils/dmidecode?> TIA, > Riggs-cpghost. -- Cordula's Web. http://www.cordula.ws/
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
On Fri, Nov 5, 2010 at 22:21, John Baldwin <jhb@freebsd.org> wrote:>> 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.I see. Thanks for clarification! This means for now I have to trust the BIOS that ECC is enabled and I should see MCA reports in the dmesg output once a bit error is detected? Riggs