| View previous topic :: View next topic |
| Author |
Message |
RonL n00b

Joined: 09 Aug 2004 Posts: 2
|
Posted: Mon Aug 09, 2004 8:39 pm Post subject: Should i compile in all the models? |
|
|
First, i'm a real noob at everything going around linux.
I've installed linux and i compiled in all the modles i thought i would need.
When i booted the system, many things where missing: the mouse, the support for my ethernet card and so on...
My question is: Did i do right when choosing to compile into the kernel whatever i could? or was that the reason for all my problems? And if i didn't do right, what can i do to make my mouse and my ethernet card available?
Those stuff were automatically detected and model loaded in the LiveCd environment (2004.1). can i make it happen in my nice, fresh, installed version?
i didn't mention, but i know the names of the models that should be loaded if that helps..
thnx |
|
| Back to top |
|
 |
Deathwing00 Moderator


Joined: 13 Jun 2003 Posts: 4034 Location: Barcelona, Spain
|
Posted: Mon Aug 09, 2004 8:45 pm Post subject: |
|
|
Moved from Installing Gentoo.
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=7#doc_chap5
| Quote: | Configuring the Modules
You should list the modules you want automatically loaded in /etc/modules.autoload.d/kernel-2.4 (or kernel-2.6). You can add extra options to the modules too if you want.
To view all available modules, run the following find command. Don't forget to substitute "<kernel version>" with the version of the kernel you just compiled:
Code Listing 22: Viewing all available modules
# find /lib/modules/<kernel version>/ -type f -iname '*.o' -or -iname '*.ko'
For instance, to automatically load the 3c59x.o module, edit the kernel-2.4 or kernel-2.6 file and enter the module name in it.
Code Listing 23: Editing /etc/modules.autoload.d/kernel-2.4
(Example for 2.4 kernels)
# nano -w /etc/modules.autoload.d/kernel-2.4
Code Listing 24: /etc/modules.autoload.d/kernel-2.4 or kernel-2.6
3c59x
Now run modules-update to commit your changes to the /etc/modules.conf file:
Code Listing 25: Running modules-update
# modules-update
|
|
|
| Back to top |
|
 |
Corax Apprentice


Joined: 14 Apr 2004 Posts: 222 Location: Berlin, Germany
|
Posted: Mon Aug 09, 2004 8:52 pm Post subject: |
|
|
| Compiling a monolitic (all into the kernel) or a modularized kernel should not have such effects on functionality as you exprienced. Obviously, you missed several important things. For new users, the genkernel alternative is recommended. You then get a big kernel that supports almost everything and can try to disable certain functions, drivers and features, of which you are sure you don't need it. Before starting to mess up things by manually tweaking the kernel configuration, make sure to have a backup copy of the working configuration file generated by genkernel. By the time you'll get used to your kernel... |
|
| Back to top |
|
 |
floam Veteran

Joined: 27 Oct 2002 Posts: 1067 Location: Vancouver, WA USA
|
Posted: Mon Aug 09, 2004 9:05 pm Post subject: |
|
|
Models? _________________ Think about your breathing.
http://floam.sh.nu |
|
| Back to top |
|
 |
codergeek42 Bodhisattva

Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Mon Aug 09, 2004 9:20 pm Post subject: |
|
|
I think he means 'modules'... _________________ ~~ Peter: GNU/Linux geek, caffeine addict, and Free Software advocate.
Who am I? :: EFF & FSF |
|
| Back to top |
|
 |
RonL n00b

Joined: 09 Aug 2004 Posts: 2
|
Posted: Wed Aug 11, 2004 1:41 pm Post subject: thnx |
|
|
sorry about the models (got mixed up with something else).
I'll try the genkernel now.
This is the best forum i have seen this far, thanks again. |
|
| Back to top |
|
 |
Mich buchanan n00b


Joined: 17 Jun 2004 Posts: 41 Location: Spain
|
Posted: Tue Nov 16, 2004 9:43 pm Post subject: |
|
|
Hi there, I'm new in linux too, but I have a little previous experience with fedora and suse, after have recompiled my kernel a few times I want to know which is better talking about performance in a Desktop OS a "big" monolitic kernel or a little one and modules.
Probably a mix of builtin/modules should be the best, in that case, can anyone tell me which ones builtin and which modules or more symple, where to look for this.
Thnaks in advance.
Sorry if my english is very bad, I expect it's undertandable. |
|
| Back to top |
|
 |
|