LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-02-2000, 11:45 AM   #1
Magnetic Flux
LQ Newbie
 
Registered: Sep 2000
Posts: 4

Rep: Reputation: 0
Angry


I don't understand how modules work. What’s the difference in compiling them into the kernel and using mod-config?
If I don't compile a module into the kernel then can I add it later by using mod-config and if so is it just added or is it built in?
I'm confused.
Can someone help me understand this stuff?
 
Old 10-14-2000, 12:02 PM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,597

Rep: Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080
If you compile something into the kernel it is in there for good. It cannot be removed even if you do not use it. If you compile it in as a module it can be added or removed at any time (no reboot necessary). This is an extremely simplified answer, so if you would like a more in depth technical answer let me know.
 
1 members found this post helpful.
Old 10-27-2000, 02:13 AM   #3
Eduardo
LQ Newbie
 
Registered: Oct 2000
Location: USA
Posts: 1

Rep: Reputation: 0
I would like to konw how Linux load a module?
Can someone explain me what is mod-config and how it works?
What are the steps of the kernel to load a module?
Can you give me an idea (small project) to see how the kernel works when loading a module?
Thanks
Eduardo Santos
 
Old 05-19-2002, 06:06 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Quote:
Originally posted by jeremy
If you compile something into the kernel it is in there for good. It cannot be removed even if you do not use it. If you compile it in as a module it can be added or removed at any time (no reboot necessary). This is an extremely simplified answer, so if you would like a more in depth technical answer let me know.
So if I don't compile anything into the kernel, will my system still run good by just modprobing itself with the kernel auto module thing?
 
Old 05-20-2002, 06:49 AM   #5
rverlander
Member
 
Registered: May 2002
Distribution: A few
Posts: 488

Rep: Reputation: 30
omg this thread is 2 years old
 
Old 05-24-2002, 05:27 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
yeah, I was going back to the beginning to see if I could get some help from the early days. Found a few posts that were relevant (and instead of double posting or reposting) I just replied to the post that was 2 years old. Nice to see the past though, it's cool. You shoul all check it out if you have some time.

Anyway, does anyone know if I can do what I was asking? When I build a kernel, can I just make everything module and my system will still work just fine?
 
Old 05-24-2002, 06:09 AM   #7
Brion
Member
 
Registered: May 2002
Location: Belgium
Distribution: LinuxFromScratch
Posts: 85

Rep: Reputation: 15
u can't build everything as modules, but with most things it's ok

just be sure to compile filesystem support for ur / partition _into_ the kernel and not as a module
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Update-modules: No longer managing /lib/modules/modprobe.conf? geekzen Debian 0 04-03-2004 06:49 PM
/etc/conf.modules is more recent than /lib/module/2.2.15-4mdk/modules.dep Derek-kun Linux - Newbie 3 09-26-2003 02:56 AM
Slack9 - no PPP (can't open dependencies file /lib/modules/2.4.18/modules.dep) bluehz Slackware 1 05-04-2003 02:32 PM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - General 1 01-24-2002 01:50 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - Newbie 2 01-24-2002 01:40 AM

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

All times are GMT -5. The time now is 03:41 AM.

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