Hi, I have written a module. I have defined the init and exit functions fn_init() and fn_exit() for the module. I find that init is not getting called, but exit gets called when I do rmmod. ( First I noticed that printk is not working from init routine , but works from fn_exit. Then I wrote to null address from fn_init(). insmod was still ok. ) Does anyone know why ? I also find that even if I comment module_init and module_exit declarations, my module still compiles. Is this expected ? thanks shankar -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ