"The cupcake" is not very indicative of what you're doing. You should at
least try to explain exactly which branch/repository you're usingand how you
configured your build.

Also, using both a custom kernel and custom system image is fraught with
peril. Couldn't you try one without the other first to try to
isolate the issues?

On Thu, Aug 20, 2009 at 5:53 AM, Miller Fu <miller.fu...@gmail.com> wrote:

>
>
> The cupcake can't boot up on the emulator. Can anybody help me check
> what is the problem? please see the Logcat
>
> I built cupcake images and kernel by myself.
>
>
> mille...@millerfu-desktop:~/cupcake$emulator -kernel ~/kernel/arch/arm/
> boot/zImage -system out/target/product/generic/system.img -ramdisk out/
> target/product/generic/ramdisk.img -initdata out/target/product/
> generic/userdata.img -avd AndroidSDK
>
>
>
>
> 08-19 03:39:07.593: INFO/DEBUG(539): debuggerd: Aug 13 2009 14:28:58
> 08-19 03:39:07.613: INFO/vold(538): Android Volume Daemon version 2.0
> 08-19 03:39:07.724: ERROR/vold(538): Error opening switch name path '/
> sys/class/switch/test2' (No such file or directory)
> 08-19 03:39:07.724: ERROR/vold(538): Error bootstrapping switch '/sys/
> class/switch/test2' (No such file or directory)
> 08-19 03:39:07.724: ERROR/vold(538): Error opening switch name path '/
> sys/class/switch/test' (No such file or directory)
> 08-19 03:39:07.724: ERROR/vold(538): Error bootstrapping switch '/sys/
> class/switch/test' (No such file or directory)
> 08-19 03:39:07.724: DEBUG/vold(538): Bootstrapping complete
> 08-19 03:39:08.092: DEBUG/qemud(547): entering main loop
> 08-19 03:39:08.702: DEBUG/qemud(547): fdhandler_accept_event:
> accepting on fd 10
> 08-19 03:39:08.712: DEBUG/qemud(547): created client 0xe078 listening
> on fd 8
> 08-19 03:39:08.732: DEBUG/qemud(547): client_fd_receive: attempting
> registration for service 'boot-properties'
> 08-19 03:39:08.732: DEBUG/qemud(547): client_fd_receive:    ->
> received channel id 1
> 08-19 03:39:08.746: DEBUG/qemud(547): client_registration:
> registration succeeded for client 1
> 08-19 03:39:09.283: DEBUG/qemud(547): fdhandler_accept_event:
> accepting on fd 10
> 08-19 03:39:09.283: DEBUG/qemud(547): created client 0x10028 listening
> on fd 11
> 08-19 03:39:09.283: DEBUG/qemud(547): fdhandler_event: disconnect on
> fd 11
> 08-19 03:39:09.892: INFO/qemu-props(557): connected to 'boot-
> properties' qemud service.
> 08-19 03:39:09.912: INFO/qemu-props(557): exiting (0 properties set).
> 08-19 03:39:10.883: DEBUG/qemud(547): fdhandler_accept_event:
> accepting on fd 10
> 08-19 03:39:10.883: DEBUG/qemud(547): created client 0xe078 listening
> on fd 8
> 08-19 03:39:10.883: DEBUG/qemud(547): client_fd_receive: attempting
> registration for service 'gsm'
> 08-19 03:39:10.883: DEBUG/qemud(547): client_fd_receive:    ->
> received channel id 2
> 08-19 03:39:10.892: DEBUG/qemud(547): client_registration:
> registration succeeded for client 2
> 08-19 03:39:11.032: DEBUG/AndroidRuntime(541): >>>>>>>>>>>>>>
> AndroidRuntime START <<<<<<<<<<<<<<
> 08-19 03:39:11.032: DEBUG/AndroidRuntime(541): CheckJNI is ON
> 08-19 03:39:11.243: DEBUG/dalvikvm(541): DexOpt: incorrect opt magic
> number (0xff ff ff ff)
> 08-19 03:39:11.243: DEBUG/dalvikvm(541): Stale deps in cache file;
> removing and retrying
> 08-19 03:39:11.583: INFO/(542): ServiceManager: 0xac38
> 08-19 03:39:11.633: INFO/AudioFlinger(542): AudioFlinger's thread
> ready to run for output 0
> 08-19 03:39:11.663: DEBUG/dalvikvm(541): DexOpt: --- BEGIN
> 'core.jar' (bootstrap=1) ---
> 08-19 03:39:11.703: INFO/CameraService(542): CameraService started:
> pid=542
> 08-19 03:39:12.213: ERROR/dalvikvm(575): Too many exceptions during
> init (failed on 'Ljava/lang/NoClassDefFoundError;'
> 'java.lang.NoClassDefFoundError')
> 08-19 03:39:12.222: ERROR/dalvikvm(575): VM aborting
> 08-19 03:39:12.354: INFO/DEBUG(539): *** *** *** *** *** *** *** ***
> *** *** *** *** *** *** *** ***
> 08-19 03:39:12.354: INFO/DEBUG(539): Build fingerprint: 'generic/
> generic/generic/:Donut/Donut/eng.millerfu.20090813.134359:eng/test-
> keys'
> 08-19 03:39:12.363: INFO/DEBUG(539): pid: 575, tid: 575  >>> /system/
> bin/dexopt <<<
> 08-19 03:39:12.363: INFO/DEBUG(539): signal 11 (SIGSEGV), fault addr
> deadd00d
> 08-19 03:39:12.373: INFO/DEBUG(539):  r0 00000330  r1 0000000c  r2
> 0000000c  r3 00000026
> 08-19 03:39:12.385: INFO/DEBUG(539):  r4 deadd00d  r5 00020228  r6
> ad06eba4  r7 00000000
> 08-19 03:39:12.385: INFO/DEBUG(539):  r8 00000000  r9 00000000  10
> 00000000  fp 00000000
> 08-19 03:39:12.385: INFO/DEBUG(539):  ip ad083ef8  sp be947aa0  lr
> afe13f0d  pc ad03b88a  cpsr 20000030
> 08-19 03:39:12.413: INFO/DEBUG(539):          #00  pc 0003b88a  /
> system/lib/libdvm.so
> 08-19 03:39:12.413: INFO/DEBUG(539):          #01  pc 0003af48  /
> system/lib/libdvm.so
> 08-19 03:39:12.423: INFO/DEBUG(539):          #02  pc 0003b1c4  /
> system/lib/libdvm.so
> 08-19 03:39:12.423: INFO/DEBUG(539):          #03  pc 0005ced6  /
> system/lib/libdvm.so
> 08-19 03:39:12.423: INFO/DEBUG(539):          #04  pc 0005d110  /
> system/lib/libdvm.so
> 08-19 03:39:12.433: INFO/DEBUG(539):          #05  pc 0005d9ee  /
> system/lib/libdvm.so
> 08-19 03:39:12.433: INFO/DEBUG(539):          #06  pc 0003af4e  /
> system/lib/libdvm.so
> 08-19 03:39:12.433: INFO/DEBUG(539):          #07  pc 0003b1c4  /
> system/lib/libdvm.so
> 08-19 03:39:12.443: INFO/DEBUG(539):          #08  pc 0005ced6  /
> system/lib/libdvm.so
> 08-19 03:39:12.443: INFO/DEBUG(539):          #09  pc 0005d110  /
> system/lib/libdvm.so
> 08-19 03:39:12.443: INFO/DEBUG(539):          #10  pc 0005d9ee  /
> system/lib/libdvm.so
> 08-19 03:39:12.453: INFO/DEBUG(539):          #11  pc 0004f3be  /
> system/lib/libdvm.so
> 08-19 03:39:12.453: INFO/DEBUG(539):          #12  pc 000506d6  /
> system/lib/libdvm.so
> 08-19 03:39:12.453: INFO/DEBUG(539):          #13  pc 000508b2  /
> system/lib/libdvm.so
> 08-19 03:39:12.463: INFO/DEBUG(539):          #14  pc 00008e5a  /
> system/bin/dexopt
> 08-19 03:39:12.463: INFO/DEBUG(539):          #15  pc 00008f14  /
> system/bin/dexopt
> 08-19 03:39:12.463: INFO/DEBUG(539):          #16  pc 0000bd60  /
> system/lib/libc.so
> 08-19 03:39:12.473: INFO/DEBUG(539):          #17  pc b000163c  /
> system/bin/linker
> 08-19 03:39:12.473: INFO/DEBUG(539): stack:
> 08-19 03:39:12.473: INFO/DEBUG(539):     be947a60  000001e3
> 08-19 03:39:12.473: INFO/DEBUG(539):     be947a64  ad065b67  /system/
> lib/libdvm.so
> 08-19 03:39:12.483: INFO/DEBUG(539):     be947a68  afe39f90
> 08-19 03:39:12.483: INFO/DEBUG(539):     be947a6c  afe39fe4
> 08-19 03:39:12.483: INFO/DEBUG(539):     be947a70  00000000
> 08-19 03:39:12.483: INFO/DEBUG(539):     be947a74  afe13f0d  /system/
> lib/libc.so
> 08-19 03:39:12.483: INFO/DEBUG(539):     be947a78  00020228  [heap]
> 08-19 03:39:12.483: INFO/DEBUG(539):     be947a7c  afe12f29  /system/
> lib/libc.so
> 08-19 03:39:12.493: INFO/DEBUG(539):     be947a80  00020228  [heap]
> 08-19 03:39:12.493: INFO/DEBUG(539):     be947a84  ad083e1c
> 08-19 03:39:12.493: INFO/DEBUG(539):     be947a88  00020228  [heap]
> 08-19 03:39:12.493: INFO/DEBUG(539):     be947a8c  ad06eba4  /system/
> lib/libdvm.so
> 08-19 03:39:12.493: INFO/DEBUG(539):     be947a90  00000000
> 08-19 03:39:12.503: INFO/DEBUG(539):     be947a94  afe12f8d  /system/
> lib/libc.so
> 08-19 03:39:12.503: INFO/DEBUG(539):     be947a98  df002777
> 08-19 03:39:12.503: INFO/DEBUG(539):     be947a9c  e3a070ad
> 08-19 03:39:12.513: INFO/DEBUG(539): #00 be947aa0  ad083e1c
> 08-19 03:39:12.513: INFO/DEBUG(539):     be947aa4  ad03af4d  /system/
> lib/libdvm.so
> 08-19 03:39:12.513: INFO/DEBUG(539): #01 be947aa8  00020228  [heap]
> 08-19 03:39:12.513: INFO/DEBUG(539):     be947aac  ad06eba5  /system/
> lib/libdvm.so
> 08-19 03:39:12.513: INFO/DEBUG(539):     be947ab0  ad06eba4  /system/
> lib/libdvm.so
> 08-19 03:39:12.513: INFO/DEBUG(539):     be947ab4  00020228  [heap]
> 08-19 03:39:12.513: INFO/DEBUG(539):     be947ab8  ad06eba4  /system/
> lib/libdvm.so
> 08-19 03:39:12.513: INFO/DEBUG(539):     be947abc  00000000
> 08-19 03:39:12.574: INFO/DEBUG(539):     be947ac0  ad06eba4  /system/
> lib/libdvm.so
> 08-19 03:39:12.574: INFO/DEBUG(539):     be947ac4  ad03b1c9  /system/
> lib/libdvm.so
> 08-19 03:39:12.603: WARN/dalvikvm(541): DexOpt: --- END 'core.jar' ---
> status=0x000b, process failed
> 08-19 03:39:12.603: ERROR/dalvikvm(541): Unable to extract+optimize
> DEX from '/system/framework/core.jar'
> 08-19 03:39:12.613: DEBUG/dalvikvm(541): Failed on '/system/framework/
> core.jar' (boot=1)
> 08-19 03:39:12.613: DEBUG/dalvikvm(541): VM cleaning up
> 08-19 03:39:12.613: DEBUG/dalvikvm(541): LinearAlloc 0x0 used 4100 of
> 4194304 (0%)
> 08-19 03:39:12.633: WARN/dalvikvm(541): JNI_CreateJavaVM failed
> 08-19 03:39:12.633: ERROR/AndroidRuntime(541): JNI_CreateJavaVM failed
>
>
> thanks in advance.
> Miller Fu
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to