Public bug reported:
I cannot power up the virtual machine in virtual box anymore. Last week
it still worked without a problem.
It's a windows 10 virtual machine in powered off state
when I click on Start I get the following error:
###################
Failed to open a session for the virtual machine w10.
The virtual machine 'w10' has terminated unexpectedly during startup with exit
code 1 (0x1).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
###################
and in another window:
###################
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.
###################
when I try modprobe, I get:
###################
$ sudo modprobe vboxdrv
modprobe: FATAL: Module vboxdrv not found in directory
/lib/modules/5.8.0-36-generic
###################
when I try to install it (again, aparently, it has gone?!)
###################
$ sudo apt install virtualbox-guest-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
virtualbox-guest-dkms is already the newest version
(6.1.10-dfsg-1~ubuntu1.20.04.1).
The following package was automatically installed and is no longer required:
libllvm10:i386
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up virtualbox-guest-dkms (6.1.10-dfsg-1~ubuntu1.20.04.1) ...
Removing old virtualbox-guest-6.1.10 DKMS files...
------------------------------
Deleting module version: 6.1.10
completely from the DKMS tree.
------------------------------
Done.
Loading new virtualbox-guest-6.1.10 DKMS files...
Building for 5.8.0-36-generic
Building initial module for 5.8.0-36-generic
ERROR: Cannot create report: [Errno 17] File exists:
'/var/crash/virtualbox-guest-dkms.0.crash'
Error! Bad return status for module build on kernel: 5.8.0-36-generic (x86_64)
Consult /var/lib/dkms/virtualbox-guest/6.1.10/build/make.log for more
information.
dpkg: error processing package virtualbox-guest-dkms (--configure):
installed virtualbox-guest-dkms package post-installation script subprocess
returned error exit status 10
Errors were encountered while processing:
virtualbox-guest-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
###################
In a quick internet search I find the suggestion to reconfigure:
###################
$ sudo dpkg --configure -a
Setting up virtualbox-guest-dkms (6.1.10-dfsg-1~ubuntu1.20.04.1) ...
Removing old virtualbox-guest-6.1.10 DKMS files...
------------------------------
Deleting module version: 6.1.10
completely from the DKMS tree.
------------------------------
Done.
Loading new virtualbox-guest-6.1.10 DKMS files...
Building for 5.8.0-36-generic
Building initial module for 5.8.0-36-generic
ERROR: Cannot create report: [Errno 17] File exists:
'/var/crash/virtualbox-guest-dkms.0.crash'
Error! Bad return status for module build on kernel: 5.8.0-36-generic (x86_64)
Consult /var/lib/dkms/virtualbox-guest/6.1.10/build/make.log for more
information.
dpkg: error processing package virtualbox-guest-dkms (--configure):
installed virtualbox-guest-dkms package post-installation script subprocess
returned error exit status 10
Errors were encountered while processing:
virtualbox-guest-dkms
###################
Now, I give up. I'll attach this crash file as well
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: virtualbox 6.1.10-dfsg-1~ubuntu1.20.04.1
ProcVersionSignature: Ubuntu 5.8.0-36.40~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-36-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.14
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Thu Jan 14 15:58:25 2021
InstallationDate: Installed on 2020-05-10 (249 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
SourcePackage: virtualbox
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: virtualbox (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug focal
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1911699
Title:
virtualbox: Kernel driver not installed (rc=-1908)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1911699/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs