Description of problem: I decided to rebuild the 5.7.1-desktop-1.mga8 src.rpm from Cauldron and it installed and runs without any apparent issues. However, if I decide to reinstall Virtualbox to create a new VM it doesn't seem to find the vboxdrv kernel module. I tried using the solution mentioned here ( https://askubuntu.com/questions/53364/command-to-rebuild-all-dkms-modules-for-all-installed-kernels ), but that fails due to initramfs-tools being nonexistant in Mageia 7. Can any of the solutions mentioned on that page be adapted to work with future kernels and virtualbox versions? dkms status shows: virtualbox, 6.0.20-1.mga7, 5.6.14-desktop-2.mga7, x86_64: installed-binary from 5.6.14-desktop-2.mga7 Version-Release number of selected component (if applicable): 6.0.20 How reproducible: All the time. Steps to Reproduce: 1. Uninstall Virtualbox. 2. Rebuild a kernel src.rpm from Cauldron. 3. Boot the rebuilt kernel. 4. Install Virtualbox. 5. Run VirtualBox from terminal since there is no menu item readded. 6. See the error displayed in the attached file. 7. Run sudo /sbin/vboxconfig and confirm that it doesn't work because vboxconfig does not exist in /sbin/
Created attachment 11710 [details] Output from running VirtualBox in the terminal window
CC: (none) => lovaren
Kristoffer, this is another bug based on a DIY build. Because the kernel is not a standard Mageia package ("I decided to rebuild the 5.7.1-desktop-1.mga8 src.rpm") I doubt whether it will be accepted; I leave that to the kernel people to judge; who also do Vbox. Since the attachment is short, I reproduce it here:- $ VirtualBox WARNING: The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (5.7.1-desktop-1.mga7) or it failed to load. Please recompile the kernel module and install it by sudo /sbin/vboxconfig You will not be able to start VMs until this problem is fixed.
Assignee: bugsquad => kernel
If you use a newer kernel, you need tu also update at least dkms-virtualbox as the old one does not build with new kernels.
Status: NEW => RESOLVEDResolution: (none) => INVALIDCC: (none) => pterjan