VERR_VMX_MSR_LOCKED_OR_DISABLED

Discussions related to using VirtualBox on Linux hosts.
Post Reply
jmatson
Posts: 4
Joined: 6. Apr 2011, 18:45
Primary OS: openSUSE
VBox Version: OSE other
Guest OSses: Windows

VERR_VMX_MSR_LOCKED_OR_DISABLED

Post by jmatson »

I am running SUSE 11.4 on a Dell Optiplex 755 and the latest version of VirtualBox OSE from Virtualbox.org.

Everything installs and compiles just fine, but when I go to start my VM, I get "VERR_VMX_MSR_LOCKED_OR_DISABLED". In reading some other posts on this error, it appears there are setting in the BIOS to enable virtulization which I have toggled back and forth with no luck.

Anyone seen this before? My previous OS (SUSE 4.3) with VirtualBox worked just fine.

Thanks ahead of time ... -- Jerry
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: VERR_VMX_MSR_LOCKED_OR_DISABLED

Post by Perryg »

You may need to actually update your bios. Dell has been known to disable the hardware virtualization.
Only other thing that would cause this is if you have KVM or some other hardware-v virtualizer or kernel running.
jmatson
Posts: 4
Joined: 6. Apr 2011, 18:45
Primary OS: openSUSE
VBox Version: OSE other
Guest OSses: Windows

Re: VERR_VMX_MSR_LOCKED_OR_DISABLED

Post by jmatson »

I did update my BIOS from A-10 to A-17 which is the latest bios for my model of Dell.

I am not sure of the other stuff is running... here's a list (lsmod)

Module Size Used by
vboxnetadp 6348 0
vboxnetflt 21734 0
vboxdrv 1829603 2 vboxnetadp,vboxnetflt
md5 4489 2
cifs 303886 2
nls_utf8 1549 2
hfsplus 84319 1
fuse 80436 3
ip6t_LOG 9192 5
xt_tcpudp 3812 4
xt_pkttype 1288 3
ipt_LOG 8721 6
xt_limit 2591 11
edd 9664 0
ip6t_REJECT 4709 3
nf_conntrack_ipv6 9399 3
nf_defrag_ipv6 11699 1 nf_conntrack_ipv6
ip6table_raw 1627 1
xt_NOTRACK 1224 4
ipt_REJECT 2640 3
iptable_raw 1686 1
iptable_filter 1946 1
ip6table_mangle 2036 0
nf_conntrack_netbios_ns 1822 0
nf_conntrack_ipv4 10168 4
nf_defrag_ipv4 1737 1 nf_conntrack_ipv4
ip_tables 22270 2 iptable_raw,iptable_filter
xt_conntrack 2880 7
nf_conntrack 88175 5 nf_conntrack_ipv6,xt_NOTRACK,nf_conntrack_netbios_ns,nf_conntrack_ipv4,xt_conntrack
ip6table_filter 1855 1
ip6_tables 22656 4 ip6t_LOG,ip6table_raw,ip6table_mangle,ip6table_filter
x_tables 28281 16 ip6t_LOG,xt_tcpudp,xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,ip6table_raw,xt_NOTRACK,ipt_REJECT,iptable_raw,iptable_filter,ip6table_mangle,ip_tables,xt_conntrack,ip6table_filter,ip6_tables
cpufreq_conservative 11828 0
cpufreq_userspace 3264 0
cpufreq_powersave 1290 0
acpi_cpufreq 8367 0
mperf 1555 1 acpi_cpufreq
snd_pcm_oss 53391 0
snd_mixer_oss 20225 1 snd_pcm_oss
snd_seq 66675 0
snd_seq_device 7770 1 snd_seq
dm_mod 86272 0
tg3 144120 0
ppdev 9183 0
snd_hda_codec_analog 87892 1
parport_pc 37259 0
iTCO_wdt 12266 0
e1000e 203721 0
floppy 68461 0
sr_mod 16781 0
parport 40234 2 ppdev,parport_pc
iTCO_vendor_support 3118 1 iTCO_wdt
dcdbas 9013 0
button 6829 0
cdrom 43280 1 sr_mod
sg 33426 0
pcspkr 2190 0
serio_raw 5318 0
i2c_i801 10920 0
shpchp 31135 0
pci_hotplug 32310 1 shpchp
snd_hda_intel 28391 2
snd_hda_codec 108050 2 snd_hda_codec_analog,snd_hda_intel
snd_hwdep 7772 1 snd_hda_codec
snd_pcm 104468 3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer 26774 2 snd_seq,snd_pcm
snd 84374 14 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore 8782 1 snd
snd_page_alloc 9569 2 snd_hda_intel,snd_pcm
ext4 397962 2
jbd2 91654 1 ext4
crc16 1747 1 ext4
radeon 984687 3
ttm 74373 1 radeon
drm_kms_helper 36694 1 radeon
drm 232019 5 radeon,ttm,drm_kms_helper
i2c_algo_bit 6246 1 radeon
fan 3215 0
processor 39669 1 acpi_cpufreq
thermal 14914 0
thermal_sys 17462 3 fan,processor,thermal
ata_generic 3995 0



Thanks for the reply.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: VERR_VMX_MSR_LOCKED_OR_DISABLED

Post by Perryg »

run cat /proc/cpuinfo in a terminal and post here.
jmatson
Posts: 4
Joined: 6. Apr 2011, 18:45
Primary OS: openSUSE
VBox Version: OSE other
Guest OSses: Windows

Re: VERR_VMX_MSR_LOCKED_OR_DISABLED

Post by jmatson »

Code: Select all

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Intel(R) Core(TM)2 Quad  CPU   Q9550  @ 2.83GHz
stepping	: 7
cpu MHz		: 2833.000
cache size	: 6144 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 4
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm dts tpr_shadow vnmi flexpriority
bogomips	: 5653.06
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Intel(R) Core(TM)2 Quad  CPU   Q9550  @ 2.83GHz
stepping	: 7
cpu MHz		: 2833.000
cache size	: 6144 KB
physical id	: 0
siblings	: 4
core id		: 1
cpu cores	: 4
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm dts tpr_shadow vnmi flexpriority
bogomips	: 5652.46
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 2
vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Intel(R) Core(TM)2 Quad  CPU   Q9550  @ 2.83GHz
stepping	: 7
cpu MHz		: 2833.000
cache size	: 6144 KB
physical id	: 0
siblings	: 4
core id		: 2
cpu cores	: 4
apicid		: 2
initial apicid	: 2
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm dts tpr_shadow vnmi flexpriority
bogomips	: 5652.48
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 3
vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Intel(R) Core(TM)2 Quad  CPU   Q9550  @ 2.83GHz
stepping	: 7
cpu MHz		: 2833.000
cache size	: 6144 KB
physical id	: 0
siblings	: 4
core id		: 3
cpu cores	: 4
apicid		: 3
initial apicid	: 3
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm dts tpr_shadow vnmi flexpriority
bogomips	: 5652.48
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: VERR_VMX_MSR_LOCKED_OR_DISABLED

Post by Perryg »

If you have made sure that the hardware-v is enabled in your bios I don't know what else to tell you.
You may need to contact Dell to find out what is wrong. Some people have said that they had to actually turn off (disable) the hardware-v feature in bios to get it to work. Meaning they label was backwards I guess.
mhanor
Volunteer
Posts: 321
Joined: 7. Oct 2009, 12:40
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: various

Re: VERR_VMX_MSR_LOCKED_OR_DISABLED

Post by mhanor »

try disabling Trusted Execution, in BIOS
jmatson
Posts: 4
Joined: 6. Apr 2011, 18:45
Primary OS: openSUSE
VBox Version: OSE other
Guest OSses: Windows

Re: VERR_VMX_MSR_LOCKED_OR_DISABLED

Post by jmatson »

Trusted execution was the issue!!!

THANK YOU!!
After turning Trusted Execution off, VirtualBox started working just fine.
Post Reply