LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-05-2003, 11:59 AM   #1
crank
LQ Newbie
 
Registered: May 2003
Location: Utah, USA
Distribution: Slackware 9.0
Posts: 7

Rep: Reputation: 0
Manually copying kernel modules


Lets say that I wish copy the modules that I made for my kernel by using the 'make modules' command to my /lib/modules/KERNEL-VERSION-HERE without using the 'make modules_install command? Is it a simple matter of copying or is there also a number of soft links that must be made. And where exactly do the modules reside after issuing the 'make modules' command and before the 'make modules_install' command. Thanks, in advance.
 
Old 06-05-2003, 12:23 PM   #2
kazuni
Member
 
Registered: May 2003
Location: Hong Kong
Distribution: Android on HTC Hero
Posts: 256

Rep: Reputation: 30
make modules will make the modules within the /usr/src/linux/modules folder, compiled as object files (*.o)
make modules_install will install it into /lib/modules/kernel-version/ and categorized into drivers and many other module category names.
if you manually copy the modules there, make sure they are the same version as when u compiled them.
module mismatched will not be loaded even with forced insmod
 
Old 06-05-2003, 06:37 PM   #3
0x4B
Member
 
Registered: May 2003
Location: Nashville TN, USA
Distribution: Debian (I'm unstable)
Posts: 117

Rep: Reputation: 15
the modules are initially just off of the kernel source tree. modules that end up as /lib/modules/<version>/kernel/[drivers,fs]/ will be in <kernel source>/[drivers,fs] just after being made
I don't think there are any links necessary, the module loader should know where to look. I know that I've installed some modules manually before (e.g. if I only added one) without any problems
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting manually USB pens on 2.6 kernel Michele Spinolo Linux - Hardware 4 04-06-2005 05:58 AM
Nvidia and ivtv modules have to be loaded manually. Fail on boot Pcghost Debian 2 03-16-2005 10:00 AM
How do I update the kernel manually? christian_delaf Red Hat 1 02-09-2005 06:00 PM
question on updatin' kernel manually shogun1234 Linux - General 2 02-07-2005 08:38 AM
Manually Created Devices Disappear - Slackware 10 Kernel 2.6.9 rovitotv Slackware 1 01-01-2005 05:53 PM


All times are GMT -5. The time now is 05:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration