Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752499AbZK2PGr (ORCPT ); Sun, 29 Nov 2009 10:06:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752060AbZK2PGq (ORCPT ); Sun, 29 Nov 2009 10:06:46 -0500 Received: from ogre.sisk.pl ([217.79.144.158]:36249 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751667AbZK2PGq (ORCPT ); Sun, 29 Nov 2009 10:06:46 -0500 From: "Rafael J. Wysocki" To: Ferenc Wagner Subject: Re: [linux-pm] intermittent suspend problem again Date: Sun, 29 Nov 2009 16:07:05 +0100 User-Agent: KMail/1.12.3 (Linux/2.6.32-rc8-rjw; KDE/4.3.3; x86_64; ; ) Cc: linux-pm@lists.linux-foundation.org, Andrew Morton , LKML , linux-netdev@vger.kernel.org References: <87fx93pwv2.fsf@tac.ki.iif.hu> <200911290129.25505.rjw@sisk.pl> <873a3x4p36.fsf@tac.ki.iif.hu> In-Reply-To: <873a3x4p36.fsf@tac.ki.iif.hu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200911291607.05348.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2194 Lines: 52 On Sunday 29 November 2009, Ferenc Wagner wrote: > "Rafael J. Wysocki" writes: > > > On Saturday 28 November 2009, Ferenc Wagner wrote: > >> "Rafael J. Wysocki" writes: > >> > >>> On Wednesday 18 November 2009, Ferenc Wagner wrote: > >>> > >>>> Ferenc Wagner writes: > >>>> > >>>>> Since I've instrumented s2disk and the hibernation path, no freeze > >>>>> happened during hibernating the machine. > >>>> > >>>> Not until I removed the delays from hibernation_platform_enter(), which > >>>> were put there previously to get step-by-step feedback. Removing them > >>>> again resulted in a freeze in short course, maybe just two hibernations > >>>> later. The instrumentation shows it stuck in dpm_suspend_start(PMSG_HIBERNATE). > >>>> Does it mean that some device driver is at fault? > >>> > >>> A driver or one of the platform hooks. > >>> > >>>> I'll check if it always fails at the same point (although tracing into > >>>> dpm_suspend_start isn't pure fun because of the multitude of devices it > >>>> loops over). Is there any way to get printk output from that phase? > >>> > >>> Compile with CONFIG_PM_VERBOSE (it does mean exactly that). > >> > >> The last message now was: > >> > >> e100: 0000:02:08.0: hibernate, may wakeup > >> > >> Looks like hibernating the e100 driver is unstable. > > > > Can you verify that by trying to hibernate without the e100 driver? > > Not really, as I still can't reliable reproduce the issue. Since I'm > running with suspend loglevel = 8, it's happened only twice (in a row), > with seemingly exact same console output. Some earlier freezes also > happened in dpm_suspend_start, at least. However, I can certainly add > e100 to SUSPEND_MODULES under /etc/pm/config.d, and continue running > with that. That's what I'd do. In addition to that, you can run multiple hibernation/resume cycles in a tight loop using the RTC wakealarm. Thanks, 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/