[solved] Hibernate no longer working after Update Pack 4

Archived topics about LMDE 1 and LMDE 2
Locked
ddurdle
Level 3
Level 3
Posts: 153
Joined: Sat Dec 17, 2011 10:03 am

[solved] Hibernate no longer working after Update Pack 4

Post by ddurdle »

I updated to Update Pack 4 last night on LMDE on my Thinkpad.

I've noticed that Fn + F12 no longer hibernates the system. It looks like it is "trying" to trigger a hibernate, because, in MATE, I can see the wireless disconnect, but then nothing happens, and the wireless starts to try to reconnect. In Gnome-classic, it blanks the screen for a second and then brings up a locked screen password entry box.

If I run sudo hibernate from a command prompt, it works.

Hibernate using Fn + F12 is critical as I use it everyday. It was working just fine before the update pack 4.

Any ideas how to troubleshoot?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
ddurdle
Level 3
Level 3
Posts: 153
Joined: Sat Dec 17, 2011 10:03 am

Re: Hibernate no longer working after Update Pack 4

Post by ddurdle »

I noticed the same is true if i set the laptop to hibernate with lid close -- when I close the lid, all that happens is that I see the network go down and then back up. Nothing in the logs to explain either:


In pm-powersave.log, this is what I see shows up:

Running hook /usr/lib/pm-utils/power.d/disable_wol false:
Setting Wake On Lan for eth3 to enable...Done.
Setting Wake On Lan for wlan2 to enable...Done.

/usr/lib/pm-utils/power.d/disable_wol false: success.
Running hook /usr/lib/pm-utils/power.d/intel-audio-powersave false:
Setting power savings for snd_hda_intel to 0...Done.

/usr/lib/pm-utils/power.d/intel-audio-powersave false: success.
Running hook /usr/lib/pm-utils/power.d/laptop-mode false:
Laptop mode disabled.

/usr/lib/pm-utils/power.d/laptop-mode false: success.
Running hook /usr/lib/pm-utils/power.d/pci_devices false:
Setting Host Bridge 0000:00:00.0 to on
Setting Ethernet device 0000:00:19.0 to on
Setting Audio device 0000:00:1b.0 to on
Setting Wireless device 0000:03:00.0 to on
Setting SD card reader device 0000:05:00.2 to on

/usr/lib/pm-utils/power.d/pci_devices false: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:

/usr/lib/pm-utils/power.d/pcie_aspm false: success.
Running hook /usr/lib/pm-utils/power.d/sata_alpm false:
Setting SATA ALPM on host0 to max_performance...Done.
Setting SATA ALPM on host1 to max_performance...Done.
Setting SATA ALPM on host2 to max_performance...Done.

/usr/lib/pm-utils/power.d/sata_alpm false: success.
Running hook /usr/lib/pm-utils/power.d/sched-powersave false:
**sched policy powersave OFF

/usr/lib/pm-utils/power.d/sched-powersave false: success.
Running hook /usr/lib/pm-utils/power.d/usb_bluetooth false:

/usr/lib/pm-utils/power.d/usb_bluetooth false: success.
Running hook /usr/lib/pm-utils/power.d/wireless false:

/usr/lib/pm-utils/power.d/wireless false: success.
Running hook /usr/lib/pm-utils/power.d/xfs_buffer false:

/usr/lib/pm-utils/power.d/xfs_buffer false: not applicable.
Running hook /usr/lib/pm-utils/power.d/disable_wol false:
Setting Wake On Lan for eth3 to enable...Done.
Setting Wake On Lan for wlan2 to enable...Done.

/usr/lib/pm-utils/power.d/disable_wol false: success.
Running hook /usr/lib/pm-utils/power.d/intel-audio-powersave false:
Setting power savings for snd_hda_intel to 0...Done.

/usr/lib/pm-utils/power.d/intel-audio-powersave false: success.
Running hook /usr/lib/pm-utils/power.d/laptop-mode false:
Laptop mode disabled.

/usr/lib/pm-utils/power.d/laptop-mode false: success.
Running hook /usr/lib/pm-utils/power.d/pci_devices false:
Setting Host Bridge 0000:00:00.0 to on
Setting Ethernet device 0000:00:19.0 to on
Setting Audio device 0000:00:1b.0 to on
Setting Wireless device 0000:03:00.0 to on
Setting SD card reader device 0000:05:00.2 to on

/usr/lib/pm-utils/power.d/pci_devices false: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:

/usr/lib/pm-utils/power.d/pcie_aspm false: success.
Running hook /usr/lib/pm-utils/power.d/sata_alpm false:
Setting SATA ALPM on host0 to max_performance...Done.
Setting SATA ALPM on host1 to max_performance...Done.
Setting SATA ALPM on host2 to max_performance...Done.

/usr/lib/pm-utils/power.d/sata_alpm false: success.
Running hook /usr/lib/pm-utils/power.d/sched-powersave false:
**sched policy powersave OFF

/usr/lib/pm-utils/power.d/sched-powersave false: success.
Running hook /usr/lib/pm-utils/power.d/usb_bluetooth false:

/usr/lib/pm-utils/power.d/usb_bluetooth false: success.
Running hook /usr/lib/pm-utils/power.d/wireless false:

/usr/lib/pm-utils/power.d/wireless false: success.
Running hook /usr/lib/pm-utils/power.d/xfs_buffer false:

/usr/lib/pm-utils/power.d/xfs_buffer false: not applicable.

In dmesg:

userif-3: sent link down event.
userif-3: sent link up event.
wlan2: no IPv6 routers present
userif-3: sent link down event.
userif-3: sent link up event.
wlan2: deauthenticating from 00:90:d0:e7:a4:98 by local choice (reason=3)
wlan2: moving STA 00:90:d0:e7:a4:98 to state 2
wlan2: moving STA 00:90:d0:e7:a4:98 to state 1
wlan2: moving STA 00:90:d0:e7:a4:98 to state 0
cfg80211: Calling CRDA to update world regulatory domain
bridge-wlan2: disabling the bridge
bridge-wlan2: down
bridge-wlan2: detached
cfg80211: World regulatory domain updated:
cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
userif-3: sent link down event.
userif-3: sent link up event.
EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro,user_xattr,barrier=1,data=ordered,commit=360
e1000e 0000:00:19.0: irq 42 for MSI/MSI-X
e1000e 0000:00:19.0: irq 42 for MSI/MSI-X
ADDRCONF(NETDEV_UP): eth3: link is not ready
iwlwifi 0000:03:00.0: L1 Enabled; Disabling L0S
iwlwifi 0000:03:00.0: Radio type=0x1-0x3-0x1
ADDRCONF(NETDEV_UP): wlan2: link is not ready
wlan2: authenticate with 00:90:d0:e7:a4:98 (try 1)
wlan2: authenticated
wlan2: associate with 00:90:d0:e7:a4:98 (try 1)
wlan2: RX AssocResp from 00:90:d0:e7:a4:98 (capab=0x411 status=0 aid=1)
wlan2: associated
wlan2: moving STA 00:90:d0:e7:a4:98 to state 1
wlan2: moving STA 00:90:d0:e7:a4:98 to state 2
ADDRCONF(NETDEV_CHANGE): wlan2: link becomes ready
wlan2: moving STA 00:90:d0:e7:a4:98 to state 3
/dev/vmnet: open called by PID 3265 (vmnet-bridge)
/dev/vmnet: hub 0 does not exist, allocating memory.
/dev/vmnet: port on hub 0 successfully opened
bridge-wlan2: device is wireless, enabling SMAC
bridge-wlan2: up
bridge-wlan2: attached
userif-3: sent link down event.
userif-3: sent link up event.
wlan2: no IPv6 routers present
userif-3: sent link down event.
userif-3: sent link up event.
ddurdle
Level 3
Level 3
Posts: 153
Joined: Sat Dec 17, 2011 10:03 am

Re: Hibernate no longer working after Update Pack 4

Post by ddurdle »

acpitool -S works to hibernate as well.

I have no idea how to track down what the FN + F12 or the "hibernate" on lid close events are getting triggered.

Obviously hibernate in general works but the "hibernate" getting triggered by FN + F12 or lid close are "trying" to trigger some other kind of hibernate -- a hibernate that starts but suddenly stops after the wifi is put down, at which time wifi starts reconnecting again, as if coming out of hibernation.

Everything worked prior to update pack 4.

And I don't think there is any merit restoring back to update pack 3 and then trying the upgrade again, since there were no outstanding errors or issues with said upgrade.
ddurdle
Level 3
Level 3
Posts: 153
Joined: Sat Dec 17, 2011 10:03 am

Re: Hibernate no longer working after Update Pack 4

Post by ddurdle »

Fixed.

I started looking through the scripts /usr/lib/pm-utils/sleep.d/ and /etc/pm/sleep.d/, trying decipher how far it really makes it through the sleep scripts before the hibernate bails. It was obviously executing 55NetworkManager but obviously not making it to 95led.

I have two sleep scripts that applications installed in /etc/pm/sleep.d/. The first one I know runs because I can see it touching files. I checked the second one by manually running it, and noticed that it must be failing because it uses fusermount, and it returns an error that it cannot be found. If I removed this script, hibernate worked again.

Turns out fusermount moved from /usr/bin/fusermount to /bin/fusermount with UP4 upgrade.

It would be nice if some error/log file somewhere actually outputted that it was aborting hibernation because sleep script XYZ returned an error condition.
Locked

Return to “LMDE Archive”