0

I suspend the system to disk using s2ram. When I reboot into shell (busybox sh) and run resume $SWAP ($SWAP is my swap partition), it only writes a message that says resume is started but nothing happens.

I tried echo test_resume > /sys/power/disk && echo disk > /sys/power/state to test suspend to disk and it resumes without problem.

I am using custom Linux configuration and initramfs containing just busybox (but I can change both of them).

Screenshot from my configuration:

 .config - Linux/x86 4.14.83-gentoo Kernel Configuration
 → Power management and ACPI options ────────────────────────────────────────────
  ┌──────────────────── Power management and ACPI options ────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus ---> (or empty   │  
  │  submenus ----).  Highlighted letters are hotkeys.  Pressing <Y>          │  
  │  includes, <N> excludes, <M> modularizes features.  Press <Esc><Esc> to   │  
  │  exit, <?> for Help, </> for Search.  Legend: [*] built-in  [ ] excluded  │  
  │ ┌───────────────────────────────────────────────────────────────────────┐ │  
  │ │    [*] Suspend to RAM and standby                                     │ │  
  │ │    [*] Hibernation (aka 'suspend to disk')                            │ │  
  │ │    ()  Default resume partition                                       │ │  
  │ │    [ ] Opportunistic sleep                                            │ │  
  │ │    [*] User space wakeup sources interface                            │ │  
  │ │    (100) Maximum number of user space wakeup sources (0 = no limit)   │ │  
  │ │    [*]   Garbage collector for user space wakeup sources              │ │  
  │ │    -*- Device power management core functionality                     │ │  
  │ │    [ ]   Power Management Debug Support                               │ │  
  │ │    [ ] Enable workqueue power-efficient mode by default               │ │  
  │ │    [*] ACPI (Advanced Configuration and Power Interface) Support  --->│ │  
  │ │    [ ] SFI (Simple Firmware Interface) Support  ----                  │ │  
  │ │        CPU Frequency scaling  --->                                    │ │  
  │ │        CPU Idle  --->                                                 │ │  
  │ │    [*] Cpuidle Driver for Intel Processors                            │ │  
  │ └───────────────────────────────────────────────────────────────────────┘ │  
  ├───────────────────────────────────────────────────────────────────────────┤  
  │         <Select>    < Exit >    < Help >    < Save >    < Load >          │  
  └───────────────────────────────────────────────────────────────────────────┘  

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.