5 messages in com.googlegroups.android-internals[android-internals] Re: Android on i....| From | Sent On | Attachments |
|---|---|---|
| trustchen | 26 Jul 2008 08:14 | |
| Markus | 28 Jul 2008 02:00 | |
| deepak singal | 29 Jul 2008 05:07 | |
| Markus | 30 Jul 2008 03:57 | |
| Markus | 06 Aug 2008 05:02 |
| Subject: | [android-internals] Re: Android on i.MX31 yaffs2 problem![]() |
|---|---|
| From: | Markus (vi...@in.tum.de) |
| Date: | 07/28/2008 02:00:56 AM |
| List: | com.googlegroups.android-internals |
Hi!
Now it is getting weird. If I boot Android into the shell and call the init script combined with strace (/system/bin/strace -f -ff -tt -s 200 /init &), I have to wait about 20 minutes and I get into the Android menu. Android is very slow, but this seems to be caused by writing all those messages to console, about 500kBytes per minute.
The log does not report anything that could cause the crash without strace - and as I said, Android is working fine with strace enabled.
I tried again to boot Android without strace and waited about half an hour, but it does not start, we just get the moving red eye. Any idea, why Android is working with strace enabled, but not without strace? Is it possible, that we have a timing problem?
Our problem seems to be related to this topic: http://groups.google.com/group/android-internals/browse_thread/thread/10cdbb9f6fb1cf33/97973de61f5a86ee?lnk=gst&q=30+minutes#97973de61f5a86ee
bye Markus
On 26 Jul., 17:14, "trustchen" <trus...@gmail.com> wrote:
hi! you can modify the init.rc,let it start manually. then you strace and analyze the log.
trustchen 2008-07-26
发件人: Markus 发送时间: 2008-07-22 06:57:50 收件人: Android Internals 抄送: 主题: [android-internals] Android on i.MX31 yaffs2 problem
Hi, we have started to port Android to i.MX31 (we use the 3-Stack Development Kit from freescale). Therefore, I ported the Android kernel to the freescale linux kernel, version 2.6.19.2. Due to complications with the power management stuff, we left that away, as we currently do not need those features. At the moment, everything is working fine, if we boot by NFS, we even have touchscreen support, which is not yet perfect. But if we flash the filesystem into the NAND memory with a yaffs2 filesystem, we cannot boot the GUI of Andoid anymore and sometimes the console is not responding to any commands after the init script was started, it seems like something blocks the whole CPU. The log file says, that some services can't be started like the activity service. The used kernel patch is from freescale and it is working fine with the freescale linux system, which can be booted from NAND, so the memory should be okay. Has somebody an idea, why the yaffs2 support is not working for us? Do we need to change something compared to NFS? I gave permissions to read/write/execute to anyuser for all files, but this did not aid. The booting process crashes always somewhere else after the service activity problem. Bye Markus Here the log from logcat: # /system/bin/logcat & /init & # init: HOW ARE YOU GENTLEMEN init: reading config file init: device init init: mtd partition -1, init: mtd partition 0, "Bootloade init: mtd partition 1, "Kernel" init: mtd partition 2, "Fla" init: mtd partition 3, "Flb" init: mtd partition 4, "Flc" init: mtd partition 5, "Bootloade sh: can't access tty; job control turned off # I/DEBUG ( 1319): debuggerd: Feb 28 2008 17:13:08 D/AndroidRuntime( 1321): D/AndroidRuntime( 1321): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<< I/AndroidRuntime( 1321): Assertions enabled for ALL code (-ea and - esa) I/runtime ( 1322): Startup: sys=binder_open: 1322:1322 '/system' asset='/system/app' dabinder_mmap: 1322 40008000-40408000 (4096 K) vma 71 pagep 85f ta='/data' W/runtime ( 1322): Unable to open alarm driver: No such file or directory I/runtime ( 1322): Entered boot_init()! D/runtime ( 1322): ProcessState: 0x124e8 I/runtime ( 1322): Binder driver opened. Multiprocess enabled. D/AndroidRuntime( 1321): --- registering native functions --- D/dalvikvm( 1321): Exception Ljava/lang/ClassNotFoundException; from PathClassLoader.java:205 not caught locally D/dalvikvm( 1321): NOTE: loadClass 'android.app.Activity $LocalWindowManager' 0x40018940 threw an exception W/Zygote ( 1321): Zygote class init exception java.lang.ClassNotFoundException: android.app.Activity $LocalWindowManager with class android.app.Activity$LocalWindowManager D/dalvikvm( 1321): Exception Ljava/lang/ClassNotFoundException; from PathClassLoader.java:205 not caught locally D/dalvikvm( 1321): NOTE: loadClass 'android.content.PackageManager' 0x40018940 threw an exception W/Zygote ( 1321): Zygote class init exception java.lang.ClassNotFoundException: android.content.PackageManager with class android.content.PackageManager D/dalvikvm( 1321): Exception Ljava/lang/ClassNotFoundException; from PathClassLoader.java:205 not caught locally D/dalvikvm( 1321): NOTE: loadClass 'android.content.PackageManager $ActivityInfo' 0x40018940 threw an exception W/Zygote ( 1321): Zygote class init exception java.lang.ClassNotFoundException: android.content.PackageManager $ActivityInfo with class android.content.PackageManager$ActivityInfo D/dalvikvm( 1321): Exception Ljava/lang/ClassNotFoundException; from PathClassLoader.java:205 not caught locally D/dalvikvm( 1321): NOTE: loadClass 'android.content.PackageManager $ActivityInfo$1' 0x40018940 threw an exception W/Zygote ( 1321): Zygote class init exception java.lang.ClassNotFoundException: android.content.PackageManager $ActivityInfo$1 with class android.content.PackageManager$ActivityInfo $1 D/dalvikvm( 1321): LOADING path /system/lib/libmedia_jni.so 0x0 I/dalvikvm( 1321): Added shared lib /system/lib/libmedia_jni.so 0x0 D/dalvikvm( 1321): LOADING path /system/lib/libmedia_jni.so 0x0 I/dalvikvm( 1321): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0 D/dalvikvm( 1321): LOADING path /system/lib/libmedia_jni.so 0x0 I/dalvikvm( 1321): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0 D/dalvikvm( 1321): Exception Ljava/lang/ClassNotFoundException; from PathClassLoader.java:205 not caught locally D/dalvikvm( 1321): NOTE: loadClass 'android.os.BinderNative' 0x40018940 threw an exception W/Zygote ( 1321): Zygote class init exception java.lang.ClassNotFoundException: android.os.BinderNative with class android.os.BinderNative D/dalvikvm( 1321): Exception Ljava/lang/ClassNotFoundException; from PathClassLoader.java:205 not caught locally D/dalvikvm( 1321): NOTE: loadClass 'android.text.style.CharacterStyle $DrawState' 0x40018940 threw an exception W/Zygote ( 1321): Zygote class init exception java.lang.ClassNotFoundException: android.text.style.CharacterStyle $DrawState with class android.text.style.CharacterStyle$DrawState D/dalvikvm( 1321): Exception Ljava/lang/ClassNotFoundException; from PathClassLoader.java:205 not caught locally D/dalvikvm( 1321): NOTE: loadClass 'android.webkit.JsConfirmResult' 0x40018940 threw an exception W/Zygote ( 1321): Zygote class init exception java.lang.ClassNotFoundException: android.webkit.JsConfirmResult with class android.webkit.JsConfirmResult D/dalvikvm( 1321): LOADING path /system/lib/libwebcore.so 0x0 I/dalvikvm( 1321): Added shared lib /system/lib/libwebcore.so 0x0 D/dalvikvm( 1321): Exception Ljava/lang/ClassNotFoundException; from PathClassLoader.java:205 not caught locally D/dalvikvm( 1321): NOTE: loadClass 'android.widget.AbsListView $MyContentObserver' 0x40018940 threw an exception W/Zygote ( 1321): Zygote class init exception java.lang.ClassNotFoundException: android.widget.AbsListView $MyContentObserver with class android.widget.AbsListView $MyContentObserver D/dalvikvm( 1321): Exception Ljava/lang/ClassNotFoundException; from PathClassLoader.java:205 not caught locally D/dalvikvm( 1321): NOTE: loadClass 'android.widget.WidgetInflate' 0x40018940 threw an exception W/Zygote ( 1321): Zygote class init exception java.lang.ClassNotFoundException: android.widget.WidgetInflate with class android.widget.WidgetInflate I/dalvikvm-heap( 1321): GC! (0ms since last GC) I/dalvikvm-heap( 1321): GC old usage 26.4%; now 0.543MB used / 1.088MB soft max (2.062MB real max) I/dalvikvm-heap( 1321): GC freed 3297 objects / 220628 bytes in 15ms I/Zygote ( 1321): Accepting command socket connections I/ServiceManager( 1322): ServiceManager:binder_open: 1336:1336 waiting for service SurfaceFlinbinder_mmap: 1336 42641000-42a41000 (4096 K) vma 71 pagep 85f ger D/AndroidRuntime( 1335): Shutting down VM D/dalvikvm( 1335): DestroyJavaVM waiting for non-daemon threads to exit I/dalvikvm( 1335): DestroyJavaVM shutting VM down D/dalvikvm( 1335): All daemon threads shut down, cleaning up D/dalvikvm( 1335): LinearAlloc 0x0 used 949804 of 4194304 (22%) I/jdwp ( 1336): prepping for JDWP over ADB I/jdwp ( 1336): PID sent as '0538' to ADB I/jdwp ( 1336): trying to receive file descriptor from ADB I/sysproc ( 1336): Entered system_init() I/sysproc ( 1336): ServiceManager: 0x13f178 I/SurfaceFlinger( 1336): SurfaceFlinger is starting I/SurfaceFlinger( 1336): showbackground enabled I/SurfaceFlinger( 1336): SurfaceFlinger's main thread ready to run. Initializing graphics H/W... E/ ( 1336): ioctl(-1, VT_GETSTATE, ...) failed, res -1 (Bad file number) E/ ( 1336): ioctl(-1, VT_OPENQRY, ...) failed, res -1, vtnum -1344228897 E/ ( 1336): ioctl(-1, VT_ACTIVATE, ...) failed, 9 (Bad file number) for -1344228897 E/ ( 1336): ioctl(-1, VT_WAITACTIVE, ...) failed, -1 9 Bad file number for -1344228897 E/ ( 1336): Can't open new console /dev/tty0 E/ ( 1336): ioctl(-1, VT_SETMODE, ...) failed, 9 (Bad file number) W/ ( 1336): ioctl(-1, KDSETMODE, KD_GRAPHICS) failed, res -1 W/ ( 1336): <eglQueryStringConfigANDROID> not found in libagl.so W/ ( 1336): can't access 3D hardware (No such file or directory) I/SurfaceFlinger( 1336): EGL informations: I/SurfaceFlinger( 1336): # of configs : 4 I/SurfaceFlinger( 1336): vendor : Google Inc. I/SurfaceFlinger( 1336): version : 1.2 Android META-EGL I/SurfaceFlinger( 1336): extensions: EGL_ANDROID_swap_rectangle EGL_ANDROID_copy_front_to_back EGL_ANDROID_get_render_buffer_address EGL_ANDROID_query_string_config I/SurfaceFlinger( 1336): ext/config: EGL_ANDROID_swap_rectangle EGL_ANDROID_copy_front_to_back EGL_ANDROID_get_render_buffer_address I/SurfaceFlinger( 1336): Client API: OpenGL ES I/EGLDisplaySurface( 1336): using (fd=20) I/EGLDisplaySurface( 1336): id = DISP3 BG I/EGLDisplaySurface( 1336): xres = 480 px I/EGLDisplaySurface( 1336): yres = 640 px I/EGLDisplaySurface( 1336): xres_virtual = 480 px I/EGLDisplaySurface( 1336): yres_virtual = 1280 px I/EGLDisplaySurface( 1336): bpp = 16 I/EGLDisplaySurface( 1336): r = 11:5 I/EGLDisplaySurface( 1336): g = 5:6 I/EGLDisplaySurface( 1336): b = 0:5 I/EGLDisplaySurface( 1336): width = 51 mm (239.058823 dpi) I/EGLDisplaySurface( 1336): height = 38 mm (427.789459 dpi) I/EGLDisplaySurface( 1336): refresh rate = 59.02 Hz I/SurfaceFlinger( 1336): OpenGL informations: I/SurfaceFlinger( 1336): vendor : Google Inc. I/SurfaceFlinger( 1336): renderer : Android ...
Erfahren Sie mehr >>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Android Internals" group.
To post to this group, send email to andr...@googlegroups.com
To unsubscribe from this group, send email to
andr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-internals?hl=en
-~----------~----~----~----~------~----~------~--~---




