VirtualBox

Ticket #15444 (closed defect: fixed)

Opened 17 months ago

Last modified 16 months ago

guest additions do not build with 4.7 kernel => Fixed in SVN

Reported by: robatino Owned by:
Priority: major Component: other
Version: VirtualBox 5.0.20 Keywords:
Cc: Guest type: Linux
Host type: other

Description

Error from Fedora Rawhide x86_64 guest with 4.7.0-0.rc0.git8.1.fc25.x86_64 kernel:

Error! Bad return status for module build on kernel: 4.7.0-0.rc0.git8.1.fc25.x86_64 (x86_64)
Consult /var/lib/dkms/vboxguest/5.0.20/build/make.log for more information.

Attachments

VBox.log Download (114.1 KB) - added by robatino 17 months ago.
make.log Download (9.8 KB) - added by robatino 17 months ago.
/var/lib/dkms/vboxguest/5.0.20/build/make.log
make.2.log Download (9.4 KB) - added by robatino 17 months ago.
/var/lib/dkms/vboxguest/5.0.20/build/make.log for 4.7.0-0.rc0.git10.1.fc25.x86_64 kernel

Change History

Changed 17 months ago by robatino

Changed 17 months ago by robatino

/var/lib/dkms/vboxguest/5.0.20/build/make.log

Changed 17 months ago by robatino

/var/lib/dkms/vboxguest/5.0.20/build/make.log for 4.7.0-0.rc0.git10.1.fc25.x86_64 kernel

comment:1 Changed 17 months ago by robatino

I added the new make.log on the assumption that the output change was due to the new kernel. However, there was a new version of dkms to implement parallel build on multiprocessor systems (see  https://bugzilla.redhat.com/show_bug.cgi?id=1334103 ) and that was probably responsible.

comment:2 Changed 17 months ago by Vasya Pupkin

Same issue here. Tried to build modules on Ubuntu 16.04 against kernel 4.7.0rc1:

  CC [M]  /var/lib/dkms/vboxhost/5.0.20/build/vboxnetadp/linux/VBoxNetAdp-linux.o
/var/lib/dkms/vboxhost/5.0.20/build/vboxnetadp/linux/VBoxNetAdp-linux.c: In function ‘vboxNetAdpLinuxXmit’:
/var/lib/dkms/vboxhost/5.0.20/build/vboxnetadp/linux/VBoxNetAdp-linux.c:156:12: error: ‘struct net_device’ has no member named ‘trans_start’
     pNetDev->trans_start = jiffies;
            ^
scripts/Makefile.build:289: recipe for target '/var/lib/dkms/vboxhost/5.0.20/build/vboxnetadp/linux/VBoxNetAdp-linux.o' failed

There also were warnings:

  CC [M]  /var/lib/dkms/vboxhost/5.0.20/build/vboxdrv/r0drv/linux/memuserkernel-r0drv-linux.o
/var/lib/dkms/vboxhost/5.0.20/build/vboxdrv/r0drv/linux/memuserkernel-r0drv-linux.o: warning: objtool: .fixup: unexpected end of section
  CC [M]  /var/lib/dkms/vboxhost/5.0.20/build/vboxdrv/r0drv/linux/mp-r0drv-linux.o
/var/lib/dkms/vboxhost/5.0.20/build/vboxdrv/r0drv/linux/mp-r0drv-linux.c: In function ‘VBoxHost_RTMpOnPair’:
/var/lib/dkms/vboxhost/5.0.20/build/vboxdrv/r0drv/linux/mp-r0drv-linux.c:452:1: warning: the frame size of 1120 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 }
 ^
Last edited 17 months ago by frank (previous) (diff)

comment:3 Changed 17 months ago by frank

The correct fix is actually r61429. This fix will be part of the next maintenance releases.

comment:4 Changed 17 months ago by frank

  • Summary changed from guest additions do not build with 4.7 kernel to guest additions do not build with 4.7 kernel => Fixed in SVN

comment:5 Changed 17 months ago by frank

  • Summary changed from guest additions do not build with 4.7 kernel => Fixed in SVN to guest additions do not build with 4.7 kernel

Grr, forget my last comment. Wrong defect. This defect is about the Guest Additions while I meant the vboxnetadp fix :-/

comment:6 Changed 17 months ago by frank

  • Summary changed from guest additions do not build with 4.7 kernel to guest additions do not build with 4.7 kernel => Fixed in SVN

Fix in r61431. The latest test builds have the fix, in particular the Guest Additions .iso image.

comment:7 Changed 17 months ago by robatino

Confirmed that 4.7 guest additions build in VB 5.0.20 when using VBoxGuestAdditions_5.0.21-107750.iso. Thanks!

comment:8 Changed 16 months ago by frank

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

Fixed in 5.0.22.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use