Re: Re: [PATCH v10 0/8] TPM 2.0 support

From: Jarkko Sakkinen
Date: Tue Dec 16 2014 - 16:31:41 EST



On Tue, Dec 16, 2014 at 10:19:26PM +0100, Peter Huewe wrote:
> > So, what do you think? Are we now settled with this?
>
> Meh...
> It does not recognize my tpm20 with force=1 :( :( :(
> Probably since I don't have a machine with bios integration -> no tpm startup,
> and your startup is returned with RC_SIZE :(

I don't know why it worked for me. My dTPM2 does not export ACPI device
but I guess firmware does execute startup.

I root caused this quickly and attached patch here. Does that resolve
your issue?


>  rmmod tpm; modprobe tpm_tis force=1 ; dmesg
> modprobe: ERROR: could not insert 'tpm_tis': No such device
> [ 77.744050] tpm_tis tpm_tis: 2.0 TPM (device-id 0x1A, rev-id 16)
> [ 77.816049] tpm_tis tpm_tis: A TPM error (256) occurred attempting to generate an interrupt
> [ 77.888043] tpm_tis tpm_tis: A TPM error (256) occurred attempting to generate an interrupt
> [ 77.960043] tpm_tis tpm_tis: A TPM error (256) occurred attempting to generate an interrupt
> [ 77.960057] genirq: Flags mismatch irq 6. 00000080 (tpm0) vs. 00000000 (floppy)
> [ 77.960067] tpm_tis tpm_tis: Unable to request irq: 6 for probe
> [ 77.960073] genirq: Flags mismatch irq 7. 00000080 (tpm0) vs. 00000000 (parport0)
> [ 77.960077] tpm_tis tpm_tis: Unable to request irq: 7 for probe
> [ 77.960082] genirq: Flags mismatch irq 8. 00000080 (tpm0) vs. 00000000 (rtc0)
> [ 77.960087] tpm_tis tpm_tis: Unable to request irq: 8 for probe
> [ 78.032041] tpm_tis tpm_tis: A TPM error (256) occurred attempting to generate an interrupt
> [ 78.104043] tpm_tis tpm_tis: A TPM error (256) occurred attempting to generate an interrupt
> [ 78.176041] tpm_tis tpm_tis: A TPM error (256) occurred attempting to generate an interrupt
> [ 78.248041] tpm_tis tpm_tis: A TPM error (256) occurred attempting to generate an interrupt
> [ 78.320041] tpm_tis tpm_tis: A TPM error (256) occurred attempting to generate an interrupt
> [ 78.392040] tpm_tis tpm_tis: A TPM error (256) occurred attempting to generate an interrupt
> [ 78.464041] tpm_tis tpm_tis: A TPM error (256) occurred attempting to generate an interrupt
> [ 78.524041] tpm_tis tpm_tis: A TPM error (256) occurred continue selftest
> [ 78.524048] tpm_tis tpm_tis: Firmware has not started TPM
> [ 78.596041] tpm_tis tpm_tis: A TPM error (149) occurred attempting to start the TPM
> [ 78.596048] tpm_tis tpm_tis: TPM self test failed
>
>
> ;(
> Peter

/Jarkko