LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   question about installing virtualbox on debian etch (https://www.linuxquestions.org/questions/debian-26/question-about-installing-virtualbox-on-debian-etch-623899/)

nos1833 02-26-2008 04:57 AM

question about installing virtualbox on debian etch
 
Hi
I recently tried to install virtualbox in my debian etch.
However, after I install it, when the computer configuring virtualbox,
it says:Compilation of the kernel module FAILED!
VirtualBox will not start until this problem is fixed. Please consult /var/log/vbox-install.log to find out why the kernel module does not compile. Most probably the kernel sources were not found. Install them and execute

/etc/init.d/vboxdrv setup

as root.

If anyone know how to solve this problem please tell me.
Thank you


P.S
THese are from the Terminal
"dpkg -i virtualbox_1.5.6-28266_Debian_etch_i386.deb
(Reading database ... 82411 files and directories currently installed.)
Preparing to replace virtualbox 1.5.6-28266_Debian_etch (using virtualbox_1.5.6-28266_Debian_etch_i386.deb) ...
Stopping VirtualBox kernel module: vboxdrv.
Shutting down VirtualBox host networking...done.
Fontconfig error: "~/.fonts.conf", line 1: XML declaration not well-formed
Unpacking replacement virtualbox ...
Setting up virtualbox (1.5.6-28266_Debian_etch) ...
addgroup: The group `vboxusers' already exists as a system group. Exiting.
Messages emitted during module compilation will be logged to /var/log/vbox-install.log.
Fontconfig error: "~/.fonts.conf", line 1: XML declaration not well-formed
Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
GTK Panel of SCIM 1.4.4

Fontconfig error: "~/.fonts.conf", line 1: XML declaration not well-formed
Starting VirtualBox kernel module: vboxdrv
Modprobe vboxdrv failed. Please use 'dmesg' to find out why.
Starting VirtualBox host networking...done."

phantom_cyph 02-26-2008 06:09 AM

Did you add yourself to the vboxuser group?

Randall Slack 02-26-2008 02:21 PM

did you install the kernel-sources?

nos1833 02-26-2008 05:53 PM

Hi
I do not think I have installed the kernel-source, but I should I do?
and yes I add myself to the vboxuser group.
Thanks
P.S I also saw that I need to have correct kernel-headers,
but which one should I have?
My current kernel version is 2.6.18-4-686

nos1833 02-26-2008 06:18 PM

This is the error I got:

VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Re-setup the kernel module by executing '/etc/init.d/vboxdrv setup' as root.
VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).


Result Code:
0x80004005
Component:
Console
Interface:
IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}

phantom_cyph 02-26-2008 06:48 PM

Did you do what it told you to?

Quote:

Re-setup the kernel module by executing '/etc/init.d/vboxdrv setup' as root.

nos1833 02-26-2008 08:38 PM

yeah I did
and
then it appear Stopping VirtualBox kernel module: vboxdrv.
Recompiling VirtualBox kernel module: vboxdrv
Look at /var/log/vbox-install.log to find out what went wrong

and then:
cat /var/log/vbox-install.log
Makefile:75: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.

nos1833 02-26-2008 10:53 PM

Problem solved!!
I just update my kernel to 2.6.18-6-686
and all the problem solved.
Thank you for helping.


All times are GMT -5. The time now is 02:36 PM.