VirtualBox 错误 Debian 10 上未安装内核驱动程序 (rc=-1908)

VirtualBox 错误 Debian 10 上未安装内核驱动程序 (rc=-1908)

我禁用了笔记本电脑上的安全启动,但此问题仍然存在。

我使用 debian 10 并通过以下网站安装了 virtualbox:https://tecadmin.net/install-virtualbox-on-debian-10-buster/

但是当我启动 Virtualbox 时,总是出现以下错误消息:未安装内核驱动程序(rc=-1908)

在此输入图像描述

这是输出/sbin/vboxconfig

vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.  If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.

最后一行dmesg

[ 2771.515718] module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 1, loc 0000000040fae4f7, val ffffffffc12034cf

我尝试过modprobe -v vboxdrv,但出现以下错误:

insmod /lib/modules/4.19.0-5-amd64/misc/vboxdrv.ko 
modprobe: ERROR: could not insert 'vboxdrv': Exec format error

答案1

我在这里找到了解决方案:https://www.virtualbox.org/ticket/18904

我将我的内核更新linux-image-4.19.0-5-amd64linux-image-4.19.0-6-amd64-unsigned.

根据 virtualbox 票证,未签名的内核可能会产生影响。

升级内核:

apt-get install linux-image-4.19.0-6-amd64-unsigned

相关内容