linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Suspend to disk bug 2.6.21-rc2-git1
@ 2007-03-05 13:23 Lukas Hejtmanek
  2007-03-10 22:16 ` Pavel Machek
  0 siblings, 1 reply; 8+ messages in thread
From: Lukas Hejtmanek @ 2007-03-05 13:23 UTC (permalink / raw)
  To: Pavel Machek, linux-kernel

Hello, 

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.

-- 
Lukáš Hejtmánek

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

* Re: Suspend to disk bug 2.6.21-rc2-git1
  2007-03-05 13:23 Suspend to disk bug 2.6.21-rc2-git1 Lukas Hejtmanek
@ 2007-03-10 22:16 ` Pavel Machek
  2007-03-13 12:45   ` Lukas Hejtmanek
  2007-03-21 21:30   ` Lukas Hejtmanek
  0 siblings, 2 replies; 8+ messages in thread
From: Pavel Machek @ 2007-03-10 22:16 UTC (permalink / raw)
  To: Lukas Hejtmanek; +Cc: linux-kernel

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...

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

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

* Re: Suspend to disk bug 2.6.21-rc2-git1
  2007-03-10 22:16 ` Pavel Machek
@ 2007-03-13 12:45   ` Lukas Hejtmanek
  2007-03-21 21:30   ` Lukas Hejtmanek
  1 sibling, 0 replies; 8+ messages in thread
From: Lukas Hejtmanek @ 2007-03-13 12:45 UTC (permalink / raw)
  To: Pavel Machek; +Cc: linux-kernel

On Sat, Mar 10, 2007 at 11:16:39PM +0100, Pavel Machek wrote:
> 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...

2.6.21-rc3-git with platform (previous method was reboot) method works OK.

-- 
Lukáš Hejtmánek

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

* Re: Suspend to disk bug 2.6.21-rc2-git1
  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
  1 sibling, 1 reply; 8+ messages in thread
From: Lukas Hejtmanek @ 2007-03-21 21:30 UTC (permalink / raw)
  To: Pavel Machek; +Cc: linux-kernel

Hello,

On Sat, Mar 10, 2007 at 11:16:39PM +0100, Pavel Machek wrote:
> > 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.

-- 
Lukáš Hejtmánek

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

* Re: Suspend to disk bug 2.6.21-rc2-git1
  2007-03-21 21:30   ` Lukas Hejtmanek
@ 2007-03-21 22:39     ` Pavel Machek
  2007-03-21 22:59       ` Rafael J. Wysocki
  2007-03-22 10:50       ` Lukas Hejtmanek
  0 siblings, 2 replies; 8+ messages in thread
From: Pavel Machek @ 2007-03-21 22:39 UTC (permalink / raw)
  To: Lukas Hejtmanek; +Cc: linux-kernel

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

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

* Re: Suspend to disk bug 2.6.21-rc2-git1
  2007-03-21 22:59       ` Rafael J. Wysocki
@ 2007-03-21 22:58         ` Pavel Machek
  0 siblings, 0 replies; 8+ messages in thread
From: Pavel Machek @ 2007-03-21 22:58 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: Lukas Hejtmanek, linux-kernel

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.
> 
> Good idea.
> 
> BTW, we didn't use "platform" during the resume in 2.6.20, so I think this
> patch should go into 2.6.21.

Yes, I think so. Do you or I do the akpm submission?
									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] 8+ messages in thread

* Re: Suspend to disk bug 2.6.21-rc2-git1
  2007-03-21 22:39     ` Pavel Machek
@ 2007-03-21 22:59       ` Rafael J. Wysocki
  2007-03-21 22:58         ` Pavel Machek
  2007-03-22 10:50       ` Lukas Hejtmanek
  1 sibling, 1 reply; 8+ messages in thread
From: Rafael J. Wysocki @ 2007-03-21 22:59 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Lukas Hejtmanek, linux-kernel

On Wednesday, 21 March 2007 23:39, Pavel Machek wrote:
> 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.

Good idea.

BTW, we didn't use "platform" during the resume in 2.6.20, so I think this
patch should go into 2.6.21.

Greetings,
Rafael


-- 
If you don't have the time to read,
you don't have the time or the tools to write.
		- Stephen King

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

* Re: Suspend to disk bug 2.6.21-rc2-git1
  2007-03-21 22:39     ` Pavel Machek
  2007-03-21 22:59       ` Rafael J. Wysocki
@ 2007-03-22 10:50       ` Lukas Hejtmanek
  1 sibling, 0 replies; 8+ messages in thread
From: Lukas Hejtmanek @ 2007-03-22 10:50 UTC (permalink / raw)
  To: Pavel Machek; +Cc: linux-kernel

On Wed, Mar 21, 2007 at 11:39:08PM +0100, Pavel Machek wrote:
> > > > 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.

It seems to be OK. Thanks.

-- 
Lukáš Hejtmánek

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

end of thread, other threads:[~2007-03-22 10:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-05 13:23 Suspend to disk bug 2.6.21-rc2-git1 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
2007-03-21 22:59       ` Rafael J. Wysocki
2007-03-21 22:58         ` Pavel Machek
2007-03-22 10:50       ` Lukas Hejtmanek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).