Ubuntu Gnome 20.04 + VirtualBox + NVidia 驱动程序 450.57 不想共存

Ubuntu Gnome 20.04 + VirtualBox + NVidia 驱动程序 450.57 不想共存

英特尔 8700K NVidia GTX 970 Ubuntu 20.04.1 内核 5.4.0-45 Gnome 3.36.3

自 20.04 更新以来,我的虚拟机(virtualbox)出现问题。

自从更新以来,VirtualBox VM 停止工作。我收到一条错误消息:

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please reinstall virtualbox-dkms package and load the kernel module by executing

'modprobe vboxdrv'

as root.

If your system has EFI Secure Boot enabled you may also 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.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

当我安装 virtualbox-dkms 时,NVidia 驱动程序停止工作,需要重新安装。当我重新安装 NVidia 驱动程序时,virtualbox 停止工作...无限循环。

我不确定该系统上还有哪个显示服务器正在运行。

ps -e | grep tty
   1536 tty1     00:00:00 gdm-x-session
   1538 tty1     00:00:02 Xorg
   1785 tty1     00:00:00 gnome-session-b
   2730 tty2     00:00:00 gdm-x-session
   2732 tty2     00:05:01 Xorg
   2740 tty2     00:00:00 gnome-session-b

我猜是 Xorg。

这台电脑自 2010 年 (10.04) 以来一直运行 Ubuntu,此后每次 LTS 和非 LTS 版本都更新到最新版本。即使我更换硬件时更换了整个主板-cpu-gpu,也从未重新格式化。只需将 SSD 放入新硬件中,它就会启动。两次……同时还计划将 SSD 第三次移植到最新的主板-cpu-gpu 系统(英特尔/英伟达)

有人遇到过类似的问题吗?有人有解决方案吗?如何安装最新的 NVidia 驱动程序和 virtualbox-dkms 并让它们正常工作,而不会每次其中一个崩溃?

答案1

Virtualbox 论坛中有关于此错误相关的讨论,现在已修复。(https://forums.virtualbox.org/viewtopic.php?f=7&t=99611

适用于 Eoan 的最新版本 Virtualbox 6.1.14 对我有用(https://download.virtualbox.org/virtualbox/6.1.14/

相关内容