LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 08-22-2003, 09:01 AM   #1
phant0m
LQ Newbie
 
Registered: Jul 2003
Distribution: RedHat 9
Posts: 21

Rep: Reputation: 15
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
 
Old 08-22-2003, 09:31 AM   #2
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
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
 
  


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
precompiled kernel Ermen Linux - Newbie 11 02-17-2005 04:40 AM
precompiled kernel Jamez2032 Slackware 5 10-27-2004 08:21 AM
precompiled gcc inanna Linux - Newbie 2 05-28-2004 12:53 PM
Gcc - Precompiled rapidmaniac Linux - Software 3 05-01-2004 02:10 PM
Qt precompiled networkdevo Red Hat 1 08-31-2003 12:51 AM


All times are GMT -5. The time now is 05:26 PM.

Main Menu
Advertisement
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