Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #196599 > unrolled thread

Hibernation does not work after upgrade to Stretch

Started byPiotr <zaxonxp45@gmail.com>
First post2018-06-12 17:40 +0200
Last post2018-06-14 11:30 +0200
Articles 6 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  Hibernation does not work after upgrade to Stretch Piotr <zaxonxp45@gmail.com> - 2018-06-12 17:40 +0200
    Re: Hibernation does not work after upgrade to Stretch Hans <hans.ullrich@loop.de> - 2018-06-12 18:20 +0200
      Re: Hibernation does not work after upgrade to Stretch Piotr <zaxonxp45@gmail.com> - 2018-06-13 00:20 +0200
    Re: Hibernation does not work after upgrade to Stretch davidson <davidson@freevolt.org> - 2018-06-13 05:30 +0200
      Re: Hibernation does not work after upgrade to Stretch Piotr <zaxonxp45@gmail.com> - 2018-06-13 12:00 +0200
        Re: Hibernation does not work after upgrade to Stretch davidson <davidson@freevolt.org> - 2018-06-14 11:30 +0200

#196599 — Hibernation does not work after upgrade to Stretch

FromPiotr <zaxonxp45@gmail.com>
Date2018-06-12 17:40 +0200
SubjectHibernation does not work after upgrade to Stretch
Message-ID<vZTyO-1UT-15@gated-at.bofh.it>
Dear all,

Recently I upgraded my Jessie to Stretch and since then I do not have working hibernation.

When I do hibernate-disk, then it seems to be making a memory snapshot,
but when I restart I gets a hang up with a black screen or reboot
(depends on which kernel version I use). Already tried with
4.16.0-0.bpo.2-686-pae, 4.16.0-0.bpo.1-686-pae and with
linux-image-3.16.0-5-686-pae. 

How should I debug this issue and fix it?

Regards,
Piotr

[toc] | [next] | [standalone]


#196601

FromHans <hans.ullrich@loop.de>
Date2018-06-12 18:20 +0200
Message-ID<vZUbv-2mo-3@gated-at.bofh.it>
In reply to#196599
Am Dienstag, 12. Juni 2018, 17:31:44 CEST schrieb Piotr:
Same here, just almost since a year. I doubt, this will be fixed. As far as I 
read, this is too difficult for the developers, due to the very different 
hardware. The problem is, the playing together with kernel, hardware and 
hibernation software is too complex, so there is only little chance, this bug 
can be dfixed at all.

Sorry, to disappoint you at the moment.

Best 

Hans

> Dear all,
> 
> Recently I upgraded my Jessie to Stretch and since then I do not have
> working hibernation.
> 
> When I do hibernate-disk, then it seems to be making a memory snapshot,
> but when I restart I gets a hang up with a black screen or reboot
> (depends on which kernel version I use). Already tried with
> 4.16.0-0.bpo.2-686-pae, 4.16.0-0.bpo.1-686-pae and with
> linux-image-3.16.0-5-686-pae.
> 
> How should I debug this issue and fix it?
> 
> Regards,
> Piotr

[toc] | [prev] | [next] | [standalone]


#196608

FromPiotr <zaxonxp45@gmail.com>
Date2018-06-13 00:20 +0200
Message-ID<vZZNT-5Da-1@gated-at.bofh.it>
In reply to#196601
On Tue, 12 Jun 2018 18:12:42 +0200
Hans <hans.ullrich@loop.de> wrote:

> Am Dienstag, 12. Juni 2018, 17:31:44 CEST schrieb Piotr:
> Same here, just almost since a year. I doubt, this will be fixed. As far as I 
> read, this is too difficult for the developers, due to the very different 
> hardware. The problem is, the playing together with kernel, hardware and 
> hibernation software is too complex, so there is only little chance, this bug 
> can be dfixed at all.
> 
> Sorry, to disappoint you at the moment.

It is pity that it worked well with Jessie with no hardware change. Somebody told me that I should try different kernel versions, but even the latest does not work. It was nice to have a hibernate to disk, but now I have to live without it. Luckily debian starts fast on my old laptop,

Thanks for the info.

Regards,
Piotr

[toc] | [prev] | [next] | [standalone]


#196611

Fromdavidson <davidson@freevolt.org>
Date2018-06-13 05:30 +0200
Message-ID<w04DT-8E-1@gated-at.bofh.it>
In reply to#196599
On Tue, 12 Jun 2018, Piotr wrote:

> Dear all,
>
> Recently I upgraded my Jessie to Stretch and since then I do not
> have working hibernation.
>
> When I do hibernate-disk, then it seems to be making a memory
> snapshot, but when I restart I gets a hang up with a black screen or
> reboot (depends on which kernel version I use). Already tried with
> 4.16.0-0.bpo.2-686-pae, 4.16.0-0.bpo.1-686-pae and with
> linux-image-3.16.0-5-686-pae.
>
> How should I debug this issue and fix it?

No idea.

Killing some idle time with

   backport kernel stretch hibernation site:debian.org

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.

-- 

It's gotten to the point where I get immediately suspicious whenever
anybody starts talking about "civility," "tone," or as Iowa Public
Radio touts itself, "with no shouting." Oh thank heavens, waving my
fan to cool myself from those torrid opinions.

twitter.com/bluntedpurpose/status/1001567312057651201

[toc] | [prev] | [next] | [standalone]


#196617

FromPiotr <zaxonxp45@gmail.com>
Date2018-06-13 12:00 +0200
Message-ID<w0aJj-3SF-1@gated-at.bofh.it>
In reply to#196611
On Wed, 13 Jun 2018 04:04:54 +0000 (UTC)
davidson <davidson@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."

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?

Regards,
Piotr

[toc] | [prev] | [next] | [standalone]


#196665

Fromdavidson <davidson@freevolt.org>
Date2018-06-14 11:30 +0200
Message-ID<w0wJP-Bx-1@gated-at.bofh.it>
In reply to#196617
On Wed, 13 Jun 2018, Piotr wrote:

> On Wed, 13 Jun 2018 04:04:54 +0000 (UTC)
> davidson <davidson@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.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web