Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernal Question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Rustylinux
Apprentice
Apprentice


Joined: 17 Jun 2006
Posts: 154

PostPosted: Fri Jul 21, 2006 1:51 pm    Post subject: Kernal Question Reply with quote

Hey,

Whats the diffrence when your setting up your kernal in menuconfig between installing as a module and adding it to the kernal ? For instnace say you are adding in a NIC driver you can press spacebar and it puts a M in the [] to add it as a module or you can press Y and it installs it into the kernal ?

Any major diffrences / benifts for doing either or ?
Back to top
View user's profile Send private message
forgotten1
Guru
Guru


Joined: 11 Jan 2005
Posts: 477
Location: East Coast, USA

PostPosted: Fri Jul 21, 2006 2:07 pm    Post subject: Reply with quote

If you install it in the kernel, then the item will be built in, meaning support for the device will be available as the kernel boots up.

If you install it as a module, then the support for the device will not be available until the module is loaded.

Generally, any device necessary to boot the computer should be built in. This would include stuff like the drive support, filesystem support, etc.

To load device modules at boot (that aren't built into the kernel), you could use an application like coldplug, or add the device module names to /etc/modules.autoload.d/kernel-2.6 (or kernel-2.4 if you are using it).

The reason some folks will use device modules instead of building support into the kernel, is the kernel device support code does not get refreshed as fast as the some separate device modules.

I hope this helps, and has not confused you more.
_________________
Return the Favor | Problem fixed? Add [Solved] to your title | Google the Forums
Back to top
View user's profile Send private message
Rustylinux
Apprentice
Apprentice


Joined: 17 Jun 2006
Posts: 154

PostPosted: Fri Jul 21, 2006 2:33 pm    Post subject: Reply with quote

Yeah, thanks for clearing that up. Pretty well the only advantage for loading it as a module instead of installing it as part of the kernal is the updates are a little quicker. So for something like a Video card module this might be an option, all though I'm just going to add it into the kernal.
Back to top
View user's profile Send private message
nixnut
Administrator
Administrator


Joined: 09 Apr 2004
Posts: 10973
Location: the dutch mountains

PostPosted: Sat Jul 22, 2006 12:23 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads.
See the FAQ: https://forums.gentoo.org/viewtopic.php?t=58790
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum