SVM problem on Centos 7 as non-root user

Discussions related to using VirtualBox on Linux hosts.
Post Reply
sigterm9
Posts: 1
Joined: 20. Jun 2016, 07:59

SVM problem on Centos 7 as non-root user

Post by sigterm9 »

Hello, I cannot manage to solve following problem for more than week: I want to use VirtualBox on my AMD system to run VMs as non-root user - final goal is to use phpvirtualbox with it. With identical software configuration, it works flawlessly on Intel core i3 system. I have put "export VBOX_HWVIRTEX_IGNORE_SVM_IN_USE=true" in /etc/profile, otherwise VirtualBox complaints about VERR_SVM_IN_USE. When I run the VM with this env.var., it runs only as root. when i try to run it as "vboxusr", which is added to appropriate user group, it stops with:

Code: Select all

[vboxusr@beta Logs]$ VBoxManage startvm DC
Waiting for VM "DC" to power on...
VBoxManage: error: The virtual machine 'DC' has terminated unexpectedly during startup with exit code 1 (0x1)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine
Log contains:

Code: Select all

00:00:00.364185 VMSetError: /home/vbox/vbox-5.0.20/src/VBox/VMM/VMMR3/VM.cpp(367) int VMR3Create(uint32_t, PCVMM2USERMETHODS, PFNVMATERROR, void*, PFNCFGMCONSTRUCTOR, void*, VM**, UVM**); rc=VERR_SVM_IN_USE
00:00:00.364215 VMSetError: VirtualBox can't enable the AMD-V extension. Please disable the KVM kernel extension, recompile your kernel and reboot
00:00:00.365131 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} aText={AMD-V is being used by another hypervisor (VERR_SVM_IN_USE).
00:00:00.365158 VirtualBox can't enable the AMD-V extension. Please disable the KVM kernel extension, recompile your kernel and reboot (VERR_SVM_IN_USE)}, preserve=false aResultDetail=0
00:00:00.365374 Console: Machine state changed to 'PoweredOff'
00:00:00.368930 Power up failed (vrc=VERR_SVM_IN_USE, rc=NS_ERROR_FAILURE (0X80004005))

1. HOST HW: AMD Phenom 9550, SVM enabled in bios. MB Gigabyte GA-MA770-DS3, latest BIOS (FC), 8GB RAM
2. HOST OS: Centos 7, SELinux disabled, KVM modules blacklisted (tried even file-deleting them, didn't help)
3. VBOX_HWVIRTEX_IGNORE_SVM_IN_USE=true
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: SVM problem on Centos 7 as non-root user

Post by Perryg »

Post the guests log file ( as an attachment ). Right click on the guest in the Main Manager then click show log. Save and post as an attachment. Compress if it is too large to post.

Also the /var/log/vbox-install.log ( as an attachment )
Post Reply