From: mipsan.K <mi...@gm...> - 2015-11-04 02:12:59
|
Hi Peter, On Tue, Nov 3, 2015 at 4:27 PM, Peter Huewe <pet...@gm...> wrote: > Hi, > Does it show the same result, with and without the tpm_tis.force=1? > But at least the driver is correctly loaded I guess - /dev/tpm0 is available? > without force=1 parameter, and at linux-tpm2 4.4-rc1, returned as follow: ---------------------------- root@debian:/home/debian# dmesg | grep -i tpm [ 0.000000] Linux version 4.3.0-rc4-tpm2+ (root@debian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Tue Nov 3 20:31:35 EST 2015 [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.3.0-rc4-tpm2+ root=UUID=a5e5e761-c2f2-41c3-9dfd-800a73e7a3e6 ro quiet [ 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-tpm2+ root=UUID=a5e5e761-c2f2-41c3-9dfd-800a73e7a3e6 ro quiet [ 0.417763] usb usb1: Manufacturer: Linux 4.3.0-rc4-tpm2+ ehci_hcd [ 0.839882] tpm_tis MSFT0101:00: 2.0 TPM (device-id 0x1A, rev-id 16) root@debian:/home/debian# lsmod Module Size Used by tpm_crb 3676 0 x86_pkg_temp_thermal 4727 0 tpm_tis 10223 0 tpm 28797 2 tpm_crb,tpm_tis ---------------------------- As you can find, no IRQ related warning message and tpm module is added(linux-tpmdd does not have tpm module). > > Yes - trousers/tpm tools is 1.2 only > Maybe have a look into the tss 2.0 stacks by tcg and ibm > I tested TPM 2.0 supporting TSS, from IBM and Intel. - IBM: http://sourceforge.net/projects/ibmtpm20tss/ - Intel: https://github.com/01org/TPM2.0-TSS I could get some result only at getcapability command in IBM's TSS as below: ---------------------------- root@debian:/home/debian/Downloads/ibmtpm2/utils# ./getcapability -cap 6 | less moreData: 1 63 properties TPM_PT 00000100 value 322e3000 TPM_PT_FAMILY_INDICATOR - a 4-octet character string containing the TPM Family value (TPM_SPEC_FAMILY) TPM_PT 00000101 value 00000000 TPM_PT_LEVEL - the level of the specification TPM_PT 00000102 value 00000074 TPM_PT_REVISION - the specification Revision times 100 TPM_PT 00000103 value 0000012f TPM_PT_DAY_OF_YEAR - the specification day of year using TCG calendar TPM_PT 00000104 value 000007de TPM_PT_YEAR - the specification year using the CE TPM_PT 00000105 value 49465800 TPM_PT_MANUFACTURER - the vendor ID unique to each TPM manufacturer TPM_PT 00000106 value 534c4239 TPM_PT_VENDOR_STRING_1 - the first four characters of the vendor ID string TPM_PT 00000107 value 36363500 TPM_PT_VENDOR_STRING_2 - the second four characters of the vendor ID string ... ---------------------------- > -- > Peter Huewe <pet...@gm...> It's very hard to test TPM 2.0 TSS like tpm-tools of TPM 1.2. Thanks, youngwha |