LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   i need precompiled (https://www.linuxquestions.org/questions/linux-software-2/i-need-precompiled-84499/)

phant0m 08-22-2003 08:01 AM

i need precompiled
 
i got the new kernel for redhat 9 (2.4.20-20.9),
and i got nvidia, i tried to compile it but it seems to say
driver compiled for 2.4.20-20.9custom while running 2.4.20-20.9,
so.... can anyone ither tell me how to make 2.4.20-20.9custom running (i made dep, made modules, installed modules, and made bzImage all without apperant errors but i don't seem to have new files i can put in my /boot)
or does anyone have a precompiled version for this kernel (that would be just as nice).

i know for sure that untill this moment i'm posting this message no support for this kernel or any new versions of the nvidia driver have been released by nvidia.

so please ither walk me through installing this new kernel i compiled or send me a precompiled version.

thanks

cnjohnson 08-22-2003 08:31 AM

It is always something isn't it! You did not need to do what you did, and extricating yourself will take a little work on your part. Buy, hey. Its what *I* did, too, and learned from it.

Now you will have to rebuild your kernel (UGH!). In the /usr/src/linux-2.4/ directory, you'll find a file called .config. If you don't see it, you'll find it in /boot but it will be named .config-2.4.20 (or something like that). If you don't find it in either place, then you will find several (get the right one!!) in /usr/src/linux-2.4/configs/ Copy that file to your home directory (this is important!), or to root's home directory. You can't recover with out it! So save it.

Now then, make sure that you are root and in /usr/src/linux-2.4

Do this:

make mrproper

(make mrproper will delete any file in /usr/src/linux-2.4 that starts with .config, that's why you copied it to a safe place.)

Now copy the config file back to /usr/src/linux-2.4 and be sure it is named .config

Then do this

make oldconfig
make dep
make clean
make bzImage
make modules
make modules_install

If you had no errors, then reboot.

You should see your "custom" kernel in the GRUB boot screen. Choose it before GRUB chooses something else.

Rebuild your NVidia driver. And you should be good to go.

If you want to change things so your custom kernel becomes the default boot kernel or you want to get rid of the word "custom" in your kernel, just repost and we can walk through that.

Cheers--
Charles


All times are GMT -5. The time now is 08:33 PM.