hi, "tainted" message comes if you dont specify the license of module as GPL using the statement MODULE_LICENSE("GPL") in yr file. The messages you print using printk dont reach the console as the value of you console_loglevel is less. If you want all messages to reach the console then kill klogd and then invoke it with -c option, if you do a klogd -c 8 all messages wld appear on your screen. If you dont want to do this, you can use dmesg to look at the last few messages. cheers suneesh <suneesh@xxxxxxxxxxxxxx>@nl.linux.org on 08/05/2004 11:00:46 AM Sent by: kernelnewbies-bounce@xxxxxxxxxxxx To: dongleijun <dongleijun4000@xxxxxxxxxxx> cc: knb <kernelnewbies@xxxxxxxxxxxx> Subject: Re: query about tainted kernel Hi dongleijun wrote: 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 The 'tainted' problem and solution has described here .. http://www.linux.com/guides/lkmpg/x317.shtml and I didn't see any message which should be printed by "printk"in init_module method, how should I solve the problem You may be running your insmod or rmmod from an xterm, then it will not be printed in your TTY. It will go to system log files, say /var/log/messages. Regards Suneesh ***************** HSS-Unclassified ************* -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/