For the temporary workaround - here's how I solved this.
I guess I need to run this script on cron's @reboot for now.

> rmmod does NOT remove module
root:/tmp# lsmod | grep -i tpm
tpm_infineon           16384  0
root:/tmp# rmmod tpm_infineon
root:/tmp# journalctl --all --since="1 minute ago"
00:26:53 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62
00:27:05 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62
00:27:17 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62
00:27:29 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62
00:27:41 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62
root:/tmp# journalctl --all --since="1 minute ago"
00:27:05 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62
00:27:17 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62
00:27:29 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62
00:27:41 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62
00:27:53 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62 <---
NEW!

> tea-thing worked!!
root:/tmp# ls /sys/class/tpm/tpm0/device/driver
00:01  bind  uevent  unbind
root:/tmp# echo 00:01|tee /sys/class/tpm/tpm0/device/driver/unbind
00:01
root:/tmp# journalctl --all --since="1 minute ago"
00:28:53 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62
00:29:05 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62
00:29:17 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62
00:29:30 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62
00:29:42 sv kernel: tpm tpm0: tpm_try_transmit: send(): error -62
root:/tmp# journalctl --all --since="1 minute ago"
-- No entries --

Reply via email to