Port-xen archive

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

suspend/resume for Dom0



Hi,

With the ok from jym, I committed suspend/resume support for Dom0
into his jym-xensuspend branch. I also had to fix two Bugs in Xen
to make this work. I filed a request to apply the patches also to 
Xen-3.3-testing so that they are part of Xen 3.3.2.


This is the output on serial console:

# sysctl -w machdep.sleep_state=3
acpi0: entering state 3
Flushing disk caches: done
(XEN) Preparing system for ACPI S3 state.Freezing cpus ...
(XEN) Prepare to bring CPU1 down...
(XEN) Cannot set affinity for vector 224 (irq 0)
(XEN) CPU 1 is now offline
(XEN) CPU1 is down
(XEN) Entering ACPI S3 state.

(XEN) Finishing wakeup from ACPI S3 state.
(XEN) microcode.c:73:d0 microcode: CPU0 resumed
(XEN) Thawing cpus ...
(XEN) Booting processor 1/1 eip 8c000
(XEN) Initializing CPU#1
(XEN) CPU1: AMD Flush Filter disabled
(XEN) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
(XEN) CPU 1(2) -> Core 1
(XEN) AMD: Disabling C1 Clock Ramping Node #0
(XEN) CPU1: AMD K8 machine check reporting enabled.
(XEN) CPU1: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ stepping 02
(XEN) microcode.c:73:d32767 microcode: CPU1 resumed
(XEN) CPU1 is up
nfs_timer: ignoring error 50
ahcisata0: port reset failed
ahcisata0: port reset failed
ahcisata0: port reset failed
machdep.sleep_state: 0 -> 3
#

Machine is then alive again, can be pinged, etc.

Christoph


Home | Main Index | Thread Index | Old Index