Skip to contentSkip to conversation

Regarding the make module_install.

DISCUSSION sendhil kumar 3 participants 3 messages Jul 9, 2001 – Jul 10, 2001

lore
Share & tools
lore
#0 lore raw

Hi,

Can any one update me about, what make module and make module_install do? What is the difference between the insmod command and module_install?
Thanks in advance....

Thanks,
siva.s

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

#1 lore raw
Quoted 1 line · sendhil kumar

Can any one update me about, what make module and make

make modules compiles and links the modules

Quoted 1 line

module_install do? What is the difference between the

module_install places them in /lib/modules/uname -a/*

Quoted 1 line

insmod command and module_install?

insmod first looks in /lib/modules/uname -a/* to load the module into kernel space.

[certain details may be incorrect, but that the general idea.]

mrc

Signature · 3 lines
     Mike Castle      [email protected]      www.netcom.com/~dalgoda/
    We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc
#2 lore raw
In reply to sendhil kumar
Quoted 2 lines · you

Can any one update me about, what make module and make module_install do?

That's a FAQ!
make modules compiles the modules
make modules_install copies the modules to /lib/modules/$(uname -r)

Quoted 2 lines

What is the difference between the insmod command and module_install?

The two things are completely different.
insmod/modprobe is a tool for loading modules dynamically into a running kernel and modules_install is a makefile-target, user for copying the precompiled modules to a certain destination.

Please don't post such questions in here, check for a local linux newsgroup or discussionforum.

regards, alexx

Signature · 4 lines
|    .-.    |   CCNAIA Alexander Griesser <[email protected]>  |   .''`.  |
|    /v\    |  http://www.tuxx-home.at -=- ICQ:63180135  |  : :' :  |
|  /(   )\  |    echo "K..?f{1,2}e[nr]böck" >>~/.score   |  `. `'   |
|   ^^ ^^   |    Linux Version 2.4.6 - Debian Unstable   |    `-    |