Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

fail to resume from hibernate

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
uno_wos
Posts: 7
Joined: 2018-04-13 11:44

fail to resume from hibernate

#1 Post by uno_wos »

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

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1388
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 65 times

Re: fail to resume from hibernate

#2 Post by None1975 »

You upgrade from 32bit Debian Jessie to Stretch 64bit? From 32bit to 64bit?
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

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

Re: fail to resume from hibernate

#3 Post by uno_wos »

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

#4 Post by uno_wos »

Ey! :D
Any clues on this issue?

Cheers!

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: fail to resume from hibernate

#5 Post by stevepusser »

Does it work with the nouveau driver? Have you tried another kernel, such as one from stretch-backports?
MX Linux packager and developer

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

Re: fail to resume from hibernate

#6 Post by uno_wos »

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...

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: fail to resume from hibernate

#7 Post by Head_on_a_Stick »

uno_wos wrote:whats the best way to do it?
The Debian wiki has instructions for that:

https://wiki.debian.org/NvidiaGraphicsD ... of_failure
deadbang

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: fail to resume from hibernate

#8 Post by stevepusser »

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.
MX Linux packager and developer

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: fail to resume from hibernate

#9 Post by pylkko »

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.

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

Re: fail to resume from hibernate

#10 Post by uno_wos »

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

#11 Post by uno_wos »

Hey! Any new clue? Anything new to try?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: fail to resume from hibernate

#12 Post by Head_on_a_Stick »

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:
deadbang

nameispalmer
Posts: 3
Joined: 2018-05-17 06:35

Re: fail to resume from hibernate

#13 Post by nameispalmer »

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

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

Re: fail to resume from hibernate

#14 Post by uno_wos »

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"

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: fail to resume from hibernate

#15 Post by Head_on_a_Stick »

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:
deadbang

Post Reply