LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Is this guide for kernel compilation accurate? (https://www.linuxquestions.org/questions/fedora-35/is-this-guide-for-kernel-compilation-accurate-191833/)

SuperCoolAl 06-10-2004 04:06 AM

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

lupin_the_3rd 06-10-2004 08:01 AM

Yeah, but I just copy over the default fedora config from /boot...

v00d00101 06-10-2004 12:22 PM

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.

lupin_the_3rd 06-10-2004 12:39 PM

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.

SuperCoolAl 06-11-2004 02:35 AM

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)

SuperCoolAl 06-13-2004 02:57 AM

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).

lupin_the_3rd 06-13-2004 10:18 AM

Glad it worked out for you! And congrats on your first kernel compile!

Linner 06-13-2004 09:27 PM

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!

SuperCoolAl 06-14-2004 02:38 AM

:D 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.

fester2001 06-16-2004 09:27 AM

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


All times are GMT -5. The time now is 07:45 AM.