Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel compile questions
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
shrndegruv
l33t
l33t


Joined: 18 Sep 2005
Posts: 658

PostPosted: Tue Oct 25, 2005 9:10 pm    Post subject: kernel compile questions Reply with quote

I almost have my gentoo install complete. I love this distro. Anyhoo, one of the last things I want to do is recompile my kernel to weed out things I dont need and maybe add some stuff I do. I used genkernel during the install process. My questions:

1) In other distros Ive used the process is -- get source, configure your kernel, compile kernel and modules, install. Am I supposed to keep using the genkernel process for further updates, or do I just use the process l know well from using other distros for a number of years...?

2) Is the .config file in /usr/src/linux the .config options that genkernel used? If so I should probably base my configuration of the default.

3) Is this process at all related to the hotplug/coldplug stuff in the gentoo install process? In otherwords, how do I avoid breaking my auto hardware detection...

4) I have an ATI card (Dimension 8400). I got X working fairly quickly by downloading the ATI drivers, but I dont know if the system is set up to fully take advantage of all the stuff the card can do -- how do I verify what I have, and are there any kernel options I need to pay attention to (I remember something about AGP in the ATI docs....)

Thanx
Back to top
View user's profile Send private message
_loki_
l33t
l33t


Joined: 18 Dec 2003
Posts: 680
Location: in the shell

PostPosted: Tue Oct 25, 2005 9:20 pm    Post subject: Reply with quote

as fare as I know genkernel is just a auto script for configurating the kernel. If you don't need that you can unemerge genkernel and set up your kernel manully as usual. This will have no effect on hot- and coldplug, just make sure you compile all the modules hot- and coldplug might want to load. I never used genkernel myself, but I guess that the .config in /usr/src/linux can tell you how your kernel is configurated when you use genkernel, too. Someboddy correct me if I'm telling wrong- it jusr makes no sence to me that genkernel saves the kernel configuration somewhere else. For ATI installation have a look on the WIKI http://gentoo-wiki.com/HOWTO_ATI_Drivers
Back to top
View user's profile Send private message
dxq
n00b
n00b


Joined: 21 Aug 2005
Posts: 60

PostPosted: Tue Oct 25, 2005 10:16 pm    Post subject: Re: kernel compile questions Reply with quote

Hmm, I only use genkernel to build my first kernel.

Then I manually create a custom kernel (based on the standard procedures).
If you used genkernel to make your kernel config then you should have zipped config file /proc

# zcat /proc/config.gz > /usr/src/linux/.config

Then you can do a make menuconfig to open it.

Know your hardware. Look at your PC spec sheet.
Run lspci and look at the currently loaded modules (lsmod) ... etc.
_________________
.
"The known is finite, the unknown is infinite; intellectually we stand on an islet in the midst of an
illimitable ocean of inexplicability. Our business in every generation is to reclaim a little more land."
Back to top
View user's profile Send private message
die_vms_die
Apprentice
Apprentice


Joined: 16 Nov 2002
Posts: 189
Location: MS

PostPosted: Wed Oct 26, 2005 5:52 am    Post subject: Reply with quote

I've never use genkernel.
Why are you if you have configured a kernel before?


4) fglrxconfig will produce config file with some interesting options.
If you get
Code:
glxinfo|grep direct
direct rendering: Yes

I'd say don't worry anymore about graphics.
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