LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 02-29-2004, 08:51 PM   #1
Seventh_Warrior
LQ Newbie
 
Registered: Feb 2004
Location: Canada
Distribution: Fedora Core 3 x86_64
Posts: 19

Rep: Reputation: 0
Kernel Source and Headers


I'm trying to get a couple of things installed on my system and the both the nvidia driver and the sound driver need to recompile the source, but I don't have it installed because I updated to 2.4.20-30.9 using the red hat network. Or at least I don't think they're installed. I haven't been able to find the headers, thought I'm not really sure where to look. Any help would be appreciated.

Peace
 
Old 02-29-2004, 09:36 PM   #2
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
you need the kernel-headers rpm package, version 2.4.20-30.9 (possibly w/o .9)
check with
rpm -qi kernel-headers # probably no output

My kernel is 2.4.18, rpm -qi kernel-headers -> kernel-headers-2.4.18-13
 
Old 02-29-2004, 09:38 PM   #3
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
similarly, my source rpm kernel-source-2.4.18-13
 
Old 02-29-2004, 11:11 PM   #4
Seventh_Warrior
LQ Newbie
 
Registered: Feb 2004
Location: Canada
Distribution: Fedora Core 3 x86_64
Posts: 19

Original Poster
Rep: Reputation: 0
It says not installed. Where can I get this rpm? I should probably have posted this on the newbie board, cause that's what I am.
 
Old 03-01-2004, 08:09 AM   #5
Santas
Member
 
Registered: Jun 2003
Location: Over the rainbow
Distribution: Mandrake 10 / Guadalinex
Posts: 290

Rep: Reputation: 30
it may be on the cds you have, if not try searching on the red hat page or here http://rpmfind.net/linux/RPM/
 
Old 03-01-2004, 11:08 AM   #6
Seventh_Warrior
LQ Newbie
 
Registered: Feb 2004
Location: Canada
Distribution: Fedora Core 3 x86_64
Posts: 19

Original Poster
Rep: Reputation: 0
Found it! Just had to dig on the net a little deeper. Red hat keeps src updates here: http://ftp.redhat.com/pub/redhat/lin...9/en/os/SRPMS/

Peace
 
Old 03-06-2004, 02:11 AM   #7
Seventh_Warrior
LQ Newbie
 
Registered: Feb 2004
Location: Canada
Distribution: Fedora Core 3 x86_64
Posts: 19

Original Poster
Rep: Reputation: 0
Okay, that didn't work. I've been digging through redhat's ftp server, I think I looked through every thread, and I haven't found anything useful. I'm out of ideas.

Peace.
 
Old 03-06-2004, 02:21 AM   #8
Pwnz3r
Member
 
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393

Rep: Reputation: 30
Alternatively, grab the latest Kernel source tarball ftp://ftp.kernel.org/pub/linux/kerne....4-rc2.tar.bz2 and recompile the kernel and set up the /usr/src/linux sym link to direct to /usr/src/linux-2.6.4-rc2.

Installing directly from the source is always a good idea so that you can avoid problems such as this.
 
Old 04-10-2004, 03:59 AM   #9
Seventh_Warrior
LQ Newbie
 
Registered: Feb 2004
Location: Canada
Distribution: Fedora Core 3 x86_64
Posts: 19

Original Poster
Rep: Reputation: 0
Stupid, stupid me.

When I installed red hat originally I didn't install the kernel source because I figured "when the hell am I ever going to need to recompile the kernel, I'm just writing a little bit of C code and doing everyday usage stuff."

If only I'd known.

I popped in the red hat disks and installed the rpm(s) for the kernel source, then the updater brought it up to my current kernel version, and that solved my problem.

Then the nvidia installer was able to find the headers and compile itself something useful. It worked, I was happy.

Now if only I could get a driver for my audigy ls
 
  


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
need kernel-source/headers Foress_89 Linux - Hardware 2 10-04-2005 07:22 AM
do i need kernel source or headers zuessh Debian 9 08-20-2005 03:12 PM
Kernel source headers symlink rose_bud4201 Linux - Software 3 06-27-2005 08:40 PM
have kernel source, want headers stabu Linux - Newbie 3 06-18-2005 05:17 PM
Kernel source headers? oasisbhrnw99 Linux - Newbie 20 07-21-2004 06:00 AM


All times are GMT -5. The time now is 02:22 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