Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unchecked MSR access error: WRMSR to 0xc0010010 #203

Open
aep opened this issue Jan 11, 2024 · 0 comments
Open

unchecked MSR access error: WRMSR to 0xc0010010 #203

aep opened this issue Jan 11, 2024 · 0 comments

Comments

@aep
Copy link

aep commented Jan 11, 2024

  • snp latest (c941361 )
  • EPYC 8224P
  • Gigabyte ME03-PE0-000

host kernel fails to enable snp

[   10.560552] AMD-Vi: SNP enabled
[   10.560554] SEV-SNP: RMP table physical address [0x0000000035500000 - 0x0000000075afffff]
[   10.583761] unchecked MSR access error: WRMSR to 0xc0010010 (tried to write 0x0000000003fc0000) at rIP: 0xffffffffaba88184 (native_write_msr+0x4
/0x20)
[   10.583775] Call Trace:
[   10.583778]  <TASK>
[   10.583781]  ? ex_handler_msr+0xd3/0x150
[   10.583785]  ? fixup_exception+0x297/0x300
[   10.583789]  ? exc_general_protection+0x140/0x420
[   10.583794]  ? srso_alias_return_thunk+0x5/0x7f
[   10.583800]  ? asm_exc_general_protection+0x22/0x30
[   10.583805]  ? native_write_msr+0x4/0x20
[   10.583808]  __snp_enable+0x30/0x40
[   10.583812]  smp_call_function_many_cond+0xd5/0x470
[   10.583816]  ? __pfx_snp_enable+0x10/0x10
[   10.583821]  on_each_cpu_cond_mask+0x19/0x20
[   10.583824]  snp_rmptable_init+0x135/0x1b0
[   10.583828]  ? __pfx_snp_rmptable_init+0x10/0x10
[   10.583830]  do_one_initcall+0x59/0x2f0
[   10.583836]  kernel_init_freeable+0x321/0x440
[   10.583842]  ? __pfx_kernel_init+0x10/0x10
[   10.583845]  kernel_init+0x16/0x1b0
[   10.583848]  ret_from_fork+0x30/0x50
[   10.583852]  ? __pfx_kernel_init+0x10/0x10
[   10.583855]  ret_from_fork_asm+0x1b/0x30
[   10.583861]  </TASK>

[   16.781747] ccp 0000:02:00.5: SEV: failed to get status. Error: 0x8003
[   16.800243] Console: switching to colour frame buffer device 240x75
[   16.902629] ast 0000:c3:00.0: [drm] fb0: astdrmfb frame buffer device
[   17.069466] kvm_amd: TSC scaling supported
[   17.069469] kvm_amd: Nested Virtualization enabled
[   17.069518] kvm_amd: Nested Paging enabled
[   17.069633] kvm_amd: SEV-ES and SEV-SNP supported: 99 ASIDs
[   17.069738] kvm_amd: SEV enabled (ASIDs 100 - 1006)
[   17.069786] kvm_amd: SEV-ES enabled (ASIDs 1 - 99)
[   17.070196] kvm_amd: Virtual VMLOAD VMSAVE supported
[   17.070197] kvm_amd: Virtual GIF supported
[   17.070197] kvm_amd: Virtual NMI enabled

2024-01-11-143501_438x366_scrot

qemu-system-x86_64: sev_kvm_init: failed to get platform status ret=-1 fw_error='32602: unknown error'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant