Public bug reported: Missing mtd and/or MMC device support in-kernel (not module) ?!
$ emulator -show-kernel -verbose -noskin -qemu -monitor stdio emulator: found Android build root: /home/xnox/canonical/aosp emulator: found Android build out: /home/xnox/canonical/aosp/out/target/product/generic emulator: Found target ABI=armeabi-v7a, architecture=arm emulator: Found target API level: 18 emulator: using core hw config path: /home/xnox/canonical/aosp/out/target/product/generic/hardware-qemu.ini emulator: found skin-specific hardware.ini: /home/xnox/canonical/aosp/development/tools/emulator/skins/HVGA/hardware.ini emulator: autoconfig: -skindir /home/xnox/canonical/aosp/development/tools/emulator/skins emulator: keyset loaded from: /home/xnox/.android/default.keyset emulator: there is no '320x480' skin in '/home/xnox/canonical/aosp/development/tools/emulator/skins' emulator: found magic skin width=320 height=480 bpp=16 emulator: Found target ABI=armeabi-v7a emulator: autoconfig: -kernel /home/xnox/canonical/aosp/prebuilts/qemu-kernel/arm/kernel-qemu-armv7 emulator: autoconfig: -ramdisk /home/xnox/canonical/aosp/out/target/product/generic/ramdisk.img emulator: autoconfig: -sysdir /home/xnox/canonical/aosp/out/target/product/generic emulator: Using initial system image: /home/xnox/canonical/aosp/out/target/product/generic/system.img emulator: WARNING: system partition size adjusted to match image file (238 MB > 200 MB) emulator: autoconfig: -data /home/xnox/canonical/aosp/out/target/product/generic/userdata-qemu.img emulator: autoconfig: -initdata /home/xnox/canonical/aosp/out/target/product/generic/userdata.img emulator: Physical RAM size: 512MB emulator: Auto-config: -qemu -cpu cortex-a8 Content of hardware configuration file: hw.cpu.arch = arm hw.cpu.model = cortex-a8 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 disk.cachePartition = yes disk.cachePartition.size = 66m hw.lcd.width = 320 hw.lcd.height = 480 hw.lcd.depth = 16 hw.lcd.density = 160 hw.lcd.backlight = yes hw.gpu.enabled = no 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 kernel.path = /home/xnox/canonical/aosp/prebuilts/qemu-kernel/arm/kernel-qemu-armv7 kernel.parameters = android.checkjni=1 disk.ramdisk.path = /home/xnox/canonical/aosp/out/target/product/generic/ramdisk.img disk.systemPartition.initPath = /home/xnox/canonical/aosp/out/target/product/generic/system.img disk.systemPartition.size = 238m disk.dataPartition.path = /home/xnox/canonical/aosp/out/target/product/generic/userdata-qemu.img disk.dataPartition.size = 200m avd.name = <build> . QEMU options list: emulator: argv[00] = "/home/xnox/canonical/aosp/out/host/linux-x86/bin/emulator64-arm" emulator: argv[01] = "-show-kernel" emulator: argv[02] = "-monitor" emulator: argv[03] = "stdio" emulator: argv[04] = "-android-hw" emulator: argv[05] = "/home/xnox/canonical/aosp/out/target/product/generic/hardware-qemu.ini" Concatenated QEMU options: /home/xnox/canonical/aosp/out/host/linux-x86/bin/emulator64-arm -show-kernel -monitor stdio -android-hw /home/xnox/canonical/aosp/out/target/product/generic/hardware-qemu.ini emulator: registered 'boot-properties' qemud service emulator: nand_add_dev: system,size=0xee00000,initfile=/home/xnox/canonical/aosp/out/target/product/generic/system.img emulator: mapping 'system' NAND image to /tmp/android-xnox/emulator-1QuEUd emulator: rounding devsize up to a full eraseunit, now ee17000 emulator: nand_add_dev: userdata,size=0xc800000,file=/home/xnox/canonical/aosp/out/target/product/generic/userdata-qemu.img emulator: rounding devsize up to a full eraseunit, now c810000 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 emulator: mapping 'cache' NAND image to /tmp/android-xnox/emulator-x1As12 emulator: Initializing hardware OpenGLES emulation support Failed to load libGL.so error libGL.so: cannot open shared object file: No such file or directory Failed to load libGL.so error libGL.so: cannot open shared object file: No such file or directory Could not configure '/dev/hpet' to have a 1024Hz timer. This is not a fatal error, but for better emulation accuracy type: 'echo 1024 > /proc/sys/dev/hpet/max-user-freq' as root. emulator: Kernel parameters: qemu.gles=0 qemu=1 console=ttyS0 android.qemud=ttyS1 android.checkjni=1 ndns=3 emulator: Trace file name is not set emulator: autoconfig: -scale 1 serial0 console emulator: Found ro.adb.qemud build property: 1 emulator: control console listening on port 5554, ADB on port 5555 emulator: sent '0012host:emulator:5555' to ADB server emulator: ping program: /home/xnox/canonical/aosp/out/host/linux-x86/bin/ddms QEMU 0.10.50 monitor - type 'help' for more information (qemu) 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-0-goldfish (buildd@kishi13) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-7ubuntu1) ) #6-Ubuntu PREEMPT Thu Sep 19 19:29:32 UTC 2013 CPU: ARMv7 Processor [410fc080] revision 0 (ARMv7), cr=10c5387d CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing 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=0 qemu=1 console=ttyS0 android.qemud=ttyS1 android.checkjni=1 ndns=3 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: 511924k/511924k available, 12364k 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 - 0xc05a582c (5751 kB) .init : 0xc05a6000 - 0xc05d1000 ( 172 kB) .data : 0xc05d2000 - 0xc06188d8 ( 283 kB) .bss : 0xc06188fc - 0xc0766c70 (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... 824.11 BogoMIPS (lpj=4120576) 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-A8 PMU driver, 1 counters available Setting up static identity map for 0x40bad0 - 0x40bb28 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... rootfs image is not initramfs (junk in compressed archive); looks like an initrd Freeing initrd memory: 228K 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_audio at ff004000 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 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_audio 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 audit: initializing netlink socket (disabled) type=2000 audit(0.240:1): initialized Installing knfsd (copyright (C) 1996 o...@monad.swb.de). 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 320 * 480, got ffd00000 console [ttyS0] enabled brd: module loaded loop: module loaded nbd: registered device at major 43 goldfish_audio_probe goldfish nand dev0: size e6e0000, page 2048, extra 64, erase 131072 goldfish nand dev1: size c200000, page 2048, extra 64, erase 131072 goldfish nand dev2: size 4000000, page 2048, extra 64, erase 131072 tun: Universal TUN/TAP device driver, 1.6 tun: (C) 1999-2004 Max Krasnyansky <m...@qualcomm.com> smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <n...@fluxnic.net> 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: dm-de...@redhat.com 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 (8002 buckets, 32008 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 30 variant c rev 0 Registering SWP/SWPB emulation handler AppArmor: AppArmor sha1 policy hashing enabled goldfish_rtc goldfish_rtc: setting system clock to 2013-09-24 11:17:51 UTC (1380021471) md: Waiting for all devices to be available before autodetect md: If you don't use raid, use raid=noautodetect md: Autodetecting RAID arrays. md: Scanned 0 and added 0 devices. md: autorun ... md: ... autorun DONE. RAMDISK: Couldn't find valid RAM disk image starting at 0. VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6 Please append a correct "root=" boot option; here are the available partitions: 1f00 236416 mtdblock0 (driver?) 1f01 198656 mtdblock1 (driver?) 1f02 65536 mtdblock2 (driver?) Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [<c0012bb8>] (unwind_backtrace+0x0/0x11c) from [<c04005d8>] (panic+0x74/0x1b0) [<c04005d8>] (panic+0x74/0x1b0) from [<c05a6d10>] (mount_block_root+0x23c/0x2a0) [<c05a6d10>] (mount_block_root+0x23c/0x2a0) from [<c05a7048>] (prepare_namespace+0x160/0x1c0) [<c05a7048>] (prepare_namespace+0x160/0x1c0) from [<c05a6994>] (kernel_init+0x1b0/0x1ec) [<c05a6994>] (kernel_init+0x1b0/0x1ec) from [<c000e888>] (kernel_thread_exit+0x0/0x8) ** Affects: linux-goldfish (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1229675 Title: still failing to boot stock AOSP images To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-goldfish/+bug/1229675/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs