All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Adrian Bunk <bunk@stusta.de>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Guilherme Schroeder <guilherme@centralinf.com.br>,
	Thomas Gleixner <tglx@linutronix.de>,
	John Stultz <johnstul@us.ibm.com>, Ingo Molnar <mingo@elte.hu>,
	Mikael Pettersson <mikpe@it.uu.se>,
	ak@suse.de, discuss@x86-64.org,
	Jeff Chua <jeff.chua.linux@gmail.com>,
	pavel@suse.cz, linux-pm@lists.linux-foundation.org,
	Dave Jones <davej@redhat.com>,
	"Eric W. Biederman" <ebiederm@xmission.com>,
	"Antonino A. Daplas" <adaplas@gmail.com>,
	James Simmons <jsimmons@infradead.org>,
	gregkh@suse.de, linux-pci@atrey.karlin.mff.cuni.cz,
	Tobias Diedrich <ranma+kernel@tdiedrich.de>,
	Dmitry Torokhov <dtor@insightbb.com>,
	Jeremy Fitzhardinge <jeremy@goop.org>
Subject: Re: [3/3] 2.6.21-rc7: known regressions (v2)
Date: Wed, 25 Apr 2007 21:34:53 +0200	[thread overview]
Message-ID: <200704252134.55481.rjw@sisk.pl> (raw)
In-Reply-To: <20070425040605.6d6b4a82.akpm@linux-foundation.org>

On Wednesday, 25 April 2007 13:06, Andrew Morton wrote:
> On Mon, 23 Apr 2007 23:49:09 +0200 Adrian Bunk <bunk@stusta.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@centralinf.com.br>
> > Caused-By  : Thomas Gleixner <tglx@linutronix.de>
> >              commit 5d8b34fdcb384161552d01ee8f34af5ff11f9684
> > Handled-By : John Stultz <johnstul@us.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@it.uu.se>
> > Handled-By : John Stultz <johnstul@us.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@gmail.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@redhat.com>
> > Caused-By  : PCI merge
> >              commit 78149df6d565c36675463352d0bfe0000b02b7a7
> > Handled-By : Eric W. Biederman <ebiederm@xmission.com>
> >              Rafael J. Wysocki <rjw@sisk.pl>
> >              Antonino A. Daplas <adaplas@gmail.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@tdiedrich.de>
> > Caused-By  : Rafael J. Wysocki <rjw@sisk.pl>
> >              commit ed746e3b18f4df18afa3763155972c5835f284c5
> > Handled-By : Rafael J. Wysocki <rjw@sisk.pl>
> >              Dmitry Torokhov <dtor@insightbb.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);

  parent reply	other threads:[~2007-04-25 19:31 UTC|newest]

Thread overview: 96+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-16  0:05 Linux 2.6.21-rc7 Linus Torvalds
2007-04-16  0:37 ` [1/2] 2.6.21-rc7: known regressions Adrian Bunk
2007-04-16  2:21   ` Michal Jaegermann
2007-04-16 21:44   ` Chuck Ebbert
2007-04-17 10:09     ` Takashi Iwai
2007-04-19 20:03       ` Michal Piotrowski
2007-04-20 10:34         ` Takashi Iwai
2007-04-20 18:18           ` Andrew Morton
2007-04-20 18:26             ` Takashi Iwai
2007-04-23 10:19               ` Takashi Iwai
2007-04-17  0:14   ` Brandeburg, Jesse
2007-04-17  0:32     ` Dave Jones
2007-04-17  0:41       ` Jeff Garzik
2007-04-16  0:37 ` [2/2] " Adrian Bunk
2007-04-16  0:37   ` Adrian Bunk
2007-04-16  0:54   ` Dave Jones
2007-04-16  0:54     ` Dave Jones
2007-04-16  1:16     ` Adrian Bunk
2007-04-16  3:44       ` Jeremy Fitzhardinge
2007-04-16  3:44         ` Jeremy Fitzhardinge
2007-04-16  6:29       ` Dave Jones
2007-04-16  6:54         ` Antonino A. Daplas
2007-04-16  7:23           ` Dave Jones
2007-04-16  7:32             ` Antonino A. Daplas
2007-04-16  7:55               ` Dave Jones
2007-04-16  9:26                 ` Richard Purdie
2007-04-17  3:34                   ` Dave Jones
2007-04-17 23:48                     ` Antonino A. Daplas
2007-04-18  0:35                       ` Dave Jones
2007-04-16 10:06   ` Rafael J. Wysocki
2007-04-20  4:57   ` Jeremy Fitzhardinge
2007-04-20  5:03     ` Dave Jones
2007-04-20  5:03       ` Dave Jones
2007-04-20  5:15       ` Jeremy Fitzhardinge
2007-04-20  5:19         ` Dave Jones
2007-04-20  5:19           ` Dave Jones
2007-04-20  5:33           ` Jeremy Fitzhardinge
2007-04-20 14:51             ` Dave Jones
2007-04-20 14:51               ` Dave Jones
2007-04-20 15:28               ` Jeremy Fitzhardinge
2007-04-20 16:03                 ` Dave Jones
2007-04-20 16:03                   ` Dave Jones
2007-04-20 17:16                   ` Jeremy Fitzhardinge
2007-04-20 17:21                     ` Dave Jones
2007-04-20 17:21                       ` Dave Jones
2007-04-21  0:02                       ` Jeremy Fitzhardinge
2007-04-21  9:45                         ` Rafael J. Wysocki
2007-04-17  0:01 ` Linux 2.6.21-rc7 Chuck Ebbert
2007-04-23 21:48 ` [1/3] 2.6.21-rc7: known regressions (v2) Adrian Bunk
2007-04-23 22:18   ` Greg KH
2007-04-24  9:32     ` Wolfgang Erig
2007-04-25  0:14       ` Greg KH
2007-04-25  0:29         ` Adrian Bunk
2007-04-25  0:51           ` Greg KH
2007-04-25  1:21             ` Adrian Bunk
2007-04-25  8:19               ` Eric W. Biederman
2007-04-25 16:20               ` Wolfgang Erig
2007-04-23 21:48 ` [2/3] " Adrian Bunk
2007-04-23 21:49 ` [3/3] " Adrian Bunk
2007-04-23 21:49   ` Adrian Bunk
2007-04-25 11:06   ` Andrew Morton
2007-04-25 11:06     ` Andrew Morton
2007-04-25 11:31     ` Adrian Bunk
2007-04-25 11:31       ` Adrian Bunk
2007-04-25 13:01       ` Dave Jones
2007-04-25 13:01         ` Dave Jones
2007-04-25 13:50         ` Antonino A. Daplas
2007-04-25 13:50         ` Antonino A. Daplas
2007-04-25 13:52           ` Antonino A. Daplas
2007-04-25 13:52           ` Antonino A. Daplas
2007-04-25 14:33             ` Dave Jones
2007-04-25 14:33               ` Dave Jones
2007-04-25 15:24               ` Antonino A. Daplas
2007-04-25 16:31                 ` Dave Jones
2007-04-25 16:31                   ` Dave Jones
2007-04-25 23:00                   ` Adrian Bunk
2007-04-25 23:00                   ` Adrian Bunk
2007-04-25 15:24               ` Antonino A. Daplas
2007-04-25 14:06         ` Jeremy Fitzhardinge
2007-04-25 14:06         ` Jeremy Fitzhardinge
2007-04-25 11:43     ` Ingo Molnar
2007-04-25 11:43       ` Ingo Molnar
2007-04-25 13:45       ` Jeff Chua
2007-05-02 21:44         ` Thomas Gleixner
2007-05-02 21:44         ` Thomas Gleixner
2007-04-25 13:45       ` Jeff Chua
2007-04-25 17:57     ` Ingo Molnar
2007-04-25 18:08     ` john stultz
2007-04-26  0:33       ` Len Brown
2007-04-26  0:33         ` Len Brown
2007-04-26  0:49         ` john stultz
2007-04-26  0:49         ` john stultz
2007-04-25 18:08     ` john stultz
2007-04-25 19:34     ` Rafael J. Wysocki [this message]
2007-04-25 19:34     ` Rafael J. Wysocki
2007-04-25 23:40 ` 2.6.21-rc7: known regressions with patches Adrian Bunk

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=200704252134.55481.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=adaplas@gmail.com \
    --cc=ak@suse.de \
    --cc=akpm@linux-foundation.org \
    --cc=bunk@stusta.de \
    --cc=davej@redhat.com \
    --cc=discuss@x86-64.org \
    --cc=dtor@insightbb.com \
    --cc=ebiederm@xmission.com \
    --cc=gregkh@suse.de \
    --cc=guilherme@centralinf.com.br \
    --cc=jeff.chua.linux@gmail.com \
    --cc=jeremy@goop.org \
    --cc=johnstul@us.ibm.com \
    --cc=jsimmons@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@atrey.karlin.mff.cuni.cz \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=mikpe@it.uu.se \
    --cc=mingo@elte.hu \
    --cc=pavel@suse.cz \
    --cc=ranma+kernel@tdiedrich.de \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.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 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.