언어 설정

Menu
Sites
Language
Emulator Manager: Failed to launch emulator

One problem after another here, I got the IDE installed and all the extensions and now when I try to run a tv emulation I get an error. Screenshow is below as well as the log it refers to.

Screenshot:

 

This is the t-0524-1 vm log (emulator.log)

11:22:07.882| 9239|I|      main| 392|Start emulator...
qemu args: =========================================
"/home/devin/tizen-sdk/platforms/tizen-2.4/tv-samsung-public/emulator/bin/emulator-x86" "-drive" "file=/home/devin/tizen-sdk-data/emulator/vms/t-0524-1/emulimg-t-0524-1.x86,if=none,index=1,cache.no-flush=on,id=drive" "-device" "virtio-blk-pci,drive=drive" "-drive" "file=/home/devin/tizen-sdk-data/emulator/vms/t-0524-1/swap-t-0524-1.img,if=none,index=2,id=swap" "-device" "virtio-blk-pci,drive=swap" "-smp" "4" "-m" "512" "-enable-kvm" "-device" "vigs,backend=gl,wsi=vigs_wsi" "-device" "yagl,wsi=vigs_wsi" "-device" "maru-virtual-tuner,system=ATSC,country=USA,table=/home/devin/tizen-sdk-data/emulator/vms/t-0524-1/tuner_default.cfg,stillimg=/home/devin/tizen-sdk/platforms/tizen-2.4/tv-samsung-public/emulator-resources/images,wsi=vigs_wsi" "-net" "nic,model=virtio" "-net" "user" "-chardev" "file,path=/home/devin/tizen-sdk-data/emulator/vms/t-0524-1/logs/emulator.klog,id=con0" "-device" "isa-serial,chardev=con0" "-device" "virtio-serial" "-L" "/home/devin/tizen-sdk/platforms/tizen-2.4/tv-samsung-public/emulator/data/bios" "-kernel" "/home/devin/tizen-sdk/platforms/tizen-2.4/tv-samsung-public/emulator/data/kernel/bzImage.x86" "-append" "vm_name=t-0524-1 video=LVDS-1:1920x1080-32@60 dpi=69 host_ip=10.0.2.2  console=ttyS0 yagl=1" "-device" "virtio-tablet-pci" "-device" "virtio-esm-pci" "-device" "virtio-hwkey-pci" "-device" "virtio-evdi-pci,profile=tv-samsung-public" "-device" "virtio-keyboard-pci" "-rtc" "base=utc" "-M" "maru-x86-machine" "-soundhw" "ac97,maru-dtv-audio" "-usb" "-vga" "none" "-device" "maru-external-input-pci,stillimg=/home/devin/tizen-sdk/platforms/tizen-2.4/tv-samsung-public/emulator-resources/images,wsi=vigs_wsi" "-display" "maru_qt,rendering=onscreen,resolution=1920x1080,dpi=69" 
====================================================
11:22:07.882| 9239|I|      main| 395|qemu main start...

(process:9239): GLib-WARNING **: /build/glib2.0-t9oPgV/glib2.0-2.48.0/./glib/gmem.c:483: custom memory allocation vtable not supported
11:22:07.883| 9239|I|emul_state| 830|initial display resolution: 1920x1080
11:22:07.883| 9239|I|qt5_consol| 169|display density: 69
11:22:07.883| 9239|I|      main| 178|* Board name : Maru
11:22:07.883| 9239|I|      main| 179|* Package Version: 2.2.92
11:22:07.883| 9239|I|      main| 180|* Package Maintainer: <edited>
11:22:07.883| 9239|I|      main| 181|* Git Head : <edited>
11:22:07.883| 9239|I|      main| 182|* Latest Git Tag : tizen_2.4_rev5 (tizen_2.4_rev5)
11:22:07.883| 9239|I|      main| 183|* User name : devin
11:22:07.883| 9239|I|      main| 184|* Host name : uranus-linux
11:22:07.883| 9239|I|      main| 187|* Build date : 2016-04-18 15:27:49 KST
11:22:07.883| 9239|I|      main| 196|* Current time : 2016-05-24 11:22:07
11:22:07.883| 9239|I|      main| 204|* Host sdl version : (1, 2, 15)
11:22:07.883| 9239|I|    osutil| 190|* Linux
11:22:07.883| 9239|I|    osutil| 192|* LibPNG Version : 1.2.46
11:22:07.883| 9239|I|    osutil| 198|* QEMU build machine linux kernel version : (3, 2, 73)
11:22:07.883| 9239|I|    osutil| 206|* Host machine uname : Linux uranus-linux 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64
11:22:07.883| 9239|I|    osutil| 213|* Total Ram : 16354840 kB, Free: 1465756 kB
11:22:07.883| 9239|I|    osutil| 217|* Linux distribution infomation :
Description:    Ubuntu 16.04 LTS
Release:	16.04
Codename:	xenial
11:22:07.910| 9239|I|    osutil| 233|* Host PCI devices :
00:00.0 Host bridge: Intel Corporation Sky Lake Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation Sky Lake PCIe Controller (x16) (rev 07)
00:01.1 PCI bridge: Intel Corporation Sky Lake PCIe Controller (x8) (rev 07)
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] (rev 31)
00:1b.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Root Port #17 (rev f1)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1)
00:1c.2 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #3 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1)
00:1d.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #13 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V (rev 31)
01:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GM204 High Definition Audio Controller (rev a1)
02:00.0 Non-Volatile memory controller: Intel Corporation PCIe Data Center SSD (rev 01)
04:00.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt [Alpine Ridge]
05:00.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt [Alpine Ridge]
05:01.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt [Alpine Ridge]
05:02.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt [Alpine Ridge]
05:04.0 PCI bridge: Intel Corporation DSL6540 Thunderbolt [Alpine Ridge]
08:00.0 USB controller: Intel Corporation DSL6540 USB 3.1 Controller [Alpine Ridge]
0a:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
0b:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02)
11:22:07.917| 9239|I|       sdb| 157|port(26103) listen success
11:22:07.917| 9239|I|       sdb| 197|emulator base port is 26100
11:22:07.917| 9239|I|emul_state| 122|host_ip: 10.0.2.2
11:22:07.917| 9239|I|      main| 262|kernel commandline : vm_name=t-0524-1 video=LVDS-1:1920x1080-32@60 dpi=69 host_ip=10.0.2.2  console=ttyS0 yagl=1 sdb_port=26100, vm_resolution=-1x-1
11:22:08.179| 9239|I|qt5_consol| 152|Display Type: QT5 Onscreen
ioctl(KVM_CREATE_VM) failed: 16 Device or resource busy
failed to initialize KVM: Device or resource busy
11:22:08.179| 9239|I|      main| 122|Exit emulator...
11:22:08.179| 9239|I|qt5_supple| 338|* Qt plugin library path: ("/home/devin/tizen-sdk/platforms/tizen-2.4/tv-samsung-public/emulator/bin")

 

This is the emulator-manager.log

[2016.5.24 11:14:52.114][INFO][EMLogger.initLogger] 
=== Initial Information ===========
sdk.info file path: /home/devin/tizen-sdk/tools/emulator/bin/../../../sdk.info
TIZEN_SDK_INSTALLED_PATH: /home/devin/tizen-sdk
TIZEN_SDK_DATA_PATH: /home/devin/tizen-sdk-data
Current path: /home/devin/tizen-sdk/tools/emulator/bin
Tizen sdk path: /home/devin/tizen-sdk
Tizen sdk data path: /home/devin/tizen-sdk-data

[2016.5.24 11:14:52.133][INFO][Overseer.startWork] Overseer [Checkers] is starting...
[2016.5.24 11:14:52.133][INFO][CheckVT.work] Support HW virtualization: true
[2016.5.24 11:14:52.133][INFO][CheckVT.work] non-UG: false
[2016.5.24 11:14:52.134][INFO][HelperClass.runProcess] Try to run external process: [/home/devin/tizen-sdk/tools/emulator/bin/check-gl]
[2016.5.24 11:14:52.134][INFO][HelperClass.runProcess] Try to run external process: [/home/devin/tizen-sdk/tools/emulator/bin/check-cam]
[2016.5.24 11:14:52.134][INFO][HelperClass.runProcess]  -- Working dir : /home/devin/tizen-sdk/tools/emulator/bin
[2016.5.24 11:14:52.135][INFO][HelperClass.runProcess]  -- Working dir : /home/devin/tizen-sdk/ide
[2016.5.24 11:14:52.144][WARNING][StandardPlatformImageValue.createInstance] info.ini file does not exist.
[2016.5.24 11:14:52.158][INFO][About.printSystemInformation] System Information
JAVA HOME: /usr/lib/jvm/java-8-oracle/jre
JAVA VENDOR: Oracle Corporation
JAVA VERSION: 1.8.0_91
OS ARCH: amd64
OS NAME: Linux
OS VERSION: 4.4.0-22-generic
SWT PLATFROM: gtk
SWT VERSION: 4527
[2016.5.24 11:14:52.158][INFO][About.printSystemInformation] EmulatorManager Information
Version: 2.4.0_Rev6
Build time: 20160518-2113 (GMT)
Git version: fatal: Not a git repository (or any of the parent directories): .git
Workspace path: /home/devin/tizen-sdk-data/emulator/vms
Package version: 2.4.196
[2016.5.24 11:14:52.160][INFO][EmulatorManager.main] Start Emulator Manager!!
[2016.5.24 11:14:52.215][INFO][CheckWebcam.work] Support webcam : false
[2016.5.24 11:14:52.275][INFO][CheckGPU.work] Support GPU: true
[2016.5.24 11:14:52.275][INFO][CheckGPU.work] Gallium: false
[2016.5.24 11:14:52.275][INFO][Overseer$1.run] Overseer [Checkers] is done...
[2016.5.24 11:14:53.950][INFO][HelperClass.runProcess] Try to run external process: [/home/devin/tizen-sdk/tools/emulator/bin/check-net, --proxy]
[2016.5.24 11:14:53.950][INFO][HelperClass.runProcess]  -- Working dir : /home/devin/tizen-sdk/tools/emulator/bin
[2016.5.24 11:14:53.991][INFO][NetProxyOption.getHostProxy] check-net result : MODE:None

[2016.5.24 11:14:53.991][WARNING][NetProxyOption.getHostProxy] Can't find host proxy setting.
[2016.5.24 11:14:53.991][INFO][VMLauncher.getCommand] Starting Emulator Command : 
[2016.5.24 11:14:53.991][INFO][VMLauncher.getCommand] "/home/devin/tizen-sdk/platforms/tizen-2.4/tv-samsung-public/emulator/bin/emulator.sh" --conf "/home/devin/tizen-sdk-data/emulator/vms/t-0524-1/vm_launch.conf"
[2016.5.24 11:14:53.991][INFO][VMLauncher.launchInternal] Command list for ProcessBuilder
[2016.5.24 11:14:53.991][INFO][VMLauncher.launchInternal] [/home/devin/tizen-sdk/platforms/tizen-2.4/tv-samsung-public/emulator/bin/emulator.sh, --conf, /home/devin/tizen-sdk-data/emulator/vms/t-0524-1/vm_launch.conf]
[2016.5.24 11:14:54.263][WARNING][LaunchingMonitor.executeInternal] You can see more information in the emulator-manager.log or t-0524-1's logs directory.
[2016.5.24 11:15:11.871][WARNING][StandardPlatform.makeItemList] Fail to load ItemListFactory. Image : 2.4-stv-public
[2016.5.24 11:15:11.871][INFO][StandardPlatform.makeItemList] Use CommonItemListFactory.
[2016.5.24 11:16:32.217][INFO][Creator.createInternal] Success to create the t-0524-1 VM
[2016.5.24 11:16:41.620][INFO][VMLauncher.getCommand] Starting Emulator Command : 
[2016.5.24 11:16:41.620][INFO][VMLauncher.getCommand] "/home/devin/tizen-sdk/platforms/tizen-2.4/tv-samsung-public/emulator/bin/emulator.sh" --conf "/home/devin/tizen-sdk-data/emulator/vms/t-0524-1/vm_launch.conf"
[2016.5.24 11:16:41.621][INFO][VMLauncher.launchInternal] Command list for ProcessBuilder
[2016.5.24 11:16:41.621][INFO][VMLauncher.launchInternal] [/home/devin/tizen-sdk/platforms/tizen-2.4/tv-samsung-public/emulator/bin/emulator.sh, --conf, /home/devin/tizen-sdk-data/emulator/vms/t-0524-1/vm_launch.conf]
[2016.5.24 11:16:41.937][WARNING][LaunchingMonitor.executeInternal] You can see more information in the emulator-manager.log or t-0524-1's logs directory.
[2016.5.24 11:16:54.177][INFO][VMLauncher.getCommand] Starting Emulator Command : 
[2016.5.24 11:16:54.178][INFO][VMLauncher.getCommand] "/home/devin/tizen-sdk/platforms/tizen-2.4/tv-samsung-public/emulator/bin/emulator.sh" --conf "/home/devin/tizen-sdk-data/emulator/vms/t-0524-1/vm_launch.conf"
[2016.5.24 11:16:54.178][INFO][VMLauncher.launchInternal] Command list for ProcessBuilder
[2016.5.24 11:16:54.178][INFO][VMLauncher.launchInternal] [/home/devin/tizen-sdk/platforms/tizen-2.4/tv-samsung-public/emulator/bin/emulator.sh, --conf, /home/devin/tizen-sdk-data/emulator/vms/t-0524-1/vm_launch.conf]
[2016.5.24 11:16:54.484][WARNING][LaunchingMonitor.executeInternal] You can see more information in the emulator-manager.log or t-0524-1's logs directory.
[2016.5.24 11:22:7.866][INFO][VMLauncher.getCommand] Starting Emulator Command : 
[2016.5.24 11:22:7.866][INFO][VMLauncher.getCommand] "/home/devin/tizen-sdk/platforms/tizen-2.4/tv-samsung-public/emulator/bin/emulator.sh" --conf "/home/devin/tizen-sdk-data/emulator/vms/t-0524-1/vm_launch.conf"
[2016.5.24 11:22:7.866][INFO][VMLauncher.launchInternal] Command list for ProcessBuilder
[2016.5.24 11:22:7.866][INFO][VMLauncher.launchInternal] [/home/devin/tizen-sdk/platforms/tizen-2.4/tv-samsung-public/emulator/bin/emulator.sh, --conf, /home/devin/tizen-sdk-data/emulator/vms/t-0524-1/vm_launch.conf]
[2016.5.24 11:22:8.182][WARNING][LaunchingMonitor.executeInternal] You can see more information in the emulator-manager.log or t-0524-1's logs directory.

 

Edited by: Devin Martinolich on 24 5월, 2016

Responses

3 댓글
s arefin

Hi, 

Check all the existing VMs are running in your machine. 

You can try running the command to list all existing VMs:

                                        <tizen-sdk dir>/tools/emulator/bin/em-cli list-vm
Then delete VMs  
                  
<tizen-sdk dir>/tools/emulator/bin/em-cli delete -n xxx(VM name)

You can also try deleting files manually from  "<tizen-sdk-data dir>/emulator/vms/ " 

and  then create a new instance of TV  emulator.  

other than this in emulator manager log,

Support GPU: true

 you can try with change the status false. 

thanks. 

 

  

Devin Martinolich

Ok, I deleted the VM and recreated it. Still get the same error. I also edited the settings of the VM and turned off GPU hardware support with the same result.

here is ther terminal log following your instructions. The last list-vm is after I created the VM in Emulator Manager

devin@uranus-linux:~$ cd tizen-sdk/tools/emulator/bin/
devin@uranus-linux:~/tizen-sdk/tools/emulator/bin$ ./em-cli list-vm
t-0524-1
devin@uranus-linux:~/tizen-sdk/tools/emulator/bin$ ./em-cli delete -n t-0524-1
The VM is deleted
devin@uranus-linux:~/tizen-sdk/tools/emulator/bin$ ./em-cli list-vm
VM list is empty
devin@uranus-linux:~/tizen-sdk/tools/emulator/bin$ ./em-cli list-vm
t-0525-1

here is a screenshot of the disabled GPU hardware support

Devin Martinolich

Nevermind, i just installed windows on another machine and i will use that for development with tizen. Clearly there are issues with linux and getting everything working correctly. everything in windows installed in minutes and is working fine