public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Thomas Kahle <tomka@gentoo.org>
Cc: linux-pm@lists.linux-foundation.org
Subject: Re: Freezes on resume from S2R
Date: Thu, 25 Nov 2010 20:59:12 +0100	[thread overview]
Message-ID: <201011252059.12794.rjw@sisk.pl> (raw)
In-Reply-To: <20101125101338.GG2503@denkmatte.mittag-leffler.se>

On Thursday, November 25, 2010, Thomas Kahle wrote:
> On 21:01 Wed 24 Nov     , Rafael J. Wysocki wrote:
> > On Wednesday, November 24, 2010, Thomas Kahle wrote:
> > > https://lists.linux-foundation.org/pipermail/linux-pm/2010-November/029299.html
> > 
> > This warning means that resume took more that 10 s, which is suspicious, but
> > not a bug by itself.
> 
> Well, the resume is very quick, at least the display comes up and the
> computer starts to react for a very short time, but then freezes.
> 
> > > These problems appear to me as a regression since everything is
> > > reproducibly fine with kernels <=2.6.34, and 2.6.35 seems to be fine too
> > > (although I have tested that less).  I started a bisect, see below.
> > 
> > Well, it would be good if you could find the commit that broke things for
> > you, but it might be a few different things - ACPI, PCI, graphics driver, etc.
> 
> How do you avoid non booting kernels during bisect? I seem to run into
> non-bootable kernels frequently.

Depends.  You can use "git bisect skip" I guess.

> > Please check if you can reproduce the symptom using pm_test:
> > 
> > # echo core > /sys/power/pm_test
> > # echo mem > /sys/power/state
> > 
> > (it should simulate a suspend-resume cycle and get back to the command prompt
> > in 5-10 sec).  You can try to run that in a loop and see if that
> > breaks things.
> 
> Which kernel options do you recommend for this debugging?  Currently I
> don't have the /sys/power/pm_test node.

CONFIG_PM_DEBUG should be set (but don't set CONFIG_PM_VERBOSE at the same
time).

Thanks,
Rafael

  reply	other threads:[~2010-11-25 19:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-24  9:56 Freezes on resume from S2R Thomas Kahle
2010-11-24 20:01 ` Rafael J. Wysocki
2010-11-25 10:13   ` Thomas Kahle
2010-11-25 19:59     ` Rafael J. Wysocki [this message]
2010-12-05 18:52   ` Thomas Kahle

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=201011252059.12794.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=tomka@gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox