I am doing first steps into Linux kernel development.
I have some code producing a .ko kernel module that I install with insmod. I would like a way to debug what happens when I install the module but I am facing some difficulties.
I need to debug the call to
init_module. Is this function called when I runinsmode?I try to use
insmod "/my/url/fil.ko" -mto debug what happens but each time I got error-1 Unknown symbol in modulewhile in/cat/log/messageI can see the errorunknown parameter -mDo you know if there is a way to debug with GDB?