AMDESE / AMDSEV

AMD Secure Encrypted Virtualization
272 stars 84 forks source link

SEV-SNP: failed to INIT rc -5, error 0x3 #189

Open danko-miladinovic opened 9 months ago

danko-miladinovic commented 9 months ago

Hi everyone,

When I run sudo dmesg | grep -i sev I get an error message for ccp and SEV-SNP. The error is:

[    0.492094] SEV-SNP: RMP table physical address [0x000000004de00000 - 0x00000000566fffff]
[   11.652294] ccp 0000:42:00.1: sev enabled
[   11.702131] ccp 0000:42:00.1: SEV-SNP: failed to INIT rc -5, error 0x3
[   11.717361] ccp 0000:42:00.1: SEV: failed to INIT error 0x1, rc -5
[   11.717785] ccp 0000:42:00.1: SEV API:1.55 build:7
[   11.782062] kvm_amd: SEV-ES and SEV-SNP supported: 99 ASIDs
[   11.782063] kvm_amd: SEV enabled (ASIDs 100 - 509)
[   11.782063] kvm_amd: SEV-ES enabled (ASIDs 1 - 99)

OS: Ubuntu 22.04 LTS The kernel version: 6.5.0-rc2-snp-host-ad9c0bf475ec Processor: AMD EPYC 7443P 24-Core Processor

I have updated to the latest SEV firmware version and BIOS version for my server DELL PowerEdge R7515, as you can see from the log but I still get the cpp error.

Does anyone know how to fix this error?

Sorry if this question has been asked before, but I have not found an answer.

All the best, Danko

drasko commented 8 months ago

@danko-miladinovic I have found similar issues here: https://github.com/AMDESE/AMDSEV/issues/154 and here: https://github.com/AMDESE/AMDSEV/issues/68, but it is not very clear if these are related.