Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753356AbYKKQph (ORCPT ); Tue, 11 Nov 2008 11:45:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751160AbYKKQp1 (ORCPT ); Tue, 11 Nov 2008 11:45:27 -0500 Received: from e1.ny.us.ibm.com ([32.97.182.141]:43677 "EHLO e1.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750984AbYKKQp0 (ORCPT ); Tue, 11 Nov 2008 11:45:26 -0500 Date: Tue, 11 Nov 2008 08:45:23 -0800 From: "Paul E. McKenney" To: Heiko Carstens Cc: Ingo Molnar , "Rafael J. Wysocki" , Linux Kernel Mailing List , Kernel Testers List , Rusty Russell , Vegard Nossum , Peter Zijlstra , Oleg Nesterov , Dmitry Adamushko , Andrew Morton , Steven Rostedt Subject: Re: [Bug #11989] Suspend failure on NForce4-based boards due to chanes in stop_machine Message-ID: <20081111164523.GB6736@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com References: <20081110120401.GA15518@osiris.boeblingen.de.ibm.com> <200811101547.21325.rjw@sisk.pl> <200811102355.42389.rjw@sisk.pl> <20081111105214.GA15645@elte.hu> <20081111113134.GA5653@osiris.boeblingen.de.ibm.com> <20081111124201.GA9459@osiris.boeblingen.de.ibm.com> <20081111143505.GA6923@linux.vnet.ibm.com> <20081111150225.GA10743@linux.vnet.ibm.com> <20081111161401.GC9459@osiris.boeblingen.de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081111161401.GC9459@osiris.boeblingen.de.ibm.com> User-Agent: Mutt/1.5.15+20070412 (2007-04-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1975 Lines: 51 On Tue, Nov 11, 2008 at 05:14:01PM +0100, Heiko Carstens wrote: > > > Could you please apply the following debug patch (due to Jiangshan and > > > myself)? Then you should be able to build with CONFIG_RCU_TRACE, > > > then mount debugfs after boot, for example, on /debug. This will > > > create a /debug/rcu directory with three files, "rcucb", "rcu_data", > > > and "rcu_bh_data". Since you are still able to log in, could you > > > please send the contents of these three files? > > > > > > Thanx, Paul > > > > This time with the patch actually attached... Thanks to Peter Z. > > for alerting me to my omission. > > Well, your patch doesn't apply on git head. However I used preemptible > RCU instead and had tracing enabled. Were you using preemptible RCU earlier as well? Raphael was using classic RCU. Don't get me wrong, all problems need fixing, just trying to make sure I understand where the problems are occurring. > This is the output of the three files after it stalled (and continued, > because I caused an interrupt by sending a network packet) twice: > > [root@h0545001 rcu]# cat rcuctrs > CPU last cur F M > 1 0 0 1 1 > 3 0 0 1 1 > 4 0 0 0 0 > 5 0 0 0 1 > 6 0 0 0 0 > ggp = 1640, state = waitack > > [root@h0545001 rcu]# cat rcugp > oldggp=1652 newggp=1655 > > [root@h0545001 rcu]# cat rcustats > na=33948 nl=3 wa=33945 wl=0 da=33945 dl=0 dr=33945 di=0 > 1=0 e1=0 i1=1674 ie1=4 g1=1670 a1=1920 ae1=251 a2=1669 > z1=1669 ze1=0 z2=1669 m1=4411 me1=2742 m2=1669 This hang also involved synchronize_sched()? Or synchronize_rcu()? The reason I ask is that the above stats are for the synchronize_rcu() rather than synchronize_sched(). Thanx, Paul -- 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/