Bug 2060501 - dracut does not add resume parameter to kernel command line for resuming for hibernate on new F35 install
Summary: dracut does not add resume parameter to kernel command line for resuming for ...
Keywords:
Status: CLOSED DUPLICATE of bug 1795422
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: 35
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: dracut-maint-list
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-03 15:56 UTC by Ranjan Maitra
Modified: 2022-04-12 11:17 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-04-12 11:17:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ranjan Maitra 2022-03-03 15:56:46 UTC
Description of problem:

Setting up new installation does not set up hibernate to work.



Version-Release number of selected component (if applicable):

all versions


How reproducible:


Steps to Reproduce:
1. install swap and hibernate using "systemctl hibernate"
2. press button when laptop is in hibernate stage

Actual results:

Laptop goes down to hibernate as usual, however does not wake up and boots to a new rebooted machine.

Expected results:

Laptop goes down to hibernate as usual, and wakes up to last state.

Additional info:

From fedora-users mailing list:

The fix is to run "dracut -a resume -f".  This will update the initramfs to include the bits that let resume work.  

Sounds like a dracut bug to me. It should see the resume parameter on the kernel command line and just add the resume dracut module to the initramfs without having to request it explicitly.

Happy to provide more information as needed.

Comment 1 Ranjan Maitra 2022-03-08 22:20:45 UTC
Just a note that "dracut -a resume -f" does make hibernate work. As per the mailing list, dracut has a bug that needs to  see the resume parameter on the kernel command line and just add the resume dracut module to the initramfs without having to request it explicitly.

Comment 2 David Tardon 2022-04-12 11:17:50 UTC

*** This bug has been marked as a duplicate of bug 1795422 ***


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