From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755580AbXEIIPn (ORCPT ); Wed, 9 May 2007 04:15:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754120AbXEIIP3 (ORCPT ); Wed, 9 May 2007 04:15:29 -0400 Received: from www.osadl.org ([213.239.205.134]:33163 "EHLO mail.tglx.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753107AbXEIIP0 (ORCPT ); Wed, 9 May 2007 04:15:26 -0400 Subject: Re: [patch 3/3] clockevents: Fix resume logic - updated version From: Thomas Gleixner Reply-To: tglx@linutronix.de To: Andrew Morton Cc: Ingo Molnar , LKML , John Stultz , linux-acpi@vger.kernel.org In-Reply-To: <20070509001032.dbb982ca.akpm@linux-foundation.org> References: <20070430102837.748238000@linutronix.de> <20070430102852.042964000@linutronix.de> <20070505003421.00ec45ba.akpm@linux-foundation.org> <20070505115127.GA17815@elte.hu> <1178463784.31213.46.camel@localhost.localdomain> <20070508225920.258d8d34.akpm@linux-foundation.org> <20070509001032.dbb982ca.akpm@linux-foundation.org> Content-Type: text/plain Date: Wed, 09 May 2007 10:18:17 +0200 Message-Id: <1178698697.3042.461.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2007-05-09 at 00:10 -0700, Andrew Morton wrote: > > > find an updated patch below. It fixes the problem on Ingo's > > > VAIO-of-fun-emulator and I got confirmation from several other affected > > > users, that the patch series is still solving their problems. > > > > > > > The machine is still hanging with this patch applied. What did change since yesterday ? > yup, that now survives suspend-to-disk and resume, thanks. > > suspend-to-disk gets up to "swsusp: critical section: done (NNN pages copied)" > > > > No netconsole, no printk-timestamping. > > > > ho hum, I guess I get to debug this. > > It got ugly. > > We finish swsusp_save() and a few other functions then we go > > hibernate > ->platform_finish > ->acpi_hibernation_finish > ->acpi_leave_sleep_state > ->acpi_evaluate_object > > and there it dies, in this call: > > status = acpi_evaluate_object(NULL, METHOD_NAME__WAK, &arg_list, NULL); > > I wonder how your patch caused that? hmm, that's more than strange > > > OK, it gets to the last statement in acpi_evaluate_object(): > > return_ACPI_STATUS(status); > > but doesn't hit the printk on return to the caller, > acpi_leave_sleep_state(). > > A working theory would be that something we did trashed the stack in > acpi_evaluate_object(). > > > > foo. I'm not sure what to do now. Hmm. Do we enable interrupts somewhere where we should not ? /me goes looking for such places. tglx