public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: linux-pm@lists.linux-foundation.org
Subject: Re: [PATCH] PM: acquire device locks prior to suspending
Date: Thu, 13 Dec 2007 13:38:29 -0800	[thread overview]
Message-ID: <20071213133829.6d850a1d.akpm@linux-foundation.org> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0712131055570.4414-100000@iolanthe.rowland.org>

On Thu, 13 Dec 2007 11:02:36 -0500 (EST)
Alan Stern <stern@rowland.harvard.edu> wrote:

> On Wed, 12 Dec 2007, Andrew Morton wrote:
> 
> > On Fri, 21 Sep 2007 15:37:40 -0400 (EDT) Alan Stern <stern@rowland.harvard.edu> wrote:
> > 
> > > This patch (as994) reorganizes the way suspend and resume
> > > notifications are sent to drivers.  The major changes are that now the
> > > PM core acquires every device semaphore before calling the methods,
> > > and calls to device_add() during suspends will fail.
> > 
> > Causes my t61p to deadlock during suspend-to-RAM.  Really late - the little
> > moon symbol has started to flash but the LCD is still powered and the
> > cursor still blinks.  Only a poweroff restores control.
> 
> Is there any chance of debugging this?

Spose so, although debugging 2.6.24-rc5 regressions seems a more useful way
to spend one's time.

>  You have removed the patch from 
> the current -mm source.  Does anybody else report a similar problem?
> 
> Proper debugging would require, to begin with, enabling 
> CONFIG_PM_VERBOSE and booting with no_console_suspend.

Will try to remember to take a look this evening.

Speaking of efficient use of resources: how many other people have tested
suspend-to-disk with this patch applied?  And on how many machines?

  reply	other threads:[~2007-12-13 21:38 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-21 19:37 [PATCH] PM: acquire device locks prior to suspending Alan Stern
2007-09-21 20:16 ` Rafael J. Wysocki
2007-10-10 20:42 ` patch pm-acquire-device-locks-prior-to-suspending.patch added to gregkh-2.6 tree gregkh
2007-12-13  7:42 ` [PATCH] PM: acquire device locks prior to suspending Andrew Morton
2007-12-13 16:02   ` Alan Stern
2007-12-13 21:38     ` Andrew Morton [this message]
2007-12-14 15:32       ` Alan Stern
2007-12-13 16:58   ` Rafael J. Wysocki
2007-12-14  0:08     ` Rafael J. Wysocki
2007-12-14  0:22       ` Andrew Morton
2007-12-14  1:05         ` Rafael J. Wysocki
2007-12-14  7:20     ` Andrew Morton
2007-12-14  7:31     ` Andrew Morton
2007-12-14 16:49       ` Alan Stern
2007-12-15  0:17         ` Rafael J. Wysocki
  -- strict thread matches above, loose matches on Subject: below --
2007-12-17 22:50 Alan Stern

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=20071213133829.6d850a1d.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=stern@rowland.harvard.edu \
    /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