[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hibernate in stretch



On Thursday, 27 July 2017 00:05:08 CEST Cindy-Sue Causey wrote:
> What I'm remembering is that I would
> close the lid outside, unplug it, bring it inside, plug it back in,
> and open the lid hoping it would wake up as we expect = right where I
> left off out on the porch.
> 
> Quite a few times it did NOT wake up normally. It woke up in the way
> I'm grasping is being described above. It would suddenly, *partially*
> reboot without intervention from me.
> 
> After it went through what appeared to be a normal complete boot, I'd
> then *unexpectedly* end up back at the various *still open* windows
> I'd been using on the porch a few minutes before..

This seems normal when the system recovers from disc. Most likely you had set 
that the system should hibernate when the lid is closed.

> It was VERY nice that at least it did that. It was a curiosity,
> though, that it appeared to go through a "real reboot" where
> expectations are that memory is wiped and everything is gone, zapped.
> But instead of the memory (cache? sorry..) being wiped clean,
> everything I had been working on pulled up exactly as I had left it
> open only minutes before..

This happens because before suspend all the content in RAM is saved 
persistently to disc, specifically to the swap partition. When you tell it to 
recover (e.g. when you open the lid), the system reboots and reads that saved 
image from the swap partition, restoring your previous session.

> Oh, and I would, yes, get the login screen just before it would open
> on up into the previous session that theoretically maybe should not
> have been there.

Again, I think this is also normal. It wouldn't be safe if the user weren't 
asked the password, would it?
-- 
⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁    Sent from my brain using neurons fueled by glucose.
⢿⡄⠘⠷⠚⠋⠀ 
⠈⠳⣄


Reply to: