Page 1 of 1
VirtualBox won't start since Mandriva's update
Posted: 12. May 2009, 15:20
by larameem
Hi,
I'm a newbie here and with linux. I use Mandriva 2009, and I did the spring update last week. Now, I can't start VirtualBox (v2.2.2). When I try, I receive this error 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.
When I execute '/etc/init.d/vboxdrv setup' as root here is what I get:
[XXXX@localhost ~]$ su
Password:
[root@localhost XXXX]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
[root@localhost XXXX]#
[root@localhost XXXX]# /var/log/vbox-install.log
bash: /var/log/vbox-install.log: Permission denied
[root@localhost XXXX]#
Can someone help me please?
Re: VirtualBox won't start since Mandriva's update
Posted: 12. May 2009, 17:17
by Perryg
Try vi or use a text editor to view this file. See example below
[root@localhost XXXX]# vi /var/log/vbox-install.log
Re: VirtualBox won't start since Mandriva's update
Posted: 12. May 2009, 19:16
by larameem
thanks!
Here is what I get:
E325: ATTENTION
Found a swap file by the name "/var/log/.vbox-install.log.swp"
owned by: root dated: Tue May 12 12:16:37 2009
file name: /var/log/vbox-install.log
modified: YES
user name: root host name: localhost
process ID: 1184
While opening file "/var/log/vbox-install.log"
dated: Tue May 12 13:05:33 2009
NEWER than swap file!
(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r /var/log/vbox-install.log"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file "/var/log/.vbox-install.log.sw
p"
to avoid this message.
-- More --
SPACE/d/j: screen/page/line down, b/u/k: up, q: quit
and then:
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.0.4
completely from the DKMS tree.
------------------------------
Done.
Creating symlink /var/lib/dkms/vboxdrv/2.0.4/source ->
/usr/src/vboxdrv-2.0.4
DKMS: add Completed.
Error! Your kernel source for kernel 2.6.29.1-server-4mnb cannot be found at
/lib/modules/2.6.29.1-server-4mnb/build or /lib/modules/2.6.29.1-server-4mnb/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
Makefile:142: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
What should I do? It seems that I have to determine where my kernel source is... how can I find it and change the directory?
When I go in "/lib/modules/2.6.29.1-server-4mnb" there is only "Kernel" and "dkms-binary".
Re: VirtualBox won't start since Mandriva's update
Posted: 12. May 2009, 19:29
by Perryg
It looks like your kernel-headers are out of sync with your kernel. Have you tried to update the kernel-headers?
Re: VirtualBox won't start since Mandriva's update
Posted: 12. May 2009, 20:18
by larameem
euh... "kernel-headers" ? How can I update that?
As I said, I'm a newbie. :s
But I know I did the automatic updates from Mandriva. I also have the following packages that are installed (when I go in the software management):
vboxadditions-kernel-2.6.29.1-desktop-4mnb - vboxadditions driver for kernel 2.6.29.1-desktop-4mnb?
vboxadditions-kernel-2.6.29.1-server-4mnb - vboxadditions driver for kernel 2.6.29.1-server-4mnb?
vboxadditions-kernel-desktop-latest - vboxadditions driver for latest kernel-desktop? ?
vboxadditions-kernel-server-latest - vboxadditions driver for latest kernel-server
virtualbox-kernel-2.6.29.1-desktop-4mnb - virtualbox driver for kernel 2.6.29.1-desktop-4mnb? ?
virtualbox-kernel-2.6.29.1-desktop586-4mnb - virtualbox driver for kernel 2.6.29.1-desktop586-4mnb?
virtualbox-kernel-2.6.29.1-server-4mnb - virtualbox driver for kernel 2.6.29.1-server-4mnb? ?
virtualbox-kernel-desktop-latest - virtualbox driver for latest kernel-desktop? ?
virtualbox-kernel-desktop586-latest - virtualbox driver for latest kernel-desktop586
virtualbox-kernel-server-latest - virtualbox driver for latest kernel-server? ?
Re: VirtualBox won't start since Mandriva's update
Posted: 12. May 2009, 21:01
by Perryg
This should help type this in Google.com
update kernel-headers for Mandriva