On 20/02/2019 10:14, Markku Savela wrote:
No hints how to solve? Anybody?
I changed IMA to just ignore the tpm test in hope that TPM would be
ready by the time IMA needs it -- no such luck, the "tpm2_probe", which
triggers the manual start just comes too late. I could just force the
manual startup earlier in boot, if I could figure out a proper place to
put the function call...
[ 4.008322] ima: Allocated hash algorithm: sha1
[ 4.012820] ima: Error Communicating to TPM chip
[ 4.017302] ima: Error Communicating to TPM chip
[ 4.021763] ima: Error Communicating to TPM chip
[ 4.026004] ima: Error Communicating to TPM chip
[ 4.030295] ima: Error Communicating to TPM chip
[ 4.034558] ima: Error Communicating to TPM chip
[ 4.038766] ima: Error Communicating to TPM chip
[ 4.042805] ima: Error Communicating to TPM chip
[ 4.046951] ima: Error Communicating to TPM chip, result: -19
[ 4.059431] uart-pl011 3f201000.serial: cts_event_workaround enabled
[ 4.063766] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 72,
base_baud = 0) is a PL011 rev2
[ 4.069963] console [ttyS0] disabled
[ 4.074178] 3f215040.serial: ttyS0 at MMIO 0x0 (irq = 151, base_baud
= 31250000) is a 16550
[ 5.282479] console [ttyS0] enabled
[ 5.293360] Indeed it is in host mode hprt0 = 00021501
[ 5.308808] tpm2_probe cmd rc=256
[ 5.322282] tpm_tis_spi spi0.1: 2.0 TPM (device-id 0x1B, rev-id 22)
[ 5.358842] tpm tpm0: A TPM error (256) occurred continue selftest
[ 5.378137] tpm tpm0: starting up the TPM manually
Earlier in boot there this "spi-bcm2835" notice. Is this the reason the
probe gets delayed?
[ 3.440240] Loading iSCSI transport class v2.0-870.
[ 3.442267] spi-bcm2835 3f204000.spi: could not get clk: -517
[ 3.442804] libphy: Fixed MDIO Bus: probed
[ 3.443019] usbcore: registered new interface driver lan78xx
[