Hi Ron,

On Thursday 08 November 2007, Renaud (Ron) OLGIATI wrote:
>  I have downloaded VirtualBox-1.5.2_25433_mdv2007.1-1.i586.rpm from the VB
> website, and installed it.
>
> trying to start VB in a Konsole I get :
>
>       [EMAIL PROTECTED] ron]$ VirtualBox
>       WARNING: The vboxdrv kernel module is not loaded. Either there is no
> module available for the current kernel (2.6.17-13mdv) or it failed to
>       load. Please recompile the kernel module and install it by
>               sudo /etc/init.d/vboxdrv setup
>       You will not be able to start VMs until this problem is fixed.
>       WARNING: The compilation of the vboxdrv.ko kernel module failed during 
> the
>       installation for some reason. Starting a VM will not be possible.
>       Please consult the User Manual for build instructions.
>
> As I dont sudo (Ubuntu ?) I did su to root, and ran as prescribed:

'su' is fine (it does not matter if you do sudo or su here).

>       [EMAIL PROTECTED]:/ron # /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)
>
> Now what is this "compiling" stuff ?
> I always thought that the point of binaries tailored to a distribution were
> to avoid all the problems attendant to compliation..
> ???????

Believe me, on question mark is enough.

> Now I look in /var/log and find:
>
>       [EMAIL PROTECTED]:ron # cat /var/log/vbox-install.log
>       Makefile:76: *** Error: /usr/src/linux (version 2.6.17-13mdvcustom) does
> not match the current kernel (version 2.6.17-13mdv).  Stop.
>
> This in a bog-standard install of MDV 2007.1
>
> Is there something wrong with the .rpm ?.

No.

> Any advice gratefully received.

Just install the appropriate kernel sources for your kernel. Unfortunately,
the user may freely choose between several kernels. We already ship some
kernel modules but we cannot ship a kernel module for any kernel out there
(keep kernel fixes in mind).

The kernel module for VBox (vboxdrv) has to be compiled for the kernel
currently running on your system. I believe the kernel source package name is
kernel-source or something like that. You may find out the right kernel
module with

  urpmf /lib/modules/2.6.17-13mdvcustom

After installing the package, make sure that

  /bin/ls -l /lib/modules/`uname -r`/build

shows some directory. If not, the package was wrong.

Kind regards,

Frank
-- 
Dr.-Ing. Frank Mehnert    innotek GmbH, http://www.innotek.de

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to