Page 1 of 1

Virtualbox not running on Salix 15.0

Posted: 31. Dec 2022, 13:23
by laplume
Hello Everyone,

Seems I am having troubles in running virtualbox under Salix 15.0 (fresh install 64bit).
System is complaining that vboxdrv module is missing

Code: Select all

antonio@darkstar:~$ virtualbox
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (5.15.80) 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.
antonio@darkstar:~$ sudo modprobe vboxdrv
Password: 
modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.15.80
antonio@darkstar:~$ 
although all necessary kernel files seem to be installed and updated

Code: Select all

antonio@darkstar:~$ ls /var/log/packages/kernel*
/var/log/packages/kernel-firmware-20221123_cdf9499-noarch-1
/var/log/packages/kernel-headers-5.15.80-x86-1
/var/log/packages/kernel-huge-5.15.80-x86_64-1
/var/log/packages/kernel-modules-5.15.80-x86_64-1
/var/log/packages/kernel-source-5.15.80-noarch-1
antonio@darkstar:~$ 
That's quite weird. I have checked in /etc/group and my user is added to vboxusers, so now I am clueless.
Just for the records; the same Virtualbox binary has been used in a 14.2 install and works perfectly.
What am I missing?
Any advice is appreciated, thanks in advance.

Regards and Happy Festivities to the Salix community,
Antonio

Re: Virtualbox not running on Salix 15.0

Posted: 31. Dec 2022, 16:05
by DidierSpaier
Hello Antonio,

VirtualBox needs its out of tree modules (not provided in the kernel-modules package) to be (re)built for each kernel version, so reinstall it from scratch.

Cheers,
Didier

Re: Virtualbox not running on Salix 15.0

Posted: 1. Jan 2023, 10:33
by laplume
Hello Didier,

Wiped completely previous installation and run the installer once again, but unfortunately the problem remains. I am wondering if this can be related to the fact that the installer I am using is too old for the kernel running on 15.0 (VirtualBox-6.0.14-133895-Linux_amd64). I will try to download a more recent version of Virtualbox installer and see if the problem gets fixed.
In the meantime I am also giving Gnome Boxes a spin (thanks to Flathub installer); maybe I can keep this one if performances are equivalent.
Thanks a lot anyway for your support.
Regards,
Antonio

Re: Virtualbox not running on Salix 15.0

Posted: 1. Jan 2023, 14:25
by djemos
Download and build virtualbox-kernel (6.1.34) (You will need kernel source package) Then download and build
virtualbox (6.1.34)
You can also install virtualbox-addons (6.1.34) and virtualbox-extension-pack (6.1.34)

Re: Virtualbox not running on Salix 15.0

Posted: 1. Jan 2023, 17:17
by laplume
Hello djemos,

Headed to the two Slackbuilds. Virtualbox-kernel package built correctly, whereas virtualbox package stopped during the making.
Here's the output:

Code: Select all

Checking for environment: Determined build machine: linux.amd64, target machine: linux.amd64, OK.
Checking for kBuild: found, OK.
Checking for gcc: found version 11.2.0, OK.
Checking for Open Watcom: 
  ** Open Watcom was not found, using alternative BIOS sources!
Checking for iasl: 
  ** iasl (variable IASL) not found!


Any suggestion is welcome.
Thanks in advance and regards,
Antonio

Re: Virtualbox not running on Salix 15.0

Posted: 1. Jan 2023, 21:43
by laplume
Hello All,
As for what concerns the blocking point for iasl I solved installing the acpica package via slapt-get. Now the package is being compiled. I will report here about any further showstoppers.

Regards,
Antonio

Re: Virtualbox not running on Salix 15.0

Posted: 2. Jan 2023, 18:01
by laplume
Hello All,

Finally both packages for virtualbox-kernel and virtualbox created and installed with no problems.
Everything is running fine now on Salix 15.0. :D

Thanks everyone for helping to address the issue.

Regards,
Antonio