Hi On Wed, Apr 28, 2010 at 08:08, Venkatram Tummala <venkatram867@xxxxxxxxx> wrote: > With this approach, i can set breakpoints in every function except for the > function that initializes the module because i have to insert the module to > get the kernel module section addresses from /sys as a result of which, the > initializition routine finishes executing which means i can not set any > breakpoints in the module initialize function. > > This is not a problem for the the module exit function or any other function > though. I remember a workaround, you could try it if you want. Put a breakpoint init_module() function. There, step by step using gdb, it will lead you to the init function of your module. IIRC too, at then time kernel almost hit loading kernel module, check the /sys, load the symbol, the proceed again. I am fairly sure this trick still works. Hope it helps.. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ