kernel module debugging using kgdb
I have cross compiled the kernel 3.1.2 for ARM architecture using ubuntu. Also I have a module with driver code and a test application which calls the driver from user space. Both the kernel and driver working fine in beagleboard.
Now I am trying to debug the driver code using gdb and gdbserver over ethernet. I am able to debug the user space code successfully after inserting the module, but not able to debug into the driver code. I have anabled the kgdb option in the .config file.
I want to know...
1) Is it possible to debug the kernel code using ethernet?
2) Please let me know the steps for kernel module debugging using kgdb.
Thanks in advance.