[nmglug] Hibernate failure
Wesley Robbins
wezzels at gmail.com
Sat Mar 12 11:46:48 PST 2022
Not sure the age of your laptop but is a pretty common fix to get the
memory hibernating right.
-
Edit /etc/default/grub and add mem_sleep_default=deep to the default,
i.e.: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash mem_sleep_default=deep"
On Sat, Mar 12, 2022 at 8:35 AM Ted Pomeroy <ted.pome at gmail.com> wrote:
> LeRoy & NMGLugers, 1) I suggest you keep power on overnight. If you
> suspend and power fails your ram image of work is lost. You can try
> hibernate, but there have been issues with Linux and hibernate. Hibernate
> puts the snapshot image of your work on the hard drive, but unless the
> resume is set to resume form the correct location you will have a failure.
> My routine is to suspend during the day, if I go out or take an hour off
> for non-computer work. Over night I switch off after saving work and
> closing all apps. Your LXde is fine. I use Xfce4 or Mate, but the gui
> desktop is not the issue. I have found Mate much easier to manage after
> also finding the "extras" package for it and loading that. However, that
> just gives me a richer gui, did not help with suspend.
> I hope this helps. If not ask more questions. Thank you, Ted P
>
> On Sat, Mar 12, 2022 at 7:21 AM Wayne <Wayne at tradetimer.com> wrote:
>
>>
>> I have often heard that Linus can have problems with hibernation. Can you
>> just 'Suspend' the system instead? That ssem to be less problematical,
>> though even that can be iffy, depending on the laptop.
>>
>>
>> On 3/11/22 8:02 PM, LeRoy Diener wrote:
>> > Hi NMGLUG folks,
>> >
>> > I'm having an issue recently that I hope I can get help with.
>> > It's on my Debian 11 system, updated.
>> > Recently, I've had problems when I leave the laptop overnight.
>> > When I stop, I click on Logout > Suspend, then the screen goes black
>> and I close the lid. I expect that when I open the lid in the morning and
>> enter my password, I should be back where I left off.
>> >
>> > When I've done this recently, it works sometimes.
>> > Other times, it crashes after the batteries run out of power in the
>> middle of the night.
>> > Other times, it works, but I see a message in the morning "None of the
>> screen lock tools ran successfully, the screen will not be locked. Do you
>> still want to suspend the system?"
>> > Other times, it works, but I see a message in the morning
>> "Authentication is required to hibernate the system."
>> >
>> > I have a setting in Power Manager to hibernate when inactive for one
>> hour, so that's what I'm focusing on now.
>> > I found some helpful info in this link
>> https://askubuntu.com/questions/543921/authentication-required-before-suspend
>> > I found the file
>> /usr/share/polkit-1/actions/org.freedesktop.login1.policy
>> > In that file, I found this segment:
>> > <action id="org.freedesktop.login1.hibernate">
>> > <description gettext-domain="systemd">Hibernate the system</description>
>> > <message gettext-domain="systemd">Authentication is required to
>> hibernate the system.</message>
>> > <defaults>
>> > <allow_any>auth_admin_keep</allow_any>
>> > <allow_inactive>auth_admin_keep</allow_inactive>
>> > <allow_active>yes</allow_active>
>> > </defaults>
>> > </action>
>> >
>> > Other info:
>> > I usually have the laptop plugged into an external monitor, and I
>> usually have the power strip (which powers the external monitor and laptop)
>> turned off overnight.
>> >
>> > Any ideas?
>> >
>> > Thanks in advance.
>> > LeRoy
>> >
>> > --
>> >
>> > There is something glorious birthing within all of us. (New for 2021)
>> > I am the Love of God, no matter what.
>> > BSA
>> > LeRoy Diener
>> > 213-LEROYIZ
>> > 213-537-6949
>> > https://leroydiener.com <https://leroydiener.com/>
>> >
>> > _______________________________________________
>> > nmglug mailing list
>> > nmglug at lists.nmglug.org
>> > http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
>> >
>> _______________________________________________
>> nmglug mailing list
>> nmglug at lists.nmglug.org
>> http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
>>
> _______________________________________________
> nmglug mailing list
> nmglug at lists.nmglug.org
> http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nmglug.org/pipermail/nmglug-nmglug.org/attachments/20220312/79ffb443/attachment.html>
More information about the nmglug
mailing list