Virtualbox not running on Salix 15.0

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
laplume
Donor
Posts: 348
Joined: 4. Sep 2010, 07:40
Location: (VI) Italy

Virtualbox not running on Salix 15.0

Post 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
DidierSpaier
Posts: 518
Joined: 20. Jun 2016, 20:15

Re: Virtualbox not running on Salix 15.0

Post 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
User avatar
laplume
Donor
Posts: 348
Joined: 4. Sep 2010, 07:40
Location: (VI) Italy

Re: Virtualbox not running on Salix 15.0

Post 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
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Virtualbox not running on Salix 15.0

Post 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)
User avatar
laplume
Donor
Posts: 348
Joined: 4. Sep 2010, 07:40
Location: (VI) Italy

Re: Virtualbox not running on Salix 15.0

Post 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
User avatar
laplume
Donor
Posts: 348
Joined: 4. Sep 2010, 07:40
Location: (VI) Italy

Re: Virtualbox not running on Salix 15.0

Post 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
User avatar
laplume
Donor
Posts: 348
Joined: 4. Sep 2010, 07:40
Location: (VI) Italy

Re: Virtualbox not running on Salix 15.0

Post 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
Post Reply