[SOLVED] KVM virtualisation configured, but not available : Proxmox 6.4-4 (AMD 5800X@MSI B550 Mortar)

evgenijp

Member
May 19, 2021
9
0
6
42
Hallo zusammen,

bin neu bei Proxmox und versuche eine Homelab aufzubauen, aber leider wollen die VM's nicht starten, da die Virtualisierung scheinbar nicht aktiviert ist.
TASK ERROR: KVM virtualisation configured, but not available. Either disable in VM configuration or enable in BIOS.
Scheinbar, weil ich die Option im BIOS wie folgt gesetzt habe: overclocking -> Advanced CPU configuration - > svm mode-enable
Auch laut cpuinfo wird svm unterstützt.
Bash:
    root@pve:~# cat /proc/cpuinfo | grep svm

    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca

Habe versucht dem Wiki-Eintrag zu folgen, aber leider war auch dieser Weg eine Sackgasse:
Bash:
root@pve:~# echo "options kvm-amd nested=1" > /etc/modprobe.d/kvm-amd.conf
root@pve:~# modprobe -r kvm_amd
root@pve:~# modprobe kvm_amd
modprobe: ERROR: could not insert 'kvm_amd': Operation not supported

Woran kann das liegen? Habe ich etwas übersehen?

beste Grüße
Evgenij
 
Last edited:
Hallo Dominik, danke für deine Antwort. Kernel 5.11 ist bei mir nicht verfügbar:

Code:
root@pve:~# apt update
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://ftp.de.debian.org/debian buster InRelease
Get:3 http://ftp.de.debian.org/debian buster-updates InRelease [51.9 kB]
Fetched 51.9 kB in 0s (243 kB/s)   
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
root@pve:~# apt install pve-kernel-5.11
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package pve-kernel-5.11
E: Couldn't find any package by glob 'pve-kernel-5.11'
E: Couldn't find any package by regex 'pve-kernel-5.11'

Bin mir nicht sicher wonach ich im dmesg suchen sollte und hänge es am besten dran. Für mich sieht es ok aus.
 

Attachments

Habe mein Fehler gefunden: Nach dem BIOS-Update ist die Einstellung (SVM-Support) wohl zurückgesetzt worden. Und das mit dem Kernel ist vermutlich nur in dem "no-subscription"-Repository zu finden? Wie auch immer, KVM läuft nun. Danke für die Hilfe und den Denkanstoß :-)