All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Soeren Sonnenburg <kernel@nn7.de>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>,
	pm list <linux-pm@lists.linux-foundation.org>
Subject: Re: 2.6.25-rc2 regression - hang on suspend
Date: Fri, 22 Feb 2008 00:06:38 +0100	[thread overview]
Message-ID: <200802220006.39130.rjw@sisk.pl> (raw)
In-Reply-To: <1203588294.3882.6.camel@localhost>

On Thursday, 21 of February 2008, Soeren Sonnenburg wrote:
> On Thu, 2008-02-21 at 01:31 +0100, Rafael J. Wysocki wrote:
> > On Wednesday, 20 of February 2008, Soeren Sonnenburg wrote:
> > > On Wed, 2008-02-20 at 00:50 +0100, Rafael J. Wysocki wrote:
> > > > On Tuesday, 19 of February 2008, Soeren Sonnenburg wrote:
> > > > > On Tue, 2008-02-19 at 22:06 +0100, Rafael J. Wysocki wrote:
> > > > > > On Tuesday, 19 of February 2008, Soeren Sonnenburg wrote:
> > > > > > > Hi,
> > > > > > 
> > > > > > Hi,
> > > > > > 
> > > > > > > since 2.6.25-rc1 (first version I tried) and still in rc2
> > (and git), I
> > > > > > > see a hang on s2ram already when trying to suspend.
> > > > > > 
> > > > > > Does it work with 2.6.24?
> > > > > 
> > > > > yes.
> > > > 
> > > > Please take the current mainline (there are a couple of nasty bugs
> > fixed in
> > > > it), configure it with CONFIG_PM_DEBUG set, boot it with
> > "no_console_suspend",
> > > > run
> > > > 
> > > > # echo 8 > /proc/sys/kernel/printk
> > > > # echo devices > /sys/power/pm_test
> > > > # echo mem > /sys/power/state
> > > > 
> > > > If it hangs, it should leave a stack trace before and I need that trace to see
> > > > what's going on.  If it doesn't hang, I'll tell you what to do next.
> > > 
> > > I tried with 2.6.24.2 with CONFIG_PM_DEBUG set, following your steps and
> > > yes it works flawlessly (though the display did not come back I could
> > > suspend/resume multiple times without problems, and finally s2ram -f -p
> > > brought the display back).
> > 
> > Hm, there's no /sys/power/pm_test in 2.6.24.2 (and the "current mainline"
> > means the latest -git kernel possible or the current top of the Linus' tree),
> > so in fact you tested 2.6.24 again, that is known to work ...
> 
> Great :( 
> 
> Anyway testing linus' git-current, I see that it does not hang. However
> after the echo mem >/sys/power/state I am seeing:
> [...]
> PM: Finishing wakeup.
> Restarting tasks ... done.
> ata1: port is slow to respond, please be patient (Status 0x80)
> ata1: device not ready (errno=-16), forcing hardreset
> 
> 
> and this a couple of times. Using echo none >/sys/power/pm_test and then
> echo mem >/sys/power/state I see it hang on ata1 errors again. Waiting
> about 10-30 seconds it progresses further and finally arrives at 
> 
> CPU0 attaching NULL sched-domain
> CPU1 attaching NULL sched-domain
> 
> then hangs.

Please see if compiling the kernel with CONFIG_SMP unset makes suspend
work.

Also, if you could find the commit that broke things, it would probably help a
lot.

Thanks,
Rafael

  parent reply	other threads:[~2008-02-21 23:08 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-19 11:59 2.6.25-rc2 regression - hang on suspend Soeren Sonnenburg
2008-02-19 13:12 ` Tino Keitel
2008-02-19 21:06 ` Rafael J. Wysocki
2008-02-19 21:59   ` Soeren Sonnenburg
2008-02-19 23:50     ` Rafael J. Wysocki
2008-02-20  6:01       ` Soeren Sonnenburg
2008-02-21  0:31         ` Rafael J. Wysocki
2008-02-21 10:04           ` Soeren Sonnenburg
2008-02-21 23:06             ` Rafael J. Wysocki
2008-02-21 23:06             ` Rafael J. Wysocki [this message]
2008-02-22  7:00               ` Soeren Sonnenburg
2008-02-22 15:56                 ` Rafael J. Wysocki
2008-02-23  7:38                   ` Soeren Sonnenburg
2008-02-23  7:38                   ` Soeren Sonnenburg
2008-02-22 15:56                 ` Rafael J. Wysocki
2008-02-22  7:00               ` Soeren Sonnenburg

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=200802220006.39130.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=kernel@nn7.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.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.