Opened 5 years ago
Closed 5 years ago
#19546 closed defect (invalid)
Does not locate installed kernel-header/kernel-devel on Centos81.
Reported by: | JimWh | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 6.1.6 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | Linux |
Description
Fresh build of Centos8, immediately updated (to 8.1 it seems), then installed VB. Started the app, created a VM but it won't load the VM giving the not setup to build kernel module error. I ran /sbin/vboxconfig but the error persistd. As I do not operate with secure boot and DO have the latest version of kernel-headers and kernel-devel not sure what the error can be. I did notice from the script output that VB has a different package name for kernel-devel
it recommends: kernel-devel kernel-devel-4.18.0-147.el8.x86_64 installed: kernel-devel-4.18.0-147.8.1.el8_1.x86_64
we pick the current running kernels version for building the GA modules during installation time. not some arbitrary kernel that also may have been installed and may or may not be booted into next. at the time when you installed virtualbox GAs the running kernel was 4.18.0-147.el8.x86_64 and not the newer, later installed 4.18.0-147.8.1.el8_1.x86_64 from the upgrade. also you need perl, make, gcc, kernel-devel and something related to elf-signing be installed, the install script will suggest you the different distro-dependend elfsign packages.
after all, next fime when you have configuration problems, please use the forum or the email lists [1] to gather for help rather then abusing the bug tracking system.
[1] https://www.virtualbox.org/wiki/Community