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... |
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 |
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. |
Quote:
|
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.
|
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.
|
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. |
Hey Emrod,
Glad to hear that you came right. Best Regards Marios |
All times are GMT -5. The time now is 01:29 PM. |