Solved: Fedora slow boot, 45-second initrd delay caused by TPM firmware bug on HP 15 Notebook PC

Solved: 45-second initrd delay caused by broken TPM firmware on HP 15 Notebook PC

I wanted to share a troubleshooting result in case anyone else runs into similar long boot times on older HP hardware.

System

- HP 15 Notebook PC

- BIOS F.41 (2017)

- Fedora 44

- Kernel 7.2.11-200.fc44.x86_64

- Btrfs root filesystem

- Samsung 870 EVO 500GB SSD

Symptoms

Boots felt unusually slow despite having a healthy SSD.

systemd-analyze showed:

Startup finished in …

initrd ≈ 46 seconds

The SSD itself appeared quickly during boot, but the system spent a long time in the initrd stage.

Investigation

The breakthrough came from examining the monotonic boot journal:

sudo journalctl -b -o short-monotonic

The logs showed:

tpm_crb_acpi MSFT0101:00:

[Firmware Bug]

tpm_crb_acpi MSFT0101:00:

probe with driver tpm_crb_acpi failed with error -16

Very early in boot systemd began waiting for TPM devices:

Expecting device /dev/tpm0

Expecting device /dev/tpmrm0

Then approximately 45 seconds later:

Timed out waiting for device /dev/tpm0

Timed out waiting for device /dev/tpmrm0

Immediately after those timeouts boot continued normally.

The timeline looked like this:

~2s TPM initialization starts

~2s TPM driver fails

~47s TPM timeout occurs

~47s initrd continues

BIOS Findings

In BIOS I found:

TPM = Enabled

Availability = Available

I changed the settings to:

TPM = Disabled

Availability = Hidden

Results

Before:

Firmware: 3.3s

Loader: 6.5s

Kernel: 1.7s

Initrd: 45.9s

Userspace:13.6s

Total boot time ≈ 71 seconds

After disabling TPM:

Firmware: 3.3s

Loader: 6.5s

Kernel: 1.7s

Initrd: 23.5s

Userspace:13.6s

Total boot time ≈ 49 seconds

Boot time improved by roughly 22 seconds.

The TPM timeout messages also disappeared completely.

Instead of:

Timed out waiting for device /dev/tpm0

Timed out waiting for device /dev/tpmrm0

the journal now simply shows TPM-related services being skipped because TPM is unavailable.

Additional Findings

While investigating, I verified that the delay was not caused by:

- Samsung 870 EVO SSD

- Btrfs

- NFS

- iSCSI

- LVM

- Network boot services

The initramfs contains TPM tooling, but after disabling TPM in BIOS there are no longer any TPM device timeouts during boot.

Current boot timing is:

Startup finished in 3.289s (firmware) + 6.547s (loader) + 1.718s (kernel) + 23.543s (initrd) + 13.568s (userspace) = 48.668s

Conclusion

In my case Fedora was not waiting on the SSD, Btrfs, NFS, iSCSI, or networking.

The major delay was caused by:

HP firmware advertises TPM

↓

tpm_crb_acpi initialization fails

↓

systemd waits for TPM devices

↓

45-second timeout

↓

boot continues

Disabling TPM in BIOS removed that timeout and significantly reduced boot time.

There is still some initrd delay remaining that I am investigating, but the TPM change alone cut boot time by more than 20 seconds.

Hopefully this helps anyone searching for:

- tpm_crb_acpi failed error -16

- dev-tpm0.device timeout

- dev-tpmrm0.device timeout

- Fedora slow boot TPM

- HP firmware TPM boot delay

- TPM causing long initrd boot times

This seems to be the actions that provided your solution.

Note that solutions cannot be marked on the opening post and that simply marking a post as solved within the text does not automatically indicate a solution to the system.
Please either check this post as the solution or add another post yourself with the concise details of the solution and then mark it as the solution. Use the check box at the bottom of the post once it has been submitted.

Solution: On my HP 15 Notebook PC, the long boot delay was caused by the TPM firmware. Disabling TPM in BIOS (set TPM to Disabled/Hidden) removed the roughly 45-second initrd timeout and reduced overall boot time by more than 20 seconds. Fedora now boots significantly faster.