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

RE: [Xen-devel] Xen suspend


  • To: "Kurt Garloff" <kurt@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
  • From: "Neugebauer, Rolf" <rolf.neugebauer@xxxxxxxxx>
  • Date: Tue, 30 Nov 2004 13:53:29 -0000
  • Delivery-date: Tue, 30 Nov 2004 13:54:22 +0000
  • List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
  • Thread-index: AcTW4ugmYoRMv41oRDSXxppWCdV4iQAAFLWw
  • Thread-topic: [Xen-devel] Xen suspend

I don't think anyone has looked into power management and Xen. Xen
doesn't have any special hooks for this at all and some things like APM
might work because dom0 is privileged enough. However, give that even in
Linux power management is still quite messy and unstable with Xen YMMV
even more ;(

With the plan for 2.1 to move more of the platform init code into dom0
there is a chance that Xen will be more compatible with Linux for things
like power management as well.

Rolf

> -----Original Message-----
> From: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx [mailto:xen-devel-
> admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Kurt Garloff
> Sent: 30 November 2004 09:47
> To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
> Subject: [Xen-devel] Xen suspend
> 
> Hi,
> 
> I'm running Xen-2.0.1 and a self-compiled 2.6.9-xen0 on my IBM T40.
> 
> When I close the lid the following happens:
> (a) running natively (a SL92 kernel, 2.6.9-rc2 with some
improvements):
>     The powersaved is configured to do a suspend-to-ram. The OS
suspends
>     the devices and goes to sleep. Waking up again, the devices get
>     reinitialized and everything Works like a charm.
>     Only downside is the power consumption in suspended mode.
>     It's still about 4W.
> (b) Running Xen
>     The laptop goes into suspend mode immediately.
>     It also wakes up again.
>     The OS does not seem involved in suspending at all. dmesg does not
>     show any signs of this event not even xm dmesg does.
>     After waking up, however, the touchpad (synaptics) in domain 0 is
>     unusable and the kernel spits
>     TouchPad at isa0060/serio1/input0 lost sync at byte 1
>     I'm unsure whether other devices are in a sane state.
>     The next xm create killed the machine :-(
> 
> Is this supposed to work?
> Shouldn't Xen ask the domain0 kernel to suspend the devices?
> 
> Regards,
> --
> Kurt Garloff                   <kurt@xxxxxxxxxx>             [Koeln,
DE]


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

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