View previous topic :: View next topic |
Author |
Message |
Rustylinux Apprentice
Joined: 17 Jun 2006 Posts: 154
|
Posted: Fri Jul 21, 2006 1:51 pm Post subject: Kernal Question |
|
|
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 |
|
|
forgotten1 Guru
Joined: 11 Jan 2005 Posts: 477 Location: East Coast, USA
|
Posted: Fri Jul 21, 2006 2:07 pm Post subject: |
|
|
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 |
|
|
Rustylinux Apprentice
Joined: 17 Jun 2006 Posts: 154
|
Posted: Fri Jul 21, 2006 2:33 pm Post subject: |
|
|
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 |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sat Jul 22, 2006 12:23 pm Post subject: |
|
|
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 |
|
|
|