Skip to contentSkip to conversation

'tainting kernel' problem in linux-2.4.18

DISCUSSION Pawan Deepika 3 participants 4 messages Apr 29, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

I am trying LKM with linux-2.4.18. I have a problem
here. When I load the module using 'insmod' command, module gets loaded but I get following error

------------------------------------------------------
/sbin/insmod ./hello.o
Warning: loading ./hello.o will taint the kernel: no license
See http://www.tux.org/lkml/#export-tainted for
information about tainted modules
Module hello loaded, with warnings
----------------------------------------------------

Can anyone tell me why I am getting this problem and what is the impact of this error while module is running in kernel.

Thanks in advance.

Regards,
Deepika

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

#1 lore raw
Quoted 15 lines · Pawan Deepika

Hi,

I am trying LKM with linux-2.4.18. I have a problem
here. When I load the module using 'insmod' command, module gets loaded but I get following error

------------------------------------------------------
/sbin/insmod ./hello.o
Warning: loading ./hello.o will taint the kernel: no license
See http://www.tux.org/lkml/#export-tainted for
information about tainted modules
Module hello loaded, with warnings
----------------------------------------------------

Quoted 3 lines

Can anyone tell me why I am getting this problem and what is the impact of this error while module is running in kernel.

Read the url provided in the error message.

If that is not enough, perhaps this one will help: http://lwn.net/2001/0906/kernel.php3

You may want to try kernel-newbies instead since this would be more on-topic there.

HTH,

Eli
--------------------. "If it ain't broke now,
Eli Carter \ it will be soon." -- crypto-gram
eli.carter(a)inet.com `-------------------------------------------------

#2 lore raw
In reply to Pawan Deepika
Quoted 16 lines · Pawan Deepika

Hi,

I am trying LKM with linux-2.4.18. I have a problem
here. When I load the module using 'insmod' command, module gets loaded but I get following error

------------------------------------------------------
/sbin/insmod ./hello.o
Warning: loading ./hello.o will taint the kernel: no license
See http://www.tux.org/lkml/#export-tainted for
information about tainted modules
Module hello loaded, with warnings
----------------------------------------------------

Quoted 9 lines

Can anyone tell me why I am getting this problem and what is the impact of this error while module is running in kernel.

Thanks in advance.

Regards,
Deepika

The module police now require you to put something like:
MODULE_LICENSE("Spellman Empire") (or something like that) in your module.

Cheers,
Dick Johnson
Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips). Why is the government concerned about the lunatic fringe? Think about it.

#3 lore raw

Thanks a lot.

Putting MODULE_LICENSE solved my problem.

Cheers
Deepika

--- "Richard B. Johnson" <[email protected]>

Quoted 13 lines · wrote:
Quoted 4 lines · Pawan Deepika

Hi,

I am trying LKM with linux-2.4.18. I have a

problem

Quoted 1 line

here. When I load the module using 'insmod'

command,

Quoted 3 lines

module gets loaded but I get following error

------------------------------------------------------

Quoted 33 lines
Quoted 2 lines

/sbin/insmod ./hello.o
Warning: loading ./hello.o will taint the kernel:

no

Quoted 5 lines

license
See http://www.tux.org/lkml/#export-tainted for
information about tainted modules
Module hello loaded, with warnings

----------------------------------------------------

Quoted 2 lines

Can anyone tell me why I am getting this problem

and

Quoted 8 lines

what is the impact of this error while module is
running in kernel.

Thanks in advance.

Regards,
Deepika

The module police now require you to put something like:
MODULE_LICENSE("Spellman Empire") (or something like that)
in your module.

Cheers,
Dick Johnson
Penguin : Linux version 2.4.20 on an i686 machine
(797.90 BogoMips).
Why is the government concerned about the lunatic
fringe? Think about it.

Quoted 7 lines

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com