public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: "Luis R. Rodriguez" <mcgrof@gmail.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Arjan van de Ven <arjan@linux.intel.com>
Subject: Re: pm-susend on 2.6.30-rc5
Date: Thu, 14 May 2009 22:45:48 -0700	[thread overview]
Message-ID: <200905142245.49150.david-b@pacbell.net> (raw)
In-Reply-To: <43e72e890905131833k291c8720r4045e9e497430b40@mail.gmail.com>

On Wednesday 13 May 2009, Luis R. Rodriguez wrote:
> When trying suspend on 2.6.30-rc5 I get the following WARN and also
> cannot use my write to my file system. I cannot even reboot:
> 
> mcgrof@pogo ~ $ sudo reboot
> sudo: unable to execute /sbin/reboot: Success
> mcgrof@pogo ~ $ echo $?
> 127
> 
> Granted, I've never tried to suspend on this box, its a development
> desktop, but still think you'd like to know about it. The actual WARN
> in question is:
> 
>         /* Warning on suspend means the RTC alarm period needs to be
>          * larger -- the system was sooo slooowwww to suspend that the
>          * alarm (should have) fired before the system went to sleep!
>          *
>          * Warning on either suspend or resume also means the system
>          * has some performance issues.  The stack dump of a WARN_ON
>          * is more likely to get the right attention than a printk...
>          */
>         WARN(msec > (TEST_SUSPEND_SECONDS * 1000), "Component: %s\n", label);

None of that was supposed to be executing *except* during
(a) initial boot, when (b) the command line parameter was
set to enable that test during boot ... see test_suspend().

If we can't enter standby/suspend/hibernate then, it's
either a regression or a bug to fix; ergo the warning.

Clearly that's been changed at some point, and this problem
relates to those changes.

  reply	other threads:[~2009-05-15  5:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-14  1:33 pm-susend on 2.6.30-rc5 Luis R. Rodriguez
2009-05-15  5:45 ` David Brownell [this message]
2009-05-15 15:20 ` Rafael J. Wysocki

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=200905142245.49150.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=arjan@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mcgrof@gmail.com \
    /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