- suspend (closing lid) is unreliable with kernel 5.3.7, vanilla XFCE fresh install. Sometimes (details below) closing the lid will not go to suspend, forcing me to either plug back AC power or shut down, I can’t just take a break… There are several reports of this suspend problem, no solution have I found so far while doing my homework.
- Once updated to kernel 5.4.19, closing the lid causes a system freeze, every time, only a hard boot will get life again. I had reported this in F30 already, bugzilla 1791021 (sorry, new user, can’t put more than 2 links)
Doing a web search for Fedora suspend freeze shows this situation is rather widespread. Something got messed up somewhere in 5.4 meseems
- some people blame Nvidia. Not my case, vanilla Intel graphics here.
Actions taken: I had upgraded to F31 to see if this problem had been fixed. Seemed to, until I updated kernel, then freeze again. So a moment ago I just did *sudo dnf remove kernel-core-5.4.19-200.fc31.x86_64 * so that at least I always boot with the old kernel, tired of selecting manually at boot.
But even under 5.3.7, suspend seems to work only early in my session.
I am unsure if running under battery by itself causes it to fail. Under battery it seems to work some, but eventually I seem to do something that causes suspend to no longer work.
- For a fact, mounting an SD card makes it fail.
- It seems that sending something to the printer also has that effect.
- I am unsure if some websites have that effect.
Also, once suspend fails, I can’t do a clean Power-Off. for example, it will go all the way to
Reached target: Power-Off.
systemd-shutdown: Waiting for process: systemd-sleep
printk: shutdown: 8 output lines suppressed due to ratelimiting
then simply sit there until I have to do a hard power off. My dear friend right here uses Windows, and just smirks at me, so embarrassing…
Is there some way to diagnose this systemd-sleep ? That way I could test things and figure out exactly what breaks that. Or what else should I look for? And, more importantly, is there a fix y’all know of? Suspend used to work perfectly (F29?) until some update last year.
other attempts at diagnostic:
- I looked at etc/systemd/sleep.conf, all the lines are commented out.
- sudo systemctl status > system.txt doesn’t say anything about sleep, and is long and I don’t know what to look for.
- this looks promising about the freezing, but I’ve abandoned so far the new kernel https://unix.stackexchange.com/questions/352278/how-to-diagnose-fix-arch-linux-not-waking-up-from-hibernation/385724
for the fun of it, my inxi:
inxi -F -G -M
Host: localhost.localdomain Kernel: 5.3.7-301.fc31.x86_64 x86_64 bits: 64
Desktop: Xfce 4.14.2 Distro: Fedora release 31 (Thirty One)
Type: Laptop System: Hewlett-Packard product: HP EliteBook 2740p v: N/A
Mobo: Hewlett-Packard model: 7007 v: KBC Version 39.36
serial: BIOS: Hewlett-Packard v: 68COU Ver. F.04
ID-1: BAT0 charge: 23.5 Wh condition: 24.4/24.4 Wh (100%)
Topology: Dual Core model: Intel Core i5 M 560 bits: 64 type: MT MCP
L2 cache: 3072 KiB
Speed: 1410 MHz min/max: 1199/2667 MHz Core speeds (MHz): 1: 1414 2: 1288
3: 1453 4: 1447
Device-1: Intel Core Processor Integrated Graphics driver: i915 v: kernel
Display: x11 server: Fedora Project X.org 1.20.6 driver: modesetting
unloaded: fbdev,vesa resolution: 1280x800~60Hz
OpenGL: renderer: Mesa DRI Intel Ironlake Mobile v: 2.1 Mesa 19.2.8
Device-1: Intel 5 Series/3400 Series High Definition Audio
Sound Server: ALSA v: k5.3.7-301.fc31.x86_64
Device-1: Intel 82577LM Gigabit Network driver: e1000e
IF: enp0s25 state: down mac: 1c:c1:de:c2:91:c7
Device-2: Intel Centrino Advanced-N 6200 driver: iwlwifi
IF: wlo1 state: up mac: 18:3d:a2:99:c5:dc
Local Storage: total: 119.24 GiB used: 62.88 GiB (52.7%)
ID-1: /dev/sda vendor: LITE-ON model: LMH-128V2M-11 MSATA 128GB
size: 119.24 GiB
ID-1: / size: 29.40 GiB used: 10.97 GiB (37.3%) fs: ext4 dev: /dev/dm-0
ID-2: /boot size: 975.9 MiB used: 168.8 MiB (17.3%) fs: ext4
ID-3: /home size: 83.70 GiB used: 51.75 GiB (61.8%) fs: ext4
ID-4: swap-1 size: 2.70 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-1
System Temperatures: cpu: 49.0 C mobo: 0.0 C
Fan Speeds (RPM): N/A
Processes: 212 Uptime: 37m Memory: 7.57 GiB used: 1.65 GiB (21.8%)
Shell: bash inxi: 3.0.37