VBoxGuestAdditions_5.2.22 fails

Discussions about using Windows guests in VirtualBox.
Post Reply
virtron
Posts: 4
Joined: 25. Apr 2011, 20:28
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Red Hat Linux 6

VBoxGuestAdditions_5.2.22 fails

Post by virtron »

My Host is MS Windows 10 system, where I have VirtualBox running.
I recently upgraded to vbox 5.2.22 and noticed my <Devices> - <Install Guest Additons ... > don't work

I did the following to run the Guest additions in from command line:

1. made sure the <Settings> <Storage> <VBoxGuestAdditions_5.2.22.iso> is selected.

2. Then in the guest VM, which is CentOS 7 I manually mounted the cd:
# mount /dev/cdrom /mnt/VboxAdditions/
# cd /mnt/VboxAdditions/
# ./VBoxLinuxAdditions.run
Note: I made sure all my dependency pkgs were installed, e.g. dkms, make, kernel-devel, bzip2, etc
# Definitely the VBoxLinuxAdditions.run is failing ...
# Following is the snippets of the error msg from /var/log/vboxadd-setup.log
<snip>
[root@client20 log]# tail -15 vboxadd-setup.log
                 from /tmp/vbox.0/vbox_mode.c:35:
include/drm/drm_encoder.h:221:35: note: expected ‘struct drm_file *’ but argument is of type ‘int’
 static inline struct drm_encoder *drm_encoder_find(struct drm_device *dev,
                                   ^
/tmp/vbox.0/vbox_mode.c:358:3: error: too few arguments to function ‘drm_encoder_find’
   return drm_encoder_find(connector->dev, enc_id);
   ^
In file included from /tmp/vbox.0/vbox_drv.h:89:0,
                 from /tmp/vbox.0/vbox_mode.c:35:
include/drm/drm_encoder.h:221:35: note: declared here
 static inline struct drm_encoder *drm_encoder_find(struct drm_device *dev,
                                   ^
make[2]: *** [/tmp/vbox.0/vbox_mode.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxvideo] Error 2
<snip>
Note: this appears to be a bug with the new release. I wonder weather there is a workaround?
Appreciate dedicated vbox experts give me an insight to my issue.
Last edited by socratis on 26. Dec 2018, 18:00, edited 1 time in total.
Reason: Enclosed the information in [quote][pre] tags for better readability
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VBoxGuestAdditions_5.2.22 fails

Post by socratis »

Try the latest 5.2.x test build from https://www.virtualbox.org/wiki/Testbuilds
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply