Page 1 of 1

VERR_LDR_MISMATCH_NATIVE Error Windows 8 Host

Posted: 14. Aug 2013, 14:43
by neopolar
Hey everyone,

Just wondering if you could help me out, I have VM installed version 4.2.16 and it worked fine. I had a linux system that I imported into it that worked just fine, I then had to restore my PC for other reasons so I reinstalled VM and now my linux system (that worked before) can't start and gives me this message:

Failed to open a session for the virtual machine Lubuntu - Team42.

Failed to load VMMR0.r0 (VERR_LDR_MISMATCH_NATIVE).

Result Code: E_FAIL (0x80004005)
Component: Console
Interface: IConsole {db7ab4ca-2a3f-4183-9243-c1208da92392}

This message also appears if I try to start up a completely new system. I've tried reinstalling VM and clearing the registry keys between uninstalling and reinstalling but it still occurs. The log file for the linux machine says this (I can't see anything obvious):

VirtualBox VM 4.2.16 r86992 win.amd64 (Jul 4 2013 15:51:44) release log
00:00:02.543963 Log opened 2013-08-14T12:40:37.090631000Z
00:00:02.543966 OS Product: Windows 8
00:00:02.543967 OS Release: 6.2.9200
00:00:02.543968 OS Service Pack:
00:00:02.543973 Host RAM: 16338MB total, 13234MB available
00:00:02.543974 Executable: C:\Program Files\Oracle\VirtualBox\VirtualBox.exe
00:00:02.543974 Process ID: 1428
00:00:02.543975 Package type: WINDOWS_64BITS_GENERIC
00:00:02.572730 Installed Extension Packs:
00:00:02.572951 None installed!
00:00:02.600771 pdmR3LoadR0U: pszName="VMMR0.r0" rc=VERR_LDR_MISMATCH_NATIVE szErr="supLoadModule returned VERR_LDR_MISMATCH_NATIVE"
00:00:02.600989 VMSetError: D:\tinderbox\win-4.2\src\VBox\VMM\VMMR3\VM.cpp(602) int __cdecl vmR3CreateU(struct UVM *,unsigned int,int (__cdecl *)(struct VM *,void *),void *); rc=VERR_LDR_MISMATCH_NATIVE
00:00:02.600994 VMSetError: Failed to load VMMR0.r0
00:00:02.601459 ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={db7ab4ca-2a3f-4183-9243-c1208da92392} aComponent={Console} aText={Failed to load VMMR0.r0 (VERR_LDR_MISMATCH_NATIVE)}, preserve=false
00:00:02.631032 Power up failed (vrc=VERR_LDR_MISMATCH_NATIVE, rc=E_FAIL (0X80004005))
00:00:02.888721 ERROR [COM]: aRC=E_ACCESSDENIED (0x80070005) aIID={db7ab4ca-2a3f-4183-9243-c1208da92392} aComponent={Console} aText={The virtual machine is not powered up}, preserve=false

Any help would be most appreciated :)

Re: VERR_LDR_MISMATCH_NATIVE Error Windows 8 Host

Posted: 14. Aug 2013, 14:51
by mpack
AFAIK the message indicates a mix of components from different VirtualBox software versions, which means a botched install I think. I would install, then reinstall as an administrator. On Win8 hosts you can also have problems with the host silently rejecting installation of non-MS drivers. Google for how to change that Win8 configuration option.

Re: VERR_LDR_MISMATCH_NATIVE Error Windows 8 Host

Posted: 14. Aug 2013, 16:04
by neopolar
Hey thanks for the reply, I tried disabling that non-MS drivers feature, uninstalled then reinstalled as administrator, still didn't work unfortunately :/ I don't suppose you know where it saves these components as a general rule so I can check to see whether its actually uninstalling them or not?

Re: VERR_LDR_MISMATCH_NATIVE Error Windows 8 Host

Posted: 14. Aug 2013, 17:15
by mpack
If the "C:\Program Files\Oracle\VirtualBox" is gone or empty then that should do it.

Which "non-MS drivers feature" did you disable? - just to be sure we're talking about the same thing.

Re: VERR_LDR_MISMATCH_NATIVE Error Windows 8 Host

Posted: 14. Aug 2013, 17:18
by neopolar
Yeah that was definitely gone, I went into the startup settings and clicked "Disable driver signature enforcement" is that the setting you were talking about?

Re: VERR_LDR_MISMATCH_NATIVE Error Windows 8 Host

Posted: 14. Aug 2013, 17:24
by mpack
Yes, "Driver Signature Enforcement" - that's the one.

Now, you're installing as the correct user, right? E.g. not as user "Admin". Some people don't appreciate the difference between elevated (admin) rights and the user account called "Admin" or similar.

There's also a bunch of VBoxXXXXX files in the Windows\System32\Drivers folder, though frankly I don't know how to get rid of those if they stick around - other than simply deleting them.

Re: VERR_LDR_MISMATCH_NATIVE Error Windows 8 Host

Posted: 14. Aug 2013, 17:30
by neopolar
I'm clicking run as administrator, and changing in the compatibility settings of the setup application to run as administrator as well just in case :P

Re: VERR_LDR_MISMATCH_NATIVE Error Windows 8 Host

Posted: 15. Aug 2013, 06:50
by neopolar
I'll look into the Vbox files in the drivers folder that might be it you never know, thanks for the help :) its greatly appreciated