Results 1 to 3 of 3
hi,
i am using RH9.
i wrote a simple init and cleanup functions that simply printk message of init and exit respectivly.
using dmesg is see the printing when i ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-04-2005 #1Just Joined!
- Join Date
- Aug 2005
- Posts
- 3
printk does not work in init_module (works on cleanup_module though)
hi,
i am using RH9.
i wrote a simple init and cleanup functions that simply printk message of init and exit respectivly.
using dmesg is see the printing when i remove the module but i can not see the printing when i load it.
please, enlight me
thanks.
merav.
- 08-04-2005 #2
If you really want to see the messages, you should do:
so that even KERN_DEBUG gets printed to the terminal. Note that this won't print to xtermsCode:echo 8 > /proc/sys/kernel/printk
- 08-07-2005 #3Just Joined!
- Join Date
- Aug 2005
- Posts
- 3
thanks, but i find my problem which was quite stuppid
Originally Posted by lakerdonald 
i misspelled the word "module" in init_module.
that is way i only saw my printk's at clean_up module.
thanks a lot for the help.


Reply With Quote
