All of lore.kernel.org
 help / color / mirror / Atom feed
* Two problems with system sleep
@ 2010-02-12 20:46 Alan Stern
  2010-02-13  0:13 ` Rafael J. Wysocki
  0 siblings, 1 reply; 37+ messages in thread
From: Alan Stern @ 2010-02-12 20:46 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: Linux-pm mailing list

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?

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?

Alan Stern

^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2010-03-09  7:45 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <201002212139.39746.rjw@sisk.pl>
2010-02-22 16:33 ` Two problems with system sleep Alan Stern
2010-02-22 18:45   ` Rafael J. Wysocki
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-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-03-02 20:13                   ` [RFC] Wakeup for PNP Alan Stern
2010-03-02 20:41                     ` Bjorn Helgaas
2010-03-02 20:41                     ` Bjorn Helgaas
2010-03-02 21:08                       ` Alan Stern
2010-03-02 21:08                       ` Alan Stern
2010-03-02 21:31                     ` Dmitry Torokhov
2010-03-03 15:29                       ` Alan Stern
2010-03-03 15:29                       ` Alan Stern
2010-03-09  7:45                         ` Dmitry Torokhov
2010-03-09  7:45                         ` Dmitry Torokhov
2010-03-02 21:31                     ` Dmitry Torokhov
2010-02-22 16:33 ` Two problems with system sleep Alan Stern
2010-02-12 20:46 Alan Stern
2010-02-13  0:13 ` Rafael J. Wysocki
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

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.