[Solved] RHEL 7.5 breaks Guest Additions vboxvideo

Discussions about using Linux guests in VirtualBox.
Post Reply
jnpapado
Posts: 15
Joined: 14. Oct 2010, 14:20
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Solaris, Linux, Windows

[Solved] RHEL 7.5 breaks Guest Additions vboxvideo

Post by jnpapado »

[Mod edit: This has been reportedly fixed with builds greater than r122202. That would include the r122406 Windows 5.2.10 release, and any Test Build releases greater that r122202.]

Red Hat released RHEL 7.5 a few days ago and after upgrading, the guest additions vboxvideo will no longer compile. Attached are a couple of vboxadd-setup.log files.
This was a VM that was upgraded from RHEL 7.4 with VirtualBox 5.2.8 running on Windows 10 (1709). RHEL 7.4 was working fine and CentOS 7.4 still ok.
vboxadd-setup.log.7z
(5.58 KiB) Downloaded 59 times
Last edited by socratis on 4. May 2018, 22:54, edited 2 times in total.
Reason: Marked as [Solved].
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: RHEL 7.5 breaks Guest Additions vboxvideo

Post by socratis »

jnpapado wrote:Red Hat released RHEL 7.5 a few days ago
Well, 5.2.8 wasn't released a few days ago, a lot more than that, so you'd expect that there would be some issues, no? Your best bet at this point is to try the latest test builds and keep on trying. Red Hat is one of the supported guests, so I expect that the changes required will make it in VirtualBox.
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.
heitkergm
Posts: 17
Joined: 15. Jul 2014, 15:06

Re: RHEL 7.5 breaks Guest Additions vboxvideo

Post by heitkergm »

I have the same issue with RHEL 7.5

I tried the guest additions iso from the latest dev build, 121806, and the guest additions build failed as well...
heitkergm
Posts: 17
Joined: 15. Jul 2014, 15:06

Re: RHEL 7.5 breaks Guest Additions vboxvideo

Post by heitkergm »

The release of version 5.2.10 does NOT fix this problem.
Jeff Kayser
Posts: 10
Joined: 19. Apr 2018, 18:14

Re: RHEL 7.5 breaks Guest Additions vboxvideo

Post by Jeff Kayser »

I am running Virtualbox 5.2.8, Windows 7 64-bit host, Oracle Linux 7.5 64-bit guest.

Oracle Linux 7.5 with RH kernel failed with vboxvideo. However, Oracle Linux 7.5 with UEK kernel works with vboxvideo. (UEK kernel for Oracle Linux 7.5 just came out today, so you will need to do a "yum update" to get it). If you are running Oracle Linux 7.5, try the UEK kernel.

Google "Oracle Linux Release Notes for Unbreakable Enterprise Kernel Release 4 Update 2"
Navigate: New Features and Change => Header Packages for Development

yum update # to install Oracle Linux 7.5 UEK kernel.
Reboot into UEK kernel.
yum install kernel-headers kernel-devel kernel-uek-devel
Reboot into UEK kernel.
Install the Guest Additions.
Reboot into UEK kernel.
Test.

It worked for me.

Update:

A later update to Oracle Linux 7.5 UEK broke the video, so I downgraded to Virtualbox 5.1.34. 5.1.34 works fine.
Last edited by Jeff Kayser on 27. Apr 2018, 18:32, edited 1 time in total.
UniBi
Posts: 1
Joined: 20. Apr 2018, 11:25
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Linux, Windows

Re: RHEL 7.5 breaks Guest Additions vboxvideo

Post by UniBi »

Just tried the actual test build 5.2.11-122125. Still the same:

Code: Select all

make[1]: warning: -jN forced in submake: disabling jobserver mode.
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (		\
echo >&2;							\
echo >&2 "  ERROR: Kernel configuration is invalid.";		\
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";	\
echo >&2 ;							\
/bin/false)
and finally:

Code: Select all

In file included from /tmp/vbox.0/vboxvideo_guest.h:32:0,
                 from /tmp/vbox.0/modesetting.c:27:
/tmp/vbox.0/vbox_drv.h:195:21: error: field ‘base’ has incomplete type
  struct drm_encoder base;
                     ^
make[2]: *** [/tmp/vbox.0/modesetting.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /tmp/vbox.0/hgsmi_base.c:27:0:
/tmp/vbox.0/vbox_drv.h:195:21: error: field ‘base’ has incomplete type
  struct drm_encoder base;
                     ^
make[2]: *** [/tmp/vbox.0/hgsmi_base.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxvideo] Error 2
So waiting for a fresh test build.
Last edited by socratis on 20. Apr 2018, 13:18, edited 1 time in total.
Reason: Enclosed the information in [code] tag for better readability
edgilmore
Posts: 5
Joined: 17. Feb 2015, 18:05

Re: RHEL 7.5 breaks Guest Additions vboxvideo

Post by edgilmore »

Issue seems to be resolved with the 5.2.122202 test build

Ed
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: RHEL 7.5 breaks Guest Additions vboxvideo

Post by socratis »

Great, thanks for the feedback. Marking as [Solved].
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.
jnpapado
Posts: 15
Joined: 14. Oct 2010, 14:20
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Solaris, Linux, Windows

Re: [Solved] RHEL 7.5 breaks Guest Additions vboxvideo

Post by jnpapado »

edgilmore wrote:Issue seems to be resolved with the 5.2.122202 test build

Ed
Did not get a chance to try that one but I can verify it is resolved with 5.2.11-122245.
John P.
Yanick Girouard
Posts: 1
Joined: 4. May 2018, 21:12

Re: [Solved] RHEL 7.5 breaks Guest Additions vboxvideo

Post by Yanick Girouard »

Why is this marked as SOLVED when the stable release of VirtualBox is not fixed? I have a broken RHEL 7 desktop VM on Windows 10 that I can't use anymore without having to use the previous kernel, because I recently upgraded to the latest kernel. As per the doc the tests build won't work on Windows 10 unless you disable UEFI secure boot which I can't do on my work PC. How can I fix this without having to rebuild the VM completely?
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: [Solved] RHEL 7.5 breaks Guest Additions vboxvideo

Post by socratis »

Yanick Girouard wrote:Why is this marked as SOLVED when the stable release of VirtualBox is not fixed? ... As per the doc the tests build won't work on Windows 10 unless you disable UEFI secure boot
Because it is clearly spelled in the posts in here, that it is fixed for the test builds, which covers everyone on everything, except Windows with secure UEFI boot enabled. If you want to target your anger, please e-mail:
  • "You_Really_Screwed_Up_Royally_The_Certificate_Generation_Process@microsoft.com"
They'll know what you're talking about...
Yanick Girouard wrote:How can I fix this without having to rebuild the VM completely?
You'll have to wait for the next release, 5.2.12. Gut feeling? It's not going to be too long...
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.
jnpapado
Posts: 15
Joined: 14. Oct 2010, 14:20
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Solaris, Linux, Windows

Re: [Solved] RHEL 7.5 breaks Guest Additions vboxvideo

Post by jnpapado »

This was actually fixed for Windows hosts when 5.2.10 was finally made available.

I have not tested with other host platforms.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: [Solved] RHEL 7.5 breaks Guest Additions vboxvideo

Post by socratis »

You're absolutely right! I should have actually checked that! :shock:

Since according
edgilmore wrote:Issue seems to be resolved with the 5.2.122202 test build
jnpapado wrote:I can verify it is resolved with 5.2.11-122245.
and since the released version of Windows is 5.2.10 r122406, and since 122406 > 122245 > 122202, then anything greater that r122202 should have the fix. That's why the rest of the guests don't have it in their 5.2.10 releases, because for anything other than Windows, the build for 5.2.10 was 122088 (< 122202).

Thanks for pointing that out, I'll update the first post to reflect reality™ and which builds work.
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.
Jeff Kayser
Posts: 10
Joined: 19. Apr 2018, 18:14

Re: [Solved] RHEL 7.5 breaks Guest Additions vboxvideo

Post by Jeff Kayser »

I just tried it with Virtualbox 5.2.16 and Oracle Linux 7.5. Still broken for me. Downgrading to Virtualbox 5.1.34.
Post Reply