HAXM install fails on Windows 7 - "Failed to configure driver: unknown error. Failed to open driver"

HAXM install fails on Windows 7 - "Failed to configure driver: unknown error. Failed to open driver"

I'm running into an unknown error when trying to install HAXM on my machine(Windows 7, Intel Core i7-2600, Asus P8Z68-M motherboard).  I've checked my BIOS settings to ensure that virutalization is enabled, and my BIOS and drivers appear to be up to date.  We also have two other developers here with the same hardware setup who are able to install HAXM, so it seems like something that should work for me.

I found the haxm_install_log.txt file and have included it as an attachment.  I looked through the log and the Event Viewer, but haven't been able to figure out what else needs to be done.  Has anyone else run into this issue?

Thanks,

Dan

69 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.

Hi!
Your haxm-install-log.txt file is unreadable.
The error message is to generic to be able to understand what happend during the instalation.This is message probably created by the SCM manager.Without going into details I suppose that driver initialization routine 'DriverEntry' was not called or was not located (its entry point)by the I/O manager. Have you tried to install the software as an administartor?

Hi,

Thanks for the response. I have tried the install as a regular user and as administrator and the result is the same. I've also attached a zipped copy of the install log which may help if there are issues reading the text version.

Fichiers joints: 

Fichier attachéTaille
Télécharger haxm-install-log.zip23.96 Ko

While looking through the log file i found this piece of valuable information "VT_Not_Support = This computer does not support Intel Virtualization Technology (VT-x). HAXM cannot be installed"
it seems that we have a our culprit.
Did you enable virtualization technology in BIOS?Please check your BIOS settings.

Hi Daniel
There are other users who have a problems with HAXM installation.I saw that enabling VT-x in one case was not helpful.I suggest you to
try this option out.

Hi,

Thanks for the response. I double-checked my BIOS settings this morning, and virtualization is enabled. I also ran the Microsoft Virtualization Detection Tool, and it did not report any issues(it's supposed to show a warning if virtualization is disabled).

I don't know how the HAXM installer works, but I think those messages are some of the built-in messages that can be shown to the user. I saw in one of the other posts that a more specific message was shown when that was the issue. I also saw these two lines a little further down:

"Property(C): VT_ENABLED = 1
Property(C): NX_ENABLED = 1"

which may mean that the installer has detected that virtualization is enabled. Not sure what else to try at the moment.

>>>Property(C): NX_ENABLED = 1">>>
NX is related probably to No-Execute technology where the processor marks certain regions in the memory as read-only.
I could go deeper with the debugger,but I have never done software installer(msi) debugging.If you could provide the failing process call stack or at least the exact error code it would be helpful to some degree.
My suggestion is to dump memory address space of the failling installer's process.You can do this with the task manager or with the AD plus utility which is shipped with the windbg.

hi, your hardware isn't compatible with the software!

JudLup Luna

I have the exact same error message in my install. "Failed to configure driver: unknown error. Failed to open driver" Dell 3530 CPU, Win7-x64. SP1, All virtualization settings are enabled in the Bios.

Detailed Windows installer log showed same sequence:
InstallDriverPackage: InstallDriverPackage started
1: DIFXAPI Log message: 2: 1 3: ENTER: DriverPackageInstallW
1: DIFXAPI Log message: 2: 1 3: RETURN: DriverPackageInstallW (0xA)
1: ERROR: failed with error code 2: 10
InstallDriverPackage: Deleting temp file C:\Users\cpart\AppData\Local\Temp\{7824FFE2-E5BE-4530-91AA-C1F442FD4A82}_reboot_required
Action 15:55:23: CheckHAXStatusDeferred.
Failed to configure driver: unknown error. Failed to open driver.

Hello, Daniel and Chuck,
We don't have same systems that you are using to reproduce the issues. However, Intel engineers have created a workaround based on reports on this forum thread. For those who had same issue, you can log in to IDZ and send me a direct message or report here. Please provide a full installer log (haxm_install_log.txt which can be found in %TEMP% folder). I will send you a workaround for you to try.

Thanks
Tao

Tao,

I don't see any file named hax_extract.cmd in the zip file. Was there supposed to be an attachment?

hi,

Chuck P. you would change the web browser  to see correctly the information.

JudLup Luna

I am getting the same error irrespective of my processor supporting VT. I am attaching the log file !!!

Fichiers joints: 

Fichier attachéTaille
Télécharger haxm-install-log.txt241.78 Ko

>>>I am getting the same error irrespective of my processor supporting VT. I am attaching the log file !!!>>>

Please upload log file in zip format.Simply the content is unreadable.

>>>I am getting the same error irrespective of my processor supporting VT. I am attaching the log file !!!>>>

Please upload log file in zip format.Simply the content is unreadable.

Hi,

I am also getting the same issue, VT is enabled.

Fichiers joints: 

Fichier attachéTaille
Télécharger haxm-install-log.zip24.34 Ko

I do not know if this is related or not, but I see many calls probably to GetSystemMetrics() WinAPI function.Still was not able to identify what WinAPI function accesses hardware related information like these two lines:

>>>VT_Not_Support = This computer does not support Intel Virtualization Technology (VT-x). HAXM cannot be installed.
Please refer to the Intel HAXM documentation for more information.

Property(C): XD_Not_Support = This computer does not support Intel Execute Disable Bit (XD) or it is disable in the BIOS. HAXM cannot be installed. >>>

Also two error codes 2 and 3 are suspected.Simply who is throwing them?Many users reported that they have enabled virtualization support so there is probability that this could be some kind of software bug.

"Failed to configure driver: unknown error. Failed to open driver"

Please advise on what steps are needed to workaround/resove this issue.

Thank you in advance.

Fichiers joints: 

Fichier attachéTaille
Télécharger haxm-install-log.zip22.46 Ko
Télécharger cpu-id.jpg107.71 Ko

Cita:

Nelson G. escribió:

"Failed to configure driver: unknown error. Failed to open driver"

Please advise on what steps are needed to workaround/resove this issue.

Thank you in advance.

>>>Property(S): VT_Not_Support = This computer does not support Intel Virtualization Technology (VT-x). HAXM cannot be installed.
Please refer to the Intel HAXM documentation for more information.

Property(S): XD_Not_Support = This computer does not support Intel Execute Disable Bit (XD) or it is disable in the BIOS. HAXM cannot be installed.
Please refer to the Intel HAXM documentation for more information.>>>

These two lines are suspicious to me.Obviously your CPU does support virtualization and XD technology.My bet is that one of the Win API functions used to query the CPU features is returning false.I need to identify this function.As I stated earlier in one of my posts I was able to identify the calls to GetSystemMetrics() function ,but as far as I know this function does not return the info about the detailed CPU features.

Regarding the message about the "failed open the driver" this message is generated when DIFxAPI driver install framework can not instal the driver.DriverPackageInstallW is responsible for installing the driver and this function fails with the error code 0x2 sadly I cannot find the exact meaning of this error.

Awesome. I'm looking into it too. If I find something, I will post. Thanks for taking the time to check it out.

I do appreciate it.

Cita:

Nelson G. escribió:

Awesome. I'm looking into it too. If I find something, I will post. Thanks for taking the time to check it out.

I do appreciate it.

Thank you.We are here to help each other:)

Later I will be trying to find the exact error meaning.

Hi Nelson

I have found the error codes returned by the DriverPackageInstall function.Sadly there are no numeric(hex) values.I provide the link below

http://msdn.microsoft.com/en-us/library/windows/hardware/ff544813%28v=vs...

Same problem on my machine. Any solution / workaround available alread?

Fichiers joints: 

Fichier attachéTaille
Télécharger haxm-install-log.zip21.51 Ko

>>>Same problem on my machine. Any solution / workaround available alread?>>>

The whole problem is probably due to failed driver installation.Still I am not able to find the exact meaning of the 0x2 error code.

>>...Same problem on my machine. Any solution / workaround available alread?

Hi everybody,

First of all I regret to see that the forum is almost not supported by Intel software engineers. They definitely read user posts and I wish to see more contributions and answers.

Next, please try to verify what technologies your CPU supports on ark.intel.com web site. If it says No there is No way HAXM could be used. If it says Yes and still fails please provide an installation log and I hope that it will help Intel software engineers to understand what could be possibly wrong with HAXM.

Best regards,
Sergey

>>>Next, please try to verify what technologies your CPU supports on ark.intel.com web site. If it says No there is>>>

For example when you look at screen of supported features( Nelson's post) you can see that VT-x with Extended Table is not supported so this could led to the incompatibility issues.

>>... you can see that VT-x with Extended Table is not supported so this could led to the incompatibility issues...

What incompatibility issues are you talking about? Please be specific.

Yes, I saw the screenshot of the Intel CPUID Utility. Once again, HAXM driver can not be installed if some CPU technologies, like Virtualization Technology, are not supported by the CPU.

My questions are:

- Do you have Android SDK on your computer?
- Did you try to install HAXM driver on a computer that doesn't support Virtualization Technology? ( You could even try it without Android SDK... )

I tried to install HAXM driver on a computer with Pentium 4 CPU and I could post a log and screenshot. Would you like to see it? I was clearly informed that CPU doesn't support VT and HAXM driver can not be installed.

Thanks for your comments, Ilya.

>>... you can see that VT-x with Extended Table is not supported so this could led to the incompatibility issues...

What incompatibility issues are you talking about? Please be specific.>>>

I'm talking about VT-x related feature  which is not supported by Nelson's CPU (Core 2 Duo).I do not know if this could be a culprit of the failed HAXM installation.I looked at log file presented here on this thread and I found that driver installation routine(DriverPackageInstall) is returning error 0x2 unfortunately I cannot find the exact meaning of that hex code.

>>>I tried to install HAXM driver on a computer with Pentium 4 CPU and I could post a log and screenshot. Would you like to see it? I was clearly informed that CPU doesn't support VT and HAXM driver can not be installed>>>

Yes can you post it.

There is also case of Daniel please look at the picture of the processor feauters he has fully supported processor,but HAXM can not be installed.I looked through the log files and beside the DriverPackageInstall failure there is also information about (returned by call to unknown WinAPI function) unsuported virtualization and NX bit.This is strange because Daniel's CPU supports these technologies.

Tao,

>>...For those who had same issue, you can log in to IDZ and send me a direct message or report here. Please provide a full
>>installer log (haxm_install_log.txt which can be found in %TEMP% folder). I will send you a workaround for you to try.

Did you provide that information? Why didn't you explain what these workarounds are on the forum?

Right now these workarounds look like undocumented features of Intel HAXM and I think you need to be fully open with users.

>>...This is strange because Daniel's CPU supports these technologies...

Yes, I saw it. That looks like a problem or a bug with Intel HAXM driver.

>>>Yes, I saw it. That looks like a problem or a bug with Intel HAXM driver>>>

One of the Win API function which is called by the HAXM installation I suppose that I was able to identify this is GetSystemMetrics() (recently I have used this function) , but it is unknown for me which of the Win API is used to query the processor features.

>>...GetSystemMetrics()...

It is a very old Win32 API function. It possibly comes from the times of 16-bit Windows operating systems ( versions 3.1, 3.0 and older / 1990th ). But, it is not clear if some flags which could be set for the function ( nIndex parameter ) are not supported by latest operating systems.

Cita:

Sergey Kostrov escribió:

>>...GetSystemMetrics()...

It is a very old Win32 API function. It possibly comes from the times of 16-bit Windows operating systems ( versions 3.1, 3.0 and older / 1990th ). But, it is not clear if some flags which could be set for the function ( nIndex parameter ) are not supported by latest operating systems.

No this function was first time used in Windows 2000 here is link :http://msdn.microsoft.com/en-us/library/windows/desktop/ms724385%28v=vs....

These two sentences pasted from the log file look really suspicious to me.Unfortunately I was not able to indentify which Win API function was used to query CPU features.

>>>Property(S): VT_Not_Support = This computer does not support Intel Virtualization Technology (VT-x). HAXM cannot be installed.
Please refer to the Intel HAXM documentation for more information.

Property(S): XD_Not_Support = This computer does not support Intel Execute Disable Bit (XD) or it is disable in the BIOS. HAXM cannot be installed

>>...No this function was first time used in Windows 2000...

I will look at very old Windows SDKs in my collection. Unfortunately, I see more and more errors on latest editions of MSDN. Anyway, it is a good thing to verify.

This are records from HAXM log file when I tried to install it on a computer with Pentium 4 ( it was a test ):
...
Property(C): VT_Not_Present = VT not present: Your computer does not meet the minimum requirements...
Property(C): NX_Not_Present = NX not present: Your computer does not meet the minimum requirements...
...
Note: Full log file is attached.

Fichiers joints: 

Fichier attachéTaille
Télécharger haxm-install-log.txt21.12 Ko

>>Property(C): VT_ENABLED = 1
>>Property(C): NX_ENABLED = 1"
>>
>>which may mean that the installer has detected that virtualization is enabled. Not sure what else to try at the moment.

I suspect that something else is missing in the log file even if both technologies supported in that case!

Here are some technical details about Execute-Disable Capability of Intel CPUs: ( Note: Please ignore if you're not interested... )

Part 1

Intel(R) 64 and IA-32 Architectures Software Developer's Manual Volume 3 (3A, 3B & 3C):
System Programming Guide

Order Number: 325384-044US
August 2012

[ Page 93 ]
...
NX: execute disable.
If CPUID.80000001H:EDX.NX [bit 20] = 1, IA32_EFER.NXE may be set to 1, allowing PAE paging and IA-32e
paging to disable execute access to selected pages (see Section 4.6). (Processors that do not support CPUID
function 80000001H do not allow IA32_EFER.NXE to be set to 1.)
...

[ Page 164 ]
...
5.13.1 Detecting and Enabling the Execute-Disable Capability
Software can detect the presence of the execute-disable capability using the CPUID instruction.
CPUID.80000001H:EDX.NX [bit 20] = 1 indicates the capability is available.
If the capability is available, software can enable it by setting IA32_EFER.NXE[bit 11] to 1. IA32_EFER is available
if CPUID.80000001H.EDX[bit 20 or 29] = 1.
...

[ Page 1096 ]
...
31.10.4.1 Handling IA32_EFER MSR
The IA32_EFER MSR includes bit fields that allow system software to enable processor features. For example: the
SCE bit enables SYSCALL/SYSRET and the NXE bit enables the execute-disable bits in the paging-structure entries.
VMX provides hardware support to load the IA32_EFER MSR on VMX transitions and to save it on VM exits. Because
of this, VMM software need not use the RDMSR and WRMSR instruction to give the register different values during
host and guest execution.
...

Part 2

Intel(R) 64 and IA-32 Architectures Software Developer's Manual Volume 2 (2A, 2B & 2C):
Instruction Set Reference, A-Z

[ Page 2 ]
...
Enabling Execute Disable Bit functionality requires a PC with a processor with Execute Disable Bit capability and a supporting operating system.
Check with your PC manufacturer on whether your system delivers Execute Disable Bit functionality.
...

[ Page 210 ]
...
80000001H EAX
...
EDX - Bit 20: Execute Disable Bit available
...

<<<I suspect that something else is missing in the log file even if both technologies supported in that case!>>>

HAXM installer is acting upon the return values from still unknown Win API function.I suspect that it could be simple false return value.When you look at Daniel's processor it is clearly stated that this CPU supports Vt-x and NX bit, but log file is telling us that these features are unsupported.If we could have been able to identify the exact call chain and function involved in gathering CPU information, but unfortunately without attaching debugger it is hard to understand what is really happening there.

>>>This are records from HAXM log file when I tried to install it on a computer with Pentium 4 ( it was a test ): ... Property(C): VT_Not_Present = VT not present: Your computer does not meet the minimum requirements... Property(C): NX_Not_Present = NX not present: Your computer does not meet the minimum requirements... ... Note: Full log file is attached.

Your log also contains calls to GetSystemMetric(), but there is no DriverPackageInstall() error code 0x2 and the information about the unsupported features is more clearer.

In my development team, we have 5 HP machines, windows 7 with Intel core i7 2600 cpu's @ 3.40 GHz

All machines (after activating virtualization in the bios) give the same error: "Failed to configure driver: unknown error. Failed to open driver" when trying to install HAXM.

According to http://ark.intel.com/products/52213/Intel-Core-i7-2600-Processor-8M-Cach... all virtualization features are supported

>>>All machines (after activating virtualization in the bios) give the same error: "Failed to configure driver: unknown error. Failed to open driver" when trying to install HAXM.>>>

Regarding "Failed to configure driver" message I'm not able to identify the error code which is 0x2.

Note: Sorry for a deviation from the subject of the thread.

Let me follow up regarding that statement:

>>...No this function was first time used in Windows 2000 here is link msdn.microsoft.com/en-us/library/windows/desktop...

That is simply Not possible (!). A statement on online version of MSDN:

'Minimum supported client - Windows 2000 Professional [desktop apps only]'

is incorrect and Microsoft simply deleted all the rest older operating systems.

Attached is a Windows.h file ( in a zip archive ) from Windows SDK version 3.0 for a 16-bit WIndows 3.0 operating system and the header was modified on 01/06/1990.

Once again, GetSystemMetrics() is a very old Win32 API function and comes from the times of 16-bit Windows operating systems versions 3.x and older.

Fichiers joints: 

Fichier attachéTaille
Télécharger windowsh.01061990.zip27.11 Ko

>>...According to ark.intel.com/products/52213/Intel-Core-i7-2600-Processor-8M-Cach... all virtualization features
>>are supported...

That's right and even Execute-Disable Capability is supported.

Any comments from Intel software engineers? Guys, do you read our posts? I really would like to express my concerns regarding quality of support for HAXM software.

Best regards,
Sergey

>>>Attached is a Windows.h file ( in a zip archive ) from Windows SDK version 3.0 for a 16-bit WIndows 3.0 operating system and the header was modified on 01/06/1990.>>>

Did not know this.Do you think that GetSystemMetrics can be responsible for the failed HAXM installation?

>>...Do you think that GetSystemMetrics can be responsible for the failed HAXM installation?..

I don't know and because of this I don't want to make any assumptions. I will try to install HAXM on a system with Intel Core i7-3840QM. The CPU supports many Intel technologies ( 3rd Generation! ) and let's see what happens.

>>>I will try to install HAXM on a system with Intel Core i7-3840QM. The CPU supports many Intel technologies ( 3rd Generation! ) and let's see what happens>>>

I suppose that the problem with "Failed driver installation" can be also reproduced on your system.

I suppose that the problem of HAXM installation failure(on newest CPU's) can be traced to some function(s) which are performing CPU features query.

Hello,

I have a HP Z200 i5 Core. I deactivated the virtualization in BIOS and reactivated it after pullig the powercord out for about a minute.
Still I get a error installing HAXM.
Please fix the installer asap cause the emulator is killing me!... 

Fichiers joints: 

Fichier attachéTaille
Télécharger haxm-install-log.zip21.77 Ko

[ Jonathan's log file ]

...
Property(S): VT_Not_Support = This computer does not support Intel Virtualization Technology (VT-x). HAXM cannot be installed.
Please refer to the Intel HAXM documentation for more information.

Property(S): XD_Not_Support = This computer does not support Intel Execute Disable Bit (XD) or it is disable in the BIOS. HAXM cannot be installed.
Please refer to the Intel HAXM documentation for more information.
...

Jonathan, I did a quick check of your log file and could you verify on ark.intel.com web site that your CPU also supports Execute Disable feature?

Still the same errors are present in Jonathan log file.DriverPackageInstallW is returning error code 0x2 and those strange errors regarding unsupported technologies on the CPU which supportes VT-x and NX bit.

Hi Tao,

>>...I will try to install HAXM on a system with Intel Core i7-3840QM. The CPU supports many Intel technologies ( 3rd Generation! )
>>and let's see what happens.

Successfully installed HAXM driver and it is working. I'll provide some technical details later ( log and screenshots ). By the way, I didn't do anything special...

>>>Successfully installed HAXM driver and it is working. I'll provide some technical details later ( log and screenshots ). By the way, I didn't do anything special...>>>

That's great.

Pages

Connectez-vous pour laisser un commentaire.