xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* S3 resume issues
@ 2013-01-02 13:08 Ben Guthro
  2013-01-02 15:15 ` Malcolm Crossley
  2013-01-16  2:18 ` Tomasz Wroblewski
  0 siblings, 2 replies; 31+ messages in thread
From: Ben Guthro @ 2013-01-02 13:08 UTC (permalink / raw)
  To: xen-devel; +Cc: George Dunlap, Jan Beulich


[-- Attachment #1.1: Type: text/plain, Size: 1760 bytes --]

I'm starting a new thread on this, to attempt to not confuse this issue,
with the other S3 issue reported by Marek Marczykowski against 4.1
If you prefer I continue that thread instead, please let me know, and I
will be happy to do so.

Some background:
I am attempting to chase down yet another S3 issue in the Xen-4.2 /
unstable tree, seen on some (but not all) platforms.
The particular machine I am able to reproduce it 100% of the time is a
Lenovo T430 (Ivy bridge laptop)

The symptoms of the failure are that it suspends just fine, but does not
resume.
When attempting to resume, by pressing the power button - the disk LED
flashes, and the CDROM activity LED flashes, but then the system seems to
put itsself back to sleep, as the power LED goes back to pulsing
Note that the soft pulsing LED is distinctly different from the crash LED
blink rate.

I have tried a number of the tricks Jan suggested to me the last time we
were down this path - so far to no success.
The failure seems to be happening so soon in the resume process, that there
is not yet a console available.

I have resorted to putting BUG() in the code directly in the resume path,
in an attempt to understand what is going on - since there seems to be
something in this path that I don't fully understand.

In xen/arch/x86/acpi/power.c - acpi_enter_sleep_state() seems to be the
code that actually puts the processor into S3.
If I put a BUG() directly before the return of this function - I never seem
to reach this. It continues to pulse the power LED, as described above.
I would have expected a hypervisor crash upon attempting to wake up the
system.


Could this be a behavior caused by a bad resume vector?
If so - how would I know it was bad?

Any other ideas are welcome.

Ben

[-- Attachment #1.2: Type: text/html, Size: 2079 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

end of thread, other threads:[~2013-01-16 16:16 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-02 13:08 S3 resume issues Ben Guthro
2013-01-02 15:15 ` Malcolm Crossley
2013-01-02 15:31   ` Ben Guthro
2013-01-02 16:46     ` Ben Guthro
2013-01-02 20:35       ` Malcolm Crossley
2013-01-02 20:50         ` Ben Guthro
2013-01-03 10:19       ` Jan Beulich
2013-01-03 16:33         ` Ben Guthro
2013-01-03 17:08           ` Jan Beulich
2013-01-03 17:28             ` Ben Guthro
2013-01-03 21:26               ` Ben Guthro
2013-01-04  8:34                 ` Jan Beulich
2013-01-11 20:32                   ` Ben Guthro
2013-01-14 22:00                     ` Ben Guthro
2013-01-15  8:33                       ` Jan Beulich
2013-01-15 12:55                         ` Ben Guthro
2013-01-15 18:10                           ` Ben Guthro
2013-01-15 18:17                             ` Malcolm Crossley
2013-01-15 18:22                               ` Ben Guthro
2013-01-15 18:32                                 ` Malcolm Crossley
2013-01-15 18:38                                   ` Ben Guthro
2013-01-15 18:39                                     ` Malcolm Crossley
2013-01-16 16:16                                       ` Ben Guthro
2013-01-16  9:35                             ` Jan Beulich
     [not found]                               ` <CAOvdn6V6N1V9ZYbARTJPEgSvxPe83pSiO6TmxBLy1LJEkods6A@mail.gmail.com>
2013-01-16 10:57                                 ` Jan Beulich
2013-01-16 11:05                                   ` Ben Guthro
2013-01-16 11:09                                     ` Jan Beulich
2013-01-16 11:17                                       ` Ben Guthro
2013-01-02 17:14     ` Pasi Kärkkäinen
2013-01-02 17:20       ` Ben Guthro
2013-01-16  2:18 ` Tomasz Wroblewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).