You are not logged in.

#1 2013-01-28 11:16:48

mtangen
Member
Registered: 2010-09-14
Posts: 4

virtualbox / vboxdrv problem [SOLVED]

Hey

Im having problems installing virtualbox on:

Linux mtarch.INTERNETT 3.7.4-1-ARCH #1 SMP PREEMPT Mon Jan 21 23:05:29 CET 2013 x86_64 GNU/Linux

Output of "pacman -Q --search virtual":

local/virtualbox 4.2.6-1
    Powerful x86 virtualization for enterprise as well as home use
local/virtualbox-host-dkms 4.2.6-1
    VirtualBox Host kernel modules sources
local/virtualbox-host-modules 4.2.6-4
    Host kernel modules for VirtualBox
local/vte 0.28.2-3
    Virtual Terminal Emulator widget for use with GTK2

VirtualBox runs, and i can create a new machine, but when i start it i get errors like:

Failed to open a session for the virtual machine test.
The virtual machine 'test' has terminated unexpectedly during startup with exit code 1.

And:

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

'pacman -S virtualbox-host-modules'

as root. If you don't use our stock kernel, install virtualbox-host-source and execute dkms autoinstall



So, ive installed virtualbox-host-modules.

BUT

When i run

dkms install vboxhost/4.2.6
Error! echo
Your kernel headers for kernel 3.7.4-1-ARCH cannot be found at
/usr/lib/modules/3.7.4-1-ARCH/build or /usr/lib/modules/3.7.4-1-ARCH/source.

Does anyone have a clue? Im kinda stuck..

Regards.

Last edited by mtangen (2013-01-28 11:45:31)

Offline

#2 2013-01-28 11:44:43

mtangen
Member
Registered: 2010-09-14
Posts: 4

Re: virtualbox / vboxdrv problem [SOLVED]

Hey again!

Ah, silly me - i installed linux-headers from the official repo, and it worked like a charm! big_smile

sudo pacman -S linux-headers 

Offline

#3 2013-01-31 09:59:08

anwlw09
Member
Registered: 2013-01-31
Posts: 2

Re: virtualbox / vboxdrv problem [SOLVED]

hello , i installed linux-headers 3.7.5 , but don't find 3.7.4 . could you give me some suggest ? thank you .

core/linux-headers 3.7.5-1 [installed]
    Header files and scripts for building modules for linux kernel

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

Offline

#4 2013-01-31 10:12:56

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,537

Re: virtualbox / vboxdrv problem [SOLVED]

Update and reboot

Online

#5 2013-01-31 10:34:04

anwlw09
Member
Registered: 2013-01-31
Posts: 2

Re: virtualbox / vboxdrv problem [SOLVED]

yeah , the installer execute well . thanks for your help !

Offline

#6 2013-02-01 03:09:05

leic
Member
Registered: 2012-03-01
Posts: 8

Re: virtualbox / vboxdrv problem [SOLVED]

anwlw09 wrote:

hello , i installed linux-headers 3.7.5 , but don't find 3.7.4 . could you give me some suggest ? thank you .

core/linux-headers 3.7.5-1 [installed]
    Header files and scripts for building modules for linux kernel

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

I have this problem, and after is how to deal with? thanks

Offline

#7 2013-02-01 04:28:55

leic
Member
Registered: 2012-03-01
Posts: 8

Re: virtualbox / vboxdrv problem [SOLVED]

oh, execute pacman -Syuf  update 3.7.5-1  , reboot   ok! thanks

Offline

#8 2013-02-01 04:40:44

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,443

Re: virtualbox / vboxdrv problem [SOLVED]

leic, what in the world is that? NEVER -Syuf.

Offline

#9 2013-02-01 06:22:52

leic
Member
Registered: 2012-03-01
Posts: 8

Re: virtualbox / vboxdrv problem [SOLVED]

Scimmia:
first

sudo pacman -Syuf

next :

reboot

next:

dkms install vboxhost/4.2.6 -k 3.7.5-1-ARCH x86_64

over:

VirtualBox

If you have questions, you may be able to install "qt" try good luck

Offline

#10 2013-02-01 07:19:30

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,443

Re: virtualbox / vboxdrv problem [SOLVED]

leic, never, never EVER run pacman -Syuf !!!

This will force all updates, which can and will break your system. Use pacman -Syu instead.

This kind of thing is why they're removing the "f" and making you type --force in pacman 4.1

Last edited by Scimmia (2013-02-01 07:20:21)

Offline

#11 2013-02-01 08:51:09

leic
Member
Registered: 2012-03-01
Posts: 8

Re: virtualbox / vboxdrv problem [SOLVED]

okey!
I confused the three days, the unfortunate use of the "f", next time do not use, thank you!

Offline

Board footer

Powered by FluxBB