From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757700AbYGOXJ4 (ORCPT ); Tue, 15 Jul 2008 19:09:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753586AbYGOXJr (ORCPT ); Tue, 15 Jul 2008 19:09:47 -0400 Received: from wx-out-0506.google.com ([66.249.82.236]:62096 "EHLO wx-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752819AbYGOXJr (ORCPT ); Tue, 15 Jul 2008 19:09:47 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=NJXyM63iC+hNuu0KmylqcwPwo/QI08vv26rGKcfRlt9XdzKlUrL1RqkJPUcrmOJmfv qFzBRaYOREdjVXJJXDfN82Rpgen8GReT7jz5xwJatSV83Sd6HY97xHEINIgQNS0GTOEE IXUmJa5HER1MhuMWhsbBxbl5OMjikpYXoCTMU= Message-ID: <3aa654a40807151609m70d6852ex7f85d60c438bb4d7@mail.gmail.com> Date: Tue, 15 Jul 2008 16:09:46 -0700 From: "Avuton Olrich" To: "Rafael J. Wysocki" Subject: Re: s2disk: system powers up again after power off Cc: "Martin Michlmayr" , linux-kernel@vger.kernel.org In-Reply-To: <200807160059.54886.rjw@sisk.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080715124733.GA4111@deprecation.cyrius.com> <200807152224.19559.rjw@sisk.pl> <3aa654a40807151548t485ea8e6k1d7e261277c1c5aa@mail.gmail.com> <200807160059.54886.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 15, 2008 at 3:59 PM, Rafael J. Wysocki wrote: > On Wednesday, 16 of July 2008, Avuton Olrich wrote: >> On Tue, Jul 15, 2008 at 1:24 PM, Rafael J. Wysocki wrote: >> > On Tuesday, 15 of July 2008, Avuton Olrich wrote: >> >> On Tue, Jul 15, 2008 at 5:47 AM, Martin Michlmayr wrote: >> >> > When I use s2disk to suspend my HP 2510p notebook, it writes >> >> > everything to disk, and powers off... but after 2-3 seconds it often >> >> > powers on again. This doesn't happen all the time but quite >> >> > frequently (definitely in the majority of cases). >> >> > >> >> > I believe I've never seen this when I use "halt" to power off the >> >> > machine (but I don't use halt very often). >> >> > >> >> > Any idea? >> >> >> >> Ugh, this happens here too, this started occuring before 2.6.25 but >> >> every time I try to bisect it takes hours and I end up screwing up >> >> somewhere along the way, so I haven't had time to bisect this >> >> correctly. >> > >> > Please try to put "shutdown method = shutdown" into the s2disk's configuration >> > file and see what happens in that case. >> >> Anything a little less fancy? I use pm-hibernate, or gnome's Power >> Manager to hibernate; I don't even have s2disk installed, sorry I >> should have mentioned that. > > Martin mentioned s2disk in his original post. Never mind. > > Please try to do "echo shutdown > /sys/power/disk" before hibernation and > see what happens. Well, that certainly works (powers off as expected). Should I be putting this in my startup scripts or is there something I need to do to help fix this problem, kernel-wise? Thanks! -- avuton -- "I've got a fever. And the only prescription is more cowbell." -- Christopher Walken