Ferry, Chris,
I thought you were trying to test hibernation. Let's switch back to
suspend to mem.
The first thing is to figure out what suspend mode you are using:
1. boot with the same kernel with TPM disabled.
2. cat /sys/power/mem_sleep,
    echo 'N' > /sys/module/printk/parameters/console_suspend
    echo 'Y' > /sys/module/printk/parameters/initcall_debug
and leverage pm_test mode to narrow down:

3. echo  different mode to /sys/power/pm_test
    start from right to left (freezer to devices to platform...)
   [none] core processors platform devices freezer
    check if the system could resume back within 5 seconds.

For example:
  echo freezer > /sys/power/pm_test
  echo mem > /sys/power/state

if succeed to resume back, then:
   save the dmesg and launch the next test mode:
  echo devices> /sys/power/pm_test
  echo mem > /sys/power/state

and go on util you see a hang during resume.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848771

Title:
  Reboot after resume from suspend (deep)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1848771/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to