sir:
I write a module like this
:
#define MODULE
#include
<Linux/module.h>
int init_module(void)
{
printk("<1>Hello
World\n");
return 0;
}
กก void cleanup_module(void)
{
printk("<1>Bye, Bye");
}
then I compile and insmod this module,but
I
can't see the output of printk in the module.
while I lsmod I can see the module already loaded.Why printk
can't work properly?
My os is redhat 7.2,kernel 2.4.7-10 and cpu
p4 1.7G.
thank you
!