Jump to content

(SOLVED)Cannot use VMs on AMD/Gigabyte


RonUSMC

Recommended Posts

Searching this forum has been very helpful so I'm going to start two threads for the issues I'm having today.

 

 

New build on the 6.4.0-rc7a build to fix the random crashes.. Running AMD Ryzen 5 1600 on a Gigabyte GA-AB350M-D3H running the most recent F3 Bios.

 

Errors: When I click on Info, I get this in the log.

 

Tower kernel: kvm: disabled by bios

It is enabled in bios.

 

When I try to create a Windows 10 VM I get:

 

unsupported configuration: Domain requires KVM, but it is not available. Check that virtualization is enabled in the host BIOS, and host configuration is setup to load the kvm modules.

 

 

I read this thread, but I don't have any of the options that they are talking about. I have not successfully created a VM to be able to edit an XML(?).

Here is my info screen:

M/B: Gigabyte Technology Co., Ltd. - AB350M-D3H-CF
CPU: AMD Ryzen 5 1600 Six-Core @ 3200
HVM: Disabled
IOMMU: Enabled
Cache: 576 kB, 3072 kB, 16384 kB

I followed the HVM link to the wiki. The Ryzen processors do support it.

 

I read this thread, https://askubuntu.com/questions/84311/loading-kvm-amd-module-fails

and ran this command: egrep '(vmx|svm)' --color=always /proc/cpuinfo

 

: 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 skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_l2 mwaitx hw_pstate vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic overflow_recov succor smca

 

It has svm_lock as a flag. So I researched that and found this thread, https://askubuntu.com/questions/315830/vt-x-features-locked-or-unavailable-in-msr-error-while-trying-to-install-windo

 

and the answer they gave was: 

Quote

Before starting your instance on your Oracle VM VirtualBox Player, go to settings, system, acceleration, and un-check "Enable VT-x/AMD-V". Start your instance and you should no longer see this error.

 

So i guess somehow I need to disable that?

 

tower-diagnostics-20170812-0813.zip

Link to comment

Do you have this option in the bios that is quoted below?

 

Quote

So apparently to enable virtualization support, you have to enable SVM. To activate it, click on the MIT tab, then Advanced Frequency Settings and then Advanced Core settings. Even though the manual says it should be enabled by default, it wasn't on my board.

 

Link to comment

I just came to say that Saarg, thank you for the follow up. I reflashed the F3 bios and then went in and found the SVM flag unchecked. Rechecked it and got this:

 

dmesg | grep -i kvm
[   12.509009] kvm: unknown parameter 'allow_unsafe_assigned_interrupts' ignored
[   12.513146] kvm: Nested Virtualization enabled
[   12.513355] kvm: Nested Paging enabled

I think it will be fixed. In my rooting around with the cables though I did an unclean shutdown and now its in a parity check, is it ok to cancel that?

 

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...