Public bug reported:

after installing virtual box: `sudo apt install virtualbox` there seemed
to be an error with my kernel: `kernel headers for this kernel does not
seem to be installed.`.

I installed the headers: `sudo apt-get install linux-
headers-5.8.0-33-generic` and wen trying to `sudo dpkg-reconfigure
virtualbox-dkms` there is an error:

```
ERROR: Cannot create report: [Errno 17] File exists: 
'/var/crash/virtualbox-dkms.0.crash'
Error! Bad return status for module build on kernel: 5.8.0-33-generic (x86_64)
Consult /var/lib/dkms/virtualbox/6.1.10/build/make.log for more information.

```

and after `sudo dpkg-reconfigure virtualbox`:

```
Job for vboxweb.service failed because the service did not take the steps 
required by its unit configuration.
See "systemctl status vboxweb.service" and "journalctl -xe" for details.
Job for virtualbox.service failed because the control process exited with error 
code.
See "systemctl status virtualbox.service" and "journalctl -xe" for details.
invoke-rc.d: initscript virtualbox, action "restart" failed.
● virtualbox.service - LSB: VirtualBox Linux kernel module
     Loaded: loaded (/etc/init.d/virtualbox; generated)
     Active: failed (Result: exit-code) since Fri 2020-12-18 22:39:07 CET; 5ms 
ago
       Docs: man:systemd-sysv-generator(8)
    Process: 42222 ExecStart=/etc/init.d/virtualbox start (code=exited, 
status=1/FAILURE)

dic 18 22:39:07 chale-MS systemd[1]: Starting LSB: VirtualBox Linux kernel 
module...
dic 18 22:39:07 chale-MS virtualbox[42222]:  * Loading VirtualBox kernel 
modules...
dic 18 22:39:07 chale-MS virtualbox[42222]:  * No suitable module for running 
kernel found
dic 18 22:39:07 chale-MS virtualbox[42222]:    ...fail!
dic 18 22:39:07 chale-MS systemd[1]: virtualbox.service: Control process 
exited, code=exited, status=1/FAILURE
dic 18 22:39:07 chale-MS systemd[1]: virtualbox.service: Failed with result 
'exit-code'.
dic 18 22:39:07 chale-MS systemd[1]: Failed to start LSB: VirtualBox Linux 
kernel module.

```

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: virtualbox-dkms 6.1.10-dfsg-1~ubuntu1.20.04.1
ProcVersionSignature: Ubuntu 5.8.0-33.36~20.04.1-generic 5.8.17
Uname: Linux 5.8.0-33-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.14
Architecture: amd64
CasperMD5CheckResult: skip
DKMSKernelVersion: 5.8.0-33-generic
Date: Fri Dec 18 22:29:02 2020
DuplicateSignature: 
dkms:virtualbox-dkms:6.1.10-dfsg-1~ubuntu1.20.04.1:/var/lib/dkms/virtualbox/6.1.10/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:596:43:
 error: ‘struct mm_struct’ has no member named ‘mmap_sem’; did you mean 
‘mmap_base’?
InstallationDate: Installed on 2020-12-18 (0 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
PackageVersion: 6.1.10-dfsg-1~ubuntu1.20.04.1
Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 
3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt  2.0.2ubuntu0.2
SourcePackage: virtualbox
Title: virtualbox-dkms 6.1.10-dfsg-1~ubuntu1.20.04.1: virtualbox kernel module 
failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: virtualbox (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1908757

Title:
  virtualbox-dkms 6.1.10-dfsg-1~ubuntu1.20.04.1: virtualbox kernel
  module failed to build

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1908757/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to