fail to resume from hibernate

New to Debian (Or Linux in general)? Ask your questions here!

fail to resume from hibernate

Postby uno_wos » 2018-04-13 13:19

Hi,
I'm new in the forum. I've been using Linux since 2007. I'm not an expert nor proffesional.
I've been using Debian since Wheezy. Always with xfce.

Last time I upgrade from Jessie 32bit to Stretch 64bit. Everything work out fine.
The only problem I'd got was RAM. 64 bit consumes much RAM.
My laptop is an old Core 2 Duo T5500, with Nvidia 7400, 2gb ram.
So for me it's not good to waste ram on 64bit. Then I swicht back to 32bit on Stretch.

I used to use nvidia propertary graphics driver. Nouveau for me it's not enough.
The driver I use is nvidia-legacy-304xx-driver (304.137-5~deb9u1).

Everything is fine, it suspends, but not resume from hibernate. I think it is an issue with linux-kernel 4.9 32 bit (coz 64bit hibernation works fine).

Here some hints in order you can help me out.

lsb_release -a:
Code: Select all
No LSB modules are available.
Distributor ID:    Debian
Description:    Debian GNU/Linux 9.4 (stretch)
Release:    9.4
Codename:    stretch



journalctl -b -1 -p err
Code: Select all
Specifying boot ID has no effect, no persistent journal was found



# journalctl -b -p err
Code: Select all
-- Logs begin at Fri 2018-03-30 16:23:54 CEST, end at Fri 2018-03-30 16:25:42 CEST. --
mar 30 16:23:54 debian-vaio kernel: sd 4:0:0:0: [sdb] No Caching mode page found
mar 30 16:23:54 debian-vaio kernel: sd 4:0:0:0: [sdb] Assuming drive cache: write through
mar 30 16:24:08 debian-vaio avahi-daemon[472]: chroot.c: open() failed: No such file or directory
mar 30 16:24:20 debian-vaio kernel: iwl3945 0000:06:00.0: Error sending C_RXON: time out after 500ms.
mar 30 16:24:20 debian-vaio kernel: iwl3945 0000:06:00.0: Error setting new configuration (-110).
mar 30 16:24:20 debian-vaio kernel: iwl3945 0000:06:00.0: Error sending C_RXON: time out after 500ms.
mar 30 16:24:20 debian-vaio kernel: iwl3945 0000:06:00.0: Error setting new configuration (-110).
mar 30 16:24:43 debian-vaio /hp-systray[993]: hp-systray[993]: error: option -s not recognized
mar 30 16:24:47 debian-vaio pulseaudio[1153]: [pulseaudio] pid.c: Daemon already running.



# lspci -k
Code: Select all
[...]
01:00.0 VGA compatible controller: NVIDIA Corporation G72M [GeForce Go 7400] (rev a1)
   Subsystem: Sony Corporation G72M [GeForce Go 7400]
   Kernel driver in use: nvidia
   Kernel modules: nvidia
[...]



#/var/log/kern.log
Code: Select all
Mar 30 16:21:48 debian-vaio kernel: [10813.138231] wlp6s0: deauthenticating from 02:08:22:a8:a2:00 by local choice (Reason: 3=DEAUTH_LEAVING)
Mar 30 16:21:48 debian-vaio kernel: [10813.249379] IPv6: ADDRCONF(NETDEV_UP): wlp6s0: link is not ready
Mar 30 16:21:48 debian-vaio kernel: [10813.459528] PM: Hibernation mode set to 'platform'
Mar 30 16:21:49 debian-vaio kernel: [10814.129867] (NULL device *): firmware: direct-loading firmware iwlwifi-3945-2.ucode
Mar 30 16:24:06 debian-vaio kernel: [    0.000000] Linux version 4.9.0-6-686 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) ) #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02)
Mar 30 16:24:06 debian-vaio kernel: [    0.000000] x86/fpu: Legacy x87 FPU detected.
Mar 30 16:24:06 debian-vaio kernel: [    0.000000] x86/fpu: Using 'eager' FPU context switches.
Mar 30 16:24:06 debian-vaio kernel: [    0.000000] e820: BIOS-provided physical RAM map:
Mar 30 16:24:06 debian-vaio kernel: [    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009f3ff] usable
...[edited]



# cat /sys/power/disk
Code: Select all
[platform] shutdown reboot suspend test_resume



# systemctl suspend
# journalctl -b -u systemd-suspend
Code: Select all
-- Logs begin at Mon 2018-04-02 22:07:11 CEST, end at Mon 2018-04-02 22:10:33 CEST. --
abr 02 22:10:11 debian-vaio systemd[1]: Starting Suspend...
abr 02 22:10:12 debian-vaio systemd-sleep[1518]: Suspending system...
abr 02 22:10:22 debian-vaio systemd-sleep[1518]: System resumed.
abr 02 22:10:23 debian-vaio systemd-sleep[1518]: /dev/sda:
abr 02 22:10:23 debian-vaio systemd-sleep[1518]:  setting Advanced Power Management level to 0xfe (254)
abr 02 22:10:23 debian-vaio systemd-sleep[1518]:  APM_level        = off
abr 02 22:10:23 debian-vaio systemd[1]: Started Suspend.

suspend is OK


# systemctl hybrid-sleep
#journalctl -b -u systemd-hybrid-sleep
Code: Select all
-- No entries --

hibryd sleep FAILs


# systemctl hibernate
# journalctl -b -u systemd-hibernate
Code: Select all
-- No entries --

Hibernate FAILs. Message something like "suspend console"


pm-hibernate doesn't work.


/etc/initramfs-tools/config.d/resume it's ok


update nvidia driver not possible
stretch nvidia-legacy-304xx-driver (304.137-5~deb9u1)
stretch-backports nvidia-legacy-304xx-driver (304.137-5~bpo9+1)
buster nvidia-legacy-304xx-driver (304.137-5)
sid nvidia-legacy-304xx-driver (304.137-5)


something similar is here:
https://unix.stackexchange.com/question ... n-9/378078


I'm running out solutions... Any help? Thanks!! :D
uno_wos
 
Posts: 7
Joined: 2018-04-13 11:44

Re: fail to resume from hibernate

Postby None1975 » 2018-04-13 13:30

You upgrade from 32bit Debian Jessie to Stretch 64bit? From 32bit to 64bit?
User avatar
None1975
 
Posts: 427
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: fail to resume from hibernate

Postby uno_wos » 2018-04-13 13:40

No.
Format & new install.
Sorry for mislead.
Also format & new install from stretch 64 to 32.
uno_wos
 
Posts: 7
Joined: 2018-04-13 11:44

Re: fail to resume from hibernate

Postby uno_wos » 2018-04-16 14:53

Ey! :D
Any clues on this issue?

Cheers!
uno_wos
 
Posts: 7
Joined: 2018-04-13 11:44

Re: fail to resume from hibernate

Postby stevepusser » 2018-04-16 16:57

Does it work with the nouveau driver? Have you tried another kernel, such as one from stretch-backports?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.10, Pale Moon 27.9.1, Enlightenment 0.22, Calligra 3.1, VLC 3.0.2, Firefox 60.0, Krita 4.0.3
User avatar
stevepusser
 
Posts: 9531
Joined: 2009-10-06 05:53

Re: fail to resume from hibernate

Postby uno_wos » 2018-04-18 11:49

mmm I dont wish to move back to nouveau.
If I do it on the purpose on finding out what it is causing the problem, whats the best way to do it?
I say this 'cause this legacy driver 304, change the way it is installed in debian stretch.
(In jessie I had to do an xconfig file. Now it does not requiere it).

And, with kernel 4.15 from stretch-backports the problem still is there...
uno_wos
 
Posts: 7
Joined: 2018-04-13 11:44

Re: fail to resume from hibernate

Postby Head_on_a_Stick » 2018-04-18 17:02

uno_wos wrote:whats the best way to do it?

The Debian wiki has instructions for that:

https://wiki.debian.org/NvidiaGraphicsD ... of_failure
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 7455
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: fail to resume from hibernate

Postby stevepusser » 2018-04-18 17:16

Now I'm curious to see if you have the same problem on 32-bit MX Linux to see if we could fix it on our platform, but I understand if you would like to stick with straight Debian.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.10, Pale Moon 27.9.1, Enlightenment 0.22, Calligra 3.1, VLC 3.0.2, Firefox 60.0, Krita 4.0.3
User avatar
stevepusser
 
Posts: 9531
Joined: 2009-10-06 05:53

Re: fail to resume from hibernate

Postby pylkko » 2018-04-19 07:58

I am curious to know if
Code: Select all
systemctl hibernate
works? Because you said that hybrid sleep does not, but what about pure suspend to disc (i.e hibernate) and return. Also, you say that there are no log entries aftrerwards. But are you using persistent journalctl? Or what log are you using to get the snippets?

Also, maybe you should just move to 64-bit or nouveau anyway, because NVIDIA has already announced the drop of support for all 32-bit x86 systems starting April 2018:
http://nvidia.custhelp.com/app/answers/ ... a_id/4604/

Also consider the fact that you might be able to get used 2 GB sticks for that device for fairly cheap and upgrade to 4 GB RAM.
User avatar
pylkko
 
Posts: 1294
Joined: 2014-11-06 19:02

Re: fail to resume from hibernate

Postby uno_wos » 2018-04-20 07:41

Hi,
thanks for answering.
In the first post I wrote:
# systemctl hibernate
# journalctl -b -u systemd-hibernate
Código: Seleccionar todo
-- No entries --
Hibernate FAILs. Message something like "suspend console"


I dont use persistence journalctl, but if I receive a guide how to do it I will. :D

Move to 64 it's a waste on resources in this old machine.
Move to nouveau doesn't give as much fps as nvidia blob.
Upgrade to 4gb it's not possible. Motherboard chipset doesn't allow more than 2gb.
I know nvidia drops support. But this version 304.137 it's supported by 4.9 linux kernel.

So, what can I do?
I really appreciate your help! 8)
uno_wos
 
Posts: 7
Joined: 2018-04-13 11:44

Re: fail to resume from hibernate

Postby uno_wos » 2018-05-14 18:44

Hey! Any new clue? Anything new to try?
uno_wos
 
Posts: 7
Joined: 2018-04-13 11:44

Re: fail to resume from hibernate

Postby Head_on_a_Stick » 2018-05-15 05:14

uno_wos wrote:Move to nouveau doesn't give as much fps as nvidia blob

Well that's a shame because I can pretty much guarantee that switching to nouveau will fix this problem.

Debian has no official support for the NVIDIA binary drivers, do you understand?

Go back to Ubuntu :mrgreen:
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 7455
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: fail to resume from hibernate

Postby nameispalmer » 2018-05-18 06:34

To be frank, the specifics of your laptop seem to be pretty close to the bare minimum, so you wouldn't have your best experience on 64-bit Strecth
nameispalmer
 
Posts: 4
Joined: 2018-05-17 06:35

Re: fail to resume from hibernate

Postby uno_wos » 2018-05-18 08:44

I know. My laptop is quite quite old.
Even Nvidia is dropping support (either 32 or 64 architecture) for that graphic card.
The kernel also drops support from that nvidia blob after 4.9 kernel.
So, yeah, I know. That's why i'm struggling with programmed obsolescence.
Im thinking, when I can have some time, to try to install 3.16 kernel from jessie, to see what happens.
BTW we will continue without hibernationg but enjoying my favourite desktop and distro.

For the one who said this:
Debian has no official support for the NVIDIA binary drivers, do you understand?
Go back to Ubuntu :mrgreen:

Think something possitive, encouriging and over all, with understanding. I've been using Debian for 7 years. So, How can you say something as "go back to ubuntu"?
"wisdom is proved righteous by its works"
uno_wos
 
Posts: 7
Joined: 2018-04-13 11:44

Re: fail to resume from hibernate

Postby Head_on_a_Stick » 2018-05-18 18:48

uno_wos wrote:How can you say something as "go back to ubuntu"?

It's my catchphrase, the audience would be disappointed if I didn't use it :mrgreen:
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 7455
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable