[opensuse] 12.3 (64bit) Hibernate problem
Hello, I am noticing that hibernate function on opensuse 12.3 is not working as expected: today my notebook has powered-off due battery charge has gone below the limit and system has simply switched-off instead to hibernate. I red quickly some threads on regard and I applied a modification on suspend.conf by enabling "thread=y" but nothing has solved the root problem. I would expect when hibernate works correctly to restore the job from the point it has been freezed and have not to wait a lot of time for hibernate process take to attempt something that resolves to the need of rebooting the system again. Any comments/instructions on this problem? Thanks. Cheers, -- Marco Calistri (amdturion) opensuse 12.3 (Dartmouth) 64 bit - Kernel 3.7.10-1.4-desktop Gnome 3.6.2 Intel® Core™ i5-2410M CPU @ 2.30GHz × 4 - Intel® Sandybridge Mobile -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 7/29/2013 11:09 AM, Marco Calistri wrote:
Hello,
I am noticing that hibernate function on opensuse 12.3 is not working as expected: today my notebook has powered-off due battery charge has gone below the limit and system has simply switched-off instead to hibernate.
I red quickly some threads on regard and I applied a modification on suspend.conf by enabling "thread=y" but nothing has solved the root problem.
I would expect when hibernate works correctly to restore the job from the point it has been freezed and have not to wait a lot of time for hibernate process take to attempt something that resolves to the need of rebooting the system again.
Any comments/instructions on this problem?
Thanks.
Cheers,
Hibernate is not suspend (Suspend is also known as sleep). Two different things. Hibernate is going to take longer to resume than suspend. What desktop are you using? In KDE you can set critical battery level in System Settings, Power Management / Advanced. In there you can also set the desired action to take when critical battery level is reached. It might be that it is set to shutdown, or it might be that your critical battery level is set so low that the system does not have the time to properly hibernate. -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Il 29/07/2013 18:31, John Andersen ha scritto:
On 7/29/2013 11:09 AM, Marco Calistri wrote:
Hello,
I am noticing that hibernate function on opensuse 12.3 is not working as expected: today my notebook has powered-off due battery charge has gone below the limit and system has simply switched-off instead to hibernate.
I red quickly some threads on regard and I applied a modification on suspend.conf by enabling "thread=y" but nothing has solved the root problem.
I would expect when hibernate works correctly to restore the job from the point it has been freezed and have not to wait a lot of time for hibernate process take to attempt something that resolves to the need of rebooting the system again.
Any comments/instructions on this problem?
Thanks.
Cheers,
Hibernate is not suspend (Suspend is also known as sleep). Two different things.
Hibernate is going to take longer to resume than suspend.
What desktop are you using?
In KDE you can set critical battery level in System Settings, Power Management / Advanced. In there you can also set the desired action to take when critical battery level is reached. It might be that it is set to shutdown, or it might be that your critical battery level is set so low that the system does not have the time to properly hibernate.
Hi John, Thanks for your reply. I'm using Gnome 3.6.2 as desktop environment and there I set power-namagement to hibern when battery reaches critical value not sure if I can set a limit treshold there. Cheers, -- Marco Calistri (amdturion) opensuse 12.3 (Dartmouth) 64 bit - Kernel 3.7.10-1.4-desktop Gnome 3.6.2 Intel® Core™ i5-2410M CPU @ 2.30GHz × 4 - Intel® Sandybridge Mobile -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday, 2013-07-29 at 15:09 -0300, Marco Calistri wrote:
Any comments/instructions on this problem?
Can you hibernate/suspend the machine from the menu? - -- Cheers, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlH3r2IACgkQtTMYHG2NR9WTXgCeN/NpLXYJXZTB8+gSFfdK+I6b o0UAoISxW/7lJp95RcS6saLf+mqA0qO8 =/6E7 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Greg -- Greg Freemyer On Tue, Jul 30, 2013 at 8:19 AM, Carlos E. R. <robin.listas@telefonica.net> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Monday, 2013-07-29 at 15:09 -0300, Marco Calistri wrote:
Any comments/instructions on this problem?
Can you hibernate/suspend the machine from the menu?
Along those lines, do you swap space setup? Lots of people say they no longer setup swap, but to hibernate you have to be able to push all your ram to swap. Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Il 30/07/2013 10:08, Greg Freemyer ha scritto:
Greg -- Greg Freemyer
On Tue, Jul 30, 2013 at 8:19 AM, Carlos E. R. <robin.listas@telefonica.net> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Monday, 2013-07-29 at 15:09 -0300, Marco Calistri wrote:
Any comments/instructions on this problem?
Can you hibernate/suspend the machine from the menu?
Along those lines, do you swap space setup?
Lots of people say they no longer setup swap, but to hibernate you have to be able to push all your ram to swap.
Greg
If I'm not wrong I should have 4G of swap but I can verify this. It is required a minimum amount of swap or just "some swap" in order to hibernate works? Tks. Cheers, -- Marco Calistri (amdturion) opensuse 12.3 (Dartmouth) 64 bit - Kernel 3.7.10-1.4-desktop Gnome 3.6.2 Intel® Core™ i5-2410M CPU @ 2.30GHz × 4 - Intel® Sandybridge Mobile -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, Jul 30, 2013 at 10:07 AM, Marco Calistri <marco.calistri@yahoo.com.br> wrote:
Il 30/07/2013 10:08, Greg Freemyer ha scritto:
Greg -- Greg Freemyer
On Tue, Jul 30, 2013 at 8:19 AM, Carlos E. R. <robin.listas@telefonica.net> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Monday, 2013-07-29 at 15:09 -0300, Marco Calistri wrote:
Any comments/instructions on this problem?
Can you hibernate/suspend the machine from the menu?
Along those lines, do you swap space setup?
Lots of people say they no longer setup swap, but to hibernate you have to be able to push all your ram to swap.
Greg
If I'm not wrong I should have 4G of swap but I can verify this.
It is required a minimum amount of swap or just "some swap" in order to hibernate works?
Tks.
Cheers,
I don't know the precise answer, but at a minimum swap has to be 1x the size of ram. (Or maybe hibernation compresses the data it is writing to swap?) If you're actually using swap just prior to hibernation, then it has to be ram + swap in use. My general rule for laptop's is 1.5x ram and it has been working for me. Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, 2013-07-30 at 14:55 -0400, Greg Freemyer wrote:
It is required a minimum amount of swap or just "some swap" in order to hibernate works?
The exact amount is "enough swap" ;-)
I don't know the precise answer, but at a minimum swap has to be 1x the size of ram. (Or maybe hibernation compresses the data it is writing to swap?)
Yes, there is compression if enabled.
If you're actually using swap just prior to hibernation, then it has to be ram + swap in use.
Correct.
My general rule for laptop's is 1.5x ram and it has been working for me.
I use any value from 1.1*RAM to 12*RAM, because it depends on how much swap is in use already, the size of RAM, and how much of that is in use (cache and buffers are not swapped). By the way, the rule of 2*RAM, is a Windows 3.x rule, because that was the maximum amount it could assign. Linux has no such limits. I have machines that use 1GB of swap with 32MB of RAM - and I have seen a lot of it in use. Of course, the machine crawls in that circumstance, but it works. - -- Cheers, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlH6MpwACgkQtTMYHG2NR9VySQCfXLMPd7qtmt7g5ddlKq18nGRR BYgAn3yX6K/XKyQ6tn+RAAu3GKKf5VLU =pNWL -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
MarcoOn Tuesday, July 30, 2013 11:07:25 AM Calistri wrote:
Il 30/07/2013 10:08, Greg Freemyer ha scritto:
Greg -- Greg Freemyer
On Tue, Jul 30, 2013 at 8:19 AM, Carlos E. R.
<robin.listas@telefonica.net> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Monday, 2013-07-29 at 15:09 -0300, Marco Calistri wrote:
Any comments/instructions on this problem?
Can you hibernate/suspend the machine from the menu?
Along those lines, do you swap space setup?
Lots of people say they no longer setup swap, but to hibernate you have to be able to push all your ram to swap.
Greg
If I'm not wrong I should have 4G of swap but I can verify this.
It is required a minimum amount of swap or just "some swap" in order to hibernate works?
Tks.
Cheers,
Generally the recommended amount is: available swap space = 2 * available RAM space. This because when off, all of your processes virtual memory space in use must be copied somewhere in order to recover its state in a second stage. Note it's recommended: nothing prevents you to have a virtual memory space in use bigger than the recommended. But usually it's a very good trade-off. -- Marco -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Il 30/07/2013 09:19, Carlos E. R. ha scritto:
On Monday, 2013-07-29 at 15:09 -0300, Marco Calistri wrote:
Any comments/instructions on this problem?
Can you hibernate/suspend the machine from the menu?
-- Cheers, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar)
Yes/No, I mean that hibernate process starts, hdd led blinks a lot, screen become blank then system switches into a sort of stand by mode. But if I click on keyboard, move the mouse, systems keeps unresponding. If I click on power button then system restart from the "supposed snapshot" it saved during hibernate, but the screen instead to show the desktop, turns again in a blank state. Finally, only by clicking again on power button to reboot is the solution. Cheers, - -- Marco Calistri (amdturion) opensuse 12.3 (Dartmouth) 64 bit - Kernel 3.7.10-1.4-desktop Gnome 3.6.2 Intel® Core™ i5-2410M CPU @ 2.30GHz × 4 - Intel® Sandybridge Mobile -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlH3x7MACgkQi4zJuA3lyFfpWQCeOiA1GJ4I08uBN7nXQtI8pBCr qR8AnRNHWZzpHBLY7yNTZfOngEOJfchb =lBuD -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Content-ID: <alpine.LNX.2.00.1308011207021.28466@Telcontar.valinor> On Tuesday, 2013-07-30 at 11:03 -0300, Marco Calistri wrote:
Il 30/07/2013 09:19, Carlos E. R. ha scritto:
Can you hibernate/suspend the machine from the menu?
Yes/No,
...
Finally, only by clicking again on power button to reboot is the solution.
Well, your problem is not that the machine hibernates when battery is low, but that you cannot hibernate at all. - -- Cheers, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlH6M2EACgkQtTMYHG2NR9VkQACgjyE93zD/mlbk930dNItKwvOn P6IAniSVt7S1+riGhfjgFj4ypcSEmAMR =2dTE -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (5)
-
Carlos E. R.
-
Greg Freemyer
-
John Andersen
-
Marco Calistri
-
Marco Vittorini Orgeas