Fedora Installing. Error

Hello, dear Fedora community! I have recently wanted to move from Fedora Workstation to Fedora Sway Spin. And I have downloaded the Fedora Sway Spin Image from official Fedora website. I have checked gpg key, checksum and Integrity of Fedora Sway Spin Image. Everything is clear and good. Then I have used dd function and install image on usb. After that I started to test my image and got the error: “Checking: 045.6% [ TIME ] Timed out waiting for device dev-tpmrm0.device - /dev/tpmrm0.” What is it? Then "Job dev-tpmrm0.device/start running (30s / 45s). When it arrived to 45s, checking has been continued. And the end I entered in Fedora Live and everything looks like it works, but…I have got errors and it is not good, right? What should I do? And if i install this image regardless those errors, will it break my system or something like that?

Try using fedora media writer to create the usb install media.
Does that work better?

All the time for installing image on USB i use dd function and did not get errors like I have wrote before. I can do that via Fedora Media Writer. But I am not sure :slight_smile: Maybe this error connected with Fedora 41? And fedora developers should fix it?

I have used Fedora Media Writer instead of dd function. And I have same errors. Nothing has been changed.

See Delayed Boot on UEFI tpm 1.2 system #33077. I’m getting this with F41 on a Dell Latitude. The workaround is systemctl mask dev-tpmrm0.device, but the mask gets removed with updates. I haven’t checked to see if Fedora has the fix mentioned in #33077 – it may be that more work is needed to reliably detect a supported TPM.

The only downside to the bug is the delay rebooting.

If I ignore those errors and install fedora sway, will it influence on security or working of my system? And how do you think how long time is needed to solve this problem for fedora developers? ^ ^

Those errors are because the software is looks for TPM 2.0 and your system either doesn’t have TPM 2.0, or it isn’t enabled. Quoting Enable TPM 2.0:

In some cases, PCs that are capable of running TPM 2.0 are not set up to do so. If you are considering upgrading to Windows 11, check to ensure TPM 2.0 is enabled on your device. Most retail PC motherboards used by people building their own PC, for example, ship with TPM turned off by default even though it is almost always available to be enabled.

You haven’t provided details of your hardware, so we don’t know if your system can support TPM 2.0.

I have checked my system via terminal and found information about TPM2. If I understand right, my system has TPM2, but one of all outputs is “Expecting device dev-tpmrm0.device - /dev/tpmrm0…”. And one more thing: I use Fedora 41 Workstation now. I updated my system from Fedora 40 Workstation to Fedora 41 Workstation via settings, not downloaded from fedora website, and that why I did not noticed errors with TPM. But my system loads so long. I thought that my laptop does not support GNOME well, but maybe laptop has problems with TPM. And I decided to switch on Fedora Sway Spin and downloaded it from fedora website. And you know what happens next :slight_smile:

See man 8 systemd-tpm2-generator for kernel command-liine options. On this Dell Latitude, systemd.tpm2_wait=false gives:

kernel: tpm_tis MSFT0101:00: probe with driver tpm_tis failed with error -1
kernel: ima: No TPM chip found, activating TPM-bypass!

In case someone want to rely on TPM 2.0 on a Dell Latitude 5580 for WebAuthn or even auto mount encrypted drives with luks/bitlocker, sometimes the TPM 2.0 was detected on a cold boot but most the time it wasn’t with that error in dmesg:

tpm_tis MSFT0101:00: probe with driver tpm_tis failed with error -1

The solution I found to fix it on Fedora 41 was installing the latest version of the TPM firmware from Dell Support Center.

To install it, fwupd is your friend, steps to proceed:

  1. Reboot
  2. Open the bios with F12
  3. Clear the TPM and ensure all options are enabled such as :
  • PPI Bypass options checked
  • Attestation
  • Key Storage
  • SHA-256
  1. Reboot
  2. Download the latest TPM firmware available for your laptop
  3. Install it with the following command sample
sudo /usr/share/fwupd/install_dell_bios_exe.py ./Downloads/DellTpm2.0_Fw1.3.2.8_V3_64.exe
  1. Reboot
  2. Wait until the firmware is installed