[Fixed] Guest Additions 6.0.10 will not compile in RHEL 7.7 (#18917)

Discussions about using Linux guests in VirtualBox.

[Fixed] Guest Additions 6.0.10 will not compile in RHEL 7.7 (#18917)

Postby jnpapado » 8. Aug 2019, 00:43


ModEdit; related ticket: #18917: VBox 6.0.10 GAs fail to compile on Red Hat/CentOS/OL 7.7; also Red Hat 8.1 Beta

Red Hat released RHEL 7.7 a few days ago and the 6.0.10-130520 Guest Additions will not compile. I also tried 6.0.11-132407 from test builds.
The host is Windows 10 - 1903 and the setup log is attached which includes the RHEL kernel version in it.
Attachments
vboxadd-setup.log
(2.87 KiB) Downloaded 25 times
Last edited by socratis on 12. Sep 2019, 08:21, edited 2 times in total.
Reason: Marked as [Fixed].
jnpapado
 
Posts: 15
Joined: 14. Oct 2010, 14:20
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Solaris, Linux, Windows

Re: Guest Additions 6.0.10 will not compile in RHEL 7.7

Postby JoergK » 8. Aug 2019, 09:56

Good Morning,

Same problem here:

Host: Ubuntu 18.04.3 LTS
Guest: Red Hat Enterprise Linux Server release 7.7 (Maipo)
Guest kernel: 3.10.0-1062.el7.x86_64
Guest additions: 6.0.10 r132072

Please find the VBox.log and vboxadd-setup.log attached to this post.

I'm not sure if this is a problem the VirtualBox team or the guys at Red Hat have to solve. Is there anything else we could do to isolate the issue? Should we discuss this issue here first or should I go ahead and create a new ticket for this?

Best regards,
Joerg
Attachments
VBox-2019-08-08.log.zip
VBox.log
(23.93 KiB) Downloaded 8 times
vboxadd-setup.log.zip
(1.62 KiB) Downloaded 8 times
JoergK
 
Posts: 26
Joined: 25. Aug 2017, 09:37

Re: Guest Additions 6.0.10 will not compile in RHEL 7.7

Postby mpack » 8. Aug 2019, 12:45

I doubt you'll get much response if you don't say what the compile error was. The log is nice to have, but it will not contain guest OS error messages.

The user manual lists the prequisities for installing Linux GAs, hopefully you already read through it. Though frankly it has become hard to read, cross referencing another part of the manual which doesn't really help either. I found a clearer guide by Googling.
mpack
Site Moderator
 
Posts: 29692
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Guest Additions 6.0.10 will not compile in RHEL 7.7

Postby jnpapado » 8. Aug 2019, 13:54

The compile error is in the vboxadd-setup.log file. There is really nothing else when installing other that it failed and to consult the log file for details.

I should add that is is the vboxvideo module that seems to be the one not compiling,vboxsf and vboxguest work ok.

There was a similar issue with the GA in the 5.2.8 release and going to RHEL 7.5.

I would also like to note that I am not complaining, just wanted to bring it to the attention of people that love and use VBox in their daily life and toil.
jnpapado
 
Posts: 15
Joined: 14. Oct 2010, 14:20
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Solaris, Linux, Windows

Re: Guest Additions 6.0.10 will not compile in RHEL 7.7

Postby JoergK » 8. Aug 2019, 14:11

I agree with jnpapado. I'm not complaining, I'm trying to help solve the issue.

In my case it is the vboxvideo module that fails, too. The prequisities for installing Linux GAs are met by my guest os.

There were several issues like this in the past. They were fixed by someone who was able to isolate the issue and fixed it in a new version of the GA. I would like to assist by gathering information that helps to fix the issue. So I posted here before creating a ticket with missing information that no one reads.
JoergK
 
Posts: 26
Joined: 25. Aug 2017, 09:37

Re: Guest Additions 6.0.10 will not compile in RHEL 7.7

Postby mahansbane » 9. Aug 2019, 14:00

I have had the same problem with Linus Mint Mate version. It works on my Mint xfce VMs but for some reason won't compile on the Mate VM. I rolled back to the 6.0.8 and await the next version to see how that goes.
mahansbane
 
Posts: 3
Joined: 19. Apr 2019, 02:36

Re: Guest Additions 6.0.10 will not compile in RHEL 7.7

Postby JoergK » 11. Aug 2019, 20:38

Today, I tried the testbuild 6.0.11-132500 but it keeps failing. As far as I could see for the same reason as last time.

In the log I found this:
Code: Select all   Expand viewCollapse view
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 ;                     \


But I don't know how to run the commands on kernel src. If this could solve the build problem could anybody help me out here?

Best regards,

JoergK
Attachments
vboxadd-setup.log
GA-6.0.11-132500
(5.04 KiB) Downloaded 7 times
JoergK
 
Posts: 26
Joined: 25. Aug 2017, 09:37

Re: Guest Additions 6.0.10 will not compile in RHEL 7.7

Postby jnpapado » 12. Aug 2019, 14:30

That seems to be a normal message for a RHEL system, although it does not appear on CenOS of the same release.
I have also tried GA 6.0.11-132500 with no success.
I believe the problem error is toward the bottom of the vboxadd-setup.log:
Code: Select all   Expand viewCollapse view
In file included from /tmp/vbox.0/hgsmi_base.c:27:0:
/tmp/vbox.0/vbox_drv.h:187:31: error: field ‘mem_global_ref’ has incomplete type
   struct drm_global_reference mem_global_ref;
                               ^
/tmp/vbox.0/vbox_drv.h:188:28: error: field ‘bo_global_ref’ has incomplete type
   struct ttm_bo_global_ref bo_global_ref;
                            ^
make[2]: *** [/tmp/vbox.0/hgsmi_base.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxvideo] Error 2
Attachments
vboxadd-setup.log
(2.99 KiB) Downloaded 7 times
vboxadd-install.log
(662 Bytes) Downloaded 9 times
jnpapado
 
Posts: 15
Joined: 14. Oct 2010, 14:20
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Solaris, Linux, Windows

Re: Guest Additions 6.0.10 will not compile in RHEL 7.7

Postby srivatsans » 14. Aug 2019, 11:56

I observe the same issue and I see the same error in the logs as well.

However this doesn't seem to be tied to a virtualbox version, but rather the kernel upgrade from the RHEL 7.7 seems to have broken the compatibility.

I am on 6.0.8 and upgrading to a 7.7 breaks the GA compatibility and particularly vboxvideo
srivatsans
 
Posts: 1
Joined: 14. Aug 2019, 11:48

Re: Guest Additions 6.0.10 will not compile in RHEL 7.7

Postby nixuser » 15. Aug 2019, 12:28

Test Build Guest Additions ISO 6.0.11 revision 132672 still doesn't address the RHEL 7.7 kernel changes.
nixuser
 
Posts: 20
Joined: 12. Dec 2018, 04:56

Re: Guest Additions 6.0.10 will not compile in RHEL 7.7

Postby Simple07 » 15. Aug 2019, 15:04

I am having similar problems with RHEL 8.1 beta, GustAdditions are failing. I am confident they will fix it soon as CentOS 8 will be released any time now.
Simple07
 
Posts: 100
Joined: 5. Nov 2014, 16:05

Re: Guest Additions 6.0.10 will not compile in RHEL 7.7

Postby nixuser » 16. Aug 2019, 02:41

RHEL kernels are always going to be problematic because they identify as old kernels but have very recent kernel features that don't break binary compatibility back ported to them, and it becomes an exercise in having to treat them as exception cases because a kernel identifying itself as 3.10 has code in it from 5.0 etc etc. I wish Red Hat could liaise with Oracle to cater for the changes before they release.
nixuser
 
Posts: 20
Joined: 12. Dec 2018, 04:56

Re: Guest Additions 6.0.10 will not compile in RHEL 7.7

Postby socratis » 16. Aug 2019, 04:32

There have been new Test and Development builds today, you might want to give them a try and see if it's fixed or not.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25224
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Guest Additions 6.0.10 will not compile in RHEL 7.7

Postby nixuser » 16. Aug 2019, 07:16

Thanks but still not fixed in Guest Additions ISO 6.0.11 revision 132749.
nixuser
 
Posts: 20
Joined: 12. Dec 2018, 04:56

Re: Guest Additions 6.0.10 will not compile in RHEL 7.7

Postby nixuser » 28. Aug 2019, 23:58

Still not fixed in 7.7 with Guest Additions ISO 6.0.11 revision 132916. Is this thread enough or do we need to file a bug ticket on it?

I didn't bother checking the 8.1 Beta, but I would assume getting 7.7 working would be a higher priority at this point.
nixuser
 
Posts: 20
Joined: 12. Dec 2018, 04:56

Next

Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 16 guests