LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 11-30-2009, 09:26 AM   #1
Dukerudy
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Rep: Reputation: 0
Linux headers install


I have a linux server running centOs. The current linux-headers and kernel devel do not match the running kernel. Do I need to uninstall the newer versions of the headers and devel before installing the set that matches the running kernel? And if so, will that cause problems with any other installed drivers? I have ran the following commands before asking this question.


root@server [/home]# uname -a
Linux 2.6.18-128.1.10.el5 #1 SMP Thu May 7 10:39:21 EDT 2009 i686 i686 i386 GNU/Linux
root@server [/home]# yum install kernel-headers
Excluding Packages in global exclude list
Finished
Setting up Install Process
Package kernel-headers-2.6.18-164.6.1.el5.i386 already installed and latest version
Nothing to do
root@server [/home]# yum install kernel-devel
Excluding Packages in global exclude list
Finished
Setting up Install Process
Package kernel-devel-2.6.18-164.6.1.el5.i686 already installed and latest version
Nothing to do
root@server [/home]# dmesg
cisco_ipsec: version magic '2.6.18-164.2.1.el5 SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.2' should be '2.6.18-128.1.10.el5 SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.1'
root@server [/home]#

Thank you in advance.
 
Old 11-30-2009, 09:51 AM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
You can install the older version without any issue to the system(no need to remove newer one). Unfortunately in order to use yum to install it you have to give the FULL name of the rpm. This is where a gui comes in handy. Both yummex(most popular) and smart (my preference) are in the repos. They will show you all versions of all packages that are in the repo(not just the most current).

Why not just upgrade the running kernel to the current release?
 
Old 11-30-2009, 11:31 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,198

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Is at least available as kernel-2.6.18-128.el5.src.rpm

http://mirror.centos.org/centos/5.3/...28.el5.src.rpm
 
Old 11-30-2009, 11:56 AM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
The headers package is also available:

http://mirror.centos.org/centos/5.3/...0.el5.i386.rpm
 
Old 11-30-2009, 02:34 PM   #5
Dukerudy
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by lazlow View Post
You can install the older version without any issue to the system(no need to remove newer one). Unfortunately in order to use yum to install it you have to give the FULL name of the rpm. This is where a gui comes in handy. Both yummex(most popular) and smart (my preference) are in the repos. They will show you all versions of all packages that are in the repo(not just the most current).

Why not just upgrade the running kernel to the current release?
The client doesn't want to do that yet (upgrade kernel). I downloaded both the headers and the devel as rpm packages but I didn't want to install them until I was sure it wouldn't hurt anything currently running on the system. Thank you again for all of your help, its greatly appreciated.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install linux-headers-2.6.23.1-42.fc8 ? renikuttan Linux - Newbie 1 01-05-2009 06:32 AM
install linux headers driftboy Linux - Newbie 2 03-15-2008 11:52 AM
can't install linux-headers-2.6.21 baghdadi13 Linux - Newbie 3 09-06-2007 03:34 AM
Do I need to install linux-headers? mikieboy Debian 21 08-17-2007 02:09 PM


All times are GMT -5. The time now is 11:12 AM.

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