LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Mobile (http://www.linuxquestions.org/questions/linux-mobile-81/)
-   -   Android; init startup failure, kernel panic (http://www.linuxquestions.org/questions/linux-mobile-81/android%3B-init-startup-failure-kernel-panic-875931/)

kboek 04-19-2011 12:35 PM

Android; init startup failure, kernel panic
 
I'm trying to port Android 2.3 to Boardcon's S5PV210 KIT eval board; using kernel 2.6.35.7 (from http://android.git.kernel.org/?p=ker....git;a=summary), and the platform from http://android.git.kernel.org/

I've managed to compile and start the kernel, and when compiling the platform, I tried both the "generic" configuration as well as Samsung's Crespo (Google Nexus S) config; the latter has the same processor as my eval board, except for some minor details (ROM base addr, NAND)

The kernel boots fine, and the platform boot seems to work its way through init.rc w/o problems. But at some point after that, something goes wrong to the extend of kernel panic. And now, after a week, not only the kernel, but also I'm at the point of panic.

Here's an excerpt of the boot log (say if you need to see more)

VFS: Mounted root (yaffs2 filesystem) on device 31:4
Freeing init memory: 108K
init: Timed out waiting for /dev/.coldboot_done
save exit: isCheckpointed 1
init: Failed to open socket 'property_service': Address family not supported by protocol
init: init startup failure
Kernel panic - not syncing: Attempted to kill init!
[<80029bb8>] (unwind_backtrace+0x0/0xf0) from [<8025b194>] (panic+0x6c/0xe8)
[<8025b194>] (panic+0x6c/0xe8) from [<80044878>] (do_exit+0x68/0x5c0)
[<80044878>] (do_exit+0x68/0x5c0) from [<80044e60>] (do_group_exit+0x90/0xc0)
[<80044e60>] (do_group_exit+0x90/0xc0) from [<80044ea0>] (sys_exit_group+0x10/0x18)
[<80044ea0>] (sys_exit_group+0x10/0x18) from [<80023f40>] (ret_fast_syscall+0x0/0x30)


Anyone who can help me out, point me in the right direction or at least s'got a hunch?

skrishna86 04-29-2011 01:19 PM

Dear Karel Boek,

I have been trying to port android to gumstix overo. Everything worked fine when I use the pre-built images. But when I configure the kernel and tried to use the built kernel image (uImage), I am facing the same problems as you had mentioned.


init: Failed to open socket 'property_service': Address family not supported by protocol
init: init startup failure
Kernel panic - not syncing: Attempted to kill init!

Where you able to figure out the problem? Any help would be appreciated.

Thanks and Regards,
Krishnan.

kboek 04-29-2011 02:27 PM

Hi Krishnan

Unfortunately, I haven't been able to find out what the problem was. I've taken some other kernels that I found on the net, and currently I'm working on a 2.6.32.9 kernel from http://crztech.iptime.org:8080/Relea...10/kernel/src/

propos your struggles in porting Android, there are two threads that have been very helpful to me, they might help you too. Just keep in mind when reading these threads that the guys writing in the thread are all working on almost the same boards (Dropad/HeroTab/UrBetter), and not everything that's written there applies to your Gumstix Overo. Anyway, you might just get a note or comment that helps you further.

(1) http://www.linuxquestions.org/questi...-image-865798/
(2) http://www.slatedroid.com/topic/1590...dropadherotab/

Good Luck!


All times are GMT -5. The time now is 06:42 AM.