1. Store
  2. Apps
  3. Hardware
  4. Support
  5. Solutions

ClearFoundation

Forums
Welcome, Guest
How-to install correct 6.2 kernel headers & devel
(1 viewing) 1 Guest
Go to bottomPage: 12
TOPIC: How-to install correct 6.2 kernel headers & devel
#41069
Re: How-to install correct 6.2 kernel headers & devel 1 Year ago  
I'm running the latest kernel 2.6.32.220.13.1.v6-x86_64

There is still nothing in /usr/src/kernels using updatedb && locate kernel I find this


/usr/share/selinux/devel/include/kernel
/usr/share/selinux/devel/include/kernel.xml
/usr/share/selinux/devel/include/kernel/corecommands.if
/usr/share/selinux/devel/include/kernel/corenetwork.if
/usr/share/selinux/devel/include/kernel/devices.if
/usr/share/selinux/devel/include/kernel/domain.if
/usr/share/selinux/devel/include/kernel/files.if
/usr/share/selinux/devel/include/kernel/filesystem.if
/usr/share/selinux/devel/include/kernel/kernel.if
/usr/share/selinux/devel/include/kernel/mcs.if
/usr/share/selinux/devel/include/kernel/mls.if
/usr/share/selinux/devel/include/kernel/selinux.if
/usr/share/selinux/devel/include/kernel/storage.if
/usr/share/selinux/devel/include/kernel/terminal.if
/usr/share/selinux/devel/include/kernel/ubac.if
/usr/share/selinux/devel/include/kernel/unlabelednet.if
/usr/share/selinux/devel/include/services/kerneloops.if
/usr/share/selinux/targeted/kerneloops.pp.bz2
/usr/src/kernels

I'm at a loss where to go from here I'm not sure if I'm using the correct search parameters I'd prefer not to go back to 5.2 as its only 32 bit
Peter Smith
Senior Boarder
Posts: 58
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2012/05/08 08:13 By pgsmith.
The administrator has disabled public write access.
 
#41073
Re: How-to install correct 6.2 kernel headers & devel 1 Year ago  
Did you reinstall the kernel-headers and kernel-devel as in my last post?
Nick Howitt
Platinum Boarder
Posts: 4129
graphgraph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
#41075
Re: How-to install correct 6.2 kernel headers & devel 1 Year ago  
Peter from your 2nd to last post (output of 'rpm -qa | grep kernel') it would appear that kernel-devel is not installed...can you check and repost?

Kernel-devel contains the headers you need to be able to compile 'third party' modules such as those used by VMWare. You don't normally need kernel-headers or indeed kernel-sourcecode...
Tim Burgess
Moderator
Posts: 5800
graph
User Online Now Click here to see the profile of this user
Last Edit: 2012/05/08 09:07 By timb80.
The administrator has disabled public write access.
 
#41079
Re: How-to install correct 6.2 kernel headers & devel 1 Year ago  
Tim

re ran just the reinstall of kernel-devel and this is what I got

[root@hackcrm kernels]# yum reinstall kernel-devel --enablerepo=clearos-dev
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* clearos: mirror3-toronto.clearsdn.com
* clearos-addons: mirror3-toronto.clearsdn.com
* clearos-core: mirror3-toronto.clearsdn.com
* clearos-dev: mirror2-dc.clearsdn.com
* clearos-extras: mirror3-toronto.clearsdn.com
* clearos-updates: mirror3-toronto.clearsdn.com
Setting up Reinstall Process
No Match for argument: kernel-devel
Package(s) kernel-devel available, but not installed.
Nothing to do
[root@hackcrm kernels]#

rpm -qa | grep -e ^kernel give me this


[root@hackcrm kernels]# rpm -qa | grep -e ^kernel
kernel-2.6.32-220.13.1.v6.x86_64
kernel-headers-2.6.32-220.13.1.v6.x86_64
kernel-firmware-2.6.32-220.13.1.v6.noarch
kernel-2.6.32-220.7.1.v6.x86_64
kernel-doc-2.6.32-220.13.1.el6.noarch

It would appear kernel-devel is not installed, what have I done wrong?

Also I've ended up with this running in 2 treads

www.clearfoundation.com/component/option.../func,view/id,40894/

can this be closed off to stop things getting messy and keep all posts in this thread?

Nick yes I did try to reinstall results above I dont know wher to go from here.

Even though I've been using this since CC 4.0 its only been the last 12 months that Ive had the time to go further and I'm very much a beginner getting under the hood so to speak the more I do the more I learn.
Peter Smith
Senior Boarder
Posts: 58
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#41081
Re: How-to install correct 6.2 kernel headers & devel 1 Year ago  
OK, as you have 2 kernels installed we can try to be more precise:
Code:

yum reinstall --enablerepo=clearos-dev kernel-devel-2.6.32-220.13.1.v6.x86_64

See if that works.

At some point you may want to remove the old kernel:
Code:

rpm -e kernel-2.6.32-220.7.1.v6.x86_64

But it should not be necessary right now.
Nick Howitt
Platinum Boarder
Posts: 4129
graphgraph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
#41086
Re: How-to install correct 6.2 kernel headers & devel 1 Year ago  
reinstall only works when there is an existing package installed - you don't have it installed so just use:-
Code:

yum --enablerepo=clearos-dev install kernel-devel

Tim Burgess
Moderator
Posts: 5800
graph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12
  get the latest posts directly to your desktop