Bug 1973370

Summary: Kernel 5.12 is not usable with dracut-054-12
Product: [Fedora] Fedora Reporter: Aleksandar Kostadinov <akostadi>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 34CC: acaringi, adscvr, af, airlied, akostadi, alciregi, arouse, at694, awilliam, bskeggs, c.elliot, cpanceac, cz172638, der.stein, elep331, extras-qa, fabquenneville, hdegoede, hmmsjan, james.tabor, jappleii, jarodwilson, jeremy, jforbes, jglisse, jonathan, josef, jozsef.szigetvari+bzrh, kernel-maint, kothandan.sathiyamoorthy, lgoncalv, linville, mail, masami256, matthias_haase, mchehab, mhepburn, ptalbert, rtqate, stakka, steved, todoleza, vruchtengaard
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1963782 Environment:
Last Closed: 2021-07-05 08:45:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1963782    
Bug Blocks:    

Description Aleksandar Kostadinov 2021-06-17 17:06:04 UTC
See Bug #1963782 for original description. Some issues were fixed with kernel-5.12.7-300.fc34 but not all and 5.12.10 regressed.

The immediate issue I am observing is that laptop fails on boot after "Switch Root" is printed to console log.

This happens with dracut-054-12 vs kernel-5.12.5 and 5.12.10 but mostly working with 5.12.7 (sometimes still hangs).

After downgrading to dracut-053-4.fc34.x86_64 boot is working properly.

> sudo dnf downgrade dracut
> sudo dracut --force /boot/initramfs-5.12.10-300.fc34.x86_64.img 5.12.10-300.fc34.x86_64

Please help fix this nasty issue.

Comment 1 froggy 2021-06-21 14:07:58 UTC
As I reported in bug 1963782, my switch root issue is back with kernel 5.12.11-300.fc34.

My dracut version is 054-12.git20210521.fc34. 

As my mesa packages where update together with kernel 5.12.11, I tried downgrading those to see if they caused the issue, but no. 
It's just the kernel, if not in combination with my dracut install (which I didn't try downgrading).  


The issue history on my laptop (thinkpad t490s, Mesa IntelĀ® UHD Graphics 620 (WHL GT2)) is:

kernel 5.11.x & dracut 053-4 / 054-12 --> no issues
kernel 5.12.x until 5.12.9 & dracut 053-4 / 054-12 --> switch root issue (system completely hangs during boot)
kernel 5.12.9 & dracut 054-12 --> switch root issue (system completely hangs during boot)
kernel 5.12.9 & dracut 053-4 --> no issues
kernel 5.12.10 & dracut 054-12 --> no issues
kernel 5.12.11 & dracut 054-12 --> switch root issue (system completely hangs during boot)

Comment 2 Hans de Goede 2021-06-21 14:15:13 UTC
(In reply to froggy from comment #1)
> As I reported in bug 1963782, my switch root issue is back with kernel
> 5.12.11-300.fc34.
> 
> My dracut version is 054-12.git20210521.fc34. 

That one is old; and known to be broken. dracut-055-2.fc34 has been out for a while now and fixes this, please upgrade yourt dracut and then re-generate your initrd, that should fix this.

Comment 3 froggy 2021-06-21 14:21:26 UTC
Dracut-055-2.fc34 doesn't show up in my updates (not after dnf clean all either).

I did downgrade dracut to 053-4, and it's running fine with kernel 5.12.11

Comment 4 Hans de Goede 2021-06-21 14:46:05 UTC
(In reply to froggy from comment #3)
> Dracut-055-2.fc34 doesn't show up in my updates (not after dnf clean all
> either).
> 
> I did downgrade dracut to 053-4, and it's running fine with kernel 5.12.11

Ah it seems it has not been pushed to the stable updates repo for some reason, which is kinda a pitty since it fixes this nasty bug. You can install it now by running:

sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-a3ab421a63

Adam, can we please get the dracut update pushed to the stable-updates repo ?

Comment 5 Adam Williamson 2021-06-21 14:55:20 UTC
Done - I was figuring harald would do it, but I guess not. Please don't use my personal account (I can't get rid of it as BZ doesn't let you, but I don't use it any more). thanks!

Comment 6 John Apple II 2021-06-22 05:42:21 UTC
I just checked, I can't see the upgraded dracut package in the stable repos, yet.  I'll try installing from testing repos and rebuilding initrd.

Comment 7 Adam Williamson 2021-06-22 05:57:05 UTC
Yes, I only just pushed it today (I thought harald would do it, but he didn't). Sorry about that.

Comment 8 froggy 2021-06-22 12:50:03 UTC
Hi, the update came through and worked, thanks a lot.
ps: my xfce box didn't have this issue.

Comment 9 Aleksandar Kostadinov 2021-07-05 08:45:40 UTC
dracut-055-2.fc34.x86_64 works for me with latest 5.12.13-300.fc34.x86_64 kernel. So I'm closing the issue. Thanks for fixing. It was really nasty.