LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-19-2003, 11:09 PM   #1
Zkorpio
LQ Newbie
 
Registered: Nov 2003
Location: USA
Posts: 13

Rep: Reputation: 0
Nvidia asking for kernel headers...? Redhat 9


Hello...

After some help around I finally installed Redhat 9; I did the updates redhat was asking and kernel 2.4.20-20.9 was installed; now at GRUB have both options:

1) 2.4.20-8 (originally installed with cds)
2) 2.4.20-20.9 (new one)

I installed nvidia driver under 2.4.20-8 and it's working fine. But using 2.4.20-20.9 X-mode can't start. I then uninstalled nvidia driver and tried to re-install under 2.4.20-20.9 and it gave me an error -"not found kernel headers"- something about kernel source?

I'm browsing ftp://updates.redhat.com/9/en/os/i386 and I see some kernels there... witch one I have to download? and to what directory? (/root ?) This is my 2nd day using linux... after downloading that kernel file, how do you install it?

any link for a tutorial...?

note: at the ftp sire I see:

kernel-2.4.20-20.9.i386.rpm
kernel-BOOT-2.4.20-20.9.i386.rpm
kernel-doc-2.4.20-20.9.i386.rpm
kernel-source-2.4.20-20.9.i386.rpm

Thanks
 
Old 11-19-2003, 11:21 PM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
try installing this rpm that you listed:

kernel-source-2.4.20-20.9.i386.rpm

but this isn't too surprising since every time you upgrade your kernel, you need to reinstall your nvidia drivers. most likely the latest kernel isn't known to nvidia, which is why you need your new kernel's source code.
 
Old 11-20-2003, 12:05 AM   #3
Zkorpio
LQ Newbie
 
Registered: Nov 2003
Location: USA
Posts: 13

Original Poster
Rep: Reputation: 0
Ok, but where i have to download the file? to "/root", "/" ?
and how do you run the installation?
 
Old 11-20-2003, 02:12 AM   #4
wiraone
Member
 
Registered: Nov 2003
Location: Diawang-awangan
Distribution: Ubuntu Hoary!
Posts: 319

Rep: Reputation: 30
Download it to anywhere you like it .. to install it, as root:

$rpm -ivh kernel-source-2.4.20-20.9.i386.rpm
 
Old 11-20-2003, 10:01 AM   #5
Zkorpio
LQ Newbie
 
Registered: Nov 2003
Location: USA
Posts: 13

Original Poster
Rep: Reputation: 0
I get an error...

Failed dependencies:
gcc >= 2.96-98 is needed by kernel-source-2.4.20-20.9

I downloaded kernel-source-2.4.20-20.9.i386.rpm to /root ...do I have to move it? or...
maybe I need to download i686 instead of i386? My system have this information:

OS: Red Hat Linux 9 i386
Release: 9
CPU Arch: i686

-at the ftp site I see these kernels:
kernel-2.4.20-20.9.i686.rpm
kernel-bigmem-2.4.20-20.9.i686.rpm
kernel-smp-2.4.20-20.9.i686.rpm

any of these are source?

thanks again....
 
Old 11-21-2003, 06:28 PM   #6
Zkorpio
LQ Newbie
 
Registered: Nov 2003
Location: USA
Posts: 13

Original Poster
Rep: Reputation: 0
Up...

anyone?
 
Old 12-14-2003, 05:38 PM   #7
mep]-[isto
Member
 
Registered: Nov 2003
Distribution: Slackware 9.1
Posts: 61

Rep: Reputation: 15
well im by no means an expert at all but it seems to me like you need what it says (a GCC version that is higher than 2.96-98). I dont use RPM myself, but i beleive you can find out what GCC you have installed by rpm -qa gcc

i could be wrong though...

btw, you already have the kernel source, you dont need any of the files listed on that ftp server if you already have kernel-source-2.4.20-20.9 in /root, its just that you havent met its dependencies. is it just me or does red hat not come with a compiler by default? i had suse before slack and it didnt either...which seemed a little odd

anyway sorry if this is inaccurate, just tryin to help where i can (which isnt many places! lol)
 
  


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
INstalling Kernel Headers to update nvidia driver plbowler Mandriva 5 09-14-2006 12:10 PM
nVidia, kernel headers, etc jrcreasy Debian 23 08-20-2005 06:10 PM
nvidia problem with kernel 2.4.18-14(Redhat 8.0)!!!! venkat Red Hat 2 08-06-2004 04:02 AM
nVidia Driver won't install because Kernel Headers are missing...Whats that me then? Stevetgn Linux - Newbie 3 08-24-2003 09:27 PM
How to install kernel headers for redhat 9.0? Tommi Linux - General 5 07-02-2003 08:15 AM


All times are GMT -5. The time now is 01:08 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration