LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-03-2008, 07:02 PM   #1
raedbenz
Member
 
Registered: Dec 2007
Posts: 93

Rep: Reputation: 15
License taints kernel error!


Hi,

I am trying to insert a module using "insmod" and i get this:

test: no version for "struct_module" found: kernel tainted.
test: module license 'unspecified' taints kernel.

i am using :
MODULE_LICENSE ("GPL");
or
MODULE_LICENSE ("Dual BSD/GPL");

but i still get the error. How can i get rid of them ? coz the module it is not working at all in this case.
(the module contains 3 files. test.c test.h file1.c file1.h file2.c file2.h). do i need to put the MODULE_LICENSE for each file?!
Thanks

Last edited by raedbenz; 08-03-2008 at 07:04 PM.
 
Old 08-03-2008, 07:55 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,153

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
Try it without the space before the opening parenthesis.
 
Old 08-04-2008, 04:34 AM   #3
raedbenz
Member
 
Registered: Dec 2007
Posts: 93

Original Poster
Rep: Reputation: 15
hi,
i did but still doesnt work...
I have tried to put all the code in one file and it works now!!lol
any hints????
thanks

Last edited by raedbenz; 08-04-2008 at 05:34 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting "taints kernel" message even after having "Dual BSD/GPL" license nikhil_no_1 Linux - Kernel 3 12-06-2010 12:29 PM
Error when compiling kernel linux-2.6.22 : make: ***[_modinst_post] Error 137 ngoclan.it Linux - Newbie 0 12-11-2007 06:49 AM
Getting error in Hellow World Kernel: Error 13: Invalid or unsupported executable for piyush.kansal Programming 3 08-04-2007 01:26 AM
Error While Installing Flashplugin Package: Upstream Website Modified, No License... vegan_thug Debian 3 03-07-2006 02:37 PM
Nvidia modules taints kernel. natalinasmpf Linux - General 5 02-29-2004 01:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration