VirtualBox

Ticket #16506 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

guest additions do not build with 4.11 kernel

Reported by: robatino Owned by:
Priority: major 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

vboxadd-install.log Download (62.7 KB) - added by robatino 3 months ago.
/var/log/vboxadd-install.log
VBox.log Download (115.7 KB) - added by robatino 3 months ago.
API_changes_4.11.patch Download (1.0 KB) - added by sergiomb 3 months ago.
partial fix

Change History

Changed 3 months ago by robatino

/var/log/vboxadd-install.log

Changed 3 months ago by robatino

comment:1 Changed 3 months ago by robatino

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

Changed 3 months ago by sergiomb

partial fix

comment:2 Changed 3 months ago by sergiomb

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 Changed 3 months ago by robatino

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 Changed 3 months ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in VBox 5.1.16.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use