Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Newbie kernel compiling advice
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
playahater
Guru
Guru


Joined: 02 Jul 2005
Posts: 382
Location: Serbia

PostPosted: Sat Oct 01, 2005 2:58 am    Post subject: Newbie kernel compiling advice Reply with quote

hi ya all .. :)) .. i`ve been useing linux for a while .. but i have never been compiling the kernel and ..
i have a little problem .. with comiling it while installing gentoo 2005.1 with "emerge kernel source" and I could use some help .. :)
my configuration is:
nf7-s rev2,0
athlon tbredb 2400+
creative live 5.1
radeon 9000Pro
seiemens lan router
dvdr pioneer 108
usb devices >> mouse, hp5150, hp3970c, usb rack,

so here`s my problem ..
i`ve read all installation manual .. understood it .. and did everything as said during installation .. exept one part .. and that is kernel(don`t understand how to configure it) ..
and ofcource .. the first thing i did was lsmod and lspci -v .. :)
i have compiled it as i thought it should be compiled, according to my hardware configuration offcourse .. and when I try to boot it .. everything worked fine exept my ethernet card on nf7-s (integrated) and usb mouse .. didn`t try other usb devices though .. :)
after that .. i thought .. i look for answer here in forum ..
as far as i have figured out .. my first mistake was .. that i did all compiling without modules .. i`ve compiled everything directly into kernel .. :(

so .. mu question would be ..

What Is generally wise to compile directly into kernel and what as a module .. and according to my hardware configuration ??? :roll:
If someone could point me on what should i pay more attention while compiling ... :roll: ...
for example ..

dri? .. not at all, as a module or directly in order to have 3d acceleration
alsa? .. as a module or directly
eth0? .. as a module or directly
sata? .. as a module or directly
oss? .. not at all, as a module or directly
something i missed? .. not at all, as a module or directly :D

10x in advance .. :)

btw .. gentoo is the best distro ever .. :D
_________________
http://droopia.net
Back to top
View user's profile Send private message
sandcrawler
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2003
Posts: 149
Location: SaintLouis, MO

PostPosted: Sat Oct 01, 2005 4:17 am    Post subject: Reply with quote

My 2Cents


I compile mainboard items (nics, etc) into the kernel if they aren't likely to change. I make sound stuff modular most of the time. Everything else I modularize or just leave out completely if I know I won't be using it.

With that said, I haven't used an nforce chipset recently, but when I last did, there was a separate module you had to emerge. Looking at google the new driver is in the kernel as "forcedeth" Make sure that driver is in the kernel.

As far as the mouse goes, search for other topics with me as the author. I've posted a few on ati xorg configs and usb mice.


take care.
_________________
--

sandcrawler
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Sat Oct 01, 2005 4:22 am    Post subject: Reply with quote

To make your USB mouse and integrated network card work select (this is based upon 2.6.13-ck6 kernel):
Device Drivers
<*>Support for Host-side Bus
<*>OHCI HCD Support
<*>EHCI HCD (USB 2.0) Support (this is optional, set this if you have any USB2.0 compilant devices)
<*>USB Human Interface Device (full HID) Support
[*]HID Input Layer Support
<*>Network Device Support
<*>Ethernet (10 or 100Mbit)
<*>EISA, VLB, PCI and on board controllers
<*>Reverse Engineered nForce Ethernet Support
Input Device Support
[*]Mouse
<*>PS/2 Mouse

If you plan on using any modules set also:
Loadable Module Support
<*>Enable loadable module support
<*>Automatic kernel module loading

You should compile driver directly into kernel, if you plan on using device, for which this driver was written, all the time or very often i.e. mouse or sound-card. Compiling as module is recommended for things used rarely, as you can keep memory usage of kernel as low as possible by unloading modules when they are not needed.
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors


Last edited by boniek on Sat Oct 01, 2005 5:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
playahater
Guru
Guru


Joined: 02 Jul 2005
Posts: 382
Location: Serbia

PostPosted: Sat Oct 01, 2005 11:17 am    Post subject: Reply with quote

10x ya all for fast reply .. :)
aaahhhaaa .. sooo .. what i`m gonna use all the time .. goes directly into kernel .. ql .. so .. eth0,alsa,mouse are on top of the list for now :) ..
well i thought that something in kernel, in order to work, must be conpiled as a modul .. ie eth .. i`ve read somewhere that my ehternet needs to be compiled as a modul or it won`t work ..
guess i was wrong ..again .. :)
OK .. no problem .. I`ll try to recompile today and see what happens .. :) ..

BIG 10x again .. :)

i`ll post result .. :))
_________________
http://droopia.net
Back to top
View user's profile Send private message
playahater
Guru
Guru


Joined: 02 Jul 2005
Posts: 382
Location: Serbia

PostPosted: Sat Oct 01, 2005 9:57 pm    Post subject: Reply with quote

Wooooohhhhhooooo .. its alive .. :)))

i did it .. with a help from u guyz .. ofcourse .. :) ..
everything is working just fine .. :)

i have another problem .. cuz i`m a command-line fan .. :) .. i want to have the same enviroment as in livecd .. nice .. smooth .. blue .. background .. :)
but .. i`ll ask that in some other section .. :)
my present problem doesn`t belong here .. :))

Hudge 10x again .. :))
_________________
http://droopia.net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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