You are not logged in.

#1 2013-10-05 12:45:56

amen
Member
Registered: 2009-08-02
Posts: 44

VirtualBox not working after last update

I have installed:
community/virtualbox 4.2.18-2
community/virtualbox-guest-iso 4.2.18-1
community/virtualbox-host-modules 4.2.18-4

After last update VirtualBox stopped working.

# modprobe -v vboxdrv
insmod /lib/modules/3.11.3-1-ARCH/extramodules/vboxdrv.ko.gz 
modprobe: ERROR: could not insert 'vboxdrv': Invalid argument

What should I do?

Offline

#2 2013-10-05 15:07:45

Daerandin
Member
From: Norway
Registered: 2013-05-07
Posts: 163

Re: VirtualBox not working after last update

You should always state exactly what was updated, as otherwise it will be guesswork for anyone trying to help you. So for most cases, the first you should do is look at what was updated.

However, I'm going to make a little guess here that among whatever else was updated, your kernel was updated. The virtualbox modules for the 3.11.3 kernel are in testing at the moment. So if my guess is correct, then you can simply wait for the modules to come into community repo, and then update.

Offline

#3 2013-10-05 15:14:44

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 14,742
Website

Re: VirtualBox not working after last update

I suspect uname -a and pacman -Q linux return different version numbers.  If so, reboot.


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Online

#4 2013-10-05 16:15:14

89c51
Member
Registered: 2012-06-05
Posts: 677

Re: VirtualBox not working after last update

The problem is real.

sudo modprobe vboxdrv
[sudo] password for uzer:
modprobe: ERROR: could not insert 'vboxdrv': Invalid argument
$ uname -a
Linux mainland 3.11.3-1-ARCH #1 SMP PREEMPT Wed Oct 2 01:38:48 CEST 2013 x86_64 GNU/Linux
$ pacman -Q linux
linux 3.11.3-1

Latest linux probably broke it.

Last edited by 89c51 (2013-10-05 16:15:33)

Offline

#5 2013-10-05 16:15:26

Shinto
Member
Registered: 2012-07-27
Posts: 71

Re: VirtualBox not working after last update

Trilby wrote:

I suspect uname -a and pacman -Q linux return different version numbers.  If so, reboot.

Nope. They are the same. (At least for me). I'm having the same issue after the kernel update to 3.11.3.

Last edited by Shinto (2013-10-05 16:15:37)

Offline

#6 2013-10-05 16:19:13

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 14,742
Website

Re: VirtualBox not working after last update

Odd, it must also depend on something else, as I just updated to 3.11 and have no problem with virtualbox.


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Online

#7 2013-10-05 16:42:28

Daerandin
Member
From: Norway
Registered: 2013-05-07
Posts: 163

Re: VirtualBox not working after last update

https://projects.archlinux.org/svntogit … 4c619a43dc states it is a rebuild for 3.11.3, so I simple assumed that's the reason the virtualbox modules will not load. It has always been like this in the past, that I would need updated virtualbox modules after pretty much all kernel updates.

Trilby, are you using the host module sources? I know you can have it automatically recompile the modules on kernel updates.

Offline

#8 2013-10-05 17:35:27

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 14,742
Website

Re: VirtualBox not working after last update

I don't know much about virtualization.  I have virtualbox and virtualbox-host-modules installed from [community] with no custom setup or configuration and no recompiling.  Modprobing vboxdrv worked without issue (once I rebooted to the new kernel), and my winXP guest system is running as we speak.

This is on my i686 system, I don't know if that'd be relevant.

Last edited by Trilby (2013-10-05 17:36:06)


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Online

#9 2013-10-05 17:50:37

demize
Trusted User (TU)
From: Stockholm, Sweden
Registered: 2012-10-23
Posts: 20
Website

Re: VirtualBox not working after last update

The virtualbox host modules for the new kernel (3.11.3) haven't been pushed to community yet, just enable [testing], update and everything should work just fine.

Offline

#10 2013-10-05 18:01:20

Daerandin
Member
From: Norway
Registered: 2013-05-07
Posts: 163

Re: VirtualBox not working after last update

Trilby, I don't know that much either, just going by what I've read in the wiki and past experiences. I have x86_64, so maybe that makes some difference. In any case, I am unable to to load vboxdrv with the same problem as noted by others in this thread.

As for demyze's suggestion, it should perhaps be noted that by no means should people activate testing and update their whole system (unless they really want to do that, of course), just the virtualbox modules in question should fix it. Personally I am quite content to let this wait until the package is released to community repo.

Offline

#11 2013-10-05 18:06:06

SilverOne
Member
From: Portugal
Registered: 2013-08-22
Posts: 69

Re: VirtualBox not working after last update

I have the same problem... would enabling testing and upgrading vboxdrv , and immediately disabling testing be safe?

How long till the package gets out of testing ?

EDIT:

upgraded - no issues.

Last edited by SilverOne (2013-10-05 18:28:23)


Best Regards,
SilverOne

Offline

#12 2013-10-06 00:28:43

Amarildo
Member
Registered: 2013-09-21
Posts: 275
Website

Re: VirtualBox not working after last update

How long should it take? Just "pacman -Syu" should sufice?

[root@junior junior]# uname -a
Linux junior 3.11.3-1-ARCH #1 SMP PREEMPT Wed Oct 2 01:38:48 CEST 2013 x86_64 GNU/Linux
[root@junior junior]# pacman -Q linux
linux 3.11.3-1
[root@junior junior]# 

If it ain't broke, you haven't tweaked it enough...

Offline

#13 2013-10-06 00:39:16

SilverOne
Member
From: Portugal
Registered: 2013-08-22
Posts: 69

Re: VirtualBox not working after last update

Amarildo wrote:

How long should it take? Just "pacman -Syu" should sufice?

[root@junior junior]# uname -a
Linux junior 3.11.3-1-ARCH #1 SMP PREEMPT Wed Oct 2 01:38:48 CEST 2013 x86_64 GNU/Linux
[root@junior junior]# pacman -Q linux
linux 3.11.3-1
[root@junior junior]# 


hello,  sudo pacman -Syu would update your ENTIRE SYSTEM to testing ....

remove the # from community testing and run:

sudo pacman -S virtualbox-host-modules

then comment back the community testing


Best Regards,
SilverOne

Offline

#14 2013-10-06 00:46:01

Amarildo
Member
Registered: 2013-09-21
Posts: 275
Website

Re: VirtualBox not working after last update

I'll read more about the testing repo to see if it's 100% safe. Otherwise I'll just wait.


If it ain't broke, you haven't tweaked it enough...

Offline

#15 2013-10-06 00:46:24

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

Re: VirtualBox not working after last update

Read https://bbs.archlinux.org/viewtopic.php … 0#p1333500
You shouldn't use just [community-testing] as these packages rely on the packages from [testing]. You have to uncomment both repos.

Offline

#16 2013-10-06 11:50:50

chrlin
Member
Registered: 2011-12-18
Posts: 15

Re: VirtualBox not working after last update

I had the same problem, tried using the "virtualbox-guest-modules" and "virtualbox-host-modules" package from [community-testing] and it worked. The rest of the package is not upgraded (or I should say there is no newer version), so modules like "vboxguest" and "vboxsf" still cannot be loaded (because "virtualbox-guest-utils" has not been upgraded yet").

But at least "vboxdrv", "vboxnetadp", "vboxnetflt" all can be loaded.

Packages installed:

community/virtualbox 4.2.18-2 [インストール済み]
    Powerful x86 virtualization for enterprise as well as home use
community/virtualbox-guest-dkms 4.2.18-2 [インストール済み]
    VirtualBox Guest kernel modules sources
community/virtualbox-guest-iso 4.2.18-1 [インストール済み]
    The official VirtualBox Guest Additions ISO image

community/virtualbox-guest-modules 4.2.18-4 [インストール済み: 4.2.18-6]
    Guest kernel modules for VirtualBox

community/virtualbox-guest-utils 4.2.18-2 [インストール済み]
    VirtualBox Guest userspace utilities
community/virtualbox-host-dkms 4.2.18-2 [インストール済み]
    VirtualBox Host kernel modules sources

community/virtualbox-host-modules 4.2.18-4 [インストール済み: 4.2.18-6]
    Host kernel modules for VirtualBox

Last edited by chrlin (2013-10-06 11:51:39)


The Arch Way - The Meaning of System - The Flow of Data - The Layer of Abstraction - The Power of Root - The Law of Command - The Communication of Terminal - The Union of Man and Machine

上之道 - 生之義 - 氣之流 - 天之層 - 活之力 - 命之理 - 靈之通 - 天人合一

Offline

#17 2013-10-06 12:02:21

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

Re: VirtualBox not working after last update

chrlin, when posting on the forum, please prepend your commands with LC_ALL=C so that the output is in English.
Please edit your post so we know what is says.

Also, when posting configs, code or command output, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and - in case of longer listings - more convenient to scroll through.

Offline

#18 2013-12-12 03:07:34

infiniphunk
Member
Registered: 2012-08-06
Posts: 30

Re: VirtualBox not working after last update

what happens when you already have testing and community-testing uncommented and you get this error with Virtualbox kernel modules.

after my last

sudo pacman -Syu

I am now also getting

modprobe: ERROR: could not insert 'vboxdrv': Invalid argument
modprobe: ERROR: could not insert 'vboxnetflt': Invalid argument

this is for

virtualbox 4.3.4-1
virtualbox-host-modules 4.3.4-2

wait for Virtualbox package to get an update or somehow roll back host modules to previous version?

what do?

Last edited by infiniphunk (2013-12-12 03:12:06)

Offline

#19 2013-12-12 03:55:14

ronw
Member
Registered: 2013-07-02
Posts: 42

Re: VirtualBox not working after last update

FWIW, I downgraded from kernel 3.12.4-1 to 3.12.3-1 and the virtualbox modules load again.

community/virtualbox 4.3.4-1
community/virtualbox-guest-iso 4.3.4-1
community-testing/virtualbox-host-modules 4.3.4-2

Offline

#20 2013-12-12 20:30:28

infiniphunk
Member
Registered: 2012-08-06
Posts: 30

Re: VirtualBox not working after last update

It was fine in the end, not even 12 hours later  I did an upgrade again and it was fixed.

Offline

#21 2013-12-14 17:23:04

Daerandin
Member
From: Norway
Registered: 2013-05-07
Posts: 163

Re: VirtualBox not working after last update

I think it might be important to mention at this point that I would hardly call this a problem. It is simply that the vbox modules for a new kernel has not been released into community repo yet. It will probably keep happening on most kernel updates, and there really is nothing more to it than simply waiting for the updated kernel modules to be released from testing.

If waiting is problematic, then you can do it yourself as is explained in the wiki: https://wiki.archlinux.org/index.php/Vi … el_modules

Offline

#22 2013-12-27 01:30:53

infiniphunk
Member
Registered: 2012-08-06
Posts: 30

Re: VirtualBox not working after last update

That's absolutely correct Daerandin. The lesson here is, don't use testing for virtualization if it's going to be mission critical (which in my case here it isn't)

Offline

#23 2014-09-15 17:49:02

Amarildo
Member
Registered: 2013-09-21
Posts: 275
Website

Re: VirtualBox not working after last update

Is it just me or it's happening again? ¬_¬


If it ain't broke, you haven't tweaked it enough...

Offline

#24 2014-09-15 18:43:51

hb860
Member
Registered: 2014-09-12
Posts: 68

Re: VirtualBox not working after last update

No, not just you,  it's really happens again.
See https://bbs.archlinux.org/viewtopic.php … 8#p1456328

Last edited by hb860 (2014-09-15 18:44:44)

Offline

#25 2014-09-15 18:53:43

Amarildo
Member
Registered: 2013-09-21
Posts: 275
Website

Re: VirtualBox not working after last update

hb860 wrote:

No, not just you,  it's really happens again.
See https://bbs.archlinux.org/viewtopic.php … 8#p1456328

Actually I don't think we're talking about the same problem.

Mine is that vboxdrv can't be modprobe-d.

[root@junior ~]# modprobe vboxdrv
modprobe: FATAL: Module vboxdrv not found.

If it ain't broke, you haven't tweaked it enough...

Offline

Board footer

Powered by FluxBB