From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756893AbYAZGEb (ORCPT ); Sat, 26 Jan 2008 01:04:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753052AbYAZGEV (ORCPT ); Sat, 26 Jan 2008 01:04:21 -0500 Received: from rv-out-0910.google.com ([209.85.198.190]:41714 "EHLO rv-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752813AbYAZGEU (ORCPT ); Sat, 26 Jan 2008 01:04:20 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZvqTzlFfd1T44u8s5/NOMfvPfMtuzDapDy4OTsVANc4ZiiSq4QelkdijOMjS8dEHHFMNwY5Hj07svuUuxOgM6EQ+45nVJFiYAYX8c+YrBXWciqcdfiTYUpSZ46kyMe5i4xzsmCGoGi9SD72lAJOtQlcnKjF8ihxUo2WxIHvshCY= Message-ID: <86802c440801252204g61e05a23s10ca56c000a6635d@mail.gmail.com> Date: Fri, 25 Jan 2008 22:04:19 -0800 From: "Yinghai Lu" To: "Greg KH" Subject: Re: threshold_init_device/kobject_uevent_env oops Cc: "Ingo Molnar" , "Linux Kernel Mailing List" , "Linus Torvalds" In-Reply-To: <20080125225036.GB6323@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <86802c440801251305u21517078y12ff68ef3015aaae@mail.gmail.com> <20080125221548.GA15172@suse.de> <20080125223556.GB24708@elte.hu> <20080125224711.GA6323@suse.de> <20080125225036.GB6323@suse.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Jan 25, 2008 2:50 PM, Greg KH wrote: > On Fri, Jan 25, 2008 at 02:47:11PM -0800, Greg KH wrote: > > On Fri, Jan 25, 2008 at 11:35:56PM +0100, Ingo Molnar wrote: > > > > > > * Greg KH wrote: > > > > > > > On Fri, Jan 25, 2008 at 01:05:40PM -0800, Yinghai Lu wrote: > > > > > current linus tree + x86.git > > > > > > > > > > got > > > > > > > > > > Calling initcall 0xffffffff80b93d98: threshold_init_device+0x0/0x3f() > > > > > BUG: unable to handle kernel NULL pointer dereference at 0000000000000040 > > > > > IP: [] kobject_uevent_env+0x2a/0x3d9 > > > > > > > > Does this happen on just Linus's tree? > > > > > > > > Can you send me a .config file for this? > > > > > > > > What is threshold_init()? Is it something new in the x86.git tree? > > > > > > no. A quick grep shows that it is in a file that _your_ changes in > > > Linus' latest have touched: > > > > > > arch/x86/kernel/cpu/mcheck/mce_amd_64.c > > > > Ok, those are pretty much just search/and/replace type changes, but I > > have been running x86-64 boxes with these changes in place. > > Oh wait, I do see a change. We are now (finally) emitting a kobject > uevent for these devices, which somehow the code can't handle properly. > > Let me go poke this some more, unfortunatly I don't have any AMD 64 > boxes here anymore, only Intel based processors, so I can't run this > module... it only happens with AMD Quad Core CPU or Fam 10h. works well with AMD opteron Rev E, and Rev F. So you may need have access to new system with quad core cpu. YH