public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Alan Stern <stern@rowland.harvard.edu>,
	Greg Kroah-Hartman <gregkh@suse.de>
Cc: Linux-pm mailing list <linux-pm@lists.linux-foundation.org>,
	Alan <alan@lxorguk.ukuu.org.uk>
Subject: Re: Two problems with system sleep
Date: Sat, 13 Feb 2010 01:13:01 +0100	[thread overview]
Message-ID: <201002130113.01434.rjw@sisk.pl> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1002121527530.1272-100000@iolanthe.rowland.org>

On Friday 12 February 2010, Alan Stern wrote:
> Rafael:
> 
> My newly-installed desktop system is experiencing a couple of problems 
> with system sleep.  (Oddly enough, the old one was working fairly 
> well...)
> 
> The first has to do with the serial port.  It doesn't appear to resume 
> correctly.  I booted with:
> 
> 	console=ttyS0,115200 console=tty0 earlyprintk=serial,ttyS0,115200
> 		no_console_suspend
> 
> Then I did "echo processors >pm_test ; echo mem >state".  In spite of
> the no_console_suspend, data stopped going out through the serial port
> after the following appeared:
> 
> [  273.664785] PM: Preparing system for mem sleep
> [  273.677133] Freezing user space processes ... (elapsed 0.01 seconds) done.
> [  273.698837] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
> [  273.718799] PM: Entering mem sleep
> [  273.794463] serial 00:05: disabled
> 
> even though things continued to appear on the VT screen.  The only
> other text to show up on the serial monitor was this line:
> 
> [  279.069204] serial 00:05: activated
> 
> The normal sequence of messages showed up on the screen, but everything
> was oddly slow.  Check out some sample timestamps:
> 
> [  332.120130] ehci_hcd 0000:00:1d.7: GetStatus port 8 status 001005 POWER sig=se0 PE CONNECT
> [  334.592054] usb 2-8: finish resume
> [  335.613747] PM: resume of devices complete after 56629.644 msecs
> [  337.426230] PM: Finishing wakeup.
> [  338.430797] Restarting tasks ... 
> [  339.378108] usb 2-8: usb auto-suspend
> [  340.554760] hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0000
> [  342.204128] done.
> [  342.816603] hub 2-0:1.0: state 7 ports 8 chg 0000 evt 0000
> 
> The delay between each line and its successor is proportional to the
> line's length, as though the kernel were still trying to send the 
> characters out through the serial port but at 360 baud!  Is anybody in 
> charge of the 8250 driver these days?

Quite frankly I'm not sure.  Greg, do you know?

> The bigger problem is that with a normal sleep ("echo none >pm_test"),
> the system doesn't wake up.  Pressing a key or a mouse button does
> nothing.  Pressing the power button causes the machine to start up
> again, but the screen remains blank and there's no response to network
> pings.
> 
> This was with more or less standard 2.6.33-rc6 (Greg KH's patch set was 
> applied but none of your PM patches).  The motherboard is an Intel 
> ICH5 with a 32-bit CPU.  Any ideas on ways to approach this?

That depends on the graphics adapter.  Is it Intel or AMD?

Rafael

  reply	other threads:[~2010-02-13  0:13 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-12 20:46 Two problems with system sleep Alan Stern
2010-02-13  0:13 ` Rafael J. Wysocki [this message]
2010-02-13  0:21   ` Greg KH
2010-02-14 18:36   ` Alan Stern
2010-02-14 21:47     ` Rafael J. Wysocki
2010-02-16 16:52       ` Alan Stern
2010-02-16 21:22         ` Rafael J. Wysocki
2010-02-17 18:10           ` Alan Stern
2010-02-17 20:43             ` Rafael J. Wysocki
2010-02-18 20:16               ` Alan Stern
     [not found] <201002212139.39746.rjw@sisk.pl>
2010-02-22 16:33 ` Alan Stern
     [not found] <Pine.LNX.4.44L0.1002221119590.1262-100000@iolanthe.rowland.org>
2010-02-22 18:45 ` Rafael J. Wysocki
     [not found] <201002221945.25891.rjw@sisk.pl>
2010-02-22 21:33 ` Alan Stern
2010-02-22 22:00   ` Rafael J. Wysocki
2010-02-22 22:17     ` Alan Stern
2010-02-22 22:35       ` Rafael J. Wysocki
     [not found] <201002222335.22172.rjw@sisk.pl>
2010-02-23 16:12 ` Alan Stern
2010-02-23 21:02   ` Rafael J. Wysocki
2010-02-23 21:35     ` Alan Stern
2010-02-23 23:08       ` Rafael J. Wysocki
2010-02-24 16:59         ` Alan Stern
2010-02-23 21:49     ` Dmitry Torokhov
2010-02-24 15:39       ` 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=201002130113.01434.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=gregkh@suse.de \
    --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