|
From: | Jan Teske |
Subject: | Re: [Qemu-discuss] Android in Qemu on an ARMv7 host |
Date: | Sat, 18 Apr 2015 02:02:35 +0200 |
I had a retry after I found some info that looked promising at: https://docs.google.com/document/d/1uN6ClHrtaYVg_DbVL4595QANKOxn2GoQNqWTW9asWng/edit Followed the instructions, except I cross-compiled the qemu binary, so it runs on ARM. However, the system fails to boot. Here is the console output: $ ./run-android5-guest.sh adb_server_notify: Failed to establish connection to ADB server console on port 5554, ADB on port 5555 Booting Linux on physical CPU 0x0 Initializing cgroup subsys cpuset Linux version 3.10.0+ (address@hidden) (gcc version 4.9.1 (Ubuntu/Linaro 4.9.1-16ubuntu6) ) #1 SMP Thu Apr 16 20:38:43 CEST 2015 CPU: ARMv7 Processor [412fc0f1] revision 1 (ARMv7), cr=10c53c7d CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache Machine: Dummy Virtual Machine, model: ranchu Memory policy: ECC disabled, Data cache writealloc PERCPU: Embedded 7 pages/cpu @c0dfd000 s7104 r8192 d13376 u32768 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260624 Kernel command line: console=ttyAMA0 PID hash table entries: 4096 (order: 2, 16384 bytes) Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 1024MB = 1024MB total Memory: 1032568k/1032568k available, 16008k reserved, 270336K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) vmalloc : 0xf0000000 - 0xff000000 ( 240 MB) lowmem : 0xc0000000 - 0xef800000 ( 760 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf000000 - 0xbfe00000 ( 14 MB) .text : 0xc0008000 - 0xc056318c (5485 kB) .init : 0xc0564000 - 0xc059abc0 ( 219 kB) .data : 0xc059c000 - 0xc05c9fc0 ( 184 kB) .bss : 0xc05c9fc0 - 0xc05f321c ( 165 kB) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Hierarchical RCU implementation. RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1. NR_IRQS:16 nr_irqs:16 16 GIC CPU mask not found - kernel will fail to boot. GIC CPU mask not found - kernel will fail to boot. Architected local timer running at 62.50MHz (virt). Switching to timer-based delay loop sched_clock: ARM arch timer >56 bits at 62500kHz, resolution 16ns sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms Console: colour dummy device 80x30 Calibrating delay loop (skipped), value calculated using timer frequency.. 125.00 BogoMIPS (lpj=625000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok /cpus/address@hidden missing clock-frequency property CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 Setting up static identity map for 0xc0422918 - 0xc0422970 Brought up 1 CPUs SMP: Total of 1 processors activated (125.00 BogoMIPS). CPU: All CPU(s) started in SVC mode. NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic coherent allocations hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. hw-breakpoint: maximum watchpoint size is 8 bytes. Serial: AMBA PL011 UART driver 9000000.pl011: ttyAMA0 at MMIO 0x9000000 (irq = 33) is a PL011 rev1 console [ttyAMA0] enabled bio: create slab <bio-0> at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Advanced Linux Sound Architecture Driver Initialized. Switching to clocksource arch_sys_counter NET: Registered protocol family 2 TCP established hash table entries: 8192 (order: 4, 65536 bytes) TCP bind hash table entries: 8192 (order: 4, 65536 bytes) TCP: Hash tables configured (established 8192 bind 8192) TCP: reno registered UDP hash table entries: 512 (order: 2, 16384 bytes) UDP-Lite hash table entries: 512 (order: 2, 16384 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. Unpacking initramfs... Freeing initrd memory: 800K (c8000000 - c80c8000) bounce pool size: 64 pages jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. fuse init (API version 7.22) msgmni has been set to 1490 io scheduler noop registered (default) loop: module loaded vda: unknown partition table vdb: unknown partition table vdc: unknown partition table tun: Universal TUN/TAP device driver, 1.6 tun: (C) 1999-2004 Max Krasnyansky <address@hidden> usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice input: qwerty2 as /devices/9040000.goldfish-events/input/input0 usbcore: registered new interface driver usbhid usbhid: USB HID core driver 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' oprofile: no performance counters oprofile: using timer interrupt. ip_tables: (C) 2000-2006 Netfilter Core Team TCP: cubic registered NET: Registered protocol family 10 ip6_tables: (C) 2000-2006 Netfilter Core Team sit: IPv6 over IPv4 tunneling driver NET: Registered protocol family 17 Bridge firewalling registered VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0 drivers/rtc/hctosys.c: unable to open rtc device (rtc0) ALSA device list: No soundcards found. Freeing unused kernel memory: 216K (c0564000 - c059a000) init: init started! init: (Loading properties from /default.prop took 0.02s.) init: /init.rc: 492: inval0d option 'start' init: (Parsing /init.environ.rc took 0.01s.) init: (Parsing /init.usb.rc took 0.02s.) init: could not import file '/init.unknown.rc' from '/init.rc' init: (Parsing /init.zygote32.rc took 0.00s.) init: (Parsing /init.trace.rc took 0.01s.) init: (Parsing /init.rc took 0.30s.) init: Starting service 'ueventd'... ueventd: ueventd started! init: Timed out waiting for /dev/.coldboot_done init: /dev/hw_random not found init: /dev/hw_random not found init: cannot find '/system/bin/logd', disabling 'logd' ext4_utils: Failed to insert key into keyring with error Function not implemented init: Not bootcharting. init: cannot find '/system/bin/tzdatacheck', disabling 'exec 0 (/system/bin/tzdatacheck)' init: (Loading properties from /system/build.prop took 0.00s.) init: (Loading properties from /system/default.prop took 0.00s.) init: (Loading properties from /vendor/build.prop took 0.01s.) init: (Loading properties from /build.prop took 0.02s.) init: (Loading properties from /factory/factory.prop took 0.00s.) init: (Loading properties from /data/local.prop took 0.01s.) init: Unable to open persistent property directory "/data/property": No such file or directory init: cannot find '/system/bin/logd', disabling 'logd-reinit' init: Starting service 'healthd'... init: cannot find '/system/bin/lmkd', disabling 'lmkd' init: cannot find '/system/bin/servicemanager', disabling 'servicemanager' init: cannot find '/system/bin/vold', disabling 'vold' init: cannot find '/system/bin/surfaceflinger', disabling 'surfaceflinger' init: cannot find '/system/bin/sh', disabling 'console' init: Starting service 'adbd'... init: Service 'healthd' (pid 784) killed by signal 6 init: Service 'healthd' (pid 784) killing any children in process group ueventd: Coldboot took 9.44s. init: Starting service 'healthd'... binder: 856:856 transaction failed 29189, size 0-0 binder: 856:856 transaction failed 29189, size 0-0 binder: 856:856 transaction failed 29189, size 0-0 <…> The binder messages go on forever and the UI stays black. Seems to me like the init process has some major trouble. I could not find out why or how to resolve this. Any ideas, anyone?
|
[Prev in Thread] | Current Thread | [Next in Thread] |