Ask Your Question
1

VirtualBox 5.0.16 guest addition in Fedora 24 4.6.3

asked 2016-07-14 02:31:27 -0500

BrnVrn gravatar image

I try to install a Fedora 24 guest.
I have the required packages: dkms, kernel, kernels headers, gcc-c++ ... Everything is uptodate, but I have an error:

[toto@localhost ~]$ sudo /mnt/VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.0.16 Guest Additions for Linux............
VirtualBox Guest Additions installer
Removing installed version 5.0.16 of VirtualBox Guest Additions...
Removing existing VirtualBox DKMS kernel modules[  OK  ]
Removing existing VirtualBox non-DKMS kernel modules[  OK  ]
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox DKMS kernel modules[  OK  ]
Removing existing VirtualBox non-DKMS kernel modules[  OK  ]
Building the VirtualBox Guest Additions kernel modules
Building the main Guest Additions module[FAILED]
(Look at /var/log/vboxadd-install.log to find out what went wrong)
Doing non-kernel setup of the Guest Additions[  OK  ]

in /var/log/vboxadd-install.log:

Uninstalling modules from DKMS
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxguest/5.0.16/source ->
                 /usr/src/vboxguest-5.0.16

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j1 KERNELRELEASE=4.6.3-300.fc24.x86_64 -C /lib/modules/4.6.3-300.fc24.x86_64/build M=/var/lib/dkms/vboxguest/5.0.16/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.6.3-300.fc24.x86_64 (x86_64)
Consult /var/lib/dkms/vboxguest/5.0.16/build/make.log for more information.

In /var/lib/dkms/vboxguest/5.0.16/build/make.log:

DKMS make.log for vboxguest-5.0.16 for kernel 4.6.3-300.fc24.x86_64 (x86_64)
Thu Jul 14 11:05:57 CEST 2016
make: Entering directory '/usr/src/kernels/4.6.3-300.fc24.x86_64'
  LD      /var/lib/dkms/vboxguest/5.0.16/build/built-in.o
  LD      /var/lib/dkms/vboxguest/5.0.16/build/vboxguest/built-in.o
  CC [M]  /var/lib/dkms/vboxguest/5.0.16/build/vboxguest/VBoxGuest-linux.o
  CC [M]  /var/lib/dkms/vboxguest/5.0.16/build/vboxguest/VBoxGuest.o
  CC [M]  /var/lib/dkms/vboxguest/5.0.16/build/vboxguest/GenericRequest.o
  CC [M]  /var/lib/dkms/vboxguest/5.0.16/build/vboxguest/HGCMInternal.o
  CC [M]  /var/lib/dkms/vboxguest/5.0.16/build/vboxguest/Init.o
  CC [M]  /var/lib/dkms/vboxguest/5.0.16/build/vboxguest/PhysHeap.o
  CC [M]  /var/lib/dkms/vboxguest/5.0.16/build/vboxguest/SysHlp.o
  CC [M]  /var/lib/dkms/vboxguest/5.0.16/build/vboxguest/VMMDev.o
  CC [M]  /var/lib/dkms/vboxguest/5.0.16/build/vboxguest/r0drv/alloc-r0drv.o
  CC [M]  /var/lib/dkms/vboxguest/5.0.16/build/vboxguest/r0drv/initterm-r0drv.o
  CC [M]  /var/lib/dkms/vboxguest/5.0.16/build/vboxguest/r0drv/memobj-r0drv.o
  CC [M]  /var/lib/dkms/vboxguest/5.0.16/build/vboxguest/r0drv/mpnotification-r0drv.o
  CC [M]  /var/lib/dkms/vboxguest/5.0.16/build/vboxguest/r0drv/powernotification-r0drv.o
  CC [M]  /var/lib/dkms/vboxguest/5.0.16/build/vboxguest/r0drv/linux/alloc-r0drv-linux.o
  CC [M]  /var/lib/dkms/vboxguest/5.0.16/build/vboxguest ...
(more)
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-07-18 09:41:15 -0500

BrnVrn gravatar image

updated 2016-07-18 10:28:39 -0500

I don't know why it didn't work, but I have a work arround.

Since I installed VirtualBox from RPMFusion on the host machine, I tried to install the Guest addition from the RPMFusion package:

sudo dnf install VirtualBox-guest-additions

And had to perform some operation as explained here http://rpmfusion.org/Howto/VirtualBox...

sudo akmods
sudo systemctl restart systemd-modules-load
sudo systemctl restart vboxservice

and it worked (note the host has version 5.0.16 and the Guest the additions version 5.0.24 ...) But I can successfully run

vboxmanage guestproperty get vb-fedora-24 "/VirtualBox/GuestInfo/Net/0/V4/IP"
VBoxManage guestproperty enumerate vb-fedora-24

Now I will try to use Oracle RPM, they seems to be more up-to-date ...

edit flag offensive delete link more

Comments

for early access you also got : https://copr.fedorainfracloud.org/cop... , I'm building 5.0.26 ATM, F23 RPMFusion update testing got 5.0.24, it was published today !

sergiomb gravatar imagesergiomb ( 2016-07-18 16:56:24 -0500 )edit
0

answered 2016-07-19 17:40:05 -0500

Try to use virt-manager dnf install virt-manager

its far way better than virtualbox

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-07-14 02:31:27 -0500

Seen: 5,851 times

Last updated: Jul 19 '16