Open htruong opened 5 years ago
I have the same errors and haven't been able to get it to work, which I wish would so I can put the luks for my encrypted drive in the tpm but no luck. Have also tried updating to the R80 4.4 branch as well and can't seem to get it working.
If you don't need the TPM, you can comment out the TPM drivers in the kernel config and rebuild.
diff --git a/ansible/roles/eve-kernel/files/eve-R75-12105.B-4.4.178.config b/ansible/roles/eve-kernel/files/eve-R75-12105.B-4.4.178.config
index bd7feab..5af5ebb 100644
--- a/ansible/roles/eve-kernel/files/eve-R75-12105.B-4.4.178.config
+++ b/ansible/roles/eve-kernel/files/eve-R75-12105.B-4.4.178.config
@@ -2398,7 +2398,7 @@ CONFIG_HW_RANDOM_INTEL=y
# CONFIG_HW_RANDOM_AMD is not set
# CONFIG_HW_RANDOM_VIA is not set
# CONFIG_HW_RANDOM_VIRTIO is not set
-CONFIG_HW_RANDOM_TPM=y
+# CONFIG_HW_RANDOM_TPM=y
CONFIG_NVRAM=y
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
@@ -2407,9 +2407,9 @@ CONFIG_NVRAM=y
CONFIG_HPET=y
# CONFIG_HPET_MMAP is not set
# CONFIG_HANGCHECK_TIMER is not set
-CONFIG_TCG_TPM=y
-CONFIG_TCG_TIS_CORE=y
-CONFIG_TCG_TIS=y
+# CONFIG_TCG_TPM=y
+# CONFIG_TCG_TIS_CORE=y
+# CONFIG_TCG_TIS=y
# CONFIG_TCG_TIS_SPI is not set
# CONFIG_TCG_TIS_I2C_ATMEL is not set
# CONFIG_TCG_TIS_I2C_INFINEON is not set
then rebuild the kernel:
./run-ansible.sh -e "kernel_install_type=src"
There are a lot of tpm errors and complains. They seem to happen every two seconds in the klog.