I am having the same symptom on a CentOS 7.5 guest today after doing a system update ("yum update"). Resolution is limited to 1024x768 suddenly. My theory is that something in a recent RHEL update (kernel?) is breaking the GA build. I wouldn't be surprised if it's affecting Oracle Linux as well.
Interestingly the GA installer is *not* showing any error:
Code: Select all
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.1.28 Guest Additions for Linux...........
VirtualBox Guest Additions installer
Removing installed version 5.1.28 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
vboxadd.sh: Starting the VirtualBox Guest Additions.
Press Return to close this window...
However looking at /var/log/vboxadd-install.log shows this:
Code: Select all
make[2]: *** [/tmp/vbox.0/vbox_fb.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxvideo] Error 2
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
To get around it, I rebooted the VM and picked the previous (working) kernel from the grub boot menu. When it booted, I reinstalled the GA's and confirmed that the build was successful with no error messages in vboxadd-install.log:
Code: Select all
gcc -Wp,-MD,/tmp/vbox.0/.vboxvideo.mod.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -std=gnu89 -O2 -m64 -mno-mmx -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -Wframe-larger-than=2048 -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -Wno-declaration-after-statement -fshort-wchar -fno-pie -include /tmp/vbox.0/include/VBox/VBoxGuestMangling.h -I/lib/modules/3.10.0-693.21.1.el7.x86_64/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/vboxvideo/ -I/tmp/vbox.0/vboxvideo/include -Iinclude/drm -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DVBOX_WITH_HGCM -DLOG_TO_BACKDOOR -DIN_MODULE -DIN_GUEST_R0 -DRT_NO_EXPORT_SYMBOL -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(vboxvideo.mod)" -D"KBUILD_MODNAME=KBUILD_STR(vboxvideo)" -DMODULE -c -o /tmp/vbox.0/vboxvideo.mod.o /tmp/vbox.0/vboxvideo.mod.c
ld -r -m elf_x86_64 -T ./scripts/module-common.lds --build-id -o /tmp/vbox.0/vboxvideo.ko /tmp/vbox.0/vboxvideo.o /tmp/vbox.0/vboxvideo.mod.o
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
After a second reboot and picking the same kernel from the grub menu, full-screen is working again.
To summarize my experience:
kernel 3.10.0-693.21.1.el7.x86_64 --> works fine
kernel 3.10.0-862.3.2.el7.x86_64 --> breaks GA build
Hopefully this is applicable/helpful here, too.
------------
Update: attaching full vboxadd-install.log for both good/bad builds with each of the two kernels mentioned.