<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [[GM965][DDX SNA]] Resume fails and causes reboot"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=86067#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [[GM965][DDX SNA]] Resume fails and causes reboot"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=86067">bug 86067</a>
              from <span class="vcard"><a class="email" href="mailto:jp.vanriel@gmail.com" title="Jean-Pierre van Riel <jp.vanriel@gmail.com>"> <span class="fn">Jean-Pierre van Riel</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=109164" name="attach_109164" title="Cannot identify error in pm-suspend.log and think bug is triggered way before resume scripts run">attachment 109164</a> <a href="attachment.cgi?id=109164&action=edit" title="Cannot identify error in pm-suspend.log and think bug is triggered way before resume scripts run">[details]</a></span>
Cannot identify error in pm-suspend.log and think bug is triggered way before
resume scripts run

When first noticing the bug, I did multiple tests and the following pattern are
seen in the pm-suspend.log. Unfortunately, I was unable to catch any error
here, even when I later modified the script using 'set -x' to try catch which
script in the resume process was causing the issue, but that was futile since
the resume scripts never even get triggered and the reboot occurs before then.
So I think I can rule out any scripts called during resume being the cause.

# When it is able to resume #

Tue Sep  2 00:06:02 SAST 2014: Running hooks for suspend.
...
Tue Sep  2 00:06:02 SAST 2014: performing suspend
Tue Sep  2 00:06:20 SAST 2014: Awake.
Tue Sep  2 00:06:20 SAST 2014: Running hooks for resume
...
Running hook /usr/lib/pm-utils/sleep.d/000kernel-change resume suspend:
/usr/lib/pm-utils/sleep.d/000kernel-change resume suspend: success.

Tue Sep  2 00:06:20 SAST 2014: Finished.


# When it fails to resume #

Tue Sep  2 00:10:19 SAST 2014: Running hooks for suspend.
...
Tue Sep  2 00:10:19 SAST 2014: performing suspend
...
??? not followed by <date>: Awake. ???
...

Instead, in the failure case, we don't get the awake message. The next entry in
the log is for the next suspend resume test ater rebooting. I.e. instead of
seeing awake, we see the next test.
Tue Sep  2 00:11:34 SAST 2014: Running hooks for suspend.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>