From: Pavel Machek <pavel@ucw.cz>
To: Lukas Hejtmanek <xhejtman@mail.muni.cz>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Suspend to disk bug 2.6.21-rc2-git1
Date: Wed, 21 Mar 2007 23:39:08 +0100 [thread overview]
Message-ID: <20070321223908.GI6057@elf.ucw.cz> (raw)
In-Reply-To: <20070321213007.GA3637@mail.muni.cz>
Hi!
> > > I'm not sure what version did exacly caused susped to disk problems but
> > > anyway, in 2.6.21-rc2-git1, suspend to disk breaks ACPI. ACPI events do not
> > > even emit ACPI interrupts. Suspend to ram works nicely.
> >
> > Is 2.6.21-latest better? There were many problems in suspend area,
> > hopefully they are slowly being fixed...
>
> I've found out that only platform method is working. reboot method does not.
Try this one.
Pavel
Fix reboot mode blinking moon icon after resume.
---
commit 5958dbea2ea6147f4fd0477b303be752d5c4f53a
tree 9c032e050d09201f66e1706fef4d7bbe8e55c418
parent 2744ccbdcc03f36d193fe20fc17698cfb2a1acea
author Pavel <pavel@amd.ucw.cz> Tue, 20 Mar 2007 16:33:03 +0100
committer Pavel <pavel@amd.ucw.cz> Tue, 20 Mar 2007 16:33:03 +0100
kernel/power/disk.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/kernel/power/disk.c b/kernel/power/disk.c
index 873cdf8..dee0ff4 100644
--- a/kernel/power/disk.c
+++ b/kernel/power/disk.c
@@ -241,18 +241,11 @@ static int software_resume(void)
goto Done;
}
- error = platform_prepare();
- if (error) {
- swsusp_free();
- goto Thaw;
- }
-
pr_debug("PM: Reading swsusp image.\n");
error = swsusp_read();
if (error) {
swsusp_free();
- platform_finish();
goto Thaw;
}
@@ -270,7 +263,6 @@ static int software_resume(void)
enable_nonboot_cpus();
Free:
swsusp_free();
- platform_finish();
device_resume();
resume_console();
Thaw:
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next prev parent reply other threads:[~2007-03-21 22:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-05 13:23 Lukas Hejtmanek
2007-03-10 22:16 ` Pavel Machek
2007-03-13 12:45 ` Lukas Hejtmanek
2007-03-21 21:30 ` Lukas Hejtmanek
2007-03-21 22:39 ` Pavel Machek [this message]
2007-03-21 22:59 ` Rafael J. Wysocki
2007-03-21 22:58 ` Pavel Machek
2007-03-22 10:50 ` Lukas Hejtmanek
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=20070321223908.GI6057@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=xhejtman@mail.muni.cz \
/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®