lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 15 Jul 2008 20:32:19 -0700
From:	"Avuton Olrich" <avuton@...il.com>
To:	"Rafael J. Wysocki" <rjw@...k.pl>
Cc:	"Martin Michlmayr" <tbm@...ius.com>, linux-kernel@...r.kernel.org
Subject: Re: s2disk: system powers up again after power off

On Tue, Jul 15, 2008 at 4:32 PM, Rafael J. Wysocki <rjw@...k.pl> wrote:
> On Wednesday, 16 of July 2008, Avuton Olrich wrote:
>> On Tue, Jul 15, 2008 at 3:59 PM, Rafael J. Wysocki <rjw@...k.pl> wrote:
>> > On Wednesday, 16 of July 2008, Avuton Olrich wrote:
>> >> On Tue, Jul 15, 2008 at 1:24 PM, Rafael J. Wysocki <rjw@...k.pl> wrote:
>> >> > On Tuesday, 15 of July 2008, Avuton Olrich wrote:
>> >> >> On Tue, Jul 15, 2008 at 5:47 AM, Martin Michlmayr <tbm@...ius.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?
>
> BTW, is the problem also present in linux-next?

No, it appears to be fixed in linux-next, thanks!
-- 
avuton
--
 "I've got a fever. And the only prescription is more cowbell." --
Christopher Walken
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ