LinuxQuestions.org
Review your favorite Linux distribution.
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 11-02-2008, 04:17 PM   #1
ESC201
Member
 
Registered: Sep 2008
Distribution: Kubuntu 11.04
Posts: 85

Rep: Reputation: 15
Installing 2.6.24.5 kernel-headers?


Hi all, I am working on installing Compiz on my system and after weeks of errors upon errors I am now faced with reinstalling my Nvidia driver. (My graphics card is an Nvidia Geforce Go 6200/6400 if it matters.) My distro is BackTrack3 which is based off of Slackware. My problem is that whenever I try to run the Nvidia driver installer, it fails horribly because my distro uses kernel 2.6.21.5 and I was forced to upgraded to 2.6.24.5 for reasons I don't need to get into. However, in that process, the kernel-headers for 2.6.21.5 remain installed. My question, how can I install the kernel-headers for 2.6.24.5 on my system? I don't know much about the kernel and the time I've spent on Google isn't helping me much. Thanks!
 
Old 11-02-2008, 04:26 PM   #2
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 9 (stretch)
Posts: 3,361

Rep: Reputation: 127Reputation: 127
I'm not a slackware guy, but this post may help. Of course, change the version to what you're looking for.

from: http://www.linuxquestions.org/questi...57/#post998133

Quote:
Find a slackware mirror, find testing/kernel-headers-2.6.7-i386-1.tgz or whatever its called, and simply wget and upgradepkg it.
 
Old 11-02-2008, 04:57 PM   #3
ESC201
Member
 
Registered: Sep 2008
Distribution: Kubuntu 11.04
Posts: 85

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Quakeboy02 View Post
I'm not a slackware guy, but this post may help. Of course, change the version to what you're looking for.

from: http://www.linuxquestions.org/questi...57/#post998133
I found a .tgz file at http://ftp.isr.ist.utl.pt/pub/MIRROR...4.5-nosmp-sdk/ but when I install it nothing changes. Shouldn't I have a /usr/src/linux-2.6.24.5/ directory? Or am I missing something?
 
Old 11-02-2008, 04:59 PM   #4
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 9 (stretch)
Posts: 3,361

Rep: Reputation: 127Reputation: 127
Like I said, I'm not a slackware guy. I don't know what should happen on your machine. If you have a folder for the other one, then yes, I would expect one for this one.
 
Old 11-02-2008, 05:06 PM   #5
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 9 (stretch)
Posts: 3,361

Rep: Reputation: 127Reputation: 127
It looks like that tarball puts everything in /usr/include. I have no idea if that's where it's supposed to go on slackware.
 
Old 11-02-2008, 05:32 PM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,939

Rep: Reputation: 129Reputation: 129
Your kernel headers should match the library header files, and not get messed up by
whatever the kernel-du-jour happens to be. It sounds like you've fubared /usr/src
by building/installing a kernel using the wrong method.

Read the README file in your kernel source, and follow this Kernel Rebuild Guide.
 
Old 11-02-2008, 06:16 PM   #7
ESC201
Member
 
Registered: Sep 2008
Distribution: Kubuntu 11.04
Posts: 85

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Quakeboy02 View Post
Like I said, I'm not a slackware guy. I don't know what should happen on your machine. If you have a folder for the other one, then yes, I would expect one for this one.
I know, I was just throwing that out there. Thank you for your help.
I'll keep searching.

Last edited by ESC201; 11-02-2008 at 06:16 PM. Reason: adding info
 
  


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-Source and Headers djdoomsday Debian 2 04-08-2008 06:31 AM
What are the problems installing kernel headers 2.6.17.13? backthefup Slackware 2 03-05-2007 09:33 PM
Installing Kernel Headers for SUSE Linux 9.2 budda-bless Linux - Newbie 3 01-21-2005 01:05 AM
Installing Kernel Headers gadams33 Linux - Newbie 1 08-06-2004 07:54 PM
Installing kernel headers gigs_42 Linux - Software 1 03-07-2003 07:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:53 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
Open Source Consulting | Domain Registration