Re: tpm_tis TPM2.0 not detected on cold boot

From: Jarkko Sakkinen
Date: Thu Jan 03 2019 - 08:41:56 EST


On Sun, Dec 16, 2018 at 02:32:38PM +0100, Michael Niewöhner wrote:

> dmesg cold boot with tpm_tis.interrupts=0 tpm_tis.force=1:
> ----------------------------------------------------------
> > dmesg | grep -i tpm
> [ 0.000000] Command line: initrd=\initrd-test console=ttyS0,115200n8
> break=premount tpm_tis.interrupts=0 tpm_tis.force=1
> [ 0.000000] efi: ACPI
> 2.0=0x9e07e000 ACPI=0x9e07e000 SMBIOS=0x9ebeb000 SMBIOS
> 3.0=0x9ebea000 MEMATTR=0x98fb2018 TPMEventLog=0x972bb018
> [ 0.003531] ACPI: TPM2 0x000000009E0B7F70 000034 (v03 LENOVO TC-
> S06 00001260 AMI 00000000)
> [ 0.162005] Kernel command line: initrd=\initrd-test console=ttyS0,115200n8
> break=premount tpm_tis.interrupts=0 tpm_tis.force=1
> [ 3.616806] tpm_tis MSFT0101:00: 2.0 TPM (device-id 0xFE, rev-id 2)
> [ 3.683117] tpm_tis tpm_tis: can't request region for resource [mem
> 0xfed40000-0xfed44fff]
> [ 3.691378] tpm_tis: probe of tpm_tis failed with error -16
> [ 4.572539] ima: Error Communicating to TPM chip

Wonder why this happens. What does /proc/iomem show?

/Jarkko