Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753857AbXFLVtR (ORCPT ); Tue, 12 Jun 2007 17:49:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752165AbXFLVtE (ORCPT ); Tue, 12 Jun 2007 17:49:04 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:44511 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752074AbXFLVtE (ORCPT ); Tue, 12 Jun 2007 17:49:04 -0400 From: "Rafael J. Wysocki" To: Tejun Heo Subject: Re: 2.6.22-rc4-mm2: GPF during suspend to RAM on HPC nx6325 Date: Tue, 12 Jun 2007 23:55:25 +0200 User-Agent: KMail/1.9.5 Cc: Andrew Morton , Greg KH , LKML References: <200706110102.52946.rjw@sisk.pl> <466CF71B.2000907@gmail.com> In-Reply-To: <466CF71B.2000907@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706122355.26223.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Monday, 11 June 2007 09:17, Tejun Heo wrote: > Hello, Rafael. > > Rafael J. Wysocki wrote: > > gregkh-driver-sysfs-use-singly-linked-list-for-sysfs_dirent-tree.patch breaks > > suspend to RAM on HPC nx6325 (x86_64). > > > > With this patch applied I get a general protection fault in mutex_lock+0x15 > > (kernel/mutex.c:91), called by sysfs_hash_and_remove() (fs/sysfs/inode.c:298), > > called by threshold_cpu_callback(), called from _cpu_down(). > > I'm not sure whether this is bug in sysfs or in sysfs handling code in > mce_amd and I can't test mce_amd here. Can you please apply the > attached patch and post the resulting dmesg including oops? I've applied the patch, but the oops is a kernel panic, so I can't generate a dmesg including it. ;-) Here's the dmesg output from a fresh boot (runlevel 2): http://www.sisk.pl/kernel/debug/2.6.22-rc4-mm2/dmesg.log Here's a picture of the oops taken after a failed attempt to suspend: http://www.sisk.pl/kernel/debug/2.6.22-rc4-mm2/during_suspend.jpg Here's a picture of the oops taken after a failed attempt to offline CPU1 using 'echo 1 > /sys/devices/system/cpu/cpu1/online': http://www.sisk.pl/kernel/debug/2.6.22-rc4-mm2/after_offlining_cpu1.jpg [Sorry for the quality of pictures, I couldn't get anything better.] Greetings, Rafael -- "Premature optimization is the root of all evil." - Donald Knuth