All of lore.kernel.org
 help / color / mirror / Atom feed
From: Malcolm Crossley <malcolm.crossley@citrix.com>
To: xen-devel@lists.xen.org
Subject: Re: S3 resume issues
Date: Wed, 2 Jan 2013 15:15:49 +0000	[thread overview]
Message-ID: <50E44F25.2060501@citrix.com> (raw)
In-Reply-To: <CAOvdn6XukqQM_fV3or52+N1xhtmOtUfu+=XTJsM1ijAVByMtAA@mail.gmail.com>

Hi Ben,

On 02/01/13 13:08, Ben Guthro wrote:
> 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)
>
To help reproduce the issue it would be good to know what Linux kernel 
you were using.

Also, Does Xen-4.1 work on this particular machine? If Xen-4.1 does not 
work, have you confirmed that baremetal suspend resume works? (I'm just 
covering the base's here)

I also notice that the laptop can have NVIDIA optimus technology. Does 
this particular T430 have an Nvidia GPU? Is there a way to force disable 
the NVIDIA GPU in the BIOS, this may help with displaying resume 
progress via the display.
> 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.
Is there any sign of the video POSTING (flickering screen etc) ?
>
> 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.
>
The actual wakeup vector is wakeup_start in xen/arch/x86/boot/wakeup.S

Malcolm

  reply	other threads:[~2013-01-02 15:15 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-02 13:08 S3 resume issues Ben Guthro
2013-01-02 15:15 ` Malcolm Crossley [this message]
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

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=50E44F25.2060501@citrix.com \
    --to=malcolm.crossley@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /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.