Virtualbox cannot start the virtual machine

Hi:
I cannot use the win10 virtual machine in my newly installed manjaro system.The following is my environment and part of the log.

Package version:

[daijh@daijh-pc ~]$ pacman -Qs virtualbox 
local/linux510 5.10.53-1
    The Linux510 kernel and modules
local/linux512 5.12.19-1
    The Linux512 kernel and modules
local/linux512-virtualbox-host-modules 6.1.24-1 (linux512-extramodules)
    Host kernel modules for VirtualBox
local/linux513 5.13.5-1
    The Linux513 kernel and modules
local/virtualbox 6.1.24-1
    Powerful x86 virtualization for enterprise as well as home use
local/virtualbox-guest-iso 6.1.24-1
    The official VirtualBox Guest Additions ISO image
local/virtualbox-guest-utils 6.1.24-1
    VirtualBox Guest userspace utilities

kernel version:

[daijh@daijh-pc ~]$ uname -r
5.12.19-1-MANJARO

driver install:

[daijh@daijh-pc ~]$ lsmod | grep vbox
vboxnetflt             32768  0
vboxnetadp             28672  0
vboxdrv               528384  2 vboxnetadp,vboxnetflt

demsg log:

[daijh@daijh-pc ~]$ sudo dmesg | grep vbox
[    5.445588] vboxdrv: loading out-of-tree module taints kernel.
[    5.445774] vboxdrv: module verification failed: signature and/or required key missing - tainting kernel
[    5.450286] vboxdrv: Found 4 processor cores
[    5.472530] vboxdrv: TSC mode is Invariant, tentative frequency 3599999048 Hz
[    5.472532] vboxdrv: Successfully loaded version 6.1.24 r145751 (interface 0x00300000)

When I create a new virtual machine and start it, the screen shows the following:

不能为虚拟电脑 win10 打开一个新任务.

The virtual machine 'win10' has terminated unexpectedly during startup with exit code 1 (0x1).

返回 代码: NS_ERROR_FAILURE (0x80004005)
组件: MachineWrap
界面: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}

Does anyone know what the problem is?

This topic suggests an issue with your VM machine settings or a saved state.

NS_ERROR_FAILURE (0x80004005) is a general failure message when loading a VM. Subsequent lines in the error dialog will give the exact cause of the error. You do NOT have the same error just because you see the generic leader. If you don’t provide a log or the supplemental error description then we can’t help you.

https://forums.virtualbox.org/viewtopic.php?t=87306

This is my guess by comparing dmesg log (from my system)

  • It looks like we are having differences in kernel modules
  • That is I don’t know why your kernel is marked as tainted when mine is not.
    • I use the dkms version of the host modules
    • You are using the Manjaro prebuilt modules
  • My version of VBox is slightly newer but that could be the branch causing this (stable vs. unstable)
[    8.873720] vboxdrv: Found 16 processor cores
[    8.896795] vboxdrv: TSC mode is Invariant, tentative frequency 3600000231 Hz
[    8.896799] vboxdrv: Successfully loaded version 6.1.26 r145957 (interface 0x00300000)

With warrant that it actually fix your issue you could try uninstalling the package linux512-virtualbox-host-modules

sudo pacman -R linux512-virtualbox-host-modules

Then run a complete sync/update to install the dkms package instead

sudo pacman -Syu virtualbox-host-dkms

It has been resolved, the reason for this problem is that my /usr folder permissions have been changed,TKS!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.