Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Modules vs. built-in to kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
static
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 141
Location: Canada

PostPosted: Thu Apr 18, 2002 6:23 pm    Post subject: Modules vs. built-in to kernel Reply with quote

Hey guys! I'm a moderator for the upcoming new mandrakeuser board (mandrake was the first I ever heard of linux in february) I went gentoo this morning before work (and it'll be sitting in a stage 3 when I get home) and I was wondering (considering I do kernel stuff next)

What should be a module and what should be built-in? Basically there's just the ATA, DMA and ext2&3 disk stuff (built-in, obviously), and then ethernet card, video (radeon 64MB DDR vivo), sound (sblive!)...

Sould I just make it all built-in?? Someone told me modules are better because the kernel is sitting in memory the whole time, but I want speed, and my biggest problem is I'm clueless about the step following kernel compiling about "adding module names to that autoload file" so they load on boot - how do I know their names?

Take it easy on me! I'm almost in the clear! thanks for your help,

static

moderators - guess I should have put this into installing gentoo
_________________
Gentoo and Doom III. 'Nuff Said.
_______________________________________
Back to top
View user's profile Send private message
prolific
Guest





PostPosted: Fri Apr 19, 2002 5:34 am    Post subject: Reply with quote

You can find out the name of the module by pressing the Question Mark key when you go over a module at the Kernel Configuration screen. It should usually at the botom say like input.o, hid.o, etc. depeding on which modules you choose.

Definetely go for modules for your NIC, sound card, etc. All you need to do is edit the modules.autoload file in the etc directory. Just add a new line for each different module..

EG. Mine looks something like this

tulip
input
keybdev
mousedev
hid
usb-uhci
Back to top
static
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 141
Location: Canada

PostPosted: Fri Apr 19, 2002 2:36 pm    Post subject: Reply with quote

Awesome - thank you. Will do :)
_________________
Gentoo and Doom III. 'Nuff Said.
_______________________________________
Back to top
View user's profile Send private message
freefall
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2002
Posts: 89

PostPosted: Fri Apr 19, 2002 7:13 pm    Post subject: Reply with quote

I never compile as modules. I see no reason.

If I compile as modules and load them during boot, then why not just compile them directly into the kernel? Is there something I´m missing?

Does a few hundred kb make such a difference in speed? I can imagine it making a difference on an old comp, but on a reasonably new one?
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Fri Apr 19, 2002 7:29 pm    Post subject: Reply with quote

http://people.debian.org/~psg/ddg/node136.html
http://www.luv.asn.au/overheads/kernelmodules/
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
salsashark
n00b
n00b


Joined: 17 Apr 2002
Posts: 24
Location: Houston, TX

PostPosted: Fri Apr 19, 2002 7:31 pm    Post subject: no modules here Reply with quote

I didn't compile one single thing as a module.

Maybe that's blasphemy, or heretical or somehting, but I went ahead and just compiled everything into the kernel. Sound, Framebuffer support, devfs, NIC, etc. It works great!
Back to top
View user's profile Send private message
Putzer
Guest





PostPosted: Fri Apr 19, 2002 8:08 pm    Post subject: Compiling Modules Reply with quote

One thing nice about compiling items as modules is that you can compile one kernel and use it on other PCs. Just compile all the various types of NICs, sound cards, and asundries you have as modules. Then, on each separate box, you activate the modules you like.

I have 3 PCs networked together. Since they all use the same make and model NIC, I compiled it directly into the kernel. Sound and video are compiled as modules. :wink:
Back to top
static
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 141
Location: Canada

PostPosted: Tue Apr 23, 2002 1:45 pm    Post subject: Reply with quote

I'm not used to this much freedom! Wow. I decided I don't have cashto upgrade, and I won't be transfering, and because of security/speed, I'd just go right for built-in. Those articles and your replies were much appreciated, guys. Keep on gentooing in the free world!
_________________
Gentoo and Doom III. 'Nuff Said.
_______________________________________
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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