From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757927AbXJ0Vay (ORCPT ); Sat, 27 Oct 2007 17:30:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751789AbXJ0Vac (ORCPT ); Sat, 27 Oct 2007 17:30:32 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:57402 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751749AbXJ0Vaa (ORCPT ); Sat, 27 Oct 2007 17:30:30 -0400 From: "Rafael J. Wysocki" To: Maxim Levitsky Subject: Re: [BUG] [linux-pm] Commit "Hibernation: Enter platform hibernation state in a consistent way)" makes my system to resume instantly from S4 Date: Sat, 27 Oct 2007 23:46:45 +0200 User-Agent: KMail/1.9.5 Cc: LKML , pm list References: <200710271405.32908.maximlevitsky@gmail.com> In-Reply-To: <200710271405.32908.maximlevitsky@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710272346.46226.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Saturday, 27 October 2007 14:05, Maxim Levitsky wrote: > Hi, > > Recently I noticed that my system resumes just after suspend to disk. > > I traced this to commit 9cd9a0058dd35268b24fa16795a92c800f4086d4. > > Note: > > This happens only if I enable WOL using /proc/acpi/wakeup > (echo "ILAN" > /proc/acpi/wakeup) What happens after a suspend to RAM? > and have > "ACPI-Hibernate-erroneously-disabled-Suspend-wakeup" applied, since otherwise > all wake-up sources are disabled in S4. > > > Clearly the above commit confuses the BIOS. > Using latest -git with the above patch reverted makes everything work again fine. Well, this patch is needed to make wakeup from peripherals (eg. RTC alarm) work on some boxes. The symptom that you describe is similar to what I'm observing after a suspend to RAM on one test box. Can you produce a log of kernel messages printed before powering off the system? Greetings, Rafael