您尚未登录。

#1 2021-10-12 14:47:10

zt.melodic
会员
注册时间: 2021-10-09
帖子: 5

vbox无法启动虚拟机

➜  ~ journalctl -p 3 -xb
-- Journal begins at Tue 2021-08-10 02:00:01 CST, ends at Tue 2021-10-12 14:39:33 CST. --
10月 12 14:15:13 zt-linux kernel: vboxdrv: version magic '5.10.70-1-MANJARO SMP preempt mod_unload ' should be '5.10.63-1-MANJARO SMP preempt mod_unload '
10月 12 14:15:13 zt-linux kernel: vboxdrv: version magic '5.10.70-1-MANJARO SMP preempt mod_unload ' should be '5.10.63-1-MANJARO SMP preempt mod_unload '
10月 12 14:15:13 zt-linux kernel: vboxdrv: version magic '5.10.70-1-MANJARO SMP preempt mod_unload ' should be '5.10.63-1-MANJARO SMP preempt mod_unload '
10月 12 14:15:13 zt-linux systemd-modules-load[229]: Failed to insert module 'vboxdrv': Exec format error
10月 12 14:15:13 zt-linux systemd-modules-load[229]: Failed to insert module 'vboxnetadp': Exec format error
10月 12 14:15:13 zt-linux systemd-modules-load[229]: Failed to insert module 'vboxnetflt': Exec format error
10月 12 14:15:13 zt-linux kernel: vboxdrv: version magic '5.10.70-1-MANJARO SMP preempt mod_unload ' should be '5.10.63-1-MANJARO SMP preempt mod_unload '
10月 12 14:15:13 zt-linux kernel: vboxdrv: version magic '5.10.70-1-MANJARO SMP preempt mod_unload ' should be '5.10.63-1-MANJARO SMP preempt mod_unload '
10月 12 14:15:13 zt-linux kernel: vboxdrv: version magic '5.10.70-1-MANJARO SMP preempt mod_unload ' should be '5.10.63-1-MANJARO SMP preempt mod_unload '
10月 12 14:15:13 zt-linux systemd-modules-load[229]: Failed to insert module 'vboxdrv': Exec format error
10月 12 14:15:13 zt-linux systemd-modules-load[229]: Failed to insert module 'vboxnetadp': Exec format error
10月 12 14:15:13 zt-linux systemd-modules-load[229]: Failed to insert module 'vboxnetflt': Exec format error
10月 12 14:15:13 zt-linux systemd[1]: Failed to start Load Kernel Modules.


➜  ~ vboxmanage --version
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (5.10.63-1-MANJARO) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /sbin/vboxconfig

         You will not be able to start VMs until this problem is fixed.
6.1.26r145957

➜  modules modinfo vboxdrv             
filename:       /lib/modules/5.10.63-1-MANJARO/extramodules/vboxdrv.ko.xz
version:        6.1.26 r145957 (0x00300000)
license:        GPL
description:    Oracle VM VirtualBox Support Driver
author:         Oracle Corporation
srcversion:     384D5079D63E907132614A5
depends:       
retpoline:      Y
name:           vboxdrv
vermagic:       5.10.70-1-MANJARO SMP preempt mod_unload
parm:           force_async_tsc:force the asynchronous TSC mode (int)


➜  ~ ll /usr/lib/modules                 
总用量 20K
drwxr-xr-x 4 root root 4.0K 10月  8 23:05 5.10.63-1-MANJARO
drwxr-xr-x 4 root root 4.0K 10月 12 14:13 5.10.70-1-MANJARO
drwxr-xr-x 4 root root 4.0K 10月 12 15:09 5.4.150-1-MANJARO
drwxr-xr-x 2 root root 4.0K 10月 12 14:13 extramodules-5.10-MANJARO
drwxr-xr-x 2 root root 4.0K 10月 12 15:08 extramodules-5.4-MANJARO

➜  ~ pacman -Q | grep headers         
linux-api-headers 5.12.3-1
linux-latest-headers 5.10-1
linux-lts-headers 1:5.4-4
linux510-headers 5.10.70-1
linux54-headers 5.4.150-1

➜  ~ pacman -Q | grep linux                               
archlinux-appstream-data 20210929-1
archlinux-keyring 20210902-1
archlinuxcn-keyring 20210910-1
lib32-util-linux 2.37.2-1
linux-api-headers 5.12.3-1
linux-firmware 20210919.d526e04-1
linux-latest 5.10-1
linux-latest-headers 5.10-1
linux-lts-headers 1:5.4-4
linux510 5.10.70-1
linux510-headers 5.10.70-1
linux510-virtualbox-host-modules 6.1.26-17
linux54 5.4.150-1
linux54-headers 5.4.150-1
linux54-virtualbox-host-modules 6.1.26-15
linuxqq 1:2.0.0_b2_1089-1
util-linux 2.37.2-1
util-linux-libs 2.37.2-1

➜  ~ mhwd-kernel -li
Currently running: 5.10.63-1-MANJARO (linux510)
The following kernels are installed in your system:
   * linux510
   * linux54

➜  ~ uname -r
5.10.63-1-MANJARO

现在内核是5.10.63-1-MANJARO,像是跟头文件linux510-headers 5.10.70-1冲突了。我想升级内核到5.10.70-1-MANJARO,试了
sudo pacman -S linux510
sudo pacman -Syu
都没用

最近编辑记录 zt.melodic (2021-10-12 16:42:57)

离线

#2 2022-02-24 10:59:22

FallingSky_42
会员
注册时间: 2022-02-19
帖子: 49

Re: vbox无法启动虚拟机

vbox不支持你的当前内核,建议更到5.14或5.15,再把vbox重新安装一遍,装对应版本的。

离线

#3 2022-07-07 01:34:30

KafCoppelia
会员
所在地: Beijing, China
注册时间: 2022-06-20
帖子: 148
个人网站

Re: vbox无法启动虚拟机

参见Freeze during virtual machine startup with 11th generation Intel CPU,改内核参数ibt=off。

kernel 5.18遇到了同样的问题,该方法可行

最近编辑记录 KafCoppelia (2022-07-07 01:35:03)


二次元开发者

离线

#4 2022-08-15 22:15:11

whee
会员
注册时间: 2022-08-15
帖子: 1

Re: vbox无法启动虚拟机

KafCoppelia 说:

参见Freeze during virtual machine startup with 11th generation Intel CPU,改内核参数ibt=off。

kernel 5.18遇到了同样的问题,该方法可行

5.19 该方法有效

离线

页脚