[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] ACPI S3 resume with Xen and Linux not working (will work in Linux v3.11) Was: Re: Re: crash on resume after suspend


  • To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
  • From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
  • Date: Fri, 28 Jun 2013 11:27:28 +0000
  • Accept-language: zh-CN, en-US
  • Cc: Loke Bharti <lbharti@xxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 28 Jun 2013 11:27:56 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: AQHOca5FrG9gWEyhUEKjZxUeStOXOJlHooeA///R5wCAA4sJgA==
  • Thread-topic: [Xen-devel] ACPI S3 resume with Xen and Linux not working (will work in Linux v3.11) Was: Re: Re: crash on resume after suspend

Konrad Rzeszutek Wilk wrote on 2013-06-26:
> On Wed, Jun 26, 2013 at 08:47:43AM +0000, Cui, Dexuan wrote:
>> Konrad Rzeszutek Wilk wrote on 2013-06-25:
>>> ACPI S3 resume is not yet working (but will with Linux 3.11) b/c the
>>> patches to allow that functionality had not been merged upstream.
>> Hi Konrad,
>> Do you imply your own tree(which branch?)
>>  (http://git.kernel.org/cgit/linux/kernel/git/konrad/xen.git)
>>  can work with Dom0 S3?
>> Where are the patches to support Dom0 S3? I'd like to try them.
>> I see there is a branch devel/acpi-s3.v10 in the tree, but I'm not sure if
> you meant it.
> 
> git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
> or bleeding-edge
> 
> You want to make sure these show up
> 
> 068e0dc xen / ACPI / sleep: Register an acpi_suspend_lowlevel callback.
> d6a77ea x86 / ACPI / sleep: Provide registration for
> acpi_suspend_lowlevel.
> 
Hi Konrad,
Thanks for the information!

I'm using Xen-4.2.1 + Linux 3.8.8 and Dom0 S3 has such an issue:
 
root@cui:~# echo mem > /sys/power/state
[  110.081175] PM: Syncing filesystems ... done.
[  110.214943] PM: Preparing system for mem sleep
[  110.373683] Freezing user space processes ... (elapsed 0.01 seconds) done.
[  110.394387] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) 
done.
[  110.414600] PM: Entering mem sleep
[  110.419293] Suspending console(s) (use no_console_suspend to debug)
(XEN) Preparing system for ACPI S3 state.
(XEN) Disabling non-boot CPUs ...
(XEN) Broke affinity for irq 8
(XEN) Broke affinity for irq 16
(XEN) Broke affinity for irq 23
(XEN) Broke affinity for irq 27
(XEN) Broke affinity for irq 8
(XEN) Broke affinity for irq 1
(XEN) Broke affinity for irq 8
(XEN) Broke affinity for irq 9
(XEN) Broke affinity for irq 26
(XEN) Broke affinity for irq 28
(XEN) Broke affinity for irq 1
(XEN) Broke affinity for irq 8
(XEN) Entering ACPI S3 state.
(XEN) mce_intel.c:1239: MCA Capability: BCAST 1 SER 0 CMCI 1 firstbank 0 
extended MCE MSR 0
(XEN) CPU0 CMCI LVT vector (0xf2) already installed
(XEN) Finishing wakeup from ACPI S3 state.
(XEN) Enabling non-boot CPUs  ...
(XEN) Domain 0 crashed: 'noreboot' set - not rebooting.

After cherry-picking the 2 commits you mentioned(looks I need pick
More commits?), I still get the same crash log.

I'm going to dig into this and appreciate any related information!

Thanks,
-- Dexuan



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.