Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

virtualbox-ose-dkms: fails to build DKMS module on the latest kernel #24551

Closed
FirstZero opened this issue Aug 30, 2020 · 7 comments
Closed

virtualbox-ose-dkms: fails to build DKMS module on the latest kernel #24551

FirstZero opened this issue Aug 30, 2020 · 7 comments

Comments

@FirstZero
Copy link
Contributor

  • xuname:
    Void 5.8.5_1 x86_64 AuthenticAMD uptodate rrrrmmnFFFFFFF
  • package:
    virtualbox-ose-6.1.10_2
    virtualbox-ose-dkms-6.1.10_2

Expected behavior

The DKMS module for virtualbox-ose-6.1.10 is getting built.

Actual behavior

The DKMS module for virtualbox-ose-6.1.10 is not getting built.

[*] Configuring unpacked packages
virtualbox-ose-dkms-6.1.10_2: configuring ...
DKMS module 'virtualbox-ose-6.1.10' already added, skipping.
Skipping kernel-5.3.18_1. kernel-headers package not installed...
Building DKMS module 'virtualbox-ose-6.1.10' for kernel-5.8.5_1... FAILED!
DKMS module 'virtualbox-ose-6.1.10' failed to build, please check /var/lib/dkms
for errors in the log file.
virtualbox-ose-dkms-6.1.10_2: installed successfully.

Steps to reproduce the behavior

Install or rebuild virtualbox-ose-dkms on the latest kernel linux5.8

@sgn
Copy link
Member

sgn commented Sep 1, 2020

You need linux5.8-headers packages, in general, you need to install corresponding for the kernel to build dkms.

@ericonr
Copy link
Member

ericonr commented Sep 1, 2020

Skipping kernel-5.3.18_1. kernel-headers package not installed...

@FirstZero
Copy link
Contributor Author

Last time I checked I was sure I had it installed..

Checking again I didnt.. lets pretend this didnt happen and close that.

@FirstZero
Copy link
Contributor Author

FirstZero commented Sep 1, 2020

Alright actually Im going to reopen this because installing the headers didnt fix the issue.
Note that its saying it cant find kernel-5.3.18_1. But the installed version by linux5.8-headers/linux5.8 is kernel-5.8.5_1.
I wasnt able to find linux5.3 headers either
UPDATE: Seems like VirtualBox doesnt work with the latest kernel yet

@FirstZero FirstZero reopened this Sep 1, 2020
@pullmoll
Copy link
Member

pullmoll commented Sep 1, 2020

I can confirm that virtualbox-ose-dkms fails to build for linux5.8. There is no easy solution and virtualbox-ose-6.1.12 does not fix the problem(s) either. See: https://www.virtualbox.org/ticket/19644
I tried to apply the patches to virtualbox-ose-6.1.12 but we'd have to patch the kernel also (see local_patches in the linked article).

@steinex
Copy link
Contributor

steinex commented Sep 4, 2020

VirtualBox 6.1.14 is out which adds support for Linux 5.8.

@pullmoll
Copy link
Member

pullmoll commented Sep 8, 2020

b3ca34d

@pullmoll pullmoll closed this as completed Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants