All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@suse.de>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
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: Fri, 12 Feb 2010 16:21:36 -0800	[thread overview]
Message-ID: <20100213002134.GA20375@suse.de> (raw)
In-Reply-To: <201002130113.01434.rjw@sisk.pl>

On Sat, Feb 13, 2010 at 01:13:01AM +0100, Rafael J. Wysocki wrote:
> 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?

Well, Alan Cox has been looking after it, with me handling patch queues.

That's a pretty slow print speed, very wierd.

Alan Cox, any ideas?

thanks,

greg k-h

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

Thread overview: 26+ 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
2010-02-13  0:21   ` Greg KH [this message]
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
2010-02-22 18:45   ` Rafael J. Wysocki
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
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
2010-02-22 22:35           ` Rafael J. Wysocki
2010-02-22 18:45   ` Rafael J. Wysocki
2010-02-22 16:33 ` 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=20100213002134.GA20375@suse.de \
    --to=gregkh@suse.de \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=rjw@sisk.pl \
    /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.