Error When Creating A Virtual Machine In Proxmox

Jared9922

New Member
Aug 11, 2021
9
0
1
22
Hello

I am getting the following error when I try to start my Ubuntu VM

Code:
TASK ERROR: KVM virtualisation configured, but not available. Either disable in VM configuration or enable in BIOS.

I wanted to enable this setting on the host machine. I tired following these guidelines to fix this error: https://pve.proxmox.com/wiki/Nested_Virtualization Specifically the information under the header "Enable Nested Hardware-assisted Virtualization." It seems that my host system doesn't have a kvm_amd file even though I am using an AMD chip. When I am trying to run the cat command I can see a file called kvm at the /sys/module/kvm directory, but not a file called kvm_amd or kvm_intel. Is the guide I am trying to follow old information or am I just messing something up.

Thanks,
Jared
 
Last edited:
Can you provide us with a link to the motherboard manual? Maybe it is just a BIOS setting, maybe with an unfamiliar name.
What is the output of journalctl -b 0 | grep kvm?
 
Here is the response from that command:

Code:
root@pve:~# journalctl -b 0 | grep kvm
Aug 19 11:06:16 pve kernel: kvm: disabled by bios
Aug 19 11:06:16 pve kernel: kvm: disabled by bios
Aug 19 11:06:16 pve kernel: kvm: disabled by bios
Aug 19 11:06:17 pve kernel: kvm: disabled by bios
Aug 19 11:06:17 pve kernel: kvm: disabled by bios
Aug 19 11:06:17 pve kernel: kvm: disabled by bios
Aug 19 11:06:17 pve kernel: kvm: disabled by bios
Aug 19 11:06:17 pve kernel: kvm: disabled by bios
Aug 19 11:06:17 pve kernel: kvm: disabled by bios
Aug 19 11:06:17 pve kernel: kvm: disabled by bios

It looks like the Bios is disabling it. The host machine is using an Asus Dark Hero motherboard. Manuals can be found here:https://rog.asus.com/us/motherboard...rosshair-viii-dark-hero-model/helpdesk_manual. Would you mind explaining in a little more detail what this error means and why the motherboard is disabling it?
 
Maybe your CPUs virtualization features (like VT-x, VT-d or AMD-V) are disabled in BIOS?
 
Last edited:
According to the journal, the kvm module is not loading. There are no lines with Inserted module 'kvm' and Inserted module 'kvm_amd'. Either you have a very nonstandard setup or something is broken (or the logs are already cleared).
Unfortunately, your motherboard manual does not explain the BIOS settings. Therefore, I cannot tell you which ones you need to enable (if it is disabled in the BIOS). It should be enabled by default (Load Optimized Defaults or something?) except for IOMMU.
What is the output of cat /etc/modules and ls -l /etc/modprobe.d?
What is the output of lsmod | grep kvm before and after modprobe kvm?
Is this a new install and your first VM or did it work before you changed some things? What files did you change?
 
Last edited:

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!