언어 설정

Menu
Sites
Language
HAX not inizialise on Mac OSX 10.13

Hello,

 

I have a fresh installation of Tizen 1.3. If I want try a sample of web application for gear with Tizen 2.3.2 , I have this error message when I launch the emulator :

p, li { white-space: pre-wrap; }

Cannot initialize HAX.
Failed to create HAX VM.
See the emulator.log file for details.

Here, emulator.log

22:40:55.112|34468|I|      main| 345|Start emulator...
qemu args: =========================================
"/Users/charlie/.tizen/tizen-studio/platforms/tizen-2.3.2/common/emulator/bin/emulator-x86_64" "-drive" "file=/Users/charlie/.tizen/tizen-studio-data/emulator/vms/W-2.3.2-circle/emulimg-W-2.3.2-circle.x86,if=none,index=0,cache.no-flush=on,id=drive" "-device" "virtio-blk-pci,drive=drive" "-drive" "file=/Users/charlie/.tizen/tizen-studio-data/emulator/vms/W-2.3.2-circle/swap-W-2.3.2-circle.img,if=none,index=1,id=swap" "-device" "virtio-blk-pci,drive=swap" "-enable-hax" "-device" "vigs,backend=gl,wsi=vigs_wsi" "-device" "yagl,wsi=vigs_wsi" "-smp" "4" "-m" "512" "-device" "virtio-maru-sensor-pci,sensors=accel&geo&gyro&light&proxi&haptic&uv&press&hrm&pedo" "-device" "maru-camera,index=0" "-netdev" "user,id=net0" "-device" "virtio-net-pci,netdev=net0" "-device" "virtio-maru-nfc-pci" "-chardev" "file,path=/Users/charlie/.tizen/tizen-studio-data/emulator/vms/W-2.3.2-circle/logs/emulator.klog,id=con0" "-device" "isa-serial,chardev=con0" "-device" "virtio-serial" "-L" "/Users/charlie/.tizen/tizen-studio/platforms/tizen-2.3.2/common/emulator/data/bios" "-kernel" "/Users/charlie/.tizen/tizen-studio/platforms/tizen-2.3.2/common/emulator/data/kernel/bzImage.x86" "-append" "vm_name=W-2.3.2-circle video=LVDS-1:360x360-32@60 dpi=301  host_ip=10.0.2.2 aod_color_type=None console=ttyS0 force_pat" "-device" "virtio-maru-touchscreen-pci,max_point=2" "-display" "maru_qt,rendering=onscreen,resolution=360x360,dpi=301" "-device" "AC97" "-device" "virtio-maru-esm-pci" "-device" "virtio-maru-hwkey-pci" "-device" "virtio-maru-evdi-pci" "-device" "virtio-maru-vmodem-pci" "-device" "virtio-maru-power-pci" "-device" "codec-pci" "-device" "maru-brightness" "-nodefaults" "-rtc" "base=utc" "-M" "maru-x86-machine" "-usb" "-vga" "none" "-device" "virtio-maru-jack-pci,jacks=charger&usb" "-device" "virtio-maru-rotary-pci" 
====================================================
22:40:55.114|34468|I|      main| 348|qemu main start...
22:40:55.121|34468|I|emul_state| 690|initial display resolution: 360x360
22:40:55.121|34468|I|qt5_consol| 171|display density: 301
22:40:55.315|34468|I|qt5_supple| 515|* Qt version (compile time): 5.6.0
22:40:55.316|34468|I|qt5_supple| 516|* Qt version (runtime): 5.6.0
22:40:55.316|34468|I|qt5_supple| 517|* working path: "/Users/charlie/.tizen/tizen-studio/platforms/tizen-2.3.2/common/emulator/bin"
22:40:55.316|34468|I|qt5_supple| 518|* binary path: "/Users/charlie/.tizen/tizen-studio/platforms/tizen-2.3.2/common/emulator/bin"
22:40:55.316|34468|I|qt5_supple| 519|* Qt plugin library path: ("/Users/charlie/.tizen/tizen-studio/platforms/tizen-2.3.2/common/emulator/bin")
22:40:55.325|34468|I|qt5_consol| 153|Display Type: QT5 Onscreen
ram_size 0x20000000
Failed to create vm ffffffff
Failed to create HAX VM
emulator-x86_64: Cannot initialize HAX.
Failed to create HAX VM.
See the emulator.log file for details.
22:40:55.337|34468|I|qt5_msgbox|  69|qt5_msgbox starts... 
22:40:55.337|34468|I|qt5_msgbox|  63|qt5_msgbox path : /Users/charlie/.tizen/tizen-studio/platforms/tizen-2.3.2/common/emulator/bin/qt5_msgbox
failed to initialize HAX: Invalid argument
22:40:55.340|34468|I|      main|  91|Exit emulator...

 

Could you help me please ?

 

In advance, Thank you a lot.

 

Jiyuu

Responses

7 댓글
Yasin Ali

Hi,

You need to install Hardware Accelerated Execution Manager.

See this link:

https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-mac-os-x

Hope it will help you.
If you find my post is helpful for you, please mark it as answer to promote this post to others.

Charlie GENTIL

Hello,

 

Yes, I saw this fixe... but, I had this message

This will remove Intel(R) HAXM from your computer.

Important: Removing Intel HAXM will disable acceleration of all Intel(R) x86
Android emulators. Your Android Virtual Devices will continue to function, but
will no longer be accelerated.
Installing Intel HAXM again will re-enable Android emulator acceleration.

Warning: Please close all instances of the Android x86 emulator before
proceeding.

Do you wish to uninstall Intel HAXM (y/n)? y
Removing Intel HAXM files
Failed to uninstall Intel HAXM. Kext could not be unloaded.

 

when I ran

sudo /Library/Extensions/intelhaxm.kext/Contents/Resources/uninstall.sh

 

If I uninstalled Tizen Studio and I ran the command, it worked.

But If I reinstall Tizen Sudio, I have already the issue... :(

 

Have you an idea ?

 

Thank a lot.

Charlie GENTIL

Hi,

 

These fixes don't work.

I have always this message :

(kernel) Kext com.intel.kext.intelhaxm did not stop (return code 0x5).
(kernel) Kext com.intel.kext.intelhaxm can't unload - module stop returned 0xdc008017.
Failed to unload com.intel.kext.intelhaxm - (libkern/kext) kext (kmod) start/stop routine failed.

 

I can stop com.intel.kext.intelhaxm only if I uninstall Tizen Studio :( :( :( :(

Yasin Ali

You may try with new Tizen Studio version.

Charlie GENTIL

Hello,

 

Yes, and the issues is the same. I tried on Windows : it works, but I can't create a sample or a template :(.

 

Now, I try directly on my device, but I have a lot of error message (see my new topic).

 

I still look for

Yasin Ali

Hi,

I have also checked these sites
1. https://developer.tizen.org/dev-guide/2.4/org.tizen.devtools/html/common_tools/emulator.htm#hw
2. https://support.apple.com/en-in/HT201518

I have found some information sharing with you.

Prerequisites:
To use HW virtualization, you need:
•In Mac OS® X:
To use HAX, install EFI-related updates on your Intel-based Mac system. For more information,
see EFI and SMC firmware updates for Intel-based Macs
Link: https://support.apple.com/en-in/HT201518

Installing KVM or HAX:
•In Windows® and Mac OS® X:
The HAXM driver is installed during the Tizen SDK installation. See the installation manual on
the Tizen developer site.

If the installation fails with a VT-related message, check the CPU feature and BIOS settings.
If the installation fails with an NX-related message, enable NX (or PAE and DEP) -related item in the BIOS.
In addition, make sure that the operating system supports the NX feature (for more information,
see MSDN Link: http://msdn.microsoft.com/en-us/library/windows/hardware/ff542275%28v=vs.85%29.aspx).

Running the Emulator:
To run the Emulator with HW virtualization support in the Emulator Manager, set the CPU VT field to ON. The field is disabled if your system cannot support HW virtualization.
You can also run the Emulator with HW virtualization support from the command line,
by including the -enable-hax (in Mac OS® X) option in the start-up command.

These are some important notes, let me know your updates.

Thanks.