Hi, I have the same problem as you, except that I'm using a 2.6.23 kernel. Th problem apparently comes from the binder driver backport (2.6.25-> 2.6.23) I wiil rework it , but if you have a solution I would appreciate to know it.
Thanks Thomas On Dec 8 2008, 6:50 pm, "Dianne Hackborn" <[email protected]> wrote: > Well it's the activity manager saying that some process came back to connect > to it, which it wasn't expecting. It looks like for some reason the API to > get the calling PID from the Binder is not working, and returning 0 instead > of the caller's actual PID. You might want to look in the kernel log and > see if the Binder driver is yelling about anything. > > Oh wait... it looks like your kernel version doesn't match the one Android > works on? (2.6.22.6 vs 2.6.25). That could likely be the problem. > > > > On Mon, Dec 8, 2008 at 4:29 AM, deepak singal <[email protected]> wrote: > > > Hello all, > > > I am trying to port android SDK 1.0 to IMX31. > > > I have kernel linux2.6.22.6 which was released from freescale with > > linux-2.6.25-android-1.0_r1.tar.gz. > > > and the rootfs was pulled from android-sdk-windows-1.0_r1. > > > When i try to run android 1.0 on IMX31 board through SD card (ext2 > > file system), > > > i get following error messages: > > > D/PowerManagerService( 1710): system ready! > > I/ActivityManager( 1710): Starting activity: Intent > > { action=android.intent.action.MAIN categories= > > {android.intent.category.HOME} flags=0x10000000 comp={com} > > I/SystemServer( 1710): It is now time to start up the app processes... > > D/ActivityManager( 1710): Start running! > > I/Zygote ( 1710): Process: zygote socket opened > > I/ActivityManager( 1710): Start proc com.android.phone for added > > application com.android.phone: pid=1748 uid=1001 gids={3001, 3003} > > I/ActivityManager( 1710): Start proc android.process.acore for > > activity com.android.launcher/.Launcher: pid=1750 uid=10000 gids= > > {3003} > > W/ActivityManager( 1710): No pending application record for pid 0 > > (IApplicationThread android.app.applicationthreadpr...@435bb1a8); > > dropping process > > W/ActivityManager( 1710): No pending application record for pid 0 > > (IApplicationThread android.app.applicationthreadpr...@435687a0); > > dropping process > > D/AndroidRuntime( 1750): Shutting down VM > > W/dalvikvm( 1750): threadid=3: thread exiting with uncaught exception > > (group=0x40010e28) > > E/AndroidRuntime( 1750): Uncaught handler: thread main exiting due to > > uncaught exception > > E/AndroidRuntime( 1750): java.lang.RuntimeException: Main thread not > > allowed to quit > > E/AndroidRuntime( 1750): at > > android.os.MessageQueue.enqueueMessage(MessageQueue.java:177) > > E/AndroidRuntime( 1750): at android.os.Looper.quit(Looper.java: > > 171) > > E/AndroidRuntime( 1750): at android.app.ActivityThread > > $H.handleMessage(ActivityThread.java:1622) > > E/AndroidRuntime( 1750): at android.os.Handler.dispatchMessage > > (Handler.java:88) > > E/AndroidRuntime( 1750): at android.os.Looper.loop(Looper.java: > > 123) > > E/AndroidRuntime( 1750): at android.app.ActivityThread.main > > (ActivityThread.java:3742) > > E/AndroidRuntime( 1750): at > > java.lang.reflect.Method.invokeNative(Native Method) > > E/AndroidRuntime( 1750): at java.lang.reflect.Method.invoke > > (Method.java:515) > > E/AndroidRuntime( 1750): at com.android.internal.os.ZygoteInit > > $MethodAndArgsCaller.run(ZygoteInit.java:739) > > E/AndroidRuntime( 1750): at > > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497) > > E/AndroidRuntime( 1750): at dalvik.system.NativeStart.main > > (Native Method) > > W/ActivityManager( 1710): Some application object > > android.os.binderpr...@43568768 tag AndroidRuntime has crashed, but I > > don't know who it is. > > W/ActivityManager( 1710): ShortMsg:Main thread not allowed to quit > > W/ActivityManager( 1710): LongMsg:java.lang.RuntimeException: Main > > thread not allowed to quit > > I/Process ( 1750): Sending signal. PID: 1750 SIG: 9 > > D/AndroidRuntime( 1748): Shutting down VM > > W/dalvikvm( 1748): threadid=3: thread exiting with uncaught exception > > (group=0x40010e28) > > E/AndroidRuntime( 1748): Uncaught handler: thread main exiting due to > > uncaught exception > > E/AndroidRuntime( 1748): java.lang.RuntimeException: Main thread not > > allowed to quit > > E/AndroidRuntime( 1748): at > > android.os.MessageQueue.enqueueMessage(MessageQueue.java:177) > > E/AndroidRuntime( 1748): at android.os.Looper.quit(Looper.java: > > 171) > > E/AndroidRuntime( 1748): at android.app.ActivityThread > > $H.handleMessage(ActivityThread.java:1622) > > E/AndroidRuntime( 1748): at android.os.Handler.dispatchMessage > > (Handler.java:88) > > E/AndroidRuntime( 1748): at android.os.Looper.loop(Looper.java: > > 123) > > E/AndroidRuntime( 1748): at android.app.ActivityThread.main > > (ActivityThread.java:3742) > > E/AndroidRuntime( 1748): at > > java.lang.reflect.Method.invokeNative(Native Method) > > E/AndroidRuntime( 1748): at java.lang.reflect.Method.invoke > > (Method.java:515) > > E/AndroidRuntime( 1748): at com.android.internal.os.ZygoteInit > > $MethodAndArgsCaller.run(ZygoteInit.java:739) > > E/AndroidRuntime( 1748): at > > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497) > > E/AndroidRuntime( 1748): at dalvik.system.NativeStart.main > > (Native Method) > > W/ActivityManager( 1710): Some application object > > android.os.binderpr...@435bb0c8 tag AndroidRuntime has crashed, but I > > don't know who it is. > > W/ActivityManager( 1710): ShortMsg:Main thread not allowed to quit > > W/ActivityManager( 1710): LongMsg:java.lang.RuntimeException: Main > > thread not allowed to quit > > I/Process ( 1748): Sending signal. PID: 1748 SIG: 9 > > > Is there any comments or any clue to track this problem ?? > > Any help will be highly appreciated. Thanks in Advance. > > > Thanks & Regards, > > Deepak Singal > > -- > Dianne Hackborn > Android framework engineer > [email protected] > > Note: please don't send private questions to me, as I don't have time to > provide private support. All such questions should be posted on public > forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
