ASRock.com Homepage
Forum Home Forum Home > Technical Support > AMD Motherboards
  New Posts New Posts RSS Feed - AMD fTPM with linux 4.15
  FAQ FAQ  Forum Search Search  Events   Register Register  Login Login

AMD fTPM with linux 4.15

 Post Reply Post Reply
Author
Message
killerkelv View Drop Down
Newbie
Newbie


Joined: 03 Jan 2019
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote killerkelv Quote  Post ReplyReply Direct Link To This Post Topic: AMD fTPM with linux 4.15
    Posted: 03 Jan 2019 at 3:40am
With fTPM enabled in the UEFI my kernel boots fine but doesn't load a /dev/tpm device node as expected. Searching the kernel logs I find the following...

$ dmesg | grep -i tpm
[    0.000000] ACPI: TPM2 0x000000007902E4D0 000034 (v04 AMD    A M I    00000001 AMI 00000000)
[    0.928120] tpm_crb MSFT0101:00: can't request region for resource [mem 0x7943a000-0x7943afff]
[    0.928141] tpm_crb: probe of MSFT0101:00 failed with error -16
[    1.090180] ima: No TPM chip found, activating TPM-bypass! (rc=-19)

Searching based on this output leads to lots of bugs with older kernels all of which were addressed via a UEFI/BIOS update rather than a kernel patch. Is this on ASRock's todo list does anyone know and/or has anyone found a fix or workaround to enabling and using the integrated TPM capabilities?
Back to Top
killerkelv View Drop Down
Newbie
Newbie


Joined: 03 Jan 2019
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote killerkelv Quote  Post ReplyReply Direct Link To This Post Posted: 03 Jan 2019 at 3:41am
Sorry I should have included in the above but I'm using Ubuntu 18.04 running Ubuntu's stock kernel 4.15.
Back to Top
Isoceles View Drop Down
Newbie
Newbie


Joined: 26 Apr 2018
Status: Offline
Points: 76
Post Options Post Options   Thanks (0) Thanks(0)   Quote Isoceles Quote  Post ReplyReply Direct Link To This Post Posted: 04 Jan 2019 at 3:53am
Do you happen to have the "Fast Boot" option enabled in the UEFI firmware menu?
Back to Top
killerkelv View Drop Down
Newbie
Newbie


Joined: 03 Jan 2019
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote killerkelv Quote  Post ReplyReply Direct Link To This Post Posted: 04 Jan 2019 at 4:03am
Originally posted by Isoceles Isoceles wrote:

Do you happen to have the "Fast Boot" option enabled in the UEFI firmware menu?


No, purposefully not, I leave the system running 24/7 so reboots aren't an issue.
Back to Top
chithanh View Drop Down
Newbie
Newbie


Joined: 24 Feb 2017
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote chithanh Quote  Post ReplyReply Direct Link To This Post Posted: 09 Apr 2019 at 7:43am
FWIW, I saw the same problem on ASRock AB350M and reported it to ASRock support, they replied and told me to use Windows.

The issue still exists with kernel 5.0, and is due to buggy BIOS/UEFI from what I can tell.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.234 seconds.