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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] Host S3

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Host S3
From: scorbin <steve.corbin@xxxxxxxxxxxxxxxxxxx>
Date: 2009年7月01日 14:26:04 -0400
Delivery-date: 2009年7月01日 11:30:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1246470033.1352.35.camel@scorbin-laptop >
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>
Organization: Vritual Computer Inc.
References: <1246463902.1352.18.camel@scorbin-laptop > <8686c3cd0907011008p38226b1chd0aee5535f6e820c@xxxxxxxxxxxxxx> <1246470033.1352.35.camel@scorbin-laptop >
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
It looks like suspend.sf.net will not work. The s2ram utility
requires /proc/sys/kernel/acpi_sleep_flags which does not exist in the
Xen patched Linux kernel. It is removed via CONFIG_ACPI_PV_SLEEP.
So how are people using dom0 suspend/resume? Any sample scripts/code?
Simply doing 'echo mem > /sys/power/state' does not restore the graphics
card. I also tried a script I found on the web that effectively does:
# dump current data from the video card to the temporary file
cat /proc/bus/pci/$ID > $TMP_FILE
# suspend
echo -n mem > /sys/power/state
# restore video card data from the temporary file on resume
cat $TMP_FILE > /proc/bus/pci/$ID
with the same result that bare Linux works but booting with Xen does not
restore the video card.
- steve
On Wed, 2009年07月01日 at 13:40 -0400, scorbin wrote:
> I tried it on a Dell, Lenovo and 2 HPs. Upon further investigation it
> turns out the systems are resuming but the video card is not
> re-initialized. It's strange because I can use the same procedure for
> Linux without Xen and the video resumes properly.
>
> Searching the web I found suspend.sf.net. Is this what people are using
> to do the video restore?
>
>
> On Wed, 2009年07月01日 at 20:08 +0300, Tom Rotenberg wrote:
> > What is the hardware it didn't work for you?
> > 
> > 2009年7月1日 scorbin <steve.corbin@xxxxxxxxxxxxxxxxxxx>
> > What is the state of host suspend to ram? I noticed that this
> > functionality was put into 3.2 with fixes in 3.3. I also saw
> > something
> > recently that indicates there might be a separate tree where
> > suspend/S3
> > is being developed/enhanced?
> > 
> > I did try Xen3.3/Ubuntu8.04 and did not get host S3 to resume
> > properly.
> > Straight Ubuntu 8.04 suspends/resumes fine.
> > 
> > 
> > 
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-devel 
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel 
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] [XEN-3.4.1-rc5] no udev rules with udev 124 , Keir Fraser
Next by Date: [Xen-devel] Re: 2.6.30 dom0 Xen patches , Andrew Lyon
Previous by Thread: Re: [Xen-devel] Host S3 , scorbin
Next by Thread: RE: [Xen-devel] Host S3 , Kamala Narasimhan
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /