From: Jarkko S. <jar...@li...> - 2015-11-03 07:36:21
|
On Tue, Nov 03, 2015 at 02:33:56PM +0900, mipsan.K wrote: > Both of linux-tpm2(for-peter-v44 branch) and linux-tpmdd(for-james branch) > kernel tree returned same log as follow: > > ------------------------- > debian@debian:~$ dmesg | grep -i tpm > [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.3.0-rc4+ > root=UUID=a5e5e761-c2f2-41c3-9dfd-800a73e7a3e6 ro quiet > tpm_tis.force=1 > [ 0.000000] ACPI: TPM2 0x00000000A1F64EF8 000034 (v03 INTEL > NUC5i5MY 00000001 AMI 00000000) > [ 0.000000] Kernel command line: > BOOT_IMAGE=/boot/vmlinuz-4.3.0-rc4+ > root=UUID=a5e5e761-c2f2-41c3-9dfd-800a73e7a3e6 ro quiet > tpm_tis.force=1 > [ 0.844214] tpm_tis tpm_tis: 2.0 TPM (device-id 0x1A, rev-id 16) > [ 1.026107] genirq: Flags mismatch irq 8. 00000080 (tpm0) vs. 00000000 (rtc0) > [ 1.026110] tpm_tis tpm_tis: Unable to request irq: 8 for probe This is OK, not a bug. When you use the force parameter the TPM driver does a probing process finding a free interrupt vector that it can set for a locality. It's just a warning that kernel interrupt code gives when IRQ cannot be shared. The driver works as expected. > ------------------------- > I ADDed tpm_tis.force=1 to kernel boot command. Starting from v4.4-rc1 you should not need force anymore with tpm_tis. > At this status, if I run getcapability command of IBM TPM 2.0 TSS, the > machine returns some data. > Additionally, tpm2-util(by jethro G. B) can read vendor/chip name. > > However, trousers and tpm-tool return error as follow: > ------------------------- > root@debian:/home/debian# /usr/local/sbin/tcsd -f -e > TCSD TDDL ioctl: (25) Inappropriate ioctl for device > TCSD TDDL Falling back to Read/Write device support. > TCSD TCS ERROR: TCS GetCapability failed with result = 0x1e > ------------------------- > May I think that Kernel supports TPM 2.0 but TrouSers TSS does not? TrouSerS supports only TPM 1.2 and what I've heard there is not interest to add a translation layer (compability mode) to it. > youngwha /Jarkko |