From: Kevin Fenzi <kevin-linux-kernel@scrye.com>
To: linux-kernel@vger.kernel.org
To: rjw@sisk.pl ("Rafael J. Wysocki")
Subject: Re: 2.6.9-rc3 software suspend (pmdisk) stopped working
Date: Fri, 1 Oct 2004 13:25:27 -0600 [thread overview]
Message-ID: <20041001192532.A0714A6017@voldemort.scrye.com> (raw)
In-Reply-To: <200410012055.29406.rjw@sisk.pl>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "Rafael" == Rafael J Wysocki <rjw@sisk.pl> writes:
Rafael> On Friday 01 of October 2004 18:03, Kevin Fenzi wrote:
>> >>>>> "Pavel" == Pavel Machek <pavel@ucw.cz> writes:
>>
Pavel> Hi!
>> >> Anyone noticed that pmdisk software suspend stopped working in
>> -rc3 >> ? In -rc2 it worked just fine. My script was
>> >>
>> >> chvt 1 echo -n shutdown >/sys/power/disk echo -n disk >>
>> >/sys/power/state chvt 7
>> >>
>> >> In -rc3 it appears to write pages out to disk, but never shuts
>> down >> the machine. Is there something else i need to do or am
>> missing ?
>>
Pavel> You are not missing anything, it is somehow broken. I'll try to
Pavel> find out what went wrong and fix it. In the meantime, look at
Pavel> -mm series, it works there. Pavel
>> I finally had a chance to try 2.6.9-rc3 here last night.
>>
>> It suspended ok for me, but on resume it would load in the cache
>> and then reboot. :(
Rafael> Always? I mean, is it reproducible? I have a similar
Rafael> problem, but it is not reproducible, apparently. Sometimes it
Rafael> reboots, sometimes it reports a double fault, but most often
Rafael> it resumes just fine.
Well, I only tried it twice, but it rebooted both times.
After applying the patch below from Pavel on top of 2.6.9-rc3 it now
seems to work (again, I have only done a few cycles).
Do you have HIMEM enabled? Does the patch below make it more stable
for you?
Rafael> Greets, RJW
kevin
- --- clean/kernel/power/swsusp.c 2004-10-01 00:30:32.000000000 +0200
+++ clean-mm/kernel/power/swsusp.c 2004-09-26 01:34:27.000000000 +0200
@@ -856,7 +860,9 @@
local_irq_disable();
save_processor_state();
error = swsusp_arch_suspend();
+ /* Restore control flow magically appears here */
restore_processor_state();
+ restore_highmem();
local_irq_enable();
return error;
}
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iD8DBQFBXa8q3imCezTjY0ERAv55AKCHAvg2sqBYi4p2cR+ZIJ6Y1bZeiwCfc1cN
9m/3MpImIeu1LfchBRK8LEE=
=fIt6
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2004-10-01 19:29 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-30 15:28 Mitch
2004-09-30 15:56 ` Kevin Fenzi
2004-10-01 10:21 ` Pavel Machek
2004-10-01 10:23 ` Pavel Machek
2004-10-01 16:03 ` Kevin Fenzi
2004-10-01 18:55 ` Rafael J. Wysocki
2004-10-01 19:25 ` Kevin Fenzi [this message]
2004-10-01 19:53 ` Rafael J. Wysocki
2004-10-01 19:57 ` Kevin Fenzi
2004-10-01 21:31 ` Rafael J. Wysocki
2004-09-30 16:19 Mitch
2004-09-30 17:00 ` Kevin Fenzi
2004-09-30 17:40 Mitch
2004-10-01 10:27 Mitch DSouza
2004-10-01 13:40 ` Pavel Machek
2004-10-02 13:22 Mitch
2004-10-02 16:22 ` Pavel Machek
2004-10-03 13:10 Mitch
2004-10-03 13:12 ` Jesse
2004-10-03 13:28 Mitch
2004-10-02 20:32 ` Jesse
2004-10-03 17:02 Mitch
2004-10-04 10:43 ` Pavel Machek
2004-10-04 16:43 ` Stefan Seyfried
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=20041001192532.A0714A6017@voldemort.scrye.com \
--to=kevin-linux-kernel@scrye.com \
--cc=linux-kernel@vger.kernel.org \
/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
Powered by JetHome