tpm_crb MSFT0101:00: can't request region for resource

Bug #1810430 reported by Kelvin Middleton
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

New hardware (AMD Threadripper 2920x with an ASRock X399 Taichi motherboard) and a clean 18.04.1 install. I purposefully turn on AMD fTPM in the UEFI as I would like to explore using this to secure my system. However after booting with this option no /dev/tpm device node exists and the kernel boot output now includes 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)

I'm using the motherboard vendors latest issued UEFI firmware and am unable to locate any other examples of this issue on my hardware.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-modules-extra-4.15.0-29-generic 4.15.0-29.31
ProcVersionSignature: Ubuntu 4.15.0-43.46-generic 4.15.18
Uname: Linux 4.15.0-43-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: kelvin 3554 F.... pulseaudio
 /dev/snd/controlC0: kelvin 3554 F.... pulseaudio
CurrentDesktop: ubuntu:GNOME
Date: Thu Jan 3 17:11:03 2019
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-43-generic root=UUID=dc67630f-0924-11e9-b9f2-7085c2b1c052 ro amd_iommu=force_isolation iommu=pt transparent_hugepage=never default_hugepagesz=1G hugepagesz=1G hugepages=8
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-43-generic N/A
 linux-backports-modules-4.15.0-43-generic N/A
 linux-firmware 1.173.2
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/14/2018
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P3.30
dmi.board.name: X399 Taichi
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP3.30:bd08/14/2018:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnX399Taichi:rvr:cvnDefaultstring:ct3:cvrDefaultstring:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
Kelvin Middleton (kelvin-middleton) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v4.20 kernel[0].

If this bug is fixed in the mainline kernel, please add the following
tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag:
'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as
"Confirmed".

Thanks in advance.

[0] https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20/

Revision history for this message
Kelvin Middleton (kelvin-middleton) wrote :

Hi, tested with upstream 4.20 as requested and still the same symptoms...

$ uname -a
Linux blackserver 4.20.0-042000-generic #201812232030 SMP Mon Dec 24 01:32:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

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

$ ls -l /dev/tmp
ls: cannot access '/dev/tmp': No such file or directory

I've added the tag but it looks like a bot changed the status of this bug to confirmed before you first replied? Or have I missed a further confirmation that's needed?

description: updated
tags: added: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :
Revision history for this message
David Cuthbert (dacut) wrote :

Still seeing this on the (upstream) 5.19 vanilla/mainstream kernel.

Revision history for this message
leo60228 (leo60228) wrote :

Not on Ubuntu, but I'm having this issue on 5.9.1 with an ASRock X399M Taichi and Threadripper 1920X.

Revision history for this message
Merlin (fatalmerlin) wrote :

I have the same problem running AMD Ryzen Threadripper 2920X on MSI X399 SLI PLUS with kernel 5.15.0-43-generic.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.