/sbin/vboxconfig fails on ElRepo kernel-ml > 5.17.8-1

Discussions related to using VirtualBox on Linux hosts.
Post Reply
incident41
Posts: 58
Joined: 14. May 2012, 18:50
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 10 64-bit
Location: Italy

/sbin/vboxconfig fails on ElRepo kernel-ml > 5.17.8-1

Post by incident41 »

I run ElRepo kernels on top of up-to-date Oracle Linux 8 for my Dell Latitude 7420 because of various things that didn't quite work with either RHEL or UEK6 kernels.

After some time since its last usage, I decided to fire up my Windows 10 VM, and it wouldn't come up because of a missing vboxdrv.ko. Too bad, /sbin/vboxconfig also croaked.

It seems to my untrained eye that something changed as far as GCC flags so that now -Werror ensures every warning causes a build failure.

Thought I'd run this by you for comments before going and submitting a ticket to ElRepo... attaching failed build log from 5.18.0-1 kernel-ml (5.17.9-1 also fails, 5.17.8-1 works).

Thanks!
Attachments
vbox-setup.log
(105.86 KiB) Downloaded 13 times
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: /sbin/vboxconfig fails on ElRepo kernel-ml > 5.17.8-1

Post by fth0 »

FWIW, as of today, Linux kernel 5.18 is not yet supported by VirtualBox.
incident41
Posts: 58
Joined: 14. May 2012, 18:50
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 10 64-bit
Location: Italy

Re: /sbin/vboxconfig fails on ElRepo kernel-ml > 5.17.8-1

Post by incident41 »

fth0 wrote:FWIW, as of today, Linux kernel 5.18 is not yet supported by VirtualBox.
Thanks for the pointer - didn't know. Still, the first failing kernel is a 5.17.9 according to ElRepo naming :wink:
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: /sbin/vboxconfig fails on ElRepo kernel-ml > 5.17.8-1

Post by fth0 »

FWIW, new VirtualBox test builds 6.1.35r151573 have been published. They are supposed to support Linux kernel 5.18 on the host and in the guest.
incident41
Posts: 58
Joined: 14. May 2012, 18:50
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 10 64-bit
Location: Italy

Re: /sbin/vboxconfig fails on ElRepo kernel-ml > 5.17.8-1

Post by incident41 »

Thanks for the input, that was useful - I am now running my Windows 10 VM in the above testbuild under 5.18.1-1.

There's still some quirk during the module rebuild process, as after updating both VirtualBox-6.1 to the testbuild, ElRepo kernel to 5.18.1-1 and rebooting I:
- didn't have the module built for the newly installed kernel
- couldn't run /sbin/vboxconfig as it complained like this

Code: Select all

        include/generated/autoconf.h or include/config/auto.conf are missing.

So I had, like in the previous days, to reinstall the appropriate kernel-ml-devel package to restore what appears to have been an unwanted removal of config files somewhere in the process.

Other than that, it looks fine now - thanks!
Post Reply