Slack12.1: /usr/src/linux version mismatch (vboxdrv)

Discussions related to using VirtualBox on Linux hosts.
Post Reply
nv4Phil
Posts: 2
Joined: 18. Jan 2009, 21:21

Slack12.1: /usr/src/linux version mismatch (vboxdrv)

Post by nv4Phil »

Code: Select all

root@box2:/usr/src/vboxdrv-2.1.0# make
Makefile:154: *** Error: /usr/src/linux (version 2.6.24.5-smp) does not match the current kernel (version 2.6.24.5).  Stop.
root@box2:/usr/src/vboxdrv-2.1.0# uname -a
Linux box2 2.6.24.5 #1 Wed Apr 30 15:15:52 CDT 2008 i686 Mobile AMD Sempron(tm) Processor 3600+ AuthenticAMD GNU/Linux
root@box2:/usr/src/vboxdrv-2.1.0# ls -al /usr/src/linux
lrwxrwxrwx 1 root root 14 2008-06-02 21:57 /usr/src/linux -> linux-2.6.24.5
It doesn't know what it is doing. I'm unable to install. It does the same thing when I try the install script, and when I try "vboxdrv setup" ... Help!

Thanks.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

The error is pretty obvious. You don't have the same version of the kernel headers compared to the actual kernel you are running. You have the SMP headers, but run the normal kernel (non-SMP). Update your distro, check the package manager for the correct packages and fix it.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
nv4Phil
Posts: 2
Joined: 18. Jan 2009, 21:21

Post by nv4Phil »

Sasquatch wrote:The error is pretty obvious. You don't have the same version of the kernel headers compared to the actual kernel you are running. You have the SMP headers, but run the normal kernel (non-SMP). Update your distro, check the package manager for the correct packages and fix it.
Well sure... trouble being, that isn't the case!! I *do* have the same version.... If I didn't, then yes...it would be *blatently* obvious, and I would not have asked the question :-)

Thanks.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Then there is obviously some string mismatch. You can always use the KERNEL_SOURCE= variable to set the proper path to the source. Variable could have a slightly different name though.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply