语言

Menu
Sites
Language
에뮬레이터 실행 에러

에뮬레이터를 실행하려 하면 Failed to open the HAX device라는 문구와 함께 최근 버전의 Tizen HAX driver를 설치해보라는 문구가 떠서

설치를 시도하니 VT-x가 켜져있지 않아 설치할 수 없다는 메시지가 뜹니다.

 

18:02:37.517| 7664|I|      main| 398|Start emulator...
qemu args: =========================================
"C:\tizen-sdk\platforms\tizen-2.4\common\emulator\bin\\emulator-x86" "-drive" "file=C:\tizen-sdk-data\emulator\vms\m-0428-1\emulimg-m-0428-1.x86,if=none,index=1,cache.no-flush=on,id=drive" "-device" "virtio-blk-pci,drive=drive" "-drive" "file=C:\tizen-sdk-data\emulator\vms\m-0428-1\swap-m-0428-1.img,if=none,index=2,id=swap" "-device" "virtio-blk-pci,drive=swap" "-smp" "4" "-m" "512" "-device" "virtio-sensor-pci,sensors=accel&geo&gyro&light&proxi&haptic&uv&press&hrm" "-device" "virtio-nfc-pci" "-device" "maru-camera,index=0,path=C:\tizen-sdk\tools\emulator\images\default-image2.gif" "-enable-hax" "-device" "vigs,backend=gl,wsi=vigs_wsi" "-device" "yagl,wsi=vigs_wsi" "-net" "nic,model=virtio" "-net" "user" "-chardev" "file,path=C:\tizen-sdk-data\emulator\vms\m-0428-1\logs\emulator.klog,id=con0" "-device" "isa-serial,chardev=con0" "-device" "virtio-serial" "-L" "C:\tizen-sdk\platforms\tizen-2.4\common\emulator\data\bios" "-kernel" "C:\tizen-sdk\platforms\tizen-2.4\common\emulator\data\kernel\bzImage.x86" "-append" "vm_name=m-0428-1 video=LVDS-1:480x800-32@60 dpi=233 host_ip=10.0.2.2  console=ttyS0 force_pat" "-display" "maru_qt,rendering=onscreen,resolution=480x800,dpi=233" "-device" "virtio-touchscreen-pci,max_point=10" "-device" "AC97" "-device" "virtio-esm-pci" "-device" "virtio-hwkey-pci" "-device" "virtio-evdi-pci,profile=mobile" "-device" "virtio-keyboard-pci" "-device" "virtio-vmodem-pci" "-device" "codec-pci" "-device" "maru-brightness" "-device" "virtio-power-pci" "-nodefaults" "-rtc" "base=utc" "-M" "maru-x86-machine" "-soundhw" "all" "-usb" "-vga" "none" "-device" "virtio-jack-pci,jacks=earjack&charger&usb" 
====================================================
skin args: =========================================
resolution=480x800 skin.path=C:\tizen-sdk\platforms\tizen-2.4\mobile\emulator-resources\skins\mobile-general-3btn vm.path=C:\tizen-sdk-data\emulator\vms\m-0428-1 
====================================================
18:02:37.518| 7664|I|      main| 401|qemu main start...
18:02:37.519| 7664|I|emul_state| 844|initial display resolution: 480x800
18:02:37.519| 7664|I|qt5_consol| 169|display density: 233
18:02:37.519| 7664|I|      main| 177|* Board name : Maru
18:02:37.519| 7664|I|      main| 178|* Package Version: 2.2.78
18:02:37.519| 7664|I|      main| 179|* Package Maintainer: SeokYeon Hwang
18:02:37.519| 7664|I|      main| 180|* Git Head : 55e2eea16097473e47f82df9033cd37bb31e87fa
18:02:37.519| 7664|I|      main| 181|* Latest Git Tag : tizen_2.4_rev3 (tizen_2.4_rev3)
18:02:37.521| 7664|I|      main| 182|* User name : Rinne
18:02:37.521| 7664|I|      main| 183|* Host name : ASHE
18:02:37.521| 7664|I|      main| 186|* Build date : 2016-02-17 17:20:28 KST
18:02:37.521| 7664|I|      main| 195|* Current time : 2016-04-28 18:02:37
18:02:37.521| 7664|I|      main| 211|* Host SDL version : 1.2.15
18:02:37.521| 7664|I|    osutil| 191|* Windows
18:02:37.521| 7664|I|    osutil| 193|* LibPNG Version : 1.4.3
18:02:37.521| 7664|I|    osutil| 203|* MajorVersion : 6, MinorVersion : 1, BuildNumber : 7601, PlatformId : 2, CSDVersion : Service Pack 1
18:02:37.521| 7664|I|    osutil| 221|* Total Ram : 8327376 kB, Free: 4528196 kB
18:02:37.622| 7664|I|       sdb| 187|find available port: 26100
18:02:37.622| 7664|I|       sdb| 218|emulator base port is 26100
18:02:37.622| 7664|I|emul_state| 127|host_ip: 10.0.2.2
18:02:37.622| 7664|I|      main| 269|kernel commandline : vm_name=m-0428-1 video=LVDS-1:480x800-32@60 dpi=233 host_ip=10.0.2.2  console=ttyS0 force_pat sdb_port=26100, vm_resolution=480x800
18:02:37.690| 7664|I|qt5_consol| 152|Display Type: QT5 Onscreen
18:02:37.690| 7664|I|qt5_msgbox|  69|qt5_msgbox starts... 
18:02:37.690| 7664|I|qt5_msgbox|  63|qt5_msgbox path : C:\tizen-sdk\platforms\tizen-2.4\common\emulator\bin\qt5_msgbox
18:02:38.071| 7664|I|      main| 121|Exit emulator...
18:02:37.690| 7664|I|qt5_supple| 338|* Qt plugin library path: ("C:/tizen-sdk/platforms/tizen-2.4/common/emulator/bin")
ram_size 0x20000000
Failed to open the HAX device!
Open HAX device failed
Failed to get Hax capability:6
C:\tizen-sdk\platforms\tizen-2.4\common\emulator\bin\\emulator-x86: Cannot initialize HAX.
Failed to open the HAX device. It might not be installed.
Please try to install the latest Tizen HAX driver, again.
failed to initialize HAX: Invalid argument

 

로그를 첨부합니다.

查看选择的答案

响应

8 回复
s arefin

Hi, 

Please check with your BIOS settings for VT-x. 

You need to enable VT (Virtualization Technology ) in your BIOS. Then you install the latest Tizen HAX driver. 

Hope it will work.

Thanks! 

우승 곽

BIOS setting is enable

s arefin

Then  install the latest Tizen HAX driver. 

https://developer.tizen.org/development/tools/download/installing-sdk/hardware-accelerated-execution-manager

It works for me, hope it will work.

Jeeho Yoo

사용하시는 PC의 CPU 정보가 어떻게 되는지요.(제조사, 제품명, 스펙 등)

 

BIOS에서 VT-x를 지원하며 enable이 되어 있음에도 불구하고 HAXM이 설치되지 않는다면, BIOS 업데이트가 필요할 수 있습니다.

우승 곽

CPU는 Intel i5-3570 입니다. BIOS 업데이트를 했지만 여전히 안되네요.

Jeeho Yoo

Samsul Arefin님께서 공유해주신 URL의 HAXM 설치 파일로는 설치가 가능하신 상태인가요?

우승 곽

여전히 되지 않는 상태입니다.

Mark as answer
Jeeho Yoo

텔에서 공식 배포하는 HAXM 역시 사용하실 수 없는 것으로 보아, 타이젠 에뮬레이터 외에 사용하시는 환경 일부에 버그가 있는 것으로 추정됩니다.

 

동일한 문제에 대한 해결 방안을 인텔 개발자 커뮤니티에서 확인했으며, Avast Anti Virus를 삭제 후에 문제가 해결되었다는 내용입니다.

(https://software.intel.com/en-us/forums/android-applications-on-intel-architecture/topic/518041)

 

사용 PC에 설치하신 백신 프로그램 삭제, 혹은 VMWare/Virtual Box 등의 가상화 프로그램 삭제 후 HAXM 설치를 부탁드립니다.