[systemd-bugs] [Bug 57882] New: Hibernate: 'echo reboot > /sys/power/disk' no longer has any effect

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 4 07:32:15 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=57882

          Priority: medium
            Bug ID: 57882
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: Hibernate: 'echo reboot > /sys/power/disk' no longer
                    has any effect
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: bugzilla at alastairj.plus.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

Before updating to systemd 196 a few days ago, it was possible to reboot
immediately after hibernating, by setting /sys/power/disk to 'reboot'. This is
useful if you want to, for example, boot up a different Linux distro.

However after upgrading to 196, the system powers down instead.


Carried out by doing the following -
    echo reboot > /sys/power/disk
    systemctl hibernate

Checking /sys/power/disk after doing the 'echo' shows as expected - 
    platform shutdown [reboot] suspend

Checking /sys/power/disk after powering back on and thawing - 
    [platform] shutdown reboot suspend


Journalctl | grep "Hibernation mode" used to produce a single line for the
hibernation -
Nov 30 17:42:17 <hostname> kernel: PM: Hibernation mode set to 'reboot'

Now it gives 2 lines -
Dec 04 11:44:30 <hostname> kernel: PM: Hibernation mode set to 'reboot'
Dec 04 11:44:30 <hostname> kernel: PM: Hibernation mode set to 'platform'


So it looks like the original contents of /sys/power/disk ('reboot') are being
overwritten ('platform') by the 'systemctl hibernate' command.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20121204/b13b795c/attachment.html>


More information about the systemd-bugs mailing list