Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934499AbaDIWPe (ORCPT ); Wed, 9 Apr 2014 18:15:34 -0400 Received: from prod-mail-xrelay07.akamai.com ([72.246.2.115]:33728 "EHLO prod-mail-xrelay07.akamai.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933705AbaDIWPd (ORCPT ); Wed, 9 Apr 2014 18:15:33 -0400 Message-ID: <5345C683.2080307@akamai.com> Date: Wed, 09 Apr 2014 18:15:31 -0400 From: Jason Baron User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130330 Thunderbird/17.0.5 MIME-Version: 1.0 To: "Luck, Tony" CC: Borislav Petkov , Aristeu Rozanski , "hpa@zytor.com" , "mingo@kernel.org" , "dougthompson@xmission.com" , "m.chehab@samsung.com" , "mitake@dcl.info.waseda.ac.jp" , "linux-edac@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 3/3] ie31200_edac: Add driver References: <760765424abe31811027ff3efd078bc858b7d3ed.1396645124.git.jbaron@akamai.com> <20140409113552.GJ6529@pd.tnic> <20140409133433.GJ29214@redhat.com> <3908561D78D1C84285E8C5FCA982C28F31E22EAC@ORSMSX106.amr.corp.intel.com> <20140409173633.GN6529@pd.tnic> <5345980F.7070604@akamai.com> <20140409191454.GQ6529@pd.tnic> <5345A54D.2050808@akamai.com> <20140409201615.GS6529@pd.tnic> <3908561D78D1C84285E8C5FCA982C28F31E2358F@ORSMSX106.amr.corp.intel.com> In-Reply-To: <3908561D78D1C84285E8C5FCA982C28F31E2358F@ORSMSX106.amr.corp.intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/09/2014 05:33 PM, Luck, Tony wrote: >> Unfortunately, the box reporting the ue errors just went into transit (so >> that I can better examine this issue), so I will probably not be able to >> run this experiment on that specific box until next week. > > Do you have any other logs from this machine. Is there something > logged in one (or more) of the machine check banks when your EDAC > driver says that there are uncorrected errors? > > When the box is back online again - I'd be interested to know if mcelog(8) > daemon reports any errors. Grab the latest from mcelog.org, compile > and run as "mcelog --daemon". Logs show up in /var/log/mcelog > So when the driver sees uncorrected errors, I'm also seeing them in my memory scanning program - so they correspond nicely. I didn't see anything logged in /var/log/mcelog, but I will update to the latest when possible. >> # ./rdmsr 0x179 >> c09 > > So this processor does support CMCI - next question is whether each > bank support it (and got enabled by Linux) [can run on any system ... don't > need to wait for the one to finish transit)] > > # for I in `seq 0 8` > do > ./rdmsr 0x28$i > done > > will print the MCi_CTL2 registers from each bank. Bit 30 (0x40000000) > shows CMCI enabled. > >From the similar system: # for i in `seq 0 8`; do ./rdmsr 0x28$i; done 40000001 40000001 0 40000001 0 40000001 40000001 40000001 40000001 So looks like cmci is eenabled on the banks. But like I said on the box with the ue errors I didn't see 'THR' or 'MCE' increment in /proc/interrupts. > On the name of the driver - can you throw in an underscore: ie3_12xx.c ? > > Do you have systems from Sandy Bridge, Ivy Bridge and Haswell generations > (no suffix for Sandy Bridge, then v2 and v3) ... and does this driver work across all of > them? If it is just for Haswell ... then "ie3_12xx_v3.c" might be a better name. > I do have all the above systems. The one with the memory errors in a Sandy Bridge. On the other systems I can only say that the driver loads and reports the rank information correctly. IE I haven't hit the error paths on those. Thanks, -Jason -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/