Error: KVM: entry failed, hardware error 0x80000021

floryn29x

New Member
Jun 25, 2023
4
0
1
Hello ..
I have a request if someone can help me with the following problem.. the virtual machine on which I installed windows 11 gives me the following error after which it closes..

Jun 25 22:52:47 server QEMU[1661916]: KVM: entry failed, hardware error 0x80000021
Jun 25 22:52:47 server QEMU[1661916]: If you're running a guest on an Intel machine without unrestricted mode
Jun 25 22:52:47 server QEMU[1661916]: support, the failure can be most likely due to the guest entering an invalid
Jun 25 22:52:47 server QEMU[1661916]: state for Intel VT. For example, the guest maybe running in big real mode
Jun 25 22:52:47 server QEMU[1661916]: which is not supported on less recent Intel processors.
Jun 25 22:52:47 server kernel: set kvm_intel.dump_invalid_vmcs=1 to dump internal KVM state.
Jun 25 22:52:47 server QEMU[1661916]: EAX=00001000 EBX=00000000 ECX=0000ffff EDX=00001000
Jun 25 22:52:47 server QEMU[1661916]: ESI=8d12cb40 EDI=00000000 EBP=ef125600 ESP=853f9fb0
Jun 25 22:52:47 server QEMU[1661916]: EIP=00008000 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=1 HLT=0
Jun 25 22:52:47 server QEMU[1661916]: ES =0000 00000000 ffffffff 00809300
Jun 25 22:52:47 server QEMU[1661916]: CS =be00 7ffbe000 ffffffff 00809300
Jun 25 22:52:47 server QEMU[1661916]: SS =0000 00000000 ffffffff 00809300
Jun 25 22:52:47 server QEMU[1661916]: DS =0000 00000000 ffffffff 00809300
Jun 25 22:52:47 server QEMU[1661916]: FS =0000 00000000 ffffffff 00809300
Jun 25 22:52:47 server QEMU[1661916]: GS =0000 00000000 ffffffff 00809300
Jun 25 22:52:47 server QEMU[1661916]: LDT=0000 00000000 000fffff 00000000
Jun 25 22:52:47 server QEMU[1661916]: TR =0040 853ee000 00000067 00008b00
Jun 25 22:52:47 server QEMU[1661916]: GDT= 853effb0 00000057
Jun 25 22:52:47 server QEMU[1661916]: IDT= 00000000 00000000
Jun 25 22:52:47 server QEMU[1661916]: CR0=00050032 CR2=638aa100 CR3=001ae000 CR4=00000000
Jun 25 22:52:47 server QEMU[1661916]: DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
Jun 25 22:52:47 server QEMU[1661916]: DR6=00000000ffff0ff0 DR7=0000000000000400
Jun 25 22:52:47 server QEMU[1661916]: EFER=0000000000000000
Jun 25 22:52:47 server QEMU[1661916]: Code=kvm: ../hw/core/cpu-sysemu.c:77: cpu_asidx_from_attrs: Assertion `ret < cpu->num_ases && ret >= 0' failed.
Jun 25 22:52:47 server kernel: fwbr111i0: port 2(tap111i0) entered disabled state
Jun 25 22:52:47 server kernel: fwbr111i0: port 2(tap111i0) entered disabled state


thank you..
 
Linux server 5.15.30-2-pve #1 SMP PVE 5.15.30-3 (Fri, 22 Apr 2022 18:08:27 +0200) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Dec 29 10:18:53 EET 2022 on pts/0
root@server:~# pveversion -v
proxmox-ve: 7.2-1 (running kernel: 5.15.30-2-pve)
pve-manager: 7.2-3 (running version: 7.2-3/c743d6c1)
pve-kernel-helper: 7.2-2
pve-kernel-5.15: 7.2-1
pve-kernel-5.15.30-2-pve: 5.15.30-3
ceph: 16.2.9-pve1
ceph-fuse: 16.2.9-pve1
corosync: 3.1.5-pve2
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown2: 3.1.0-1+pmx3
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.22-pve2
libproxmox-acme-perl: 1.4.2
libproxmox-backup-qemu0: 1.2.0-1
libpve-access-control: 7.1-8
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.1-6
libpve-guest-common-perl: 4.1-2
libpve-http-server-perl: 4.1-1
libpve-storage-perl: 7.2-2
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 4.0.12-1
lxcfs: 4.0.12-pve1
novnc-pve: 1.3.0-3
proxmox-backup-client: 2.1.8-1
proxmox-backup-file-restore: 2.1.8-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.4-10
pve-cluster: 7.2-1
pve-container: 4.2-1
pve-docs: 7.2-2
pve-edk2-firmware: 3.20210831-2
pve-firewall: 4.2-5
pve-firmware: 3.4-1
pve-ha-manager: 3.3-4
pve-i18n: 2.7-1
pve-qemu-kvm: 6.2.0-5
pve-xtermjs: 4.16.0-1
qemu-server: 7.2-2
smartmontools: 7.2-pve3
spiceterm: 3.2-2
swtpm: 0.7.1~bpo11+1
vncterm: 1.7-1
zfsutils-linux: 2.1.4-pve1
 
I'm not an expert in proxmox, can you please suggest the steps to do a safe update
thank you
 
Hi,
yes this should be fixed since a long time. From the Proxmox VE 7.2 release notes:
Certain systems may need to work around a HW issue with TDP (two-dimensional paging), a now by default enabled technic to speed up VM to host, or vice versa, switches.If you see a kernel log message containing KVM: entry failed, hardware error 0x80000021 you are affected.This has been adressed with the kernel package pve-kernel-5.15.39-3-pve with version 5.15.39-3 and newer, which is available on all repositories.
 
  • Like
Reactions: spirit

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!