VBox on Mandriva 2008.0 64-bit kernel 2.6.22.18 won't work

Discussions related to using VirtualBox on Linux hosts.
Post Reply
DrMartinus
Posts: 23
Joined: 25. Feb 2008, 08:08

VBox on Mandriva 2008.0 64-bit kernel 2.6.22.18 won't work

Post by DrMartinus »

Hi,

I am running Mandriva 2008.0 on an AMD system with 64 bit. Until two days ago, I had the kernel 2.6.22.12 running and VBox worked fine with it (NOT the OSE version, I can't use that). Then I installed the 2.6.22.18 kernel, and got the error message (when starting the machine in VBox) that I need to run vboxdrv -setup. That doesn't work because the source folder does not match the kernel name.

Code: Select all

uname -r
returns

Code: Select all

2.6.22.18-desktop-1mdv
/usr/src has (among others)

Code: Select all

linux-2.6.22.18-desktop-1mdv
linux-2.6.22.18-1mdv
The error in /var/log/vbox-install is

Code: Select all

Makefile:70: Warning: using /usr/src/linux as the source directory of your Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run Make again.
Makefile:76: *** Error: /usr/src/linux (version 2.6.22.18-1mdvcustom) does not match the current kernel (version 2.6.22.18-desktop-1mdv).  Schluss.
I'm not sure what to do. I tried the KERN-DIR-parameter, but I#m actually not sure where to put it. At least there was no error message, except for the one in the log file.
Post Reply