VirtualBox

Opened 6 years ago

Closed 6 years ago

#17676 closed defect (fixed)

VBox Linux Additions wont compile on Red Hat 7.5 -> fixed in 5.2.12

Reported by: Brunno Owned by:
Component: guest additions Version: VirtualBox 5.2.8
Keywords: rh75, el7 Cc:
Guest type: Linux Host type: Windows

Description

I have a red hat Linux 7.4 guest and I upgraded it to 7.5 release version, but, when I reinstall de Virtual Box Guest Additions it get some compiling erros. I will attach them to this ticket.

Attachments (4)

20180411ErroCompilaçãoVBoxLinuxAdditions.PNG (31.7 KB ) - added by Brunno 6 years ago.
ScreenShoot from executing VBoxLinuxAdditions.run
vboxadd-install.log (129 bytes ) - added by Brunno 6 years ago.
VBox install log
vboxadd-setup.log (202.2 KB ) - added by Brunno 6 years ago.
Vbox guest install "setup" log
vboxadd-setup.2.log (197.9 KB ) - added by tgleason 6 years ago.
setup file from 122202 test build

Download all attachments as: .zip

Change History (20)

by Brunno, 6 years ago

ScreenShoot from executing VBoxLinuxAdditions.run

by Brunno, 6 years ago

Attachment: vboxadd-install.log added

VBox install log

by Brunno, 6 years ago

Attachment: vboxadd-setup.log added

Vbox guest install "setup" log

in reply to:  description comment:1 by D. Michael Paxton, 6 years ago

We have the exact same problem on a fresh install of RHEL 7.5 (kernel 3.10.0-862), with the VirtualBox Extension Pack 5.2.8r121009 installed. However, it worked on Oracle Enterprise Linux 7.4 (kernel 4.1.12-112).

Replying to Brunno:

I have a red hat Linux 7.4 guest and I upgraded it to 7.5 release version, but, when I reinstall de Virtual Box Guest Additions it get some compiling erros. I will attach them to this ticket.

comment:2 by heitkergm, 6 years ago

Still a problem, even after release of Virtualbox 5.2.10

comment:3 by Socratis, 6 years ago

Can you try the latest test builds from https://www.virtualbox.org/wiki/Testbuilds as they seem to have addressed several "latest and greatest" distros?

in reply to:  3 comment:4 by tgleason, 6 years ago

Replying to socratis:

Can you try the latest test builds from https://www.virtualbox.org/wiki/Testbuilds as they seem to have addressed several "latest and greatest" distros?

No dice. Installed 5.2-5.2.11_122181 from the TestBuilds page and the result is the same. Builds the vboxguest and vboxsf modules, but not the vboxvideo.

There are not even and errors in the vboxadd-setup.log. Simply 'BUilding the graphics driver module', then "make: Nothing to be done for 'install'".

comment:5 by Michael Thayer, 6 years ago

The Guest Additions build from the test builds page for VirtualBox 5.2, revision 122202 or higher, should contain a fix. Please confirm. The build should appear an hour or so from now.

wiki:Testbuilds

in reply to:  5 ; comment:6 by tgleason, 6 years ago

Replying to michael:

The Guest Additions build from the test builds page for VirtualBox 5.2, revision 122202 or higher, should contain a fix. Please confirm. The build should appear an hour or so from now.

wiki:Testbuilds

Grabbed VirtualBox-5.2-5.2.11_122202_el6-1.x86_64.rpm, installed onto RHEL 6.5 Host. Ran up RHEL 7.5 Guest, Inserted Guest Additions CD, manually mounted /dev/sr0. Ran VBoxLinuxAdditions.run from the command line (No X currently). Same result as 122181 pkg.(see newly attached vboxadd-setup.log)

by tgleason, 6 years ago

Attachment: vboxadd-setup.2.log added

setup file from 122202 test build

comment:7 by heitkergm, 6 years ago

I have 5.2.10 installed on Mac OSX. This problem started with 5.2.8. I have thus tried vbox guest additions iso images 121806, 122125, 122088 (5.2.10) and 122202. With the exception of the 5.2.10 iso, I manually downloaded these guest addition iso files from the test build page.

with 122202, I finally got the guest additions to build for RHEL 7.5, and they seem to work (window resizes, seamless keyboard focus in/out, shared folders).

Looks good to me!

in reply to:  6 ; comment:8 by Socratis, 6 years ago

Replying to tgleason:

Same result as 122181 pkg.(see newly attached vboxadd-setup.log)

From your log, near the end, I see the following:

Can't read private key
  /bin/sh ./scripts/depmod.sh /sbin/depmod 3.10.0-862.el7.EE.x86_64 ""

Are you using secureboot?

in reply to:  8 comment:9 by tgleason, 6 years ago

Replying to socratis: I thought Secure boot required an UEFI BIOS? Does VB even have that for the guest OS?

Replying to tgleason:

Same result as 122181 pkg.(see newly attached vboxadd-setup.log)

From your log, near the end, I see the following:

Can't read private key
  /bin/sh ./scripts/depmod.sh /sbin/depmod 3.10.0-862.el7.EE.x86_64 ""

Are you using secureboot?

Version 0, edited 6 years ago by tgleason (next)

in reply to:  7 comment:10 by tgleason, 6 years ago

Replying to heitkergm:

Could you post your successful vboxadd-setup.log? Still trying to figure out why mine will not even attempt to build the vboxvideo module.

Did a run where I '--keep' and got the tar files out. Tried building the vboxvideo directly from that src and still got "Nothing to be done for 'all'." in the vboxvideo Makefile. Wondering if it is because X will not run properly so I am doing the build from the console.

comment:11 by tgleason, 6 years ago

OK, I believe I found the issue I was having with 122202. I had a custom kernel installed, which had another string in the version between the .el7 and the .x86_64 strings.

Not 100% sure why older kernels are being excluded from using the Guest Addtions. but the vboxvideo Makefile seems to exclude them all below 3.11 and those with the string '.el7.x86_64' in them.

Anyway, moving back from our custom kernel allowed all the modules to build.

comment:12 by Michael Thayer, 6 years ago

Actually the make file logic is designed to exclude all kernels below 3.11 unless they contain the string '.el7.x86_64'. The reason for this is that we rely on functionality which was added in upstream 3.11 kernels, but which was back-ported to older el7 kernels.

If you are interested in finding out what went wrong, you could reboot into the custom kernel, run /sbin/rcvboxadd setup (as root) and look at/attach the log files.

in reply to:  12 comment:13 by tgleason, 6 years ago

Replying to michael:

Actually the make file logic is designed to exclude all kernels below 3.11 unless they contain the string '.el7.x86_64'.

If this is actually true, why/how are Red Hat Linux 7 through RHEL 6 still supported? Do you not get the use of Guest Additions if you are using one of these older operating systems?

comment:14 by Michael Thayer, 6 years ago

This only concerns the in-kernel graphics driver. It does not concern the older user-space graphics drivers or other drivers. I was not even aware that Red Hat 7 (as in the old Red Hat) even works with the Guest Additions. Officially we support (RH)EL 3 to (RH)EL 7.

comment:15 by Michael Thayer, 6 years ago

Summary: VBox Linux Additions wont compile on Red Hat 7.5VBox Linux Additions wont compile on Red Hat 7.5 -> fixed after (not in) 5.2.10

comment:16 by Michael Thayer, 6 years ago

Resolution: fixed
Status: newclosed
Summary: VBox Linux Additions wont compile on Red Hat 7.5 -> fixed after (not in) 5.2.10VBox Linux Additions wont compile on Red Hat 7.5 -> fixed in 5.2.12
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use