Been trying to install vbox on my fedora24 workstation.
it fails:
[ludo@Oulanl nagios]$ sudo /usr/lib/virtualbox/vboxdrv.sh setup
[sudo] password for ludo:
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMS[ OK ]
Starting VirtualBox kernel modules [FAILED]
(modprobe vboxdrv failed. Please use 'dmesg' to find out why)
[ludo@Oulanl nagios]$ dmesg |grep -i vbox
[ludo@Oulanl log]$ cat vbox-install.log
Uninstalling modules from DKMS
removing old DKMS module vboxhost version 5.0.24
-------- Uninstall Beginning --------
Module: vboxhost
Version: 5.0.24
Kernel: 4.5.7-300.fc24.x86_64 (x86_64)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
Removing any linked weak-modules
vboxdrv.ko:
- Uninstallation
- Deleting from: /lib/modules/4.5.7-300.fc24.x86_64/extra/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
vboxnetflt.ko:
- Uninstallation
- Deleting from: /lib/modules/4.5.7-300.fc24.x86_64/extra/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
vboxnetadp.ko:
- Uninstallation
- Deleting from: /lib/modules/4.5.7-300.fc24.x86_64/extra/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
vboxpci.ko:
- Uninstallation
- Deleting from: /lib/modules/4.5.7-300.fc24.x86_64/extra/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod....
DKMS: uninstall completed.
------------------------------
Deleting module version: 5.0.24
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxhost/5.0.24/source ->
/usr/src/vboxhost-5.0.24
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j4 KERNELRELEASE=4.5.7-300.fc24.x86_64 -C /lib/modules/4.5.7-300.fc24.x86_64/build M=/var/lib/dkms/vboxhost/5.0.24/build........
cleaning build area...
DKMS: build completed.
vboxdrv:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.5.7-300.fc24.x86_64/extra/
vboxnetflt.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.5.7-300.fc24.x86_64/extra/
vboxnetadp.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.5.7-300.fc24.x86_64/extra/
vboxpci.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.5.7-300.fc24.x86_64/extra/
Adding any weak-modules
depmod....
DKMS: install completed.
It feels like I'm missing something but I have no clue what is missing.
Install issue
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Install issue
How did you install VirtualBox? I can tell you that using the command line it works and draws in the necessary missing dependencies. See below.
Code: Select all
[root@localhost Downloads]# cat /etc/redhat-release
Fedora release 24 (Twenty Four)
[fedora@localhost ~]$ sudo -i
[sudo] password for fedora:
[root@localhost ~]# cd /home/fedora/Downloads/
[root@localhost Downloads]# dnf install ./VirtualBox-5.0-5.0.24_108355_fedora24-1.x86_64.rpm
Last metadata expiration check: 0:09:53 ago on Wed Jun 29 09:08:45 2016.
Dependencies resolved.
===============================================================================================================================================
Package Arch Version Repository Size
===============================================================================================================================================
Installing:
SDL x86_64 1.2.15-21.fc24 fedora 213 k
VirtualBox-5.0 x86_64 5.0.24_108355_fedora24-1 @commandline 67 M
Transaction Summary
===============================================================================================================================================
Install 2 Packages
Total size: 67 M
Total download size: 213 k
Installed size: 150 M
Is this ok [y/N]: y
Downloading Packages:
SDL-1.2.15-21.fc24.x86_64.rpm 426 kB/s | 213 kB 00:00
-----------------------------------------------------------------------------------------------------------------------------------------------
Total 181 kB/s | 213 kB 00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Installing : SDL-1.2.15-21.fc24.x86_64 1/2
Installing : VirtualBox-5.0-5.0.24_108355_fedora24-1.x86_64 2/2
Creating group 'vboxusers'. VM users must be member of that group!
No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMS [ OK ]
Starting VirtualBox kernel modules [ OK ]
Verifying : VirtualBox-5.0-5.0.24_108355_fedora24-1.x86_64 1/2
Verifying : SDL-1.2.15-21.fc24.x86_64 2/2
Installed:
SDL.x86_64 1.2.15-21.fc24 VirtualBox-5.0.x86_64 5.0.24_108355_fedora24-1
Complete!
[root@localhost Downloads]#
Re: Install issue
added the virtual box repo.
did a sudo dnf install virtualbox.
SDL is correctly installed on the machine too
did a sudo dnf install virtualbox.
SDL is correctly installed on the machine too
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Install issue
I don't know what else to tell you other than downloading the the package and then installing it as I did. I would purge the install you have, remove the repo and do it manually as I have seen a few times when the repo install gets pulled from the wrong repo.
Re: Install issue
I see exactly the same symptoms.
This applies even when installing directly from a downloaded RPM as suggested above:
/var/log/vbox-install.log looks identical to the OP's.
dmesg has nothing relevant (assuming this warning is benign):
Ideas? Any more logs/data I can provide?
Cheers,
Pete
This applies even when installing directly from a downloaded RPM as suggested above:
Code: Select all
[root@localhost Downloads]# dnf install ./VirtualBox-5.0-5.0.24_108355_fedora24-1.x86_64.rpm
Last metadata expiration check: 0:40:51 ago on Mon Jul 4 17:06:58 2016.
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
VirtualBox-5.0 x86_64 5.0.24_108355_fedora24-1 @commandline 67 M
Transaction Summary
================================================================================
Install 1 Package
Total size: 67 M
Installed size: 150 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Installing : VirtualBox-5.0-5.0.24_108355_fedora24-1.x86_64 1/1
Creating group 'vboxusers'. VM users must be member of that group!
No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMS [ OK ]
Starting VirtualBox kernel modules [FAILED]
(modprobe vboxdrv failed. Please use 'dmesg' to find out why)
Verifying : VirtualBox-5.0-5.0.24_108355_fedora24-1.x86_64 1/1
Installed:
VirtualBox-5.0.x86_64 5.0.24_108355_fedora24-1
Complete!
[root@localhost Downloads]#dmesg has nothing relevant (assuming this warning is benign):
Code: Select all
[root@localhost Downloads]# dmesg | grep -i box
[28821.700837] capability: warning: `VirtualBox' uses 32-bit capabilities (legacy support in use)
[root@localhost Downloads]#Cheers,
Pete
Re: Install issue
Same problem occurring with Asus UX305CA Fedora 24 installation:
Code: Select all
$ uname -a
Linux xxx.xxxx 4.5.5-300.fc24.x86_64 #1 SMP Thu May 19 13:05:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ sudo dnf list | grep VirtualBox
VirtualBox-5.0.x86_64 5.0.24_108355_fedora24-1 @@commandline
$ sudo /usr/lib/virtualbox/vboxdrv.sh setup
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMS[ OK ]
Starting VirtualBox kernel modules [FAILED]
(modprobe vboxdrv failed. Please use 'dmesg' to find out why)
$ dmesg | grep -i box
[ 307.209832] capability: warning: `VirtualBox' uses 32-bit capabilities (legacy support in use)