VirtualBox

Opened 7 years ago

Closed 7 years ago

#16506 closed defect (fixed)

guest additions do not build with 4.11 kernel

Reported by: Andre Robatino Owned by:
Component: other Version: VirtualBox 5.1.14
Keywords: Cc:
Guest type: Linux Host type: other

Description

Got an error message while attempting to install guest additions in a Fedora Rawhide guest for the 4.11.0-0.rc0.git2.1.fc26.x86_64 kernel.

vboxadd.sh: failed: Look at /var/log/vboxadd-install.log to find out what went wrong.

Attachments (3)

vboxadd-install.log (62.7 KB ) - added by Andre Robatino 7 years ago.
/var/log/vboxadd-install.log
VBox.log (115.7 KB ) - added by Andre Robatino 7 years ago.
API_changes_4.11.patch (1.0 KB ) - added by sergiomb 7 years ago.
partial fix

Download all attachments as: .zip

Change History (7)

by Andre Robatino, 7 years ago

Attachment: vboxadd-install.log added

/var/log/vboxadd-install.log

by Andre Robatino, 7 years ago

Attachment: VBox.log added

comment:1 by Andre Robatino, 7 years ago

This is while using VBoxGuestAdditions_5.1.15-113518.iso, for which the 4.10 kernel guest additions do build successfully.

by sergiomb, 7 years ago

Attachment: API_changes_4.11.patch added

partial fix

comment:2 by sergiomb, 7 years ago

now I have this error :

/tmp/akmodsbuild.8AmbpSbw/BUILD/VirtualBox-kmod-5.1.14/_kmod_build_4.11.0-0.rc0.git9.1.fc26.x86_64/vboxsf/regops.c:540:14: error: initialization
from incompatible pointer type [-Werror=incompatible-pointer-types]
     .fault = sf_reg_fault
              ^~~~~~~~~~~~
/tmp/akmodsbuild.8AmbpSbw/BUILD/VirtualBox-kmod-5.1.14/_kmod_build_4.11.0-0.rc0.git9.1.fc26.x86_64/vboxsf/regops.c:540:14: note: (near initialization for 'sf_vma_ops.fault')
  CC [M]  /tmp/akmodsbuild.8AmbpSbw/BUILD/VirtualBox-kmod-5.1.14_kmod_build_4.11.0-0.rc0.git9.1.fc26.x86_64/vboxsf/utils.o
cc1: some warnings being treated as errors


comment:3 by Andre Robatino, 7 years ago

Appears to work with VirtualBox 5.1.16. It wasn't clear whether it was fixed, the Changelog indicated that it was. I do see "vboxadd.sh: failed: modprobe vboxguest failed." in /var/log/VBoxGuestAdditions.log, but I think that line is always there, whether the GA build or not.

I'm not able to tell whether 4.10 builds, since I'm no longer using that kernel, but it was working earlier with the Test Build Guest Additions, so it should.

comment:4 by Frank Mehnert, 7 years ago

Resolution: fixed
Status: newclosed

Fixed in VBox 5.1.16.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use