Kernel Service Problem with Guest Additions module

Discussions about using Linux guests in VirtualBox.
Post Reply
nguvi
Posts: 4
Joined: 18. Sep 2015, 08:48

Kernel Service Problem with Guest Additions module

Post by nguvi »

I try to install the guest module on a CentOS 6.4 32 bit OS.
I always get this error

Code: Select all

Building the VirtualBox Guest Additions kernel modules
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.
The missing package can be probably installed with
yum install kernel-devel-2.6.32-358.el6.i686
When trying to install kernel-devel-2.6.32-358.el6.i686 I get this message:

Code: Select all

No package kernel-devel-2.6.32-358.el6.i686 available.
When I just use yum install kernel-devel, I get this:

Code: Select all

Package kernel-devel-2.6.32-573.3.1.el6.i686 already installed and latest version
This kernel doesn't seem to fit the one that I tried to download before...

when I use: uname -r

Code: Select all

2.6.32-358.el6.i686
Something seems strange... can someone help me?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Kernel Service Problem with Guest Additions module

Post by Perryg »

If yum install kernel-devel-$(uname -r) says there are no packages available then you would need to ask CentOS how to fix this.
Martin
Volunteer
Posts: 2561
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: Kernel Service Problem with Guest Additions module

Post by Martin »

Looks like the kernel was updated and the system not yet rebooted to activate the current kernel.
nguvi
Posts: 4
Joined: 18. Sep 2015, 08:48

Re: Kernel Service Problem with Guest Additions module

Post by nguvi »

I already rebooted the system several times, but what did the charm was to use "yum update". Now I'm not on CentOS 6.4 anymore (it updated to 6.7) but at least the guest module almost went through. Now the OpenGL build failed, but I hope that it is not essential. >_<
Post Reply