tpm2 on ubuntu

轉(zhuǎn):https://askubuntu.com/questions/708344/tpm-2-0-on-debian-ubuntu

We are running one of the newest Intel NUCs with TPM 2.0 chip (what the vendor is, I haven't been able to figure out). At the moment I am just trying to load the drivers to get it visible to the system, but no dice so far

I have tried Linux Kernels 3.2, 3.16 and 4.2. According to?kernelnewbies?kernel 4.0 is when TPM 2.0 drivers were introduced.

My current steps to load drivers:

ls -la /lib/modules/`uname -r`/kernel/drivers/char/tpm?to list available tpm drivers

modprobe <items from above>. Plenty of people say that tpm_tis is the only thing they needed, but no dice for me

Checking?/sys/class/tpm?on 4.* and?/sys/class/misc/on 3.* for tpm0 hardware

Running?tcsd -f?just gives me a communication error

Triple checked the BIOS to see if TPM is enabled. It was actually enabled out of the box which apparently it isn't supposed to be?

Output of?ls -la /lib/modules/`uname -r`/kernel/drivers/char/tpm:

total 248

drwxr-xr-x 3 root root? 4096 Dec 10 18:38 .

drwxr-xr-x 7 root root? 4096 Dec 10 18:38 ..

drwxr-xr-x 2 root root? 4096 Dec 10 18:38 st33zp24

-rw-r--r-- 1 root root 10984 Nov 18 05:26 tpm_atmel.ko

-rw-r--r-- 1 root root 11760 Nov 18 05:26 tpm_crb.ko

-rw-r--r-- 1 root root 11160 Nov 18 05:26 tpm_i2c_atmel.ko

-rw-r--r-- 1 root root 14904 Nov 18 05:26 tpm_i2c_infineon.ko

-rw-r--r-- 1 root root 20816 Nov 18 05:26 tpm_i2c_nuvoton.ko

-rw-r--r-- 1 root root 24808 Nov 18 05:26 tpm_infineon.ko

-rw-r--r-- 1 root root 66552 Nov 18 05:26 tpm.ko

-rw-r--r-- 1 root root 15784 Nov 18 05:26 tpm_nsc.ko

-rw-r--r-- 1 root root 31624 Nov 18 05:26 tpm_tis.ko

-rw-r--r-- 1 root root 14072 Nov 18 05:26 xen-tpmfront.ko

Any additional steps / direction / tips would be greatly appreciated.

Update

I managed to get 4.4 kernel installed, it manages to load up drivers (I see tpm0 in?/sys/class/tpm/tpm0?now). But running?tcsd -f?give me the following error:

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

Also to make sure that I have the latest version of Trousers I compiled that from source as well, still no dice. One thing I have noticed is that inside?tpm0?there is no?pcrs?file

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • 今天有點難過,剛突然聽說我的大學同學王大勇得胃癌去世了,走得很突然。 雖然知道生老病死是生命的常態(tài),但每當有至親好...
    空性之美閱讀 202評論 0 0
  • 早上,一個家長在群里質(zhì)問,孩子腳指甲被剪的事。拍的圖片很近,可能是剪深了,也能看到指甲下稚嫩的紅肉。 這個家長昨晚...
    俞見閱讀 455評論 4 5
  • 由于人們的生活水平的不斷提高,越來越多的人對一些精神方面的要求也越來越高,一些娛樂餐飲場所就應(yīng)運而生。 我們平時的...
    猴爸陪你讀書閱讀 634評論 0 2
  • 酒罷興未闌,小橋共盤桓。 波搖蕩月白,風入羅衣虔。 勸君莫思歸,須盡今日歡。
    陽春閱讀 251評論 2 3

友情鏈接更多精彩內(nèi)容