Bug 32657

Summary: Very long boot because of dracut Warning: Cancelling resume operation. Device not found. with kernel 6.5.13
Product: Mageia Reporter: Cyril Levet <cyril.levet0780>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: davidwhodgins, fri
Version: 9   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: kernel-6.5.13-6.mga9.src.rpm CVE:
Status comment:
Attachments: journal with kernel 6.5.13
journal with kernel 6.5.11

Description Cyril Levet 2023-12-27 17:37:12 CET
Description of problem:
The boot is very long with kernel kernel-desktop-6.5.13-6.mga9.rpm. It is delayed due to unknown: dracut Warning: Cancelling resume operation. Device not found.
The system search for un usb disk sdc and cannot find it. It's normal because I haven't any USB disk. My fstab is clean without any supplementary disk. 
I have tried to reconstruct initrd with dracut -f without success.

Revert to kernel 6.5.11-desktop-5.mga9 fixes the issue.

Version-Release number of selected component (if applicable):  kernel-desktop-6.5.13-6.mga9


How reproducible: Always


Steps to Reproduce:
1. Select kernel 6.5.13 (latest Mageia kernel)
2. Boot
Comment 1 Cyril Levet 2023-12-27 17:39:34 CET
Created attachment 14234 [details]
journal with kernel 6.5.13
Comment 2 Cyril Levet 2023-12-27 17:40:10 CET
Created attachment 14235 [details]
journal with kernel 6.5.11
Comment 3 katnatek 2023-12-27 22:54:47 CET
Test run as root dracut -f for the current kernel and reboot
Comment 4 Dave Hodgins 2023-12-28 01:34:19 CET
The problem is shown by
[    0.000000] kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.5.13-desktop-6.mga9 root=UUID=be387665-2e12-4a66-9849-c8e7d32fa3c3 ro ro splash quiet noiswmd nokmsboot root=UUID=be387665-2e12-4a66-9849-c8e7d32f
a3c3 audit=0 resume=UUID=44667d21-e11a-4341-8e49-06e35d7369d9 vga=791

Note the two resume parameters.

While be387665-2e12-4a66-9849-c8e7d32fa3c3 is sda5
44667d21-e11a-4341-8e49-06e35d7369d9 is not found.

Use "grep -r 44667d21-e11a-4341-8e49-06e35d7369d9 /etc/*" to find where it's
being referenced. Remove those references, and then run "dracut -f"

CC: (none) => davidwhodgins

Comment 5 Cyril Levet 2023-12-28 12:14:44 CET
Thanks. It is now fixed. I recently changed one of my disk. However, it seems that an old configuration was still present in "dracut.conf.d/51-mageia-resume.conf"

Resolution: (none) => FIXED
Status: NEW => RESOLVED

Comment 6 Morgan Leijström 2023-12-28 13:31:14 CET
.

CC: (none) => fri
Resolution: FIXED => INVALID