From Fedora Project Wiki

(Created page with "{{QA/Test_Case |description=This test case tests freeze. This presents a general state that does not need any platform specific support, it equals frozen processes + suspended...")
 
No edit summary
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=This test case tests freeze. This presents a general state that does not need any platform specific support, it equals frozen processes + suspended devices + idle processors. This is a new feature introduced in kernel 3.9 and currently there is no support from user space utilities (e.g. systemd). The freeze can be useful on secondary architectures (e.g. ARMs). For more details see [https://lkml.org/lkml/2013/2/4/49 PM_SUSPEND_FREEZE patch].
|description=This test case tests freeze. This presents a general state that does not need any platform specific support. It equals frozen processes + suspended devices + idle processors. The freeze can be useful on secondary architectures (e.g. ARMs) and all platform that do not implement suspend to RAM (STR). This is a new feature introduced in kernel 3.9 and currently there is no support from user space utilities (e.g. systemd). For more details see [https://lkml.org/lkml/2013/2/4/49 PM_SUSPEND_FREEZE patch].
|setup=
|setup=
# Check that your system supports freeze:
# Check that your system supports freeze:

Revision as of 14:32, 16 April 2013

Description

This test case tests freeze. This presents a general state that does not need any platform specific support. It equals frozen processes + suspended devices + idle processors. The freeze can be useful on secondary architectures (e.g. ARMs) and all platform that do not implement suspend to RAM (STR). This is a new feature introduced in kernel 3.9 and currently there is no support from user space utilities (e.g. systemd). For more details see PM_SUSPEND_FREEZE patch.

Setup

  1. Check that your system supports freeze:
    $ cat /sys/power/disk
    If there is freeze in the output, it signals that the freeze is supported. If it is not there it probably means that you have incompatible (i.e. old) kernel.

How to test

  1. Run the following command:
    # echo freeze > /sys/power/state
  2. Wait until the system freezes (it typically takes several seconds).
  3. Wake-up your system by e.g. hitting the power button (or maybe another button depending on your HW).

Expected Results

  1. System correctly freezes.
  2. After wake-up system correctly resumes.
  3. NetworkManager re-establishes a network connection.