Hello,
I have problem installing VirtualBox Guest Additions. My host is 5.0.7-200.fc29.x86_64 And when I run the VGA installer on the guest system I get:
[erik@localhost VBox_GAs_6.0.4]$ sudo ./VBoxLinuxAdditions.run Verifying archive integrity... All good. Uncompressing VirtualBox 6.0.4 Guest Additions for Linux........ VirtualBox Guest Additions installer Removing installed version 6.0.4 of VirtualBox Guest Additions... Copying additional installer modules ... Installing additional modules ... VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules. This may take a while. VirtualBox Guest Additions: To build modules for other installed kernels, run VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup <version> VirtualBox Guest Additions: Building the modules for kernel 5.0.7-200.fc29.x86_64.
VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what went wrong VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted VirtualBox Guest Additions: Starting. VirtualBox Guest Additions: modprobe vboxsf failed [erik@localhost VBox_GAs_6.0.4]$
Perhaps someone on this list has overcome this problem and would explain what I did wrong? The /var/log/vboxadd-setup.log was of no help.
-- Thanks, Erik P. Olsen
On 4/15/19 6:38 AM, Erik P. Olsen wrote:
VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what went wrong
Did you do this?
VirtualBox Guest Additions: modprobe vboxsf failed
You can try loading the kernel module yourself to see what the error message is.
One likely cause is that you are using an EFI system with secure boot enabled. In that case you either have to disable it or sign the kernel module and add the key to the EFI table using mokutil.
On 4/15/19 11:48 PM, Samuel Sieb wrote:
On 4/15/19 6:38 AM, Erik P. Olsen wrote:
VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what went wrong
Did you do this?
VirtualBox Guest Additions: modprobe vboxsf failed
You can try loading the kernel module yourself to see what the error message is.
One likely cause is that you are using an EFI system with secure boot enabled. In that case you either have to disable it or sign the kernel module and add the key to the EFI table using mokutil.
I believe this is a VirtualBox problem. The setup log shows...
[root@f29bg log]# tail vboxadd-setup.log gcc -Wp,-MD,/tmp/vbox.0/.vfsmod.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/8/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror-implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fvar-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned -Wno-declaration-after-statement -fshort-wchar -include /tmp/vbox.0/include/VBox/VBoxGuestMangling.h -fno-pie -I/lib/modules/5.0.7-200.fc29.x86_64/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxsf/ -I/tmp/vbox.0/vboxsf/include -I/tmp/vbox.0/vboxsf/r0drv/linux -D__KERNEL__ -DMODULE -DRT_WITHOUT_PRAGMA_ONCE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DVBOX_WITH_HGCM -DIN_MODULE -DIN_GUEST_R0 -DRT_NO_EXPORT_SYMBOL -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -DMODULE -DKBUILD_BASENAME='"vfsmod"' -DKBUILD_MODNAME='"vboxsf"' -c -o /tmp/vbox.0/vfsmod.o /tmp/vbox.0/vfsmod.c /tmp/vbox.0/vfsmod.c: In function ‘sf_read_super_aux’: /tmp/vbox.0/vfsmod.c:235:14: error: ‘MS_REMOUNT’ undeclared (first use in this function); did you mean ‘DT_RELCOUNT’? if (flags & MS_REMOUNT) { ^~~~~~~~~~ DT_RELCOUNT /tmp/vbox.0/vfsmod.c:235:14: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [scripts/Makefile.build:277: /tmp/vbox.0/vfsmod.o] Error 1 make[1]: *** [Makefile:1580: _module_/tmp/vbox.0] Error 2 make: *** [/tmp/vbox.0/Makefile.include.footer:106: vboxsf] Error 2
On 4/15/19 3:14 PM, Ed Greshko wrote:
On 4/15/19 11:48 PM, Samuel Sieb wrote:
On 4/15/19 6:38 AM, Erik P. Olsen wrote:
VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what went wrong
Did you do this?
VirtualBox Guest Additions: modprobe vboxsf failed
You can try loading the kernel module yourself to see what the error message is.
One likely cause is that you are using an EFI system with secure boot enabled. In that case you either have to disable it or sign the kernel module and add the key to the EFI table using mokutil.
I believe this is a VirtualBox problem. The setup log shows...
That was why I suggested following the instructions to look at the log. :-)
But the secure boot issue might end up being involved later, so it's good to keep in mind.
On 4/16/19 7:04 AM, Samuel Sieb wrote:
That was why I suggested following the instructions to look at the log. :-)
Well, the OP did say... "The /var/log/vboxadd-setup.log was of no help"
Which is why I posted mine. :-) :-)
On 4/15/19 5:35 PM, Ed Greshko wrote:
On 4/16/19 7:04 AM, Samuel Sieb wrote:
That was why I suggested following the instructions to look at the log. :-)
Well, the OP did say... "The /var/log/vboxadd-setup.log was of no help"
Which is why I posted mine. :-) :-)
Oops! How did I miss that? Presumably he has a different problem then...
On 4/16/19 8:39 AM, Samuel Sieb wrote:
On 4/15/19 5:35 PM, Ed Greshko wrote:
On 4/16/19 7:04 AM, Samuel Sieb wrote:
That was why I suggested following the instructions to look at the log. :-)
Well, the OP did say... "The /var/log/vboxadd-setup.log was of no help"
Which is why I posted mine. :-) :-)
Oops! How did I miss that? Presumably he has a different problem then...
I think the problem is the same. It is also reported on RH EL7 on the VirtualBox Forums.
In any event, it is fixed in the next version of Guest Additions.
A "test" bulid can be downloaded here
https://www.virtualbox.org/wiki/Testbuilds
On 2019-04-16 at 11:09:17 Ed Greshko wrote:
On 4/16/19 8:39 AM, Samuel Sieb wrote:
On 4/15/19 5:35 PM, Ed Greshko wrote:
On 4/16/19 7:04 AM, Samuel Sieb wrote:
That was why I suggested following the instructions to look at the log. :-)
Well, the OP did say... "The /var/log/vboxadd-setup.log was of no help"
Which is why I posted mine. :-) :-)
Oops! How did I miss that? Presumably he has a different problem then...
I think the problem is the same. It is also reported on RH EL7 on the VirtualBox Forums.
In any event, it is fixed in the next version of Guest Additions.
A "test" bulid can be downloaded here
Thanks for the answers. I said that the /var/log/vboxadd-setup.log was of no help because I did not understand what I saw but comparing my list to Ed's shows that the problem indeed is the same. So I guess I have to wait for the next version to surface.
-- Regards, Erik P. Olsen
On 4/16/19 2:52 PM, Erik P. Olsen wrote:
On 2019-04-16 at 11:09:17 Ed Greshko wrote:
On 4/16/19 8:39 AM, Samuel Sieb wrote:
On 4/15/19 5:35 PM, Ed Greshko wrote:
On 4/16/19 7:04 AM, Samuel Sieb wrote:
That was why I suggested following the instructions to look at the log. :-)
Well, the OP did say... "The /var/log/vboxadd-setup.log was of no help"
Which is why I posted mine. :-) :-)
Oops! How did I miss that? Presumably he has a different problem then...
I think the problem is the same. It is also reported on RH EL7 on the VirtualBox Forums.
In any event, it is fixed in the next version of Guest Additions.
A "test" bulid can be downloaded here
Thanks for the answers. I said that the /var/log/vboxadd-setup.log was of no help because I did not understand what I saw but comparing my list to Ed's shows that the problem indeed is the same. So I guess I have to wait for the next version to surface.
You can just download the Guest Additions iso and mount/install it just like any other. No need to wait.
On 2019-04-16 at 14:56:33 Ed Greshko wrote:
On 4/16/19 2:52 PM, Erik P. Olsen wrote:
On 2019-04-16 at 11:09:17 Ed Greshko wrote:
On 4/16/19 8:39 AM, Samuel Sieb wrote:
On 4/15/19 5:35 PM, Ed Greshko wrote:
On 4/16/19 7:04 AM, Samuel Sieb wrote:
That was why I suggested following the instructions to look at the log. :-)
Well, the OP did say... "The /var/log/vboxadd-setup.log was of no help"
Which is why I posted mine. :-) :-)
Oops! How did I miss that? Presumably he has a different problem then...
I think the problem is the same. It is also reported on RH EL7 on the VirtualBox Forums.
In any event, it is fixed in the next version of Guest Additions.
A "test" bulid can be downloaded here
Thanks for the answers. I said that the /var/log/vboxadd-setup.log was of no help because I did not understand what I saw but comparing my list to Ed's shows that the problem indeed is the same. So I guess I have to wait for the next version to surface.
You can just download the Guest Additions iso and mount/install it just like any other. No need to wait.
Thanks a lot. Did install it and now this problem was solved. However, a new problem showed up: the screen auto resize did not work. Maybe I should get in contact with Oracle about it. Hope they will listen.
-- Regards, Erik P. Olsen
On 4/16/19 10:37 PM, Erik P. Olsen wrote:
Thanks a lot. Did install it and now this problem was solved. However, a new problem showed up: the screen auto resize did not work. Maybe I should get in contact with Oracle about it. Hope they will listen.
Did you reboot? I have no issues.
On 2019-04-17 at 02:24:08 Ed Greshko wrote:
On 4/16/19 10:37 PM, Erik P. Olsen wrote:
Thanks a lot. Did install it and now this problem was solved. However, a new problem showed up: the screen auto resize did not work. Maybe I should get in contact with Oracle about it. Hope they will listen.
Did you reboot? I have no issues.
Yes I did reboot but somewhat later I went into settings to see what the screen resolution was. I tried to change it into something more resonable and then, lo and behold, the screen did actually resize. And all is well.
-- Regards, Erik P. Olsen
On 4/17/19 5:22 AM, Erik P. Olsen wrote:
Yes I did reboot but somewhat later I went into settings to see what the screen resolution was. I tried to change it into something more resonable and then, lo and behold, the screen did actually resize. And all is well.
Good, and FWIW, VirtualBox-6.0-6 was just released which contains the Guest Additions fix and more.
On 2019-04-17 at 09:01:25 Ed Greshko wrote:
On 4/17/19 5:22 AM, Erik P. Olsen wrote:
Yes I did reboot but somewhat later I went into settings to see what the screen resolution was. I tried to change it into something more resonable and then, lo and behold, the screen did actually resize. And all is well.
Good, and FWIW, VirtualBox-6.0-6 was just released which contains the Guest Additions fix and more.
Thanks. Is a build for 6.0.6 available similar to the testbuild for 6.0.x?
-- Regards, Erik P. Olsen
On Wed, Apr 17, 2019, 15:30 Erik P. Olsen epodata@gmail.com wrote:
Thanks. Is a build for 6.0.6 available similar to the testbuild for 6.0.x?
I have their repo configured so it was updated by dnf.