Hi, I'm trying to create a surface while handling the InputReader.
I followed this test given here frameworks/base/services/surfaceflinger/tests/surface/surface.cpp to create a surface in libui. After doing that my Android is not booting up. From logcat I found that Android run-time is not starting up. # logcat --------- beginning of /dev/log/main I/DEBUG ( 870): debuggerd: Jan 25 2011 16:09:01 I/Netd ( 869): Netd 1.0 starting --------- beginning of /dev/log/system I/Vold ( 868): Vold 2.1 (the revenge) firing up D/Vold ( 868): USB mass storage support is not enabled in the kernel D/Vold ( 868): usb_configuration switch is not enabled in the kernel D/Vold ( 868): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media) D/Vold ( 868): Volume sdcard state changing 0 (No-Media) -> 2 (Pending) D/Vold ( 868): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted) request_suspend_state: wakeup (0->0) at 9747131339 (2000-01-01 00:00:07.839813222 UTC) request_suspend_state: wakeup (0->0) at 14498565684 (2000-01-01 00:00:12.591217049 UTC) request_suspend_state: wakeup (0->0) at 20147918738 (2000-01-01 00:00:18.240600621 UTC) request_suspend_state: wakeup (0->0) at 24564239174 (2000-01-01 00:00:22.656921057 UTC) ...................... ................................ Seems to me that boot process is stuck in some kind of a deadlock. Is there anything fundamentally wrong in this approach? Any special lock(s) I need to take care of? Regards, Amit Pundir PS. Excuse me for cross-posting. I did that to reach a wider audience. -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
