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] Host S3

I got the XCI build up and running but dom0 does not provide the
functionality I am looking for.  There is no ability to run X or GDM.
So far the issues I am seeing with host suspend/resume seem to be
graphics and SMP related, issues which XCI does not address.

I would like to get dom0 suspend/resume working with Ubuntu 8.04 or 9.04
running on top of Xen.  I have used s2ram, pm-suspend and some
roll-my-own scripts with less than stellar results.

The current issue I am looking at is that Xen's time is not working
after resume.  Both clocksource/1 and timer isr/1 print out persistent
"Time went backwards" messages.

- steve


On Wed, 2009-07-01 at 16:41 -0400, Kamala Narasimhan wrote:
> You might want to consider using the XCI build which already takes care of 
> this issue.  We have added the necessary user mode quirks plus included 
> relevant components you would need along with appropriate emulation library 
> that would work with 64-bit hypervisor etc.
> 
> Kamala
> 
> > -----Original Message-----
> > From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-
> > bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of scorbin
> > Sent: Wednesday, July 01, 2009 2:26 PM
> > To: xen-devel
> > Subject: Re: [Xen-devel] Host S3
> > 
> > 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
> 


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

<Prev in Thread] Current Thread [Next in Thread>