WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] RE: Question about Xen S3 and resume code - Linux dom0 n

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: RE: [Xen-devel] RE: Question about Xen S3 and resume code - Linux dom0 never exits the xen_safe_halt hypercall after resume
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Fri, 1 Jul 2011 10:10:00 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Yu, Ke" <ke.yu@xxxxxxxxx>
Delivery-date: Thu, 30 Jun 2011 19:11:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110630163108.GD5771@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20110616225739.GA8714@xxxxxxxxxxxx> <625BA99ED14B2D499DC4E29D8138F1505D2C2DD530@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20110620123626.GA2973@xxxxxxxxxxxx> <625BA99ED14B2D499DC4E29D8138F1505D34A529A4@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <625BA99ED14B2D499DC4E29D8138F150626143162D@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20110630163108.GD5771@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acw3QzUwjIFYynj9SnKiYTmqOhXZ4QASOpeA
Thread-topic: [Xen-devel] RE: Question about Xen S3 and resume code - Linux dom0 never exits the xen_safe_halt hypercall after resume
> From: Konrad Rzeszutek Wilk [mailto:konrad.wilk@xxxxxxxxxx]
> Sent: Friday, July 01, 2011 12:31 AM
> 
> On Thu, Jun 30, 2011 at 01:34:27PM +0800, Tian, Kevin wrote:
> > Hi, Konrad,
> >
> > any update on this S3 problem you're seeing?
> 
> I removed the i915, the USB, and didn't have any WARN or such in the
> bootup. But it still would not get back to the Linux dom0 after a resume.
> 
> (http://darnok.org/xen/devel-acpi-s1-no-i915-no-usb.log)

S3 is a very fragile feature which highly depends on the platform 
implementation.
I'd more think there's a driver related resume issue which is incompatible with
Xen in the resume path. I can't tell why w/ ACPI processor driver it can forward
progress... perhaps due to more timer activity e.g. from cpufreq timer which
kicks some hanging point...

> 
> >
> > I just got a chance to give a try on my Dell core-i7 platform with a Ubuntu
> 10.10
> > system.
> >
> > Xen version is:
> > changeset:   23632:33717472f37e
> > tag:         tip
> > user:        Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
> > date:        Tue Jun 28 18:15:44 2011 +0100
> > summary:     libxc: Squash xc_e820.h (and delete) into xenctrl.h
> >
> > for dom0 I use origin/master plus ACPI patches queued on your
> origin/devel/acpi-s3.v0:
> 
> <nods> OK, so the working branch.
> 
> > commit 4aa69dc48e031276b4d771dcb227d553fd3def0b
> > Merge: df5b2b6 9f90a3b
> > Author: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
> > Date:   Tue Jun 21 09:34:31 2011 -0400
> >
> >     Merge branch '3.0-rc1-rem_pg_reserve-4' of
> git://xenbits.xen.org/people/sstabellini/linux-pvhvm
> >
> > w/ or w/o ACPI processor patches on my box ACPI S3 just works well.
> 
> And without the ACPI proccessor. What 'Dell Core i7' box is this? Let me try 
> to
> get the
> OptiPlex 780 I've here and see how it fares. Did you use any fancy patches for
> the AMT?

Have to say I lose the actual name for this box. It's a "studio xps" model, with
cpu as "core i7 870 (2.93G)"

there's no AMT related BIOS option on this box, and thus I don't use any other
patches aside. :-)

Thanks
Kevin

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel