Encrypted Instal not booting correctly after Update

Hello Fedora community!

Once again i am in need of you assistance:

I just set up an enctyped fedora workstation install, dual booting with Windows.

everthing went smoothly until i updated to another kernel.

upon reboot i got promted to put in my passphrase, which i did. I am sure, that i put in the correct passphrase but i still got prompted me a second time to provide my passphrase.

Then, after ages of loading, i ended up in the emergency mode

i tried this several times everytime with the same result.

After that i tryed booting with the old kernel and it work as one would hope.

I read here that it is possible to press “esc” when prompted a second time and i got this result when doing so:

From what i understand, it confirms my suspicion that it has somithing to do with the decryption process.

Please can you help me identify and fix this problem?

The Kernels in question:
6.14.0-63.fc42.x86_64
6.15.5-200.fc42.x86_64.

This appears to be an issue with the AMD gpu driver and newer kernels. There is an update to kernel 6.15.6 which should hit your mirror soon. Let’s hope this sorts things out on AMD gpus.

@nik33221, does it work with any other kernel? Are you sure the passphrase has been entered correctly? Because there is an issue with the behaviour you’re experiencing when failing to enter the correct passphrase twice, see this similar discussion topic.

Temporarily removing rhgb quiet from the GRUB command line changes anything?

@mjg, I wonder if the AMD GPU driver issue is the actual culprit here. If it were so, I would expect to see this behavior at first passphrase entry, not at the second trial.

Yes it works on the older Kernel.

I wrote my passphrase down on a pice of paper for cases exactly like this one.
Thats why i know i entered it correctly.
I am writing this post on the older Kernel right now.

I did notice a difference tough: when booting with the older Kernel the Keyboord is discribed as “US”.
But when booting into the newer one it is discribed as “english (US)”.

Could this change in discription come with a change in key layout?

I found this post where changing the maximum passphrase tries fixed a simular issue.

I’ll try that. And report.

Did you manage to try logging in without rhgb quiet, as mentioned above? This could confirm or rule out a GPU driver regression issue.

I don’t know if those two are different locales, or just their description is different. Do you have some special characters in the passphrase? If so, you could add temporarily an additional passphrase (with cryptsetup luksAddKey), a simpler one without special characters or keys known to be on different parts of specific keyboard layouts. If the new passphrase worked, then you would know the issue is related to the keyboard layout.

My God…

I was right about the keybord layout.

Just on a hunch i just typed my passphrase in like i naturaly would do on my german layout and it worked.
I am now on the new kernel.

Apparently it switched from the US layout to the German one but still discribes it as “english (US)”
The special characters weren’t the issue but the switching of some letters.

Is there a way i can adjust the input field so i can see what i am typing?

That was my guess too. Glad you found the culprit. The behaviour is strange though. Do you remember tweaking the locale settings recently?

I don’t think that is an option AFAIK.

Now that you are asking: I did change my language settings from German to English (US).
If i remeber correctly the order was:

  1. Fresh install (pick german as language)
  2. Switch to english
  3. Update the Kernel
  4. Reboot and be confronted with the above

I am wondering what keyboard layout were you (supposedly) using when the passphrase was not accepted with the new kernel, and which one when the passphrase did get accepted.

I would guess that when you set up the passphrase the first time, you did not set up the passphrase you thought you were entering (say qwertz) but a different one (say qwerty). And now, with US layout, you have to hit “y” to "enter “y” at the position of your passphrase which you thought has “z” but always was “y”.

Just a theory though. I’ve been through similar woes :wink:

correct:

When i first set it up, i typed on my german key board but the system was set to a US -Key board. Which resulted in my “y” becoming a “Z” which was fine since i still typed “Y” when promted and the system set to US would accept it as a “Z”.
But with the language switch i now need to transalte the “Y” to “Z” since it now followes my actual Key board layout.