mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Avuton Olrich" <avuton@gmail.com>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: "Martin Michlmayr" <tbm@cyrius.com>, linux-kernel@vger.kernel.org
Subject: Re: s2disk: system powers up again after power off
Date: Tue, 15 Jul 2008 16:09:46 -0700	[thread overview]
Message-ID: <3aa654a40807151609m70d6852ex7f85d60c438bb4d7@mail.gmail.com> (raw)
In-Reply-To: <200807160059.54886.rjw@sisk.pl>

On Tue, Jul 15, 2008 at 3:59 PM, Rafael J. Wysocki <rjw@sisk.pl> wrote:
> On Wednesday, 16 of July 2008, Avuton Olrich wrote:
>> On Tue, Jul 15, 2008 at 1:24 PM, Rafael J. Wysocki <rjw@sisk.pl> wrote:
>> > On Tuesday, 15 of July 2008, Avuton Olrich wrote:
>> >> On Tue, Jul 15, 2008 at 5:47 AM, Martin Michlmayr <tbm@cyrius.com> 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

  reply	other threads:[~2008-07-15 23:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-15 12:47 Martin Michlmayr
2008-07-15 13:05 ` Avuton Olrich
2008-07-15 20:24   ` Rafael J. Wysocki
2008-07-15 22:48     ` Avuton Olrich
2008-07-15 22:59       ` Rafael J. Wysocki
2008-07-15 23:09         ` Avuton Olrich [this message]
2008-07-15 23:32           ` Rafael J. Wysocki
2008-07-16  3:32             ` Avuton Olrich
2008-07-16 12:36     ` Martin Michlmayr
2008-07-16 15:37       ` Rafael J. Wysocki
2008-07-16 16:01         ` Martin Michlmayr
2008-07-16 20:06           ` Rafael J. Wysocki
2008-08-16 13:48         ` Martin Michlmayr
2008-08-16 19:09           ` Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3aa654a40807151609m70d6852ex7f85d60c438bb4d7@mail.gmail.com \
    --to=avuton@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjw@sisk.pl \
    --cc=tbm@cyrius.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®