Your kernel source cannot be found
Posted: 21. Feb 2009, 20:25
Hi to everybody,
I have install virtualbox on my Ubuntu 8.04 without problem, but when i try to start the new Virtual Machine for install the guest OS i recive this message:
VERR_VM_DRIVER_NOT_INSTALLED (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Re-setup the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. Users of Ubuntu or Fedora should install the DKMS package at first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
I have install DKMS and then I have execute sudo '/etc/init.d/vboxdrv setup'.
But this is the Output:
* Stopping VirtualBox kernel module
Opening /proc/modules: No such file or directory
* done.
* Recompiling VirtualBox kernel module
* Look at /var/log/vbox-install.log to find out what went wrong
This is the /var/log/vbox-install.log file content:
Attempting to install using DKMS
removing old DKMS module vboxdrv version
Error! Invalid number of parameters passed.
Usage: remove -m <module> -v <module-version> --all
or: remove -m <module> -v <module-version> -k <kernel-version>
------------------------------
Deleting module version: 2.1.4
completely from the DKMS tree.
------------------------------
Done.
Creating symlink /var/lib/dkms/vboxdrv/2.1.4/source ->
/usr/src/vboxdrv-2.1.4
DKMS: add Completed.
Error! Your kernel source for kernel 2.6.28.1-xxxx-std-ipv4-32 cannot be found at
/lib/modules/2.6.28.1-xxxx-std-ipv4-32/build or /lib/modules/2.6.28.1-xxxx-std-ipv4-32/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
Makefile:143: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
effectively in the folder /lib/modules/ there is not the kernel 2.6.28.1 but just the 2.6.24.22 and 2.6.24.23
What can I do?
Thanks
PS
Sorry for my english
I have install virtualbox on my Ubuntu 8.04 without problem, but when i try to start the new Virtual Machine for install the guest OS i recive this message:
VERR_VM_DRIVER_NOT_INSTALLED (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Re-setup the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. Users of Ubuntu or Fedora should install the DKMS package at first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
I have install DKMS and then I have execute sudo '/etc/init.d/vboxdrv setup'.
But this is the Output:
* Stopping VirtualBox kernel module
Opening /proc/modules: No such file or directory
* done.
* Recompiling VirtualBox kernel module
* Look at /var/log/vbox-install.log to find out what went wrong
This is the /var/log/vbox-install.log file content:
Attempting to install using DKMS
removing old DKMS module vboxdrv version
Error! Invalid number of parameters passed.
Usage: remove -m <module> -v <module-version> --all
or: remove -m <module> -v <module-version> -k <kernel-version>
------------------------------
Deleting module version: 2.1.4
completely from the DKMS tree.
------------------------------
Done.
Creating symlink /var/lib/dkms/vboxdrv/2.1.4/source ->
/usr/src/vboxdrv-2.1.4
DKMS: add Completed.
Error! Your kernel source for kernel 2.6.28.1-xxxx-std-ipv4-32 cannot be found at
/lib/modules/2.6.28.1-xxxx-std-ipv4-32/build or /lib/modules/2.6.28.1-xxxx-std-ipv4-32/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
Makefile:143: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
effectively in the folder /lib/modules/ there is not the kernel 2.6.28.1 but just the 2.6.24.22 and 2.6.24.23
What can I do?
Thanks
PS
Sorry for my english