Hello, I’ve been struggling with waking up from suspend for about a year now and I partially fixed it in this thread:
Black screen on laptop after waking up from a suspended session
What I fixed after that topic is suspending using systemctl suspend
(hibernation works fine as well). But if I suspend the laptop by closing the lid, after I open it up I get a black screen and a white underline cursor in the top left corner. Hitting caps lock toggles the LED indicator but that’s it, I cannot even switch to another tty and have to hard shutdown.
Here is the output of journalctl -b-1 -p3 --no-hostname --no-pager
(the timestamp is from the time of suspending):
bře 31 15:48:14 kernel: x86/cpu: SGX disabled by BIOS.
bře 31 15:48:14 kernel: Spectre V2 : WARNING: Unprivileged eBPF is enabled with eIBRS on, data leaks possible via Spectre v2 BHB attacks!
bře 31 15:48:14 kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.I2C2.TPD0], AE_NOT_FOUND (20210930/dswload2-162)
bře 31 15:48:14 kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210930/psobject-220)
bře 31 15:48:14 kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.I2C3.TPL1], AE_NOT_FOUND (20210930/dswload2-162)
bře 31 15:48:14 kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210930/psobject-220)
bře 31 15:48:15 kernel:
bře 31 15:48:23 nmbd[821]: [2022/03/31 15:48:23.121894, 0] ../../source3/nmbd/nmbd.c:901(main)
bře 31 15:48:23 nmbd[821]: nmbd version 4.15.5 started.
bře 31 15:48:23 nmbd[821]: Copyright Andrew Tridgell and the Samba Team 1992-2021
bře 31 15:48:23 nmbd[821]: [2022/03/31 15:48:23.123693, 0] ../../lib/util/become_daemon.c:150(daemon_status)
bře 31 15:48:23 nmbd[821]: daemon_status: daemon 'nmbd' : No local IPv4 non-loopback interfaces available, waiting for interface ...
bře 31 15:48:23 nmbd[821]: [2022/03/31 15:48:23.123922, 0] ../../source3/nmbd/nmbd_subnetdb.c:252(create_subnets)
bře 31 15:48:23 nmbd[821]: NOTE: NetBIOS name resolution is not supported for Internet Protocol Version 6 (IPv6).
bře 31 15:48:30 kded5[896]: org.kde.plasma.dataengine.geolocation: error: "Unknown host location.services.mozilla.com: Host not found"
bře 31 15:48:30 kded5[896]: org.kde.plasma.dataengine.geolocation: error: "Unknown host location.services.mozilla.com: Host not found"
bře 31 15:48:36 smbd[1285]: [2022/03/31 15:48:36.433971, 0] ../../source3/smbd/server.c:1734(main)
bře 31 15:48:36 smbd[1285]: smbd version 4.15.5 started.
bře 31 15:48:36 smbd[1285]: Copyright Andrew Tridgell and the Samba Team 1992-2021
bře 31 15:48:47 nmbd[821]: [2022/03/31 15:48:47.401520, 0] ../../source3/libsmb/nmblib.c:923(send_udp)
bře 31 15:48:47 nmbd[821]: Packet send failed to 10.0.0.255(138) ERRNO=Network is unreachable
bře 31 15:48:57 nmbd[821]: [2022/03/31 15:48:57.686510, 0] ../../source3/libsmb/nmblib.c:923(send_udp)
bře 31 15:48:57 nmbd[821]: Packet send failed to 10.0.0.255(138) ERRNO=Network is unreachable
bře 31 15:48:57 systemd-udevd[1517]: controlC1: /usr/lib/udev/rules.d/78-sound-card.rules:5 Failed to write ATTR{/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/controlC1/../uevent}, ignoring: No such file or directory
bře 31 15:48:58 nmbd[821]: [2022/03/31 15:48:58.686891, 0] ../../source3/libsmb/nmblib.c:923(send_udp)
bře 31 15:48:58 nmbd[821]: Packet send failed to 10.0.0.255(138) ERRNO=Network is unreachable
bře 31 15:48:58 nmbd[821]: [2022/03/31 15:48:58.686965, 0] ../../source3/libsmb/nmblib.c:923(send_udp)
bře 31 15:48:58 nmbd[821]: Packet send failed to 10.0.0.255(137) ERRNO=Network is unreachable
bře 31 15:48:58 nmbd[821]: [2022/03/31 15:48:58.686975, 0] ../../source3/nmbd/nmbd_packets.c:180(send_netbios_packet)
bře 31 15:48:58 nmbd[821]: send_netbios_packet: send_packet() to IP 10.0.0.255 port 137 failed
bře 31 15:48:58 nmbd[821]: [2022/03/31 15:48:58.686983, 0] ../../source3/nmbd/nmbd_nameregister.c:582(register_name)
bře 31 15:48:58 nmbd[821]: [82B blob data]
bře 31 15:49:23 systemd-udevd[1788]: controlC1: /usr/lib/udev/rules.d/78-sound-card.rules:5 Failed to write ATTR{/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/controlC1/../uevent}, ignoring: No such file or directory
bře 31 15:49:51 systemd-udevd[2068]: controlC1: /usr/lib/udev/rules.d/78-sound-card.rules:5 Failed to write ATTR{/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/controlC1/../uevent}, ignoring: No such file or directory
bře 31 15:50:24 systemd-udevd[2354]: controlC1: /usr/lib/udev/rules.d/78-sound-card.rules:5 Failed to write ATTR{/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/controlC1/../uevent}, ignoring: No such file or directory
bře 31 15:50:40 systemd-udevd[2621]: controlC1: /usr/lib/udev/rules.d/78-sound-card.rules:5 Failed to write ATTR{/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/controlC1/../uevent}, ignoring: No such file or directory
bře 31 15:53:56 kernel: ACPI Error: No installed handler for fixed event - PowerButton (2), disabling (20210930/evevent-255)
Sometimes I get a slightly different log, like this one. The last times are after trying hybrid sleep, which doesn’t work either:
bře 31 19:32:31 kernel: x86/cpu: SGX disabled by BIOS.
bře 31 19:32:31 kernel: Spectre V2 : WARNING: Unprivileged eBPF is enabled with eIBRS on, data leaks possible via Spectre v2 BHB attacks!
bře 31 19:32:31 kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.I2C2.TPD0], AE_NOT_FOUND (20210930/dswload2-162)
bře 31 19:32:31 kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210930/psobject-220)
bře 31 19:32:31 kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.I2C3.TPL1], AE_NOT_FOUND (20210930/dswload2-162)
bře 31 19:32:31 kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210930/psobject-220)
bře 31 19:32:32 kernel:
bře 31 19:32:32 systemd-udevd[319]: could not read from '/sys/module/pcc_cpufreq/initstate': No such device
bře 31 19:32:39 nmbd[800]: [2022/03/31 19:32:39.685247, 0] ../../source3/nmbd/nmbd.c:901(main)
bře 31 19:32:39 nmbd[800]: nmbd version 4.15.5 started.
bře 31 19:32:39 nmbd[800]: Copyright Andrew Tridgell and the Samba Team 1992-2021
bře 31 19:32:39 nmbd[800]: [2022/03/31 19:32:39.688687, 0] ../../lib/util/become_daemon.c:150(daemon_status)
bře 31 19:32:39 nmbd[800]: daemon_status: daemon 'nmbd' : No local IPv4 non-loopback interfaces available, waiting for interface ...
bře 31 19:32:39 nmbd[800]: [2022/03/31 19:32:39.688979, 0] ../../source3/nmbd/nmbd_subnetdb.c:252(create_subnets)
bře 31 19:32:39 nmbd[800]: NOTE: NetBIOS name resolution is not supported for Internet Protocol Version 6 (IPv6).
bře 31 19:32:43 kded5[874]: org.kde.plasma.dataengine.geolocation: error: "Unknown host location.services.mozilla.com: Host not found"
bře 31 19:32:43 kded5[874]: org.kde.plasma.dataengine.geolocation: error: "Unknown host location.services.mozilla.com: Host not found"
bře 31 19:32:45 smbd[1226]: [2022/03/31 19:32:45.286336, 0] ../../source3/smbd/server.c:1734(main)
bře 31 19:32:45 smbd[1226]: smbd version 4.15.5 started.
bře 31 19:32:45 smbd[1226]: Copyright Andrew Tridgell and the Samba Team 1992-2021
bře 31 19:33:09 nmbd[800]: [2022/03/31 19:33:09.892367, 0] ../../source3/nmbd/nmbd_become_lmb.c:398(become_local_master_stage2)
bře 31 19:33:09 nmbd[800]: *****
bře 31 19:33:09 nmbd[800]:
bře 31 19:33:09 nmbd[800]: Samba name server HYPERION-NB is now a local master browser for workgroup WORKGROUP on subnet 192.168.1.128
bře 31 19:33:09 nmbd[800]:
bře 31 19:33:09 nmbd[800]: *****
bře 31 19:47:12 dolphin[2720]: inotify_add_watch(/lost+found) failed: (Permission denied)
bře 31 19:47:13 dolphin[2720]: inotify_add_watch(/etc/sudoers.d) failed: (Permission denied)
bře 31 19:58:16 systemd-udevd[3471]: controlC1: /usr/lib/udev/rules.d/78-sound-card.rules:5 Failed to write ATTR{/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/controlC1/../uevent}, ignoring: No such file or directory
And one more log after trying hybrid sleep, also different from the first two:
bře 31 20:08:24 kernel: x86/cpu: SGX disabled by BIOS.
bře 31 20:08:24 kernel: Spectre V2 : WARNING: Unprivileged eBPF is enabled with eIBRS on, data leaks possible via Spectre v2 BHB attacks!
bře 31 20:08:24 kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.I2C2.TPD0], AE_NOT_FOUND (20210930/dswload2-162)
bře 31 20:08:24 kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210930/psobject-220)
bře 31 20:08:24 kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.I2C3.TPL1], AE_NOT_FOUND (20210930/dswload2-162)
bře 31 20:08:24 kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210930/psobject-220)
bře 31 20:08:24 kernel:
bře 31 20:08:32 nmbd[822]: [2022/03/31 20:08:32.273044, 0] ../../source3/nmbd/nmbd.c:901(main)
bře 31 20:08:32 nmbd[822]: nmbd version 4.15.5 started.
bře 31 20:08:32 nmbd[822]: Copyright Andrew Tridgell and the Samba Team 1992-2021
bře 31 20:08:32 nmbd[822]: [2022/03/31 20:08:32.274949, 0] ../../lib/util/become_daemon.c:150(daemon_status)
bře 31 20:08:32 nmbd[822]: daemon_status: daemon 'nmbd' : No local IPv4 non-loopback interfaces available, waiting for interface ...
bře 31 20:08:32 nmbd[822]: [2022/03/31 20:08:32.275164, 0] ../../source3/nmbd/nmbd_subnetdb.c:252(create_subnets)
bře 31 20:08:32 nmbd[822]: NOTE: NetBIOS name resolution is not supported for Internet Protocol Version 6 (IPv6).
bře 31 20:08:34 kded5[896]: org.kde.plasma.dataengine.geolocation: error: "Unknown host location.services.mozilla.com: Host not found"
bře 31 20:08:34 kded5[896]: org.kde.plasma.dataengine.geolocation: error: "Unknown host location.services.mozilla.com: Host not found"
bře 31 20:08:34 smbd[1178]: [2022/03/31 20:08:34.578553, 0] ../../source3/smbd/server.c:1734(main)
bře 31 20:08:34 smbd[1178]: smbd version 4.15.5 started.
bře 31 20:08:34 smbd[1178]: Copyright Andrew Tridgell and the Samba Team 1992-2021
I previously couldn’t wake up from suspending even after hitting the suspend button and what fixed that is editing my /etc/mkinitcpio.conf
file by adding the fsck
option to hooks. It now looks as follows:
HOOKS=(base udev autodetect modconf block filesystems resume fsck keyboard)
After that I did: sudo mkinitcpio -P
and sudo update-grub
, both successfully. Yet I found that after closing the laptop lid I still cannot wake up, even after fixing the hooks.
Interesting observations
if I suspend the laptop and THEN close the lid, I can wake it up just fine! It seems that suspending it by closing the lid is the only troublemaker.
Also, when the laptop is powered, both suspend and hibernation seems to work fine. Hybrid sleep doesn’t work even with A/C power, after waking up I see a blank screen with no cursor and even the caps lock LED indicator isn’t working.
Update
Just found that waking up on the next day (on battery), after I suspended before closing the lid, gives me a black screen as well. The error log is the same, with the x86/cpu: SGX disabled by BIOS and Spectre V2 warning messages.
Also enabled SGX in BIOS to get rid of the SGX message in boot logs.