LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 06-10-2004, 04:06 AM   #1
SuperCoolAl
Member
 
Registered: Feb 2004
Posts: 89

Rep: Reputation: 15
Wink Is this guide for kernel compilation accurate?


Hi there

I am going to install Fedora Core 2 at the weekend and since this doesnt work with nvidia drivers out of the box at present i am also going to take it as an opportunity to compile my own 2.6.6 kernel for the first time.

I found a decent guide that prints off 1 page A4 and i just want to know if it should work.

Quote:
Taken from http://www.nvnews.net/vbulletin/show...05&postcount=7


OK, I had a hard time installing NVIDIA drivers on FC2. I tried various kernels including 2.6.5, 2.6.5-1.358, 2.6.2, 2.6.6. I succeed to get it working with 2.6.2 and 2.6.6.
I think some people who are unexperienced in compiling a kernel need some help.
Here is everything you need


# cd /usr/src
# wget h ttp://www.kernel.org/linux/kernel/v2.6/linux-2.6.6.tar.bz2 (without space on http)
(or download the 2.6.6 kernel from your favorite mirror)
# tar jxvf linux-2.6.6.tar.bz2
# \rm linux
# ln -sf linux-2.6.6 linux
# cd /usr/src/linux

* go to http://www.nvnews.net/vbulletin/sho...6597#post326597
* download the config-2.6.6.txt Omnifarius posted on post #9 and put it in this directory
# make mrproper
# mv config-2.6.6.txt .config

# make xconfig

* you donīt need to change many things, you can disable the drivers for the unnecessary devices. (but I disabled the CONFIG_REGPARM setting in the CPU settings because I heard it may cause trouble)

*save (to .config) and exit

# make
# make modules_install
# make install

(this installs the new kernel and modifies grub.conf (or lilo.conf))

and thatīs it. All you need after is to reboot your computer, select the new kernel on grub (or lilo). and uninstall/reinstall your NVIDIA driver after bootup. (dont forget to modify your XF86Config (or xorg.conf whichever is present) appropriately)

restart X server

go play some tuxracer
 
Old 06-10-2004, 08:01 AM   #2
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
Yeah, but I just copy over the default fedora config from /boot...
 
Old 06-10-2004, 12:22 PM   #3
v00d00101
Member
 
Registered: Jun 2003
Location: UK
Distribution: Fedora 8, Centos 5.1
Posts: 480

Rep: Reputation: 30
Thats the exact guide i used to build my 2.6.6 kernel and i have full accelerated nvidia graphics now:

I wish someone would sticky these questions and solutions and just redirect everyone to that thread. There's been so many people asking this one question.

[edit] The default fedora config contains the 4k stacks problem, dont use it or you wont be getting that driver working.
 
Old 06-10-2004, 12:39 PM   #4
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
Quote:
Originally posted by v00d00101
Thats the exact guide i used to build my 2.6.6 kernel and i have full accelerated nvidia graphics now:

I wish someone would sticky these questions and solutions and just redirect everyone to that thread. There's been so many people asking this one question.

[edit] The default fedora config contains the 4k stacks problem, dont use it or you wont be getting that driver working.
No it doesn't... copying over the config does not automatically enable 4kstacks in the 2.6.6 config b/c there isn' even an option to enable/disable in the FC2 kernel... you would still have to go and turn it on using a default FC2 config.
 
Old 06-11-2004, 02:35 AM   #5
SuperCoolAl
Member
 
Registered: Feb 2004
Posts: 89

Original Poster
Rep: Reputation: 15
thanks a lot! i'll tell you how i get on.

EDIT- I also think a sticky thread should be made giving users possible solutions for the nvidia problem until new drivers come out (whether it be a compiled kernel rpm or this guide)

Last edited by SuperCoolAl; 06-11-2004 at 02:39 AM.
 
Old 06-13-2004, 02:57 AM   #6
SuperCoolAl
Member
 
Registered: Feb 2004
Posts: 89

Original Poster
Rep: Reputation: 15
OH YES! That guide rocks! 2.6.6 kernel up and running perfectly with nvidia drivers first time! 3500fps in glxgears! I didnt need /rm linux because i didnt already have that directory. The kernel compiled in 1 hour only! ALL NVIDIA USERS DO THIS (if u aren't afraid lol).
 
Old 06-13-2004, 10:18 AM   #7
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
Glad it worked out for you! And congrats on your first kernel compile!
 
Old 06-13-2004, 09:27 PM   #8
Linner
Member
 
Registered: May 2004
Distribution: Fedora
Posts: 71

Rep: Reputation: 15
thanks to the thread starter i have very fast fedora workstation now after a kernel compile. and of course to lupin the 3rd followed some of his tips regarding this.

you're great guys!
 
Old 06-14-2004, 02:38 AM   #9
SuperCoolAl
Member
 
Registered: Feb 2004
Posts: 89

Original Poster
Rep: Reputation: 15
Talking

I love this. I'm gonna install UT2004 and see how it compares to Windows. It ran slower on FC1 but I'm wondering how it will do now. It should be better than FC1, especially now I have a new kernel.
 
Old 06-16-2004, 09:27 AM   #10
fester2001
Member
 
Registered: May 2004
Location: Australia - Tasmania
Distribution: Julex
Posts: 57

Rep: Reputation: 15
i dont spose someone could now tell me how to install the nforce drivers now
also does this only work with fedora or is it something built into the new kernels to make it simpler?

Last edited by fester2001; 06-20-2004 at 06:45 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel compilation-From where it should be started for already compiled kernel b0nd Linux - Newbie 11 08-17-2005 01:08 PM
kernel compilation : to remove a kernel which files should be deleted b0nd Linux - Newbie 2 08-17-2005 11:35 AM
Kernel compilation problems, distorted video and kernel panic shamrock_uk Linux - Laptop and Netbook 5 08-12-2005 10:53 PM
Another Kernel Guide 2.6.11 xaos5 Slackware 20 03-26-2005 12:49 PM
does kernel-source installs with the compilation cum installtion of a new kernel? luqman Linux - General 18 03-04-2005 07:33 AM


All times are GMT -5. The time now is 12:51 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration