You are not logged in.

#1 2020-08-12 10:40:36

Jason P.
Member
Registered: 2015-02-26
Posts: 171

[solved] Cannot start VirtualBox machine because of driver mismatch

Hi,

Today these VirtualBox packages were upgraded on my system and since then I can no longer start virtual machines.

[2020-08-12] [ALPM] upgraded virtualbox (6.1.12-3 -> 6.1.12-4)
[2020-08-12] [ALPM] upgraded virtualbox-ext-oracle (6.1.12-1 -> 6.1.13.139853-1)
➜  $ ~ pacman -Qs virtualbox
local/linux 5.7.12.arch1-1
    The Linux kernel and modules
local/virtualbox 6.1.12-4
    Powerful x86 virtualization for enterprise as well as home use
local/virtualbox-ext-oracle 6.1.13.139853-1
    Oracle VM VirtualBox Extension Pack
local/virtualbox-guest-iso 6.1.12-1
    The official VirtualBox Guest Additions ISO image
local/virtualbox-host-modules-arch 6.1.12-5
    Virtualbox host kernel modules for Arch Kernel

According to the logs this upgrade caused a driver mismatch: Support driver version mismatch: DriverVersion=0x2d0001 ClientVersion=0x2e0000 rc=VERR_VERSION_MISMATCH

➜  $ ~ modinfo vboxdrv
filename:       /lib/modules/5.7.12-arch1-1/extramodules/vboxdrv.ko.xz
version:        6.1.12 r139181 (0x002d0001)
license:        GPL
description:    Oracle VM VirtualBox Support Driver
author:         Oracle Corporation
srcversion:     3201A3856DCDD6D85B048C2
depends:
retpoline:      Y
name:           vboxdrv
vermagic:       5.7.12-arch1-1 SMP preempt mod_unload
parm:           force_async_tsc:force the asynchronous TSC mode (int)

Is this being caused by the more recent version of guest-additions? When will be the rest upgraded?

Last edited by Jason P. (2020-08-12 14:25:28)

Offline

#2 2020-08-12 10:46:18

loqs
Member
Registered: 2014-03-06
Posts: 17,197

Re: [solved] Cannot start VirtualBox machine because of driver mismatch

Please try switching from virtualbox-host-modules-arch to virtualbox-host-dkms which should generate updated modules.

Offline

#3 2020-08-12 10:58:57

Jason P.
Member
Registered: 2015-02-26
Posts: 171

Re: [solved] Cannot start VirtualBox machine because of driver mismatch

Is this a temporary workaround or it doesn't matter which package takes care of kernel modules? Wiki recommends virtualbox-host-modules-arch for mainline kernels:

Install the virtualbox package. You will need to choose a package to provide host modules:

  • for linux kernel choose virtualbox-host-modules-arch

  • for other kernels choose virtualbox-host-dkms

Offline

#4 2020-08-12 11:28:25

loqs
Member
Registered: 2014-03-06
Posts: 17,197

Re: [solved] Cannot start VirtualBox machine because of driver mismatch

If the DKMS generated modules work you could ask for a rebuild of virtualbox-host-modules-arch for linux 5.7.12-arch1-1 which are built from virtualbox-host-dkms.

The issue should be resolved when linux 5.8 is moved out of testing and the matching virtualbox-host-modules-arch also moves from testing.

Offline

#5 2020-08-12 11:55:41

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,563

Re: [solved] Cannot start VirtualBox machine because of driver mismatch

It happened to me as well after updating virtualbox this morning (in London). I just downgraded again to the previous version for a simple fix. I think we need an update of the host-modules, possibly the guest-iso as well, before updating to the new virtualbox version.

Offline

#6 2020-08-12 14:25:08

Jason P.
Member
Registered: 2015-02-26
Posts: 171

Re: [solved] Cannot start VirtualBox machine because of driver mismatch

Thanks loqs, replacing host modules with dkms package solved the problem.

So, I'm wondering what's the point of installing virtualbox-host-modules in the first place. I don't understand why the wiki recommends that package over virtualbox-host-dkms.

Offline

Board footer

Powered by FluxBB