Emulator boots to login but never displays UI

Bug #1282843 reported by Adam Duren
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
android (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I follow the instructions on getting started with the emulator. When I run `ubuntu-emulator run myinstance` all I get is a black screen on the emulator that never changes. I do however get a log-in prompt and am able to interact with the emulator via command line. Below is the output from the boot sequence.

media-info: Ubuntu Trusty Tahr (development branch) - armhf (20140220.3)
ro.cm.device: generic

emulator: autoconfig: -ramdisk /home/adam/.local/share/ubuntu-emulator/myinstance/ramdisk.img
emulator: autoconfig: -datadir /home/adam/.local/share/ubuntu-emulator/myinstance
emulator: Could not open file: /home/adam/.local/share/ubuntu-emulator/myinstance/system/build.prop: No such file or directory
emulator: Coult not find CPU ABI in build properties!
emulator: Default target architecture=arm
emulator: Could not open file: /home/adam/.local/share/ubuntu-emulator/myinstance/system/build.prop: No such file or directory
emulator: Could not find target API level / SDK version in build properties!
emulator: Default target API level: 1000
emulator: using core hw config path: /home/adam/.local/share/ubuntu-emulator/myinstance/hardware-qemu.ini
emulator: keyset loaded from: /home/adam/.android/default.keyset
emulator: trying to load skin file '/usr/share/ubuntu-emulator/skins/EDGE/layout'
emulator: skin network speed: 'full'
emulator: skin network delay: 'none'
emulator: Using initial system image: /home/adam/.local/share/ubuntu-emulator/myinstance/system.img
emulator: autoconfig: -initdata /home/adam/.local/share/ubuntu-emulator/myinstance/userdata.img
emulator: Physical RAM size: 512MB

emulator: Could not open file: /home/adam/.local/share/ubuntu-emulator/myinstance/system/build.prop: No such file or directory
emulator: Coult not find CPU ABI in build properties!
emulator: Default target ABI: armeabi
Content of hardware configuration file:
  hw.cpu.arch = arm
  hw.ramSize = 512
  hw.screen = touch
  hw.mainKeys = yes
  hw.trackBall = yes
  hw.keyboard = no
  hw.keyboard.lid = no
  hw.keyboard.charmap = qwerty2
  hw.dPad = yes
  hw.gsmModem = yes
  hw.gps = yes
  hw.battery = yes
  hw.accelerometer = yes
  hw.audioInput = yes
  hw.audioOutput = yes
  hw.sdCard = yes
  hw.sdCard.path = /home/adam/.local/share/ubuntu-emulator/myinstance/sdcard.img
  disk.cachePartition = yes
  disk.cachePartition.path = /home/adam/.local/share/ubuntu-emulator/myinstance/cache.img
  disk.cachePartition.size = 66m
  hw.lcd.width = 480
  hw.lcd.height = 800
  hw.lcd.depth = 16
  hw.lcd.density = 160
  hw.lcd.backlight = yes
  hw.gpu.enabled = yes
  hw.camera.back = emulated
  hw.camera.front = none
  vm.heapSize = 48
  hw.sensors.proximity = yes
  hw.sensors.magnetic_field = yes
  hw.sensors.orientation = yes
  hw.sensors.temperature = yes
  hw.useext4 = yes
  kernel.path = /home/adam/.local/share/ubuntu-emulator/myinstance/ubuntu-kernel
  kernel.parameters = androidboot.console=ttyS2
  disk.ramdisk.path = /home/adam/.local/share/ubuntu-emulator/myinstance/ramdisk.img
  disk.systemPartition.initPath = /home/adam/.local/share/ubuntu-emulator/myinstance/system.img
  disk.systemPartition.size = 200m
  disk.dataPartition.path = /home/adam/.local/share/ubuntu-emulator/myinstance/userdata.img
  disk.dataPartition.size = 200m
  avd.name = <build>
.
QEMU options list:
emulator: argv[00] = "/usr/share/android/emulator/out/host/linux-x86/bin/emulator-arm"
emulator: argv[01] = "-show-kernel"
emulator: argv[02] = "-serial"
emulator: argv[03] = "stdio"
emulator: argv[04] = "-cpu"
emulator: argv[05] = "cortex-a9"
emulator: argv[06] = "-append"
emulator: argv[07] = ""
emulator: argv[08] = "-android-hw"
emulator: argv[09] = "/home/adam/.local/share/ubuntu-emulator/myinstance/hardware-qemu.ini"
Concatenated QEMU options:
 /usr/share/android/emulator/out/host/linux-x86/bin/emulator-arm -show-kernel -serial stdio -cpu cortex-a9 -append -android-hw /home/adam/.local/share/ubuntu-emulator/myinstance/hardware-qemu.ini
emulator: registered 'boot-properties' qemud service
emulator: nand_add_dev: system,size=0xc800000,initfile=/home/adam/.local/share/ubuntu-emulator/myinstance/system.img,pagesize=512,extrasize=0
emulator: mapping 'system' NAND image to /tmp/android-adam/emulator-3JJgOX
emulator: nand_add_dev: userdata,size=0xc800000,file=/home/adam/.local/share/ubuntu-emulator/myinstance/userdata.img,pagesize=512,extrasize=0
emulator: registered 'boot-properties' qemud service
emulator: Adding boot property: 'dalvik.vm.heapsize' = '48m'
emulator: Adding boot property: 'qemu.sf.lcd_density' = '160'
emulator: Adding boot property: 'qemu.hw.mainkeys' = '1'
emulator: Adding boot property: 'qemu.sf.fake_camera' = 'back'
emulator: nand_add_dev: cache,size=0x4200000,file=/home/adam/.local/share/ubuntu-emulator/myinstance/cache.img,pagesize=512,extrasize=0
emulator: Initializing hardware OpenGLES emulation support
emulator: Kernel parameters: qemu.gles=1 qemu=1 console=ttyS0 android.qemud=ttyS1 androidboot.console=ttyS2 ndns=1
emulator: warning: opening audio output failed

emulator: Trace file name is not set

emulator: Could not open file: /home/adam/.local/share/ubuntu-emulator/myinstance/system/build.prop: No such file or directory
emulator: control console listening on port 5554, ADB on port 5555
emulator: sent '0012host:emulator:5555' to ADB server
emulator: ping program: /usr/share/android/emulator/out/host/linux-x86/bin/ddms
Uncompressing Linux... done, booting the kernel.
goldfish_fb_get_pixel_format:167: display surface,pixel format:
  bits/pixel: 16
  bytes/pixel: 2
  depth: 16
  red: bits=5 mask=0xf800 shift=11 max=0x1f
  green: bits=6 mask=0x7e0 shift=5 max=0x3f
  blue: bits=5 mask=0x1f shift=0 max=0x1f
  alpha: bits=0 mask=0x0 shift=0 max=0x0
Booting Linux on physical CPU 0
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 3.4.0-1-goldfish (buildd@kishi11) (gcc version 4.6.4 (Ubuntu/Linaro 4.6.4-3ubuntu1) ) #10-Ubuntu PREEMPT Wed Dec 11 18:50:41 UTC 2013
CPU: ARMv7 Processor [410fc090] revision 0 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Goldfish
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
Kernel command line: qemu.gles=1 qemu=1 console=ttyS0 android.qemud=ttyS1 androidboot.console=ttyS2 ndns=1
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 512MB = 512MB total
Memory: 509672k/509672k available, 14616k reserved, 0K highmem
Virtual kernel memory layout:
    vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
    vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)
    lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
    pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
      .text : 0xc0008000 - 0xc05c5d3c (5880 kB)
      .init : 0xc05c6000 - 0xc05f1000 ( 172 kB)
      .data : 0xc05f2000 - 0xc0636d08 ( 276 kB)
       .bss : 0xc0636d2c - 0xc0784d30 (1337 kB)
NR_IRQS:256
sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
Console: colour dummy device 80x30
Calibrating delay loop... 442.36 BogoMIPS (lpj=2211840)
pid_max: default: 32768 minimum: 301
Security Framework initialized
AppArmor: AppArmor initialized
Mount-cache hash table entries: 512
Initializing cgroup subsys debug
Initializing cgroup subsys cpuacct
Initializing cgroup subsys freezer
Initializing cgroup subsys blkio
Initializing cgroup subsys perf_event
CPU: Testing write buffer coherency: ok
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 1 counters available
Setting up static identity map for 0x41e308 - 0x41e360
devtmpfs: initialized
EVM: security.selinux
EVM: security.SMACK64
EVM: security.capability
dummy:
NET: Registered protocol family 16
hw-breakpoint: debug architecture 0x0 unsupported.
bio: create slab <bio-0> at 0
NetLabel: Initializing
NetLabel: domain hash size = 128
NetLabel: protocols = UNLABELED CIPSOv4
NetLabel: unlabeled traffic allowed by default
Switching to clocksource goldfish_timer
AppArmor: AppArmor Filesystem Enabled
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 2360K
goldfish_new_pdev goldfish_interrupt_controller at ff000000 irq -1
goldfish_new_pdev goldfish_device_bus at ff001000 irq 1
goldfish_new_pdev goldfish_timer at ff003000 irq 3
goldfish_new_pdev goldfish_rtc at ff010000 irq 10
goldfish_new_pdev goldfish_tty at ff002000 irq 4
goldfish_new_pdev goldfish_tty at ff011000 irq 11
goldfish_new_pdev goldfish_tty at ff012000 irq 12
goldfish_new_pdev smc91x at ff013000 irq 13
goldfish_new_pdev goldfish_fb at ff014000 irq 14
goldfish_new_pdev goldfish_mmc at ff005000 irq 15
goldfish_new_pdev goldfish_memlog at ff006000 irq -1
goldfish_new_pdev goldfish-battery at ff015000 irq 16
goldfish_new_pdev goldfish_events at ff016000 irq 17
goldfish_new_pdev goldfish_nand at ff017000 irq -1
goldfish_new_pdev qemu_pipe at ff018000 irq 18
goldfish_new_pdev goldfish-switch at ff01a000 irq 19
goldfish_new_pdev goldfish-switch at ff01b000 irq 20
goldfish_pdev_worker registered goldfish_interrupt_controller
audit: initializing netlink socket (disabled)
type=2000 audit(0.510:1): initialized
goldfish_pdev_worker registered goldfish_device_bus
goldfish_pdev_worker registered goldfish_timer
goldfish_pdev_worker registered goldfish_rtc
goldfish_pdev_worker registered goldfish_tty
goldfish_pdev_worker registered goldfish_tty
goldfish_pdev_worker registered goldfish_tty
goldfish_pdev_worker registered smc91x
goldfish_pdev_worker registered goldfish_fb
goldfish_pdev_worker registered goldfish_mmc
goldfish_pdev_worker registered goldfish_memlog
goldfish_pdev_worker registered goldfish-battery
goldfish_pdev_worker registered goldfish_events
goldfish_pdev_worker registered goldfish_nand
goldfish_pdev_worker registered qemu_pipe
goldfish_pdev_worker registered goldfish-switch
goldfish_pdev_worker registered goldfish-switch
Installing knfsd (copyright (C) 1996 <email address hidden>).
fuse init (API version 7.18)
msgmni has been set to 1000
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler cfq registered
allocating frame buffer 480 * 800, got ffc00000
console [ttyS0] enabled
brd: module loaded
loop: module loaded
nbd: registered device at major 43
goldfish nand dev0: size c800000, page 512, extra 0, erase 32768
goldfish nand dev1: size c800000, page 512, extra 0, erase 32768
goldfish nand dev2: size 4200000, page 512, extra 0, erase 32768
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <email address hidden>
smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <email address hidden>
eth0: SMC91C11xFD (rev 1) at fe013000 IRQ 13 [nowait]
eth0: Ethernet addr: 52:54:00:12:34:56
mousedev: PS/2 mouse device common for all mice
*** events probe ***
events_probe() addr=0xfe016000 irq=17
events_probe() keymap=qwerty2
input: qwerty2 as /devices/virtual/input/input0
goldfish_rtc goldfish_rtc: rtc core: registered goldfish_rtc as rtc0
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: <email address hidden>
ashmem: initialized
logger: created 256K log 'log_main'
logger: created 256K log 'log_events'
logger: created 256K log 'log_radio'
logger: created 256K log 'log_system'
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (8000 buckets, 32000 max)
ctnetlink v0.93: registering with nfnetlink.
NF_TPROXY: Transparent proxy support initialized, version 4.1.0
NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
xt_time: kernel timezone is -0000
ip_tables: (C) 2000-2006 Netfilter Core Team
arp_tables: (C) 2002 David S. Miller
TCP: cubic registered
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 17
NET: Registered protocol family 15
8021q: 802.1Q VLAN Support v1.8
Registering the dns_resolver key type
VFP support v0.3: implementor 41 architecture 3 part 40 variant 0 rev 0
Registering SWP/SWPB emulation handler
mmc0: new SDHC card at address e118
mmcblk0: mmc0:e118 SU02G 4.00 GiB
 mmcblk0: unknown partition table
AppArmor: AppArmor sha1 policy hashing enabled
goldfish_rtc goldfish_rtc: setting system clock to 2014-02-21 01:24:58 UTC (1392945898)
Freeing init memory: 172K
Write protecting the kernel text section c0008000 - c059a000
Loading, please wait...
systemd-udevd[84]: starting version 204
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
initrd: mounting /dev/mmcblk0
EXT4-fs (mmcblk0): couldn't mount as ext3 due to feature incompatibilities
EXT4-fs (mmcblk0): couldn't mount as ext2 due to feature incompatibilities
EXT4-fs (mmcblk0): recovery complete
EXT4-fs (mmcblk0): mounted filesystem with ordered data mode. Opts: discard
EXT4-fs (loop0): couldn't mount as ext3 due to feature incompatibilities
EXT4-fs (loop0): couldn't mount as ext2 due to feature incompatibilities
EXT4-fs (loop0): recovery complete
EXT4-fs (loop0): mounted filesystem with ordered data mode. Opts: (null)
initrd: mounting system.img (image developer mode)
EXT4-fs (loop1): couldn't mount as ext3 due to feature incompatibilities
EXT4-fs (loop1): couldn't mount as ext2 due to feature incompatibilities
EXT4-fs (loop1): mounted filesystem with ordered data mode. Opts: (null)
initrd: device is generic
initrd: checking mount label mtdblock2
initrd: mounting /dev/mtdblock2 as /root/android//cache
mount: mounting /dev/mtdblock2 on /root/android//cache failed: Invalid argument
initrd: mounting /root/var/lib/lxc/android/system.img as /root/android/system
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
init: ureadahead main process (256) terminated with status 5
init: could not import file '/init.carrier.rc' from '/init.rc'
init: cannot open '/initlogo.rle'
init: cannot find '/system/bin/ubuntuappmanager.disabled', disabling 'ubuntuappmanager'
init: cannot find '/sbin/adbd', disabling 'adbd'
 * Starting AppArmor profiles  Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd

[ OK ]
 * Setting up X socket directories... 
[ OK ]


Ubuntu Trusty Tahr (development branch) ubuntu-phablet ttyS2

ubuntu-phablet login:

Zotona (zotona)
Changed in touch-preview-images:
status: New → Confirmed
Yúbal (theguiltmachine)
no longer affects: ubuntu
Bill Filler (bfiller)
no longer affects: touch-preview-images
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in android (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.