LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-26-2008, 04:57 AM   #1
nos1833
Member
 
Registered: Jul 2006
Posts: 64

Rep: Reputation: 15
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."

Last edited by nos1833; 02-26-2008 at 04:59 AM.
 
Old 02-26-2008, 06:09 AM   #2
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
Did you add yourself to the vboxuser group?
 
Old 02-26-2008, 02:21 PM   #3
Randall Slack
Member
 
Registered: Feb 2005
Location: Rotterdam, The Netherlands
Distribution: Debian - Ubuntu
Posts: 219

Rep: Reputation: 30
did you install the kernel-sources?
 
Old 02-26-2008, 05:53 PM   #4
nos1833
Member
 
Registered: Jul 2006
Posts: 64

Original Poster
Rep: Reputation: 15
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

Last edited by nos1833; 02-26-2008 at 06:09 PM.
 
Old 02-26-2008, 06:18 PM   #5
nos1833
Member
 
Registered: Jul 2006
Posts: 64

Original Poster
Rep: Reputation: 15
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}
 
Old 02-26-2008, 06:48 PM   #6
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
Did you do what it told you to?

Quote:
Re-setup the kernel module by executing '/etc/init.d/vboxdrv setup' as root.
 
Old 02-26-2008, 08:38 PM   #7
nos1833
Member
 
Registered: Jul 2006
Posts: 64

Original Poster
Rep: Reputation: 15
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.
 
Old 02-26-2008, 10:53 PM   #8
nos1833
Member
 
Registered: Jul 2006
Posts: 64

Original Poster
Rep: Reputation: 15
Problem solved!!
I just update my kernel to 2.6.18-6-686
and all the problem solved.
Thank you for helping.

Last edited by nos1833; 02-27-2008 at 12:27 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL not installing in Debian Etch Stathis92 Linux - Server 9 11-01-2007 01:17 PM
Debian etch installer question Linux31 Debian 4 03-14-2007 07:05 PM
tun bridge to VirtualBox on debian etch crashsystems Linux - Networking 5 01-30-2007 03:11 PM
Installing crossover on etch debian GSalah Linux - Software 2 12-21-2006 03:27 AM
Help installing Debian Etch android6011 Debian 6 06-30-2006 04:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration