All of lore.kernel.org
 help / color / mirror / Atom feed
* swsusp: platform notifications not properly undone in case of error
@ 2007-03-08 16:41 Pavel Machek
  2007-03-08 21:58 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Pavel Machek @ 2007-03-08 16:41 UTC (permalink / raw)
  To: Rafael J. Wysocki, kernel list

Hi!


Using IPI No-Shortcut mode
swsusp: Resume From Partition /dev/sda1
PM: Checking swsusp image.
swsusp: Signature found, resuming
PM: Preparing processes for restore.
Stopping tasks ... done.
PM: Reading swsusp image.
Loading image data pages (125285 pages) ...     <3>swsusp: Resume
mismatch: version
Read 501140 kbytes in 0.01 seconds (50114.00 MB/s)
swsusp: Error -1 resuming
PM: Restore failed, recovering.
Restarting tasks ... done.
PM: Resume from disk failed.
md: Autodetecting RAID arrays.

...and machine boots, but moon icon keeps blinking.
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: swsusp: platform notifications not properly undone in case of error
  2007-03-08 16:41 swsusp: platform notifications not properly undone in case of error Pavel Machek
@ 2007-03-08 21:58 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2007-03-08 21:58 UTC (permalink / raw)
  To: Pavel Machek; +Cc: kernel list

On Thursday, 8 March 2007 17:41, Pavel Machek wrote:
> Hi!
> 
> 
> Using IPI No-Shortcut mode
> swsusp: Resume From Partition /dev/sda1
> PM: Checking swsusp image.
> swsusp: Signature found, resuming
> PM: Preparing processes for restore.
> Stopping tasks ... done.
> PM: Reading swsusp image.
> Loading image data pages (125285 pages) ...     <3>swsusp: Resume
> mismatch: version
> Read 501140 kbytes in 0.01 seconds (50114.00 MB/s)
> swsusp: Error -1 resuming
> PM: Restore failed, recovering.
> Restarting tasks ... done.
> PM: Resume from disk failed.
> md: Autodetecting RAID arrays.
> 
> ...and machine boots, but moon icon keeps blinking.

Does the appended patch help?

Rafael

---
 kernel/power/disk.c |    1 +
 1 file changed, 1 insertion(+)

Index: linux-2.6.21-rc3/kernel/power/disk.c
===================================================================
--- linux-2.6.21-rc3.orig/kernel/power/disk.c
+++ linux-2.6.21-rc3/kernel/power/disk.c
@@ -261,6 +261,7 @@ static int software_resume(void)
 	error = swsusp_read();
 	if (error) {
 		swsusp_free();
+		platform_finish();
 		goto Thaw;
 	}
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-08 21:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-08 16:41 swsusp: platform notifications not properly undone in case of error Pavel Machek
2007-03-08 21:58 ` Rafael J. Wysocki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.