On Wed, 13 Jun 2018, Piotr wrote:
On Wed, 13 Jun 2018 04:04:54 +0000 (UTC)
davidson <david...@freevolt.org> wrote:
at a search engine eventually led me to this 2007 document, which
looks interesting:
https://www.kernel.org/doc/Documentation/power/basic-pm-debugging.txt
I have not yet read it in full, (and so, obviously) have never used
it myself.
Thanks for the url to the document. I started to follow it and 3
first tests were not successful (either hang up or crash and reboot
after restoring the image). So I would like to do a debug. I saw
that it is mentioned that:
"To find out why hibernation fails on your system, you can use a
special testing facility available if the kernel is compiled with
CONFIG_PM_DEBUG set."
I believe the options compiled into the running kernel are found in
the file
/boot/config-$(uname -r)
So you could do
$ grep 'CONFIG_PM_DEBUG' /boot/config-$(uname -r)
and see what it says for yours.
For the record, this is what it says for the kernel running here:
$ uname -r
4.9.0-6-amd64
$ grep 'CONFIG_PM_DEBUG' /boot/config-$(uname -r)
CONFIG_PM_DEBUG=y
I think "=y" sounds like good news.
Does this mean that I have to install
linux-image-4.16.0-0.bpo.2-686-pae-dbg kernel in order to proceed
with this?
I do not know the first thing about the purpose or use of *-dbg
kernels. If it does come to that, your guess would be better than
mine.
Good luck.