Hi, Arnaud,

I'm also trying to debug kernel. But I could not find a easier way to bebug 
it until now. Could you share specific method after you know ? Thanks

On Monday, March 18, 2013 10:33:56 PM UTC+8, arnaud gaboury wrote:
>
> Hi all,
>
> I would like to debug a non booting android kernel for lge mako n4. 
> Unfortunately, as the device does not boot, I can't pull any msg or log.
>
> I found this article : 
> http://bootloader.wikidot.com/android:kgdb
> and followed it.
>
> Unfortunately, code is quite old and gave me a lot of errors at build time 
> after I applied the changes. Some small rework let me with one only issue:
>
> *ERROR: modpost: Found 2 section mismatch(es).
> To see full details build your kernel with:
> 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
>   GEN     .version
>   CHK     include/generated/compile.h
>   UPD     include/generated/compile.h
>   CC      init/version.o
>   LD      init/built-in.o
>   LD      .tmp_vmlinux1
> drivers/built-in.o: In function `__gs_poll_put_char':
> kernel/lge/mako/drivers/usb/gadget/u_serial.c:1506: undefined reference to 
> `usb_loop_poll_hw'
> drivers/built-in.o: In function `__gs_poll_get_char':
> /kernel/lge/mako/drivers/usb/gadget/u_serial.c:1461: undefined reference 
> to `usb_loop_poll_hw'
> make: *** [.tmp_vmlinux1] Error 1
> *
> I am not a C dev and do not know how to deal with it. Please find attached 
> my */gadget/u_serial.c *file. I made some changes to other files too :
>
>
> https://bitbucket.org/rhg135/gingerkernel/commits/476cd6c80286#chg-drivers/usb/gadget/msm72k_udc.c
>
> https://bitbucket.org/rhg135/gingerkernel/commits/12c6d96a6a2b#chg-arch/arm/mach-msm/include/mach/msm_hsusb.h
>
> https://bitbucket.org/rhg135/gingerkernel/commits/b73e26b254e9#chg-drivers/usb/gadget/u_serial.c
>
> Thank you for any help. Maybe there is a easier way to debug Kernel, but I 
> couldn't find any clear entry.
>
> Regards.
>
>
>
>

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to