Bug 2280321

Summary: dracut hangs on dracut-install platform:GHES
Product: [Fedora] Fedora Reporter: Jan Bušta <honza>
Component: dracutAssignee: dracut-maint-list
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 40CC: dracut-maint-list, jamacku, lnykryn, mironov.ivan, pvalena
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-15 04:35:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Bušta 2024-05-14 07:56:41 UTC
Kernel installation can not be completed with dracut-060-1.fc40.x86_64. When trying to install new kernel, the installation is stuck at 

dracut-install -D /var/tmp/dracut.JRisaW/initramfs --kerneldir /lib/modules/6.8.9-300.fc40.x86_64/ -m --silent -s drm_crtc_init|drm_dev_register|drm_encoder_init -S iw_handler_get_spy platform:GHES

The first installation (with Anaconda installer) is also affected if the updated packages are used (default) -- the installation is unfinished.

The kernel update works fine with dracut-059-22.fc40.x86_64.

Reproducible: Always

Steps to Reproduce:
1. update dracut to dracut-060-1.fc40.x86_64
2. install new kernel (in my case 6.8.9-300.fc40)
3. install hangs
Actual Results:  
kernel installation hangs

Expected Results:  
kernel installation will succeed

/usr/bin/bash /usr/lib/kernel/install.d/50-dracut.install add 6.8.9-300.fc40.x86_64 /boot/40c669464ff74926b46871281ea9dbd1/6.8.9-300.fc40.x86_64 /lib/modules/6.8.9-300.fc40.x86_64/vmlinuz
    /usr/bin/bash -p /bin/dracut -f --kernel-image /lib/modules/6.8.9-300.fc40.x86_64/vmlinuz  --kver 6.8.9-300.fc40.x86_64 /boot/initramfs-6.8.9-300.fc40.x86_64.img
        /bin/cat
        /usr/lib/dracut/dracut-install -D /var/tmp/dracut.JRisaW/initramfs --kerneldir /lib/modules/6.8.9-300.fc40.x86_64/ -m --silent -s drm_crtc_init|drm_dev_register|drm_encoder_init -S iw_handler_get_spy platform:GHES

Comment 1 Ivan Mironov 2024-05-14 12:59:53 UTC
Does it hang or just very slow to complete?

Seems to be a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=2278534

Comment 2 Jan Bušta 2024-05-15 04:35:41 UTC
Sorry, yes it is so, in my case it took 155 minutes to finish. dracut-install ... platform:GHES was not just one long process but many iterations in some cycle (the same command was executed again and again).

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