Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754631AbZLAVcZ (ORCPT ); Tue, 1 Dec 2009 16:32:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754583AbZLAVcY (ORCPT ); Tue, 1 Dec 2009 16:32:24 -0500 Received: from ogre.sisk.pl ([217.79.144.158]:46627 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750929AbZLAVcX (ORCPT ); Tue, 1 Dec 2009 16:32:23 -0500 From: "Rafael J. Wysocki" To: Ferenc Wagner Subject: Re: [linux-pm] intermittent suspend problem again Date: Tue, 1 Dec 2009 22:32:50 +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 , netdev@vger.kernel.org References: <87fx93pwv2.fsf@tac.ki.iif.hu> <200912011328.15551.rjw@sisk.pl> <877ht68u4h.fsf@tac.ki.iif.hu> In-Reply-To: <877ht68u4h.fsf@tac.ki.iif.hu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200912012232.50951.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2907 Lines: 74 On Tuesday 01 December 2009, Ferenc Wagner wrote: > "Rafael J. Wysocki" writes: > > > On Tuesday 01 December 2009, Ferenc Wagner wrote: > >> "Rafael J. Wysocki" writes: > >> > >>> On Sunday 29 November 2009, Ferenc Wagner wrote: > >>> > >>>> "Rafael J. Wysocki" writes: > >>>> > >>>>> On Saturday 28 November 2009, Ferenc Wagner wrote: > >>>>> > >>>>>> "Rafael J. Wysocki" writes: > >>>>>> > >>>>>>> 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. > >> > >> That worked out mosty OK (no freeze in quite some hibernation cycles), > >> but I'm continuing testing it. > > > > Great, please let me know how it works out. > > Will do. On the negative side, this tends to confuse NetworkManager. > > >> On the other hand, I reverted 8fbd962e3, recompiled and replaced the > >> module, and got the freeze during hibernation. And that was the bulk of > >> the changes since 2.6.31... I'll revert the rest and test again, but > >> that seems purely cosmetic, so no high hopes. > >> > >>> In addition to that, you can run multiple hibernation/resume cycles in > >>> a tight loop using the RTC wakealarm. > >> > >> I'll do so, as soon as I find a way to automatically supply the dm-crypt > >> passphrase... or even better, learn to hibernate to ramdisk from the > >> initramfs. :) > > > > Well, you don't need to use swap encryption for _testing_. :-) > > I use partition encryption, everything except for /boot is encrypted. If /boot is big enough, you could use a swap file in /boot for the testing. > Apropos: does s2disk perform encryption with a temporary key even if I > don't supply and RSA key, to protect mlocked application data from being > present in the swap after restore? It can do that, but you need to provide a key during suspend and resume. Otherwise it doesn't use a random key, because it would have to store it in the clear in the image header. 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/