Ubuntu kernels have PM_TRACE debug enabled, allowing one to turn on debug tracing via:
echo 1 > /sys/power/pm_trace
When a machine then hangs in the resume stage some magic is stashed in the RTC and then one has a ~3 minute window to reboot the machine. On the reboot, the hashed magic stored in the RTC is converted back into a debug message which can be read using the dmesg command and looking for the "Magic number" message:
$ dmesg | less
Magic number is: 13:773:539
hash matches device usbdev2.1_ep00
No comments:
Post a Comment