[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200704252134.55481.rjw@sisk.pl>
Date: Wed, 25 Apr 2007 21:34:53 +0200
From: "Rafael J. Wysocki" <rjw@...k.pl>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Adrian Bunk <bunk@...sta.de>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Guilherme Schroeder <guilherme@...tralinf.com.br>,
Thomas Gleixner <tglx@...utronix.de>,
John Stultz <johnstul@...ibm.com>, Ingo Molnar <mingo@...e.hu>,
Mikael Pettersson <mikpe@...uu.se>, ak@...e.de,
discuss@...-64.org, Jeff Chua <jeff.chua.linux@...il.com>,
pavel@...e.cz, linux-pm@...ts.linux-foundation.org,
Dave Jones <davej@...hat.com>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
"Antonino A. Daplas" <adaplas@...il.com>,
James Simmons <jsimmons@...radead.org>, gregkh@...e.de,
linux-pci@...ey.karlin.mff.cuni.cz,
Tobias Diedrich <ranma+kernel@...edrich.de>,
Dmitry Torokhov <dtor@...ightbb.com>,
Jeremy Fitzhardinge <jeremy@...p.org>
Subject: Re: [3/3] 2.6.21-rc7: known regressions (v2)
On Wednesday, 25 April 2007 13:06, Andrew Morton wrote:
> On Mon, 23 Apr 2007 23:49:09 +0200 Adrian Bunk <bunk@...sta.de> wrote:
>
> > This email lists some known regressions in Linus' tree compared to 2.6.20.
> >
> > If you find your name in the Cc header, you are either submitter of one
> > of the bugs, maintainer of an affectected subsystem or driver, a patch
> > of you caused a breakage or I'm considering you in any other way
> > possibly involved with one or more of these issues.
> >
> > Due to the huge amount of recipients, please trim the Cc when answering.
> >
> >
> > Subject : HPET enabled freeze my machine at boot
> > workaround: clocksource=acpi_pm
> > References : http://lkml.org/lkml/2007/4/19/370
> > Submitter : Guilherme Schroeder <guilherme@...tralinf.com.br>
> > Caused-By : Thomas Gleixner <tglx@...utronix.de>
> > commit 5d8b34fdcb384161552d01ee8f34af5ff11f9684
> > Handled-By : John Stultz <johnstul@...ibm.com>
> > Status : problem is being debugged
> >
> >
> > Subject : acpi_pm clocksource loses time on x86-64
> > References : http://lkml.org/lkml/2007/4/17/143
> > Submitter : Mikael Pettersson <mikpe@...uu.se>
> > Handled-By : John Stultz <johnstul@...ibm.com>
> > Status : problem is being debugged
> >
> >
> > Subject : suspend to disk hangs (CONFIG_NO_HZ)
> > References : http://lkml.org/lkml/2007/3/25/217
> > Submitter : Jeff Chua <jeff.chua.linux@...il.com>
> > Status : unknown
>
> That's still rather a lot of bustage from the timekeeping changes. Is
> anything really happening here or have we all given up?
>
> >
> > Subject : ThinkPad X60: resume no longer works (PCI related?)
> > workaround: CONFIG_FB_BACKLIGHT=n
> > References : http://lkml.org/lkml/2007/3/13/3
> > Submitter : Dave Jones <davej@...hat.com>
> > Caused-By : PCI merge
> > commit 78149df6d565c36675463352d0bfe0000b02b7a7
> > Handled-By : Eric W. Biederman <ebiederm@...ssion.com>
> > Rafael J. Wysocki <rjw@...k.pl>
> > Antonino A. Daplas <adaplas@...il.com>
> > Status : unknown
> >
>
> Is this related to the problems Jeremy has been looking at?
>
> > Subject : suspend to disk works only once
> > workaround: "echo shutdown > /sys/power/disk"
> > References : http://lkml.org/lkml/2007/4/13/240
> > Submitter : Tobias Diedrich <ranma+kernel@...edrich.de>
> > Caused-By : Rafael J. Wysocki <rjw@...k.pl>
> > commit ed746e3b18f4df18afa3763155972c5835f284c5
> > Handled-By : Rafael J. Wysocki <rjw@...k.pl>
> > Dmitry Torokhov <dtor@...ightbb.com>
> > Status : problem is being debugged
>
> That's been happening on my Vaio-of-death for several weeks now. I spent a
> bit of time with the ACPI guys on it but we didn't get far. I need to
> find an hour or two to work out what's gone wrong.
I can't reproduce it on any of my machines ...
Does the appended patch help, BTW?
---
kernel/power/disk.c | 4 ++--
kernel/power/user.c | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
Index: linux-2.6.21-rc7/kernel/power/disk.c
===================================================================
--- linux-2.6.21-rc7.orig/kernel/power/disk.c
+++ linux-2.6.21-rc7/kernel/power/disk.c
@@ -170,9 +170,9 @@ int pm_suspend_disk(void)
if (in_suspend) {
enable_nonboot_cpus();
- platform_finish();
device_resume();
resume_console();
+ platform_finish();
pr_debug("PM: writing image.\n");
error = swsusp_write();
if (!error)
@@ -189,9 +189,9 @@ int pm_suspend_disk(void)
Enable_cpus:
enable_nonboot_cpus();
Resume_devices:
- platform_finish();
device_resume();
resume_console();
+ platform_finish();
Thaw:
unprepare_processes();
Finish:
Index: linux-2.6.21-rc7/kernel/power/user.c
===================================================================
--- linux-2.6.21-rc7.orig/kernel/power/user.c
+++ linux-2.6.21-rc7/kernel/power/user.c
@@ -170,11 +170,11 @@ static inline int snapshot_suspend(int p
}
enable_nonboot_cpus();
Resume_devices:
+ device_resume();
+ resume_console();
if (platform_suspend)
platform_finish();
- device_resume();
- resume_console();
Finish:
mutex_unlock(&pm_mutex);
return error;
@@ -202,11 +202,11 @@ static inline int snapshot_restore(int p
enable_nonboot_cpus();
Resume_devices:
+ device_resume();
+ resume_console();
if (platform_suspend)
platform_finish();
- device_resume();
- resume_console();
Finish:
pm_restore_console();
mutex_unlock(&pm_mutex);
-
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