System never resumes hibernation after upgrd jessie->stretch

If none of the more specific forums is the right place to ask

System never resumes hibernation after upgrd jessie->stretch

Postby woowoo » 2015-09-01 15:42

Hello,

I recently upgraded my debian system from jessie to stretch. Before then, I was mostly using hibernation instead of shutting off the laptop, to allow myself to get back faster to work the next day. Since my upgrade, though, it is impossible for me to resume from hibernation: after the normal boot sequence and the passphrase to decrypt my lvm partition, when it has loaded the information from RAM the screen just stays with a blinking "_" (underscore) in the top left corner.
I have hibernate and uswsusp packages installed.
I also installed tuxonice-userui package to do some tests with the hibernate-ram and hibernate-disk commands. While using hibernate-disk (hibernate-ram didn't work, because "s2ram: unknown machine"), my system hibernates correctly, and I saw that during resume it was correctly loading everything from swap and then going back to the "underscore screen", confirming that the resume problem was happening after loading data from swap.
I tried booting using the recovery kernel in grub. For a time it worked, but today I didn't get the chance to make it work. The only solution was for me to boot my kernel by adding the "noresume" option to it, thus forcing it to restart.

I would really appreciate if someone would help me find a solution to that problem!
Please do not hesitate to ask for clarifications or needed log files!

Thanks.
woowoo
 
Posts: 9
Joined: 2015-09-01 15:31

Re: System never resumes hibernation after upgrd jessie->str

Postby woowoo » 2015-09-07 16:54

Still no success in my tryings to resume from hibernation properly.
I think it perhaps has something to do with the gnome update (I was in 3.14 before, and in 3.16 now)
woowoo
 
Posts: 9
Joined: 2015-09-01 15:31

Re: System never resumes hibernation after upgrd jessie->str

Postby GarryRicketson » 2015-09-07 17:17

You do realize "stretch" is not a stable version of Debian, don't you ?
https://wiki.debian.org/DebianTesting
This means you may encounter all sorts of problems, if you are not skilled at diagnosing,and trouble shooting the system, it would better to stick with a stable version.
How did you upgrade ? , what are your sources.lists ? Have you done any searches on known problems with Gnome 3.16 ?
If you are going to use the "testing" version, you should also inform the developers about these kind of problems.
https://lists.debian.org/debian-testing/
User avatar
GarryRicketson
 
Posts: 5872
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: System never resumes hibernation after upgrd jessie->str

Postby woowoo » 2015-09-07 17:27

GarryRicketson wrote:You do realize "stretch" is not a stable version of Debian, don't you ?
https://wiki.debian.org/DebianTesting

Yep.

GarryRicketson wrote:This means you may encounter all sorts of problems, if you are not skilled at diagnosing,and trouble shooting the system, it would better to stick with a stable version.

Well, I don't think that just because I'm having a problem I can't diagnose makes me unskilled at diagnosing and trouble shooting the system. I'm just stuck with this problem, and I thought perhaps would have an helpful hint to make me on the right path.

GarryRicketson wrote:How did you upgrade ? , what are your sources.lists ? Have you done any searches on known problems with Gnome 3.16 ?

Yep. That's why I put multiple things in my first post, as it is usually the first things people do to repair that kind of problem. Well, problems that look like this one, as I didn't find any report of problems being quite like mine (loading correctly the hibernated data, but then being stuck after that with the blinking "_" that appears when gnome starts).

GarryRicketson wrote:If you are going to use the "testing" version, you should also inform the developers about these kind of problems.
https://lists.debian.org/debian-testing/

I'm actually not sure yet about what is the origin of the problem. I don't know if it's because of the update and some settings stuck somewhere, or if it's for some other reason. I'm not even sure yet if it's caused by gnome itself or by some other subsystem in debian. I'm not comfortable making a bug report about something I don't really understand and don't know how to reproduce on another machine. That's why I came here in the first place.
woowoo
 
Posts: 9
Joined: 2015-09-01 15:31

Re: System never resumes hibernation after upgrd jessie->str

Postby golinux » 2015-09-07 17:43

When in doubt, blame systemd. You'll have a pretty good chance of being right!
May the FORK be with you!
User avatar
golinux
 
Posts: 1533
Joined: 2010-12-09 00:56
Location: not a 'buntard!

Re: System never resumes hibernation after upgrd jessie->str

Postby GarryRicketson » 2015-09-07 18:14

Yep. That's why I put multiple things in my first post, as it is usually the first things people do to repair that kind of problem. Well, problems that look like this one, as I didn't find any report of problems being quite like mine (loading correctly the hibernated data, but then being stuck after that with the blinking "_" that appears when gnome starts).

Well with out any details on how you upgraded, what sources you used, etc ..I don't know, and besides, it sounds like you know more about it then me, I do know enough, to use a stable system, and pay attention to what gets upgraded, and what the sources are,

I thought perhaps would have an helpful hint to make me on the right path.

You don't seem to want to tell us exactly how you upgraded, nor what your sources.list
file has in it,..
That's why I put multiple things in my first post,

And in your computer, it appears.
I have hibernate and uswsusp packages installed.
I also installed tuxonice-userui package to do some tests with the hibernate-ram and hibernate-disk commands.

This is why I asked for details on exactly how you upgraded, what your sources.list has in it, where did all the "multiple things" come from ?
How can I give a "helpful hint", when I do not know how you did the upgraded, and what sources you are using,.but any way, you sound like you know so much more about breaking a system, and using a "testing' version, I can not help you, I stick with a stable version, "Wheezy", stay away from Gnome, and my system does not break.
But I guess that is because I don't know what I am doing,
Take the advise, "golinux" offers, just assume it is systemd.
User avatar
GarryRicketson
 
Posts: 5872
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: System never resumes hibernation after upgrd jessie->str

Postby woowoo » 2015-09-07 18:18

GarryRicketson wrote:How did you upgrade ? , what are your sources.lists ?

I realized I didn't answer that part of your questions.
I uprgaded using
Code: Select all
sudo apt update
then
Code: Select all
sudo apt upgrade
then
Code: Select all
sudo apt full-upgrade
. No problem during packages upgrades and all.
My sources.list:
Code: Select all
deb http://ftp.ca.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.ca.debian.org/debian/ stretch main contrib non-free

deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free

deb http://ftp.ca.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://ftp.ca.debian.org/debian/ stretch-updates main contrib non-free

deb http://ftp.ca.debian.org/debian/ jessie-backports main
deb-src http://ftp.ca.debian.org/debian/ jessie-backports main

With also two files in sources.list.d, google-chrome.list:
Code: Select all
deb http://dl.google.com/linux/chrome/deb/ stable main

And for debian multimedia:
Code: Select all
deb ftp://ftp.deb-multimedia.org stretch main non-free


golinux wrote:When in doubt, blame systemd. You'll have a pretty good chance of being right!

That's also part of the things I'm looking at, but that's actually a good advice!
woowoo
 
Posts: 9
Joined: 2015-09-01 15:31

Re: System never resumes hibernation after upgrd jessie->str

Postby woowoo » 2015-09-07 18:24

GarryRicketson wrote: This is why I asked for details on exactly how you upgraded, what your sources.list has in it, where did all the "multiple things" come from ?
How can I give a "helpful hint", when I do not know how you did the upgraded, and what sources you are using,.but any way, you sound like you know so much more about breaking a system, and using a "testing' version, I can not help you, I stick with a stable version, "Wheezy", stay away from Gnome, and my system does not break.
But I guess that is because I don't know what I am doing,
Take the advise, "golinux" offers, just assume it is systemd.


Oh wow. I was actually answering to that question while you answered. It's not that I didn't want to answer, I missed those questions and had to get the data you asked to give you the answer. I never insinuated in any way that you know less than me. Asking a question on a forum is a way to ask the community for help, and when you ask the community for help it's because you've used all your keywords to find the answer by yourself. I just specified that I have sufficient knowledge to be running a testing without problems usually. But even on stable, problems happen. Here, it's on my testing. The fact that I'm using testing vs. stable shouldn't be a weight in the balance to decide to help me or not! But of course, I understand that my problem is thus more complicated than a problem on a stable one, at least as per the testing status of packages I'm using. I appreciate your time to try and help me!
woowoo
 
Posts: 9
Joined: 2015-09-01 15:31

Re: System never resumes hibernation after upgrd jessie->str

Postby GarryRicketson » 2015-09-07 18:55

Code: Select all
 deb http://dl.google.com/linux/chrome/deb/ stable main

Ok, well I don't know, this could be causing some problem, it is for "stable", not testing,
Also these 2,
Code: Select all
 deb http://ftp.ca.debian.org/debian/ jessie-backports main
deb-src http://ftp.ca.debian.org/debian/ jessie-backports main

The rest looks ok, I don't think mixing jessie-backports , with stretch is a good thing.
I really don't know what to say , as far as what to do next, some one else that knows more then I do will need to take it from here,
Asking a question on a forum is a way to ask the community for help, and when you ask the community for help it's because you've used all your keywords to find the answer by yourself.


No problem, yes that is what the forum is here for, ..I had not noticed that it was "stretch", or "testing" at first, and usually I don't even say anything when it is "testing", don't know enough to say, just wanted to make sure if you understood , that what your are using is unpredictable, however there are several members here, familiar with the testing versions, and problems associated with them. Some searches I did, show that Gnome 3.16 is also still some what "unstable",

I recently upgraded my debian system from jessie to stretch. Before then, I was mostly using hibernation instead of shutting off the laptop, to allow myself to get back faster to work the next day.

So I get the impression, everything was working ok, before ? But. anyway. if is not important to you to have a "stable system" , then go for it,..
If you want to get your system back to what it was, hopefully someone can help explain that,..I can't.
User avatar
GarryRicketson
 
Posts: 5872
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: System never resumes hibernation after upgrd jessie->str

Postby woowoo » 2015-09-07 19:16

GarryRicketson wrote:
Code: Select all
 deb http://dl.google.com/linux/chrome/deb/ stable main

Ok, well I don't know, this could be causing some problem, it is for "stable", not testing,

As far as I know, chrome only keeps packages in its "stable" directory, but they're working well for testing too. There's only the google-chrome packages there also, so that wouldn't be a big problem for hibernation status (it was there while on jessie too, even when jessie was the testing version).

GarryRicketson wrote:Also these 2,
Code: Select all
 deb http://ftp.ca.debian.org/debian/ jessie-backports main
deb-src http://ftp.ca.debian.org/debian/ jessie-backports main

The rest looks ok, I don't think mixing jessie-backports , with stretch is a good thing.

For this, you're right. I removed them. It didn't change anything though (I think the packages I had from there were already in greater versions in stretch).

GarryRicketson wrote:So I get the impression, everything was working ok, before ? But. anyway. if is not important to you to have a "stable system" , then go for it,..
If you want to get your system back to what it was, hopefully someone can help explain that,..I can't.

I'm using the testing versions of debian since a few years now, as it provides more up to date packages, which allow to use the last functionalities. I installed jessie on this computer when I got it as jessie was the testing version. Everything was working quite fine at the time for hibernation and hibernation resume. I didn't upgrade to stretch as soon as it went out because I was quite disconnected and didn't see the jessie release as stable as soon as it was done. As you can see in the sources.list I pasted, I'm not using "testing" but I prefer using the actual name of the debian version. It thus allow me to decide "when" I will do that big upgrade. So a couple weeks ago I saw that jessie was actually the stable one now, so I moved to stretch (sed in the file to replace jessie by stretch, then the apt commands I gave earlier).
I don't really want to get back to stable. Actually, my computer is working and usable. I just don't have the hibernation working, and I also have an audio jack problem when the computer get backs from sleep (I reported it in another message on the forum actually). That's the two problems I'm fighting with since a few days. I'd really like to find a solution for my current installation!

By the way, I tried to
Code: Select all
sudo apt install --reinstall systemd-sysv systemd libsystemd0:i386 libsystemd0:amd64 libpam-systemd:amd64
but it didn't change anything. It was worth the try.
woowoo
 
Posts: 9
Joined: 2015-09-01 15:31

Re: System never resumes hibernation after upgrd jessie->str

Postby Head_on_a_Stick » 2015-09-07 19:19

golinux wrote:When in doubt, blame systemd. You'll have a pretty good chance of being right!

*shakes fist* golinux, nooooo!
:P

@OP: You can eliminate the above *theory* by booting your machine with SysVinit instead.
https://wiki.debian.org/FAQsFromDebianU ... _Jessie.3F

You may have to install the sysvinit-core package as well as sysvinit
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12488
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: System never resumes hibernation after upgrd jessie->str

Postby golinux » 2015-09-07 21:08

Head_on_a_Stick wrote:
golinux wrote:When in doubt, blame systemd. You'll have a pretty good chance of being right!

*shakes fist* golinux, nooooo!
:P
Why not? You know how many 'won't fix' bugs there are in systemd (and probably gnome also) . . .

Head_on_a_Stick wrote:@OP: You can eliminate the above *theory* by booting your machine with SysVinit instead.
https://wiki.debian.org/FAQsFromDebianU ... _Jessie.3F

You may have to install the sysvinit-core package as well as sysvinit
Yes, please post the result of this little experiment. :)
May the FORK be with you!
User avatar
golinux
 
Posts: 1533
Joined: 2010-12-09 00:56
Location: not a 'buntard!

Re: System never resumes hibernation after upgrd jessie->str

Postby onetime » 2020-09-12 19:17

I had a problem with similar symptoms, this worked:
https://unix.stackexchange.com/a/410971
In short: add "nokaslr" to your boot line in grub
(edit /etc/default/grub, then run update-grub)
(hibernation seems to be in conflict with Kernel ASLR. This should affect only 32-bit systems)
Be warned that you compromise your system security this way...
onetime
 
Posts: 1
Joined: 2020-09-12 19:07

Re: System never resumes hibernation after upgrd jessie->str

Postby Bloom » 2020-09-13 07:33

I have two desktop systems where resume doesn't work by moving the mouse of tapping the keyboard, it only works by pressing the power button once and short.
User avatar
Bloom
 
Posts: 290
Joined: 2017-11-11 12:23

Re: System never resumes hibernation after upgrd jessie->str

Postby Head_on_a_Stick » 2020-09-15 05:53

onetime wrote:Be warned that you compromise your system security this way...

Not really: https://grsecurity.net/kaslr_an_exercis ... t_security
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12488
Joined: 2014-06-01 17:46
Location: /dev/chair

Next

Return to General Questions

Who is online

Users browsing this forum: No registered users and 11 guests

fashionable