From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: Suspend, followed by immediate resume Date: Fri, 2 May 2008 19:41:07 +0200 Message-ID: <200805021941.08003.rjw@sisk.pl> References: <20080501214437.0ae618c5@osprey.hogchain.net> <200805021859.57457.rjw@sisk.pl> <20080502122910.429312a7@osprey.hogchain.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080502122910.429312a7@osprey.hogchain.net> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: Jay Cliburn Cc: linux-pm@lists.linux-foundation.org List-Id: linux-pm@vger.kernel.org On Friday, 2 of May 2008, Jay Cliburn wrote: > On Fri, 2 May 2008 18:59:56 +0200 > "Rafael J. Wysocki" wrote: > > > On Friday, 2 of May 2008, Jay Cliburn wrote: > > > On Fri, 2 May 2008 18:49:13 +0200 > > > "Rafael J. Wysocki" wrote: > > > > > > > Can you try to comment out acpi_enable_wakeup_device(acpi_state) > > > > in drivers/acpi/sleep/main.c:acpi_suspend_enter() and see if that > > > > helps? > > > > > > I'm working with 2.6.25.1, which doesn't have acpi_suspend_enter(), > > > but I'll hop over to current git and give it a try. > > > > This function is called acpi_pm_enter() in 2.6.25.1. > > No change. I rebooted the modified kernel, then executed this command > sequence. > > jcliburn@osprey:~$ su - > Password: > [root@osprey ~]# echo 8 > /proc/sys/kernel/printk > [root@osprey ~]# ethtool -s eth0 wol g > [root@osprey ~]# echo mem > /sys/power/state > > > [root@osprey ~]# > [root@osprey ~]# > [root@osprey ~]# > > It spontaneously resumed. Serial console log attached. Does it suspend if you don't activate the WOL? If it doesn't, please restore acpi_pm_enter(), boot the kernel with init=/bin/bash and try to suspend (you'll need to mount /proc and /sys manually after booting). Thanks, Rafael