Here's a wierd one. I wrote a very simple LKM and compiled it using Knoppix.

All the printk's come out (can see them with dmesg), EXCEPT the ones in the init routine. Those I never see.

Upon further testing, it turns out that the init routine is never being executed! I set a global variable to some know value (=435) and when I check it at cleanup time its value is still 0. Hm...

I'm probably being really stupid, but can someone please point me in the right direction on this one? Thanks!