Hi @Markus, thanks for the response. I'm making headway into the android/ power.c problem. As far as I cant tell the correct approach is to patch the 2.6.24 kernel specifically the files:
lib/kobject.c include/linux/kobject.h To have the functions: kobject_init_ng, kobject_add_ng, and kobject_init_and_add [details from http://linux.derkeiler.com/Mailing-Lists/Kernel/2007-12/msg00659.html] I'm having trouble at the moment as I can't seem to apply the patch file. I'm having to make the changes by hand. If you have any pointers / comments please let me know. @ Deepak - Out of interest, what development board are you using? I'm using the freescale I.MX31 ADS Kind Regards, Ben On Sep 23, 11:34 am, Markus <[EMAIL PROTECTED]> wrote: > Hi > > @Ben: On the first sight, your patch looks fine. I don't have access > to my Android stuff right now, so I can't check, if you have all files > with patches. Anyway, if you like, you can remove those code parts, > where something is done with QEMU or Goldfish in the rest of your > code, but this is not necessary. Just give it a try :) > > @Deepak: Did you install a strace? It is not included in Android, but > somebody posted a link here in the group (don't know the link out of > my head, sorry). I think I had the same problem with the 2.6.19.2 > kernel so I decided to upgrade to 2.6.24. I fear that I can't tell > you, which kernel module/part is not working, so you have to check for > yourself, e.g. by kernel debugging. Or just upgrade to 2.6.24, this > kernel is not that hard to patch for Android. > > bye > Markus > > On 23 Sep., 11:33, deepak singal <[EMAIL PROTECTED]> wrote: > > > Hi Markus, > > > Thanks for reply..... > > I can run up to the android startup(android logo), but never goes to > > the main screen or power lock screen. > > It shows the following messages: > > > ============================================================================= > > # /system/bin/strace -ff -F -tt -s 200 -o /dev/null /init > > > init: cannot open '/logo.rle' > > init: service 'console' requires console > > PANIC: handle_group_exit: 1661 leader 1657 > > PANIC: handle_group_exit: 1663 leader 1657 > > PANIC: handle_group_exit: 1665 leader 1657 > > PANIC: handle_group_exit: 1660 leader 1658 > > PANIC: handle_group_exit: 1662 leader 1658 > > PANIC: handle_group_exit: 1664 leader 1658 > > PANIC: handle_group_exit: 1668 leader 1658 > > PANIC: handle_group_exit: 1666 leader 1657 > > PANIC: handle_group_exit: 1669 leader 1658 > > PANIC: handle_group_exit: 1667 leader 1657 > > syscall: unknown syscall trap 0xd58d2120 > > [1] Illegal instruction /system/bin/strace -ff -F -tt -s 200 -o / > > dev/null /init > > # binder: 1605:1659 transaction failed 29189, size 168-0 > > binder: 1605:1615 transaction failed 29189, size 168-0 > > Alignment trap: not handling instruction e18c5f94 at [<c0036f20>] > > Unhandled fault: alignment exception (0x801) at 0xc331305e > > Internal error: : 801 [#1] PREEMPT > > Modules linked in: > > CPU: 0 Not tainted (2.6.22.6 #34) > > PC is at __switch_to+0x14/0x50 > > LR is at schedule+0x54c/0x658 > > pc : [<c0036f24>] lr : [<c02e76ac>] psr: a0000113 > > sp : c331fe40 ip : c331305e fp : c331fe7c > > r10: c03c9848 r9 : 00000020 r8 : 41080c80 > > r7 : c6c3c040 r6 : 00000017 r5 : c6f82100 r4 : 00000000 > > r3 : 00000000 r2 : c03a6000 r1 : c331301a r0 : c6c3c040 > > Flags: NzCv IRQs on FIQs on Mode SVC_32 Segment user > > Control: 00e5387f Table: 83e04000 DAC: 00000015 > > Process er.ServerThread (pid: 1868, stack limit = 0xc331e258) > > Stack: (0xc331fe40 to 0xc331501a) > > Backtrace: > > [<c02e7160>] (schedule+0x0/0x658) from [<c02e9540>] (__down_read > > +0xe8/0x104) > > [<c02e9458>] (__down_read+0x0/0x104) from [<c006e424>] (down_read > > +0x10/0x14) > > r6:00000017 r5:c6f80738 r4:ffffffff > > [<c006e414>] (down_read+0x0/0x14) from [<c003c240>] (do_page_fault > > +0x90/0x238) > > [<c003c1b0>] (do_page_fault+0x0/0x238) from [<c0036230>] (do_DataAbort > > +0x3c/0xa0) > > [<c00361f4>] (do_DataAbort+0x0/0xa0) from [<c0036f00>] > > (ret_from_exception+0x0/0x10) > > Exception stack(0xc331ffb0 to 0xc331fff8) > > ffa0: 00000000 00214524 00000000 > > 00000000 > > ffc0: 00000000 00000000 00224cb8 000003e8 452dad9c 4103bd14 4103bd00 > > 00000001 > > ffe0: 00000000 452dad38 ad32c5c7 ad32c270 40000030 > > ffffffff > > r8:452dad9c r7:000003e8 r6:00224cb8 r5:00000000 r4:ffffffff > > Code: e5923060 e8ac6ff0 e5926018 e18c5f94 (e3e04a0f) > > Kernel panic - not syncing: Fatal exception > > =================================================================================== > > > whats this error: PANIC:handle_group_exit ??? > > Due to below kernel configuration????? > > > # > > # Kernel Features > > # > > CONFIG_PREEMPT=y > > CONFIG_HZ=100 > > CONFIG_AEABI=y > > # CONFIG_OABI_COMPAT is not set > > Any clue to track the problem ??? > > > @Ben--- Hi, > > Presently our IMX31 board support only linux-2.6.22.6 and linux-2.6.19 > > kernel. > > Patch size approx. 350Kbyte (skip goldfish, yaffs and some android > > specific change) > > > Warm Regards, > > Deepak --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Internals" group. To post to this group, send email to android-internals@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-internals?hl=en -~----------~----~----~----~------~----~------~--~---