Srinivas G. wrote:
Dear all,
Here is the small hello.c program. ----------------------------------
#include
#include #include MODULE_LICENSE("Dual BSD/GPL");
static int hello_init(void) { printk("Hello World!\n"); return 0; }
static void hello_exit(void) { printk("Good bye!\n"); }
module_init(hello_init); module_exit(hello_exit);
Here is the Makefile. ---------------------
# # Makefile for hello.c file # KDIR:=/lib/modules/$(shell uname -r)/build
obj-m:=hello.o
default: $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules clean: $(RM) .*.cmd *.mod.c *.o *.ko -r .tmp*
#####################################################
It got compiled and inserted with out any errors, but dmesg says "unsupported module, tainting kernel".
System Configuration: x86, SuSE 9.1 with 2.6.5-7.71 kernel version.
What can I do to get rid of that message?
Thanks for any hints.
Regards, Srinivas G
It does that for all non-standard modules, like nvidia, it's just a flag to say it's not part of the standard kernel. It's so that if you have problems with a kernel, the kernel developers will ask you to unload that module and supply details of the problem, they don't want to be troubleshooting the stuff they are not responsible for and they won't look at an Oops if they see TAINT mentioned. Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer =====LINUX ONLY USED HERE=====