Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754292AbYHPVdT (ORCPT ); Sat, 16 Aug 2008 17:33:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751837AbYHPVdL (ORCPT ); Sat, 16 Aug 2008 17:33:11 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:37758 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751696AbYHPVdK (ORCPT ); Sat, 16 Aug 2008 17:33:10 -0400 From: "Rafael J. Wysocki" To: Greg KH , "Langsdorf, Mark" Subject: Re: Warning in during hotplug on 2.6.27-rc2-git5 Date: Sat, 16 Aug 2008 23:34:12 +0200 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) Cc: Andi Kleen , linux-kernel@vger.kernel.org, Ingo Molnar , Andrew Morton References: <200808141753.58547.rjw@sisk.pl> <200808162128.25330.rjw@sisk.pl> <20080816201813.GA30715@kroah.com> In-Reply-To: <20080816201813.GA30715@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200808162334.13620.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1824 Lines: 41 On Saturday, 16 of August 2008, Greg KH wrote: > On Sat, Aug 16, 2008 at 09:28:24PM +0200, Rafael J. Wysocki wrote: > > On Thursday, 14 of August 2008, Langsdorf, Mark wrote: > > > > On Thu, Aug 14, 2008 at 05:53:57PM +0200, Rafael J. Wysocki wrote: > > > > > On Wednesday, 13 of August 2008, Mark Langsdorf wrote: > > > > > > I'm seeing the following error message when I hotunplug and replug > > > > > > a cpu in 2.6.27-rc2-git5. The system becomes unstable almost > > > > > > immediately afterwards. > > > > > > > > > > Hm, it seems that MCE is involved somehow. Andi, can you > > > > have a look at this, > > > > > please? > > > > > > > > FWIW the mce code here actually hasn't changed for a long time. > > > > > > > > > > > > > > ------------[ cut here ]------------ > > > > > > WARNING: at fs/sysfs/dir.c:463 sysfs_add_one+0x33/0x39() > > > > > > sysfs: duplicate filename 'machinecheck4' can not be created > > > > > > > > The only way I could see that happening if CPU_DEAD/CPU_ONLINE > > > > is not properly balanced. > > > > > > I'm still seeing it on 2.6.27-rc2, even with the > > > patch here http://lkml.org/lkml/2008/7/30/171 and the > > > wbinvd_halt code patch applied. Maybe something else > > > broke in some of the recent hotplug changes? > > > > My guess is that MCE does somthing that is not allowed by sysfs any more. > > Hm, sysfs hasn't changed any in 2.6.27-rcX that I know of. Hmm. Mark, what kind of a system is this? Is it a 2 quad-core CPU system or similar ('machinecheck4' in your trace seems to imply something like this)? Rafael -- 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/