Re: leaving the hibernate state

2017-09-16 Thread Pierre Frenkiel

On Sat, 16 Sep 2017, Andr? N B wrote:


. . .
So you've ruled out swap size, UUID mismatch and have actualy been able to
hibernate, though you're still unable to resume, is that correct?


   Not really, as the image is not written after hibernate. As I already said, 
I abandonned the idea of doing hibernate,
   and use resume at lid close. The battery then lasts more than 24 hours,  
which is largely sufficient.

best regards,
--
Pierre Frenkiel



Re: leaving the hibernate state

2017-09-16 Thread André N B
Sat 09 Sep 2017 às 18:35:42 (1504992942), pierre.frenk...@gmail.com enviou:
> On Tue, 5 Sep 2017, Pierre Frenkiel wrote:
> 
> > On Sat, 2 Sep 2017, Andr? N B wrote:
> > 
> > > Have you tried any of these tests?
> > > 
> > > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/plain/Documentation/power/basic-pm-debugging.txt?h=v4.12.10
> > > 
> > 
> >   I tried the first one: it crashed my laptop, and after reboot, I got
> > "recovering journal"
> >   I thing that the problem acrually comes from a too small swap
> > partition. I'll increase it, and post the result.
> 
>I increased the swap partition to twice the ram size, but hibernate still 
> doesn't work
>(cf my next post: "hibernate uses a wrong UUID"

https://lists.debian.org/debian-user/2017/09/msg00377.html

So you've ruled out swap size, UUID mismatch and have actualy been able to
hibernate, though you're still unable to resume, is that correct?

The doc above has hints on test_resume, you may try it.



Re: leaving the hibernate state

2017-09-09 Thread Pierre Frenkiel

On Tue, 5 Sep 2017, Pierre Frenkiel wrote:


On Sat, 2 Sep 2017, Andr? N B wrote:


Have you tried any of these tests?

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/plain/Documentation/power/basic-pm-debugging.txt?h=v4.12.10



  I tried the first one: it crashed my laptop, and after reboot, I got 
"recovering journal"
  I thing that the problem acrually comes from a too small swap partition. 
I'll increase it, and post the result.


   I increased the swap partition to twice the ram size, but hibernate still 
doesn't work
   (cf my next post: "hibernate uses a wrong UUID"


best regards,
--
Pierre Frenkiel



Re: leaving the hibernate state

2017-09-05 Thread Pierre Frenkiel

On Sat, 2 Sep 2017, Andr? N B wrote:


Have you tried any of these tests?

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/plain/Documentation/power/basic-pm-debugging.txt?h=v4.12.10



   I tried the first one: it crashed my laptop, and after reboot, I got "recovering 
journal"
   I thing that the problem acrually comes from a too small swap partition. 
I'll increase it, and post the result.

best regards,
--
Pierre Frenkiel



Re: leaving the hibernate state

2017-09-02 Thread André N B
Sun 27 Aug 2017 às 19:55:16 (1503874516), pierre.frenk...@gmail.com enviou:
> hi,
> I installed pm-hibernate on my laptop, and it seemed to work,
> i.e. I got a black screen 10 to 15 seconds after issuing the pm-hibernate
> command, but I was unable to wake-up the laptop.
> Looking on Internet I found tons of documentation about suspend and
> hibernate, but amazingly, not a single line about the way to leave these
> states. Of course, I tried almost all the keyboard keys, without success,
> and all I could do was to  hold down the power button, which gave the normal
> startup, with a "recovering journal".
> My laptop is a Lenovo ideapad 110, running Stretch
> Should I configure something to use pm-hibernate?
> I have in syslog lines like:
> 
> Hibernation image not present or could not be loaded.
> 
> but I didn't find how to  fix that.(adding resume=/dev/disk/by-uuid/...
> in /etc/default/grub changed nothing)

Have you tried any of these tests?

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/plain/Documentation/power/basic-pm-debugging.txt?h=v4.12.10



leaving the hibernate state

2017-08-27 Thread Pierre Frenkiel

hi,
I installed pm-hibernate on my laptop, and it seemed to work,
i.e. I got a black screen 10 to 15 seconds after issuing the 
pm-hibernate command, but I was unable to wake-up the laptop.

Looking on Internet I found tons of documentation about suspend and
hibernate, but amazingly, not a single line about the way to leave these 
states. 
Of course, I tried almost all the keyboard keys, without success, and 
all I could do was to  hold down the power button, which gave the normal

startup, with a "recovering journal".
My laptop is a Lenovo ideapad 110, running Stretch
Should I configure something to use pm-hibernate?
I have in syslog lines like:

Hibernation image not present or could not be loaded.

but I didn't find how to  fix that.(adding resume=/dev/disk/by-uuid/...
in /etc/default/grub changed nothing)

best regards,
--
Pierre Frenkiel