You are not logged in.

#1 2011-08-15 11:43:40

Rassilon
Member
Registered: 2011-07-23
Posts: 9

Modprobe can't find vboxdrv

My problem:

I installed virtualbox, and I couldn't compile the vboxdrv module, in ANY way, neither following any solution I found...

The message error was:

FATAL: couldn't find vboxdrv

Or something like that...

Then I installed every package in AUR about virtualbox, except virtualbox-sun and virtualbox-bin ones because I couldn't, here comes the first problem:

How to install virtualbox_bin?

Why can't I install it? File conflicts, this is the output:

resolving dependencies...
looking for inter-conflicts...
:: virtualbox_bin and virtualbox are in conflict. Remove virtualbox? [y/N] y

Remove (1): virtualbox-4.1.0-5

Total Removed Size:   72.79 MB

Targets (1): virtualbox_bin-4.1.0-1

Total Download Size:    0.00 MB
Total Installed Size:   136.36 MB

Proceed with installation? [Y/n] 
(1/1) checking package integrity                                                      [#################################################] 100%
(1/1) checking for file conflicts                                                     [#################################################] 100%
error: failed to commit transaction (conflicting files)
virtualbox_bin: /opt/VirtualBox/sdk/bindings/xpcom/python/xpcom/__init__.py exists in filesystem
virtualbox_bin: /opt/VirtualBox/sdk/bindings/xpcom/python/xpcom/client/__init__.py exists in filesystem
virtualbox_bin: /opt/VirtualBox/sdk/bindings/xpcom/python/xpcom/components.py exists in filesystem
virtualbox_bin: /opt/VirtualBox/sdk/bindings/xpcom/python/xpcom/file.py exists in filesystem
virtualbox_bin: /opt/VirtualBox/sdk/bindings/xpcom/python/xpcom/nsError.py exists in filesystem
virtualbox_bin: /opt/VirtualBox/sdk/bindings/xpcom/python/xpcom/primitives.py exists in filesystem
virtualbox_bin: /opt/VirtualBox/sdk/bindings/xpcom/python/xpcom/server/__init__.py exists in filesystem
virtualbox_bin: /opt/VirtualBox/sdk/bindings/xpcom/python/xpcom/server/enumerator.py exists in filesystem
virtualbox_bin: /opt/VirtualBox/sdk/bindings/xpcom/python/xpcom/server/factory.py exists in filesystem
virtualbox_bin: /opt/VirtualBox/sdk/bindings/xpcom/python/xpcom/server/loader.py exists in filesystem
virtualbox_bin: /opt/VirtualBox/sdk/bindings/xpcom/python/xpcom/server/module.py exists in filesystem
virtualbox_bin: /opt/VirtualBox/sdk/bindings/xpcom/python/xpcom/server/policy.py exists in filesystem
virtualbox_bin: /opt/VirtualBox/sdk/bindings/xpcom/python/xpcom/vboxxpcom.py exists in filesystem
virtualbox_bin: /opt/VirtualBox/sdk/bindings/xpcom/python/xpcom/xpcom_consts.py exists in filesystem
virtualbox_bin: /opt/VirtualBox/sdk/bindings/xpcom/python/xpcom/xpt.py exists in filesystem
virtualbox_bin: /opt/VirtualBox/sdk/installer/vboxapi/VirtualBox_constants.py exists in filesystem
virtualbox_bin: /opt/VirtualBox/sdk/installer/vboxapi/__init__.py exists in filesystem
virtualbox_bin: /opt/VirtualBox/sdk/installer/vboxapisetup.py exists in filesystem
virtualbox_bin: /usr/lib/python2.7/site-packages/vboxapi-1.0-py2.7.egg-info exists in filesystem
virtualbox_bin: /usr/lib/python2.7/site-packages/vboxapi/VirtualBox_constants.py exists in filesystem
virtualbox_bin: /usr/lib/python2.7/site-packages/vboxapi/VirtualBox_constants.pyc exists in filesystem
virtualbox_bin: /usr/lib/python2.7/site-packages/vboxapi/__init__.py exists in filesystem
virtualbox_bin: /usr/lib/python2.7/site-packages/vboxapi/__init__.pyc exists in filesystem
==> WARNING: Your packages are saved in /tmp/yaourt-tmp-root
cp: overwrite `/tmp/yaourt-tmp-root/virtualbox_bin-4.1.0-1-i686.pkg.tar.xz'? 
==> WARNING: Following packages have not been installed:
    virtualbox_bin

Then, there is another problem, the REAL problem, the titles problem: when I execute sudo modprobe vboxdrv, the output I obtain is:

FATAL: Could not load /lib/modules/2.6.39-ARCH/modules.dep: No such file or directory

My kernel is 3.0.1... Oh! Btw, vboxdrv actually exists, it's simply that modprobe or virtualbox or whatever is not able to find it...

HELP!!!

Thanks for your attention, time and dedication,
Rassilon

P.S. Hello!, I think I didn't even say it... This is upsetting me...

Last edited by Rassilon (2011-08-15 11:54:28)

Offline

#2 2011-08-15 11:47:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Modprobe can't find vboxdrv

Welcome to the forums :-)

What kernel are you using? 2.6.39 or 3.0?



When pasting code, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and more convenient to scroll through.

Last edited by karol (2011-08-15 11:48:04)

Offline

#3 2011-08-15 11:53:13

Rassilon
Member
Registered: 2011-07-23
Posts: 9

Re: Modprobe can't find vboxdrv

I've just edited the post with information... Sorry, I forgot to tell...

3.0.1, I'll fix the code thing right now, thanks!!

Offline

#4 2011-08-15 12:01:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Modprobe can't find vboxdrv

Did you reboot after installing the new kernel? Did building initramfs go OK?

What virtualbox packages do you have installed now?

Offline

#5 2011-08-15 12:08:50

Rassilon
Member
Registered: 2011-07-23
Posts: 9

Re: Modprobe can't find vboxdrv

OK, I've rebooted, the situation has gotten even worse, if possible.

Now the message when I try modprobe is:

FATAL: Module vboxdrv not found.

The list of virtualbox programs is:

1 community/libvirt 0.9.4-1 [installed]
    API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)
2 community/virtualbox 4.1.0-5 [installed]
    Powerful x86 virtualization for enterprise as well as home use
3 community/virtualbox-additions 4.1.0-1 [installed]
    The official all-in-one VirtualBox Guest Additions ISO/CD image
4 community/virtualbox-archlinux-additions 4.1.0-5 [installed]
    Additions only for Arch Linux guests (userspace tools)
5 community/virtualbox-archlinux-modules 4.1.0-5 [installed]
    Additions only for Arch Linux guests (kernel modules)
6 community/virtualbox-sdk 4.1.0-5 [installed]
    VirtualBox Software Developer Kit (SDK)
7 aur/libvirt-git 20100820-1 (Out of Date) (7)
    API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)
8 aur/mkinitcpio-vbox 2.0-3 [installed] (26)
    VirtualBox hook for mkinitcpio that rebuilds kernel modules on next reboot
9 aur/palm-emulator 1.2.0.33-1 (Out of Date) (4)
    Palm emulator for VirtualBox.
10 aur/phpvirtualbox 4.1_0-1 (9)
    PHP/AJAX web interface for VirtualBox 4.*
11 aur/vbox-runner 0.3.2-1 (36)
    Run Virtualbox machines in KRunner
12 aur/vboxapi 3.2.10-1 [installed] (Out of Date) (8)
    VirtualBox SDK (PUEL binary edition)
13 aur/vboxgtk 0.5.2-2 (46)
    A simple GTK frontend for VirtualBox OSE.
14 aur/vboxgtk-svn 38-6 (6)
    A simple GTK frontend for VirtualBox OSE
15 aur/vboxtool 0.4-1 [installed] (51)
    Provides effective control of VirtualBox VM on a Linux headless server
16 aur/vdfuse 82a-2 [installed] (60)
    A FUSE module for mounting VirtualBox disk images (VDI/VMDK/VHD) on the host
17 aur/vdimount 0-2 (29)
    Tool to mount the partitions inside the virtualbox hard drives (vdi files)
18 aur/virtualbox-ext-oracle 4.1.0-1 [installed] (624)
    Oracle VM VirtualBox Extension Pack
19 aur/virtualbox-modules-noqueue-patch 1.0-3 (1)
    Compiles virtualbox modules, applies noqueue patch on vboxnetflt
20 aur/virtualbox-sun 4.1.0.73009-1 (219)
    A general-purpose full virtualizer for x86 hardware (Binary Edition, Personal Use)
21 aur/virtualbox_bin 4.1.0-1 (3362)
    Oracle VM VirtualBox Binary Edition
22 aur/virtualbox_bin-1 1.6.6-1 (20)
    Powerful x86 virtualization (Personal Use Binaries Edition)
23 aur/virtualbox_bin-2 2.2.4-1 (32)
    Powerful x86 virtualization (Personal Use Binaries Edition)
24 aur/virtualbox_bin-3 3.2.12-1 (9)
    Powerful x86 virtualization (Personal Use Binaries Edition).
25 aur/virtualbox_bin_beta 4.1.0-1 (101)
    A powerful x86 virtualizer (Personal Use Edition + Extension Pack, bleeding edge binaries)
26 aur/zsh-virtualbox 0.2-2 (10)
    ZSH autocompletion definitions for the Oracle VirtualBox command line utilities

All the packages with [installed], also virtualbox and qt

Everything related with the kernel went perfectly OK

Last edited by Rassilon (2011-08-15 12:11:53)

Offline

#6 2011-08-15 12:11:23

jaco
Member
From: Toulouse, France
Registered: 2011-03-17
Posts: 149

Re: Modprobe can't find vboxdrv

You have to do what Pacman and Virtual Box are saying :

$ sudo rc.d setup vboxdrv

then

$ sudo modprobe vboxdrv

and you're done.

Read the wiki (https://wiki.archlinux.org/index.php/VirtualBox) too..

Offline

#7 2011-08-15 12:11:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Modprobe can't find vboxdrv

Did you run 'rc.d setup vboxdrv'?

Offline

#8 2011-08-15 14:04:57

Rassilon
Member
Registered: 2011-07-23
Posts: 9

Re: Modprobe can't find vboxdrv

It worked this time, but it's the first time it works for me, I tried it before opening the thread, but it gave me errors.

When I start my VM, it tells me the modules hasn't been loaded D:, I'll post a printscreen

Offline

#9 2011-08-15 14:09:18

Rassilon
Member
Registered: 2011-07-23
Posts: 9

Re: Modprobe can't find vboxdrv

MOD EDIT -- Do not post full size images. Read the forum rules and follow the image posting rules -- Inxsible

Edit:
Sorry, I promise I'll follow the forum etiquette...


The printscreen:

http://img847.imageshack.us/img847/1615 … 104074.png

Last edited by Rassilon (2011-08-15 14:58:59)

Offline

#10 2011-08-15 14:10:37

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Modprobe can't find vboxdrv

4 community/virtualbox-archlinux-additions 4.1.0-5 [installed]
    Additions only for Arch Linux guests (userspace tools)
5 community/virtualbox-archlinux-modules 4.1.0-5 [installed]

drop them, that is going to fucked up your host


Give what you have. To someone, it may be better than you dare to think.

Offline

#11 2011-08-15 15:00:24

zjsxwc
Member
Registered: 2011-04-05
Posts: 7

Re: Modprobe can't find vboxdrv

depmod -a 

Last edited by zjsxwc (2011-08-15 15:01:16)

Offline

#12 2011-08-15 15:00:42

Rassilon
Member
Registered: 2011-07-23
Posts: 9

Re: Modprobe can't find vboxdrv

OK, done, thanks!!!

On the other hand, still in trouble...

Offline

Board footer

Powered by FluxBB