LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 06-07-2013, 01:33 PM   #1
Emrod
LQ Newbie
 
Registered: May 2013
Location: Switzerland
Distribution: SLACKWARE,freeBSD,Debian, Arch
Posts: 18

Rep: Reputation: Disabled
virtualbox installation


Hi everybody, I am traying to install virtualbox-4.2.12-3.

Here are the installed packages :

# pacman -Ss virtualbox
community/libvirt 1.0.6-1
API for controlling virtualization engines
(openvz,kvm,qemu,virtualbox,xen,etc)
community/phpvirtualbox 4.2_4-1
PHP/AJAX web interface for VirtualBox 4.*
community/virtualbox 4.2.12-3
Powerful x86 virtualization for enterprise as well as home use
community/virtualbox-ext-vnc 4.2.12-3
VirtualBox VNC extension pack
community/virtualbox-guest-dkms 4.2.12-3 [Installiert]
VirtualBox Guest kernel modules sources
community/virtualbox-guest-iso 4.2.12-1
The official VirtualBox Guest Additions ISO image
community/virtualbox-guest-modules 4.2.12-6
Guest kernel modules for VirtualBox
community/virtualbox-guest-modules-lts 4.2.12-2
Guest kernel modules for VirtualBox
community/virtualbox-guest-utils 4.2.12-3 [Installiert]
VirtualBox Guest userspace utilities
community/virtualbox-host-dkms 4.2.12-3 [Installiert]
VirtualBox Host kernel modules sources
community/virtualbox-host-modules 4.2.12-6 [Installiert]
Host kernel modules for VirtualBox
community/virtualbox-host-modules-lts 4.2.12-2
Host kernel modules for VirtualBox
community/virtualbox-sdk 4.2.12-3
VirtualBox Software Developer Kit (SDK)

(2/2) Installiere virtualbox [######################] 100%
Optionale Abhängigkeiten für virtualbox
qt4: VirtualBox GUI support[Installiert]
vde2: Virtual Distributed Ethernet support[Installiert]
virtualbox-sdk: Developer kit
virtualbox-host-dkms: Host kernel source modules for non-stock
kernels[Installiert]
net-tools: Host-only or bridged networking support[Installiert]

WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (3.9.3-1-ARCH) or it failed to
load. Please reinstall the kernel module virtualbox-host-modules or
if you don't use our stock kernel compile the modules with

sudo dkms autoinstall

You will not be able to start VMs until this problem is fixed.

I did it :
sudo dkms autoinstall
Error! echo
Your kernel headers for kernel 3.9.3-1-ARCH cannot be found at
/usr/lib/modules/3.9.3-1-ARCH/build or /usr/lib/modules/3.9.3-1-ARCH/source.

Is there a serious problem with the kernel ??

on startup of virtualbox I get these messages :

(process:1259): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

(process:1259): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

(process:1259): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Qt WARNING: QGtkStyle was unable to detect the current GTK+ theme.
Qt WARNING: Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed

(process:1259): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile

Error! echo
Your kernel headers for kernel 3.9.3-1-ARCH cannot be found at
/usr/lib/modules/3.9.3-1-ARCH/build or /usr/lib/modules/3.9.3-1-ARCH/source.
Error! echo
Your kernel headers for kernel 3.9.3-1-ARCH cannot be found at
/usr/lib/modules/3.9.3-1-ARCH/build or /usr/lib/modules/3.9.3-1-ARCH/source.

These are the error messages. I can start virtualbox.
Have run systemctl enable dkms.service

I tried to do a pacman -Syu : no packages could be installed because of conflicts.

Have removed virtualbox and reinstalled it with the same result.

What can I do ? Thanks a lot...
 
Old 06-07-2013, 04:33 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,125

Rep: Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260
To compile kernel modules you need the development package for your kernel, which contains the matching header files. It should be called something like:
Code:
linux-headers-3.9.3-1
 
Old 06-10-2013, 05:28 AM   #3
Emrod
LQ Newbie
 
Registered: May 2013
Location: Switzerland
Distribution: SLACKWARE,freeBSD,Debian, Arch
Posts: 18

Original Poster
Rep: Reputation: Disabled
Thank You smallpond. I just wonder why I need to recompile a kernel. Also, I cannot deinstall all packages of virtualbox to restart a clean new install. Looks like a mess.
Under Debian it is so much simpler.
 
Old 06-10-2013, 05:44 AM   #4
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114
Quote:
Originally Posted by Emrod View Post
Thank You smallpond. I just wonder why I need to recompile a kernel. Also, I cannot deinstall all packages of virtualbox to restart a clean new install. Looks like a mess.
Under Debian it is so much simpler.
Debian handles the Virtual Box fine from what ive seen.
 
Old 06-10-2013, 02:19 PM   #5
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,125

Rep: Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260
You aren't trying to recompile the kernel, just a kernel module named vboxdrv needed by virtualbox but not included with your kernel. You can't recompile a module without header files which match your kernel.
 
Old 06-12-2013, 10:53 AM   #6
Emrod
LQ Newbie
 
Registered: May 2013
Location: Switzerland
Distribution: SLACKWARE,freeBSD,Debian, Arch
Posts: 18

Original Poster
Rep: Reputation: Disabled
Kernel

Thanks for your input : I read about the kernel but I am reinstalling everything from scratch right now. Pacman -Syu cannot update the system, some virtualbox modules cant be removed because of dependencies. I read about the bugs in VB.
 
Old 06-16-2013, 08:17 AM   #7
Emrod
LQ Newbie
 
Registered: May 2013
Location: Switzerland
Distribution: SLACKWARE,freeBSD,Debian, Arch
Posts: 18

Original Poster
Rep: Reputation: Disabled
Hi : the problem was due to the redundant installation of virtualbox-host-dkms for custom kernels - I use a standard kernel. My fault. Reinstallation from scratch gave a perfectly running system.
The documentation is very good ! Thanks.Problem solved.
 
Old 06-16-2013, 08:48 AM   #8
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114
Lightbulb

Hey Emrod,

Glad to hear that you came right.

Best Regards
Marios
 
  


Reply

Tags
installation, virtualbox


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
problem with installation of virtualbox srinivasmmdl Linux - Newbie 4 09-14-2011 12:22 PM
problem with installation of virtualbox srinivasmmdl Linux - Newbie 1 09-13-2011 04:51 PM
VirtualBox installation ladhibi Linux - Virtualization and Cloud 3 11-19-2010 04:51 AM
[SOLVED] running Virtualbox after installation Brianret Linux - Virtualization and Cloud 1 09-29-2010 02:37 PM
Virtualbox - XP installation hanging PClOStinspace Linux - Software 4 06-02-2009 04:49 AM

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

All times are GMT -5. The time now is 07: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