dongleijun wrote:
The 'tainted' problem and solution has described here ..hello,I have a little problem after do as you suggest:Create a makefile like this :
KERNELDIR = /usr/src/linux-2.4 (change this according to your Kernel dir)
.......when i insmod ./hello.o,the kernel says like this:no liscense,the kernel will be tainted,module hello loaded with warning
http://www.linux.com/guides/lkmpg/x317.shtml
You may be running your insmod or rmmod from an xterm, then it willand I didn't see any message which should be printed by "printk"in init_module method,how should I solve the problem
not be printed in your TTY. It will go to system log files, say /var/log/messages.
Regards
Suneesh