Bug 217793 - Suspend succeeds, system refuses to wake up.
Summary: Suspend succeeds, system refuses to wake up.
Status: NEW
Alias: None
Product: Platform Specific/Hardware
Classification: Unclassified
Component: x86-64 (show other bugs)
Hardware: All Linux
: P3 normal
Assignee: platform_x86_64@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-14 18:51 UTC by Gene Snider
Modified: 2023-08-15 05:31 UTC (History)
5 users (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Gene Snider 2023-08-14 18:51:48 UTC
My Dell Inspiron 16 3525 laptop refuses to wake from suspend. After many kernel upgrades (5.17 - 6.5-rc6) and  BIOS (1.06? - 1.12) updates, the problem still persists. This problem is well known on Dell's website, with all versions of linux. What I've found so far is that after forcing a power off and rebooting, the command:

journalctl -b -1 | tail

Oct 03 14:44:52 Mobile-PC chronyd[1133]: Source 137.190.2.4 offline
Oct 03 14:44:52 Mobile-PC chronyd[1133]: Source 2600:3c01::f03c:91ff:fe55:215c offline
Oct 03 14:44:52 Mobile-PC chronyd[1133]: Can't synchronise: no selectable sources
Oct 03 14:44:52 Mobile-PC chronyd[1133]: Source 162.159.200.123 offline
Oct 03 14:44:53 Mobile-PC NetworkManager[1109]: <info>  [1664833493.2332] device (wlp2s0): set-hw-addr: reset MAC address to 38:D5:7A:53:49:D7 (unmanage)
Oct 03 14:44:53 Mobile-PC systemd[1]: Reached target Sleep.
Oct 03 14:44:53 Mobile-PC systemd[1]: Starting System Suspend...
Oct 03 14:44:53 Mobile-PC systemd-sleep[2459]: INFO: Skip running /usr/lib/systemd/system-sleep/grub2.sleep for suspend
Oct 03 14:44:53 Mobile-PC systemd-sleep[2457]: Entering sleep state 'suspend'...
Oct 03 14:44:53 Mobile-PC kernel: PM: suspend entry (s2idle)

This shows that the system successfully entered s2idle sleep, but was unable to wake up. I have tried enabling wakeup for all possible inputs in powertop, but nothing changed.

This command shows that the kernel thinks this laptop supports s2idle sleep:

> cat /sys/power/mem_sleep 
[s2idle]

However, this Windows 11 command says otherwise:

powercfg /A

It tells me that my hardware only supports Standby (S0 Low Power Idle), and specifically states that s2idle is not supported. So, after every bios update I try suspending to RAM to see if the problem has been fixed.

Here's my hardware:

> inxi -b
System:
  Host: Mobile-PC Kernel: 6.5.0-rc6-1.gc65258c-default arch: x86_64 bits: 64
    Desktop: MATE v: 1.26.1 Distro: openSUSE Tumbleweed 20230813
Machine:
  Type: Laptop System: Dell product: Inspiron 15 3525 v: 1.12.0
    serial: <superuser required>
  Mobo: Dell model: 0R9JV9 v: A00 serial: <superuser required> UEFI: Dell
    v: 1.12.0 date: 07/07/2023
Battery:
  ID-1: BAT1 charge: 40.8 Wh (100.0%) condition: 40.8/40.8 Wh (100.0%)
CPU:
  Info: 8-core AMD Ryzen 7 5825U with Radeon Graphics [MT MCP] speed (MHz):
    avg: 2412 min/max: 400/4546
Graphics:
  Device-1: AMD Barcelo driver: amdgpu v: kernel
  Device-2: Microdia Integrated_Webcam_HD driver: uvcvideo type: USB
  Display: x11 server: X.org v: 1.21.1.8 driver: X: loaded: modesetting
    unloaded: fbdev,vesa dri: radeonsi gpu: amdgpu resolution: 1920x1080~120Hz
  API: OpenGL v: 4.6 Mesa 23.1.5 renderer: AMD Radeon Graphics (renoir LLVM
    16.0.6 DRM 3.54 6.5.0-rc6-1.gc65258c-default)
Network:
  Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
    driver: rtw_8821ce
Drives:
  Local Storage: total: 942.7 GiB used: 104.88 GiB (11.1%)
Info:
  Processes: 358 Uptime: 0h 19m Memory: available: 14.96 GiB
  used: 2.19 GiB (14.7%) Shell: Bash inxi: 3.3.27

As you can see above, I'm testing the latest kernel from branch master, but it produces the same behavior as all the previous kernels.

Any ideas or information requests?

Thanks,

Gene
Comment 1 Gene Snider 2023-08-14 18:52:57 UTC
I forgot to include this, the link to my openSUSE bug:

https://bugzilla.suse.com/show_bug.cgi?id=1203974

Gene
Comment 2 Jiri Slaby 2023-08-15 05:14:23 UTC
(In reply to Gene Snider from comment #0)
> This command shows that the kernel thinks this laptop supports s2idle sleep:
> 
> > cat /sys/power/mem_sleep 
> [s2idle]
> 
> However, this Windows 11 command says otherwise:
> 
> powercfg /A
> 
> It tells me that my hardware only supports Standby (S0 Low Power Idle), and
> specifically states that s2idle is not supported. So, after every bios
> update I try suspending to RAM to see if the problem has been fixed.

The code says:
        /*
         * Suspend-to-idle should be supported even without any suspend_ops,
         * initialize mem_sleep_states[] accordingly here.
         */
        mem_sleep_states[PM_SUSPEND_TO_IDLE] = mem_sleep_labels[PM_SUSPEND_TO_IDLE];


So s2idle is taken as always "supported". I am not sure if it really is on your laptop. CCing suspend people.

Note You need to log in before you can comment on or make changes to this bug.