diff options
Diffstat (limited to 'results/classifier/105/socket/2624')
| -rw-r--r-- | results/classifier/105/socket/2624 | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/results/classifier/105/socket/2624 b/results/classifier/105/socket/2624 new file mode 100644 index 00000000..6f0a479b --- /dev/null +++ b/results/classifier/105/socket/2624 @@ -0,0 +1,52 @@ +socket: 0.988 +device: 0.988 +instruction: 0.955 +graphic: 0.896 +boot: 0.842 +other: 0.776 +network: 0.774 +semantic: 0.700 +vnc: 0.649 +mistranslation: 0.539 +assembly: 0.394 +KVM: 0.378 + +qemu-system-aarch64: tpm-emulator: TPM result for CMD_INIT: 0x9 operation failed +Description of problem: +I'm using QEMU (compile from the latest source code) to simulate a tpm2 device with the above command, it just returns an error message: +``` +qemu-system-aarch64: tpm-emulator: TPM result for CMD_INIT: 0x9 operation failed +``` +swtpm start command: +``` +TPMSOCK=/tmp/swtpm-sock$$ +swtpm socket --tpm2 -t -d --tpmstate dir=$PWD/tpm --ctrl type=unixio,path=$TPMSOCK --log level=20 +``` +swtpm version: +``` +TPM emulator version 0.7.3, Copyright (c) 2014-2021 IBM Corp. +``` +Also tried the latest swtpm, encountered the same error. + +swtpm log (0.7.3): +``` +swtpm: Data client disconnected +swtpm: SWTPM_NVRAM_Lock_Dir: Could not open lockfile: Permission denied +swtpm: Error: Could not initialize libtpms. +swtpm: Error: Could not initialize the TPM +swtpm: Data client disconnected +``` + +swtpm log (0.10.0): +``` +swtpm: SWTPM_NVRAM_StoreData: Error (fatal) opening tpm/TMP2-00.permall for write failed, Permission denied +swtpm: SWTPM_NVRAM_Lock_Dir: Could not open lockfile: Permission denied +swtpm: Error: Could not initialize the TPM +swtpm: Data client disconnected +``` + +Any clues about this error? Best regrads. +Steps to reproduce: +Refer to [Description of problem](#description-of-problem) +Additional information: + |