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-bugs

[Xen-bugs] [Bug 1453] New: [ACPI] On some x86_64 platform, `echo mem > /

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1453] New: [ACPI] On some x86_64 platform, `echo mem > /sys/power/state` can not trigger Dom0 S3 until using Ctrl^C to terminate the command.
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Mon, 20 Apr 2009 02:21:44 -0700
Delivery-date: Mon, 20 Apr 2009 02:21:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1453

           Summary: [ACPI] On some x86_64 platform, `echo mem >
                    /sys/power/state` can not trigger Dom0 S3 until using
                    Ctrl^C to terminate the command.
           Product: Xen
           Version: unstable
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Hypervisor
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: haicheng.li@xxxxxxxxx


Xen changeset info:
xen-changeset:   19534:120d3c67951b
dom0-changeset:   861:366c31f3ab4b

ioemu git:
commit 2ed2ee1704a4ef956ecc61848c84d12aaa4419d5
Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Date:   Fri Apr 3 16:17:22 2009 +0100

On some platform, with ia32e xen, echo mem into /sys/power/state can not make
system into S3. We need to Ctrl^C or terminate the echo process, then system
will enter S3. 

On the same machine, PAE Xen can do Dom0 S3 without any issue.

Reproduce steps:

Run following script in dom0:

#!/bin/sh
set -x
time=5
i=0
while [ $i -lt $time ];
do
        # For kernel beyond 2.6.22
        #echo 0 > /sys/class/rtc/rtc0/wakealarm
        #echo `date '+%s' -d '+ 20 sec'` > /sys/class/rtc/rtc0/wakealarm
        # Another syntax
        #echo +20 > /sys/class/rtc/rtc0/wakealarm

        # For kernel below 2.6.22
        echo +0000-00-00 00:00:25 > /proc/acpi/alarm

        echo mem > /sys/power/state

        # Some machine may need vtetool to resume video display
        #vbetool post
        sync
        echo $i > /tmp/S3_log
        sync
        ((i=i+1))
done


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

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