VirtualBox

Opened 8 years ago

Closed 8 years ago

#15444 closed defect (fixed)

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

Reported by: Andre Robatino Owned by:
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 (3)

VBox.log (114.1 KB ) - added by Andre Robatino 8 years ago.
make.log (9.8 KB ) - added by Andre Robatino 8 years ago.
/var/lib/dkms/vboxguest/5.0.20/build/make.log
make.2.log (9.4 KB ) - added by Andre Robatino 8 years ago.
/var/lib/dkms/vboxguest/5.0.20/build/make.log for 4.7.0-0.rc0.git10.1.fc25.x86_64 kernel

Download all attachments as: .zip

Change History (11)

by Andre Robatino, 8 years ago

Attachment: VBox.log added

by Andre Robatino, 8 years ago

Attachment: make.log added

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

by Andre Robatino, 8 years ago

Attachment: make.2.log added

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

comment:1 by Andre Robatino, 8 years ago

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 by Vasya Pupkin, 8 years ago

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 8 years ago by Frank Mehnert (previous) (diff)

comment:3 by Frank Mehnert, 8 years ago

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

comment:4 by Frank Mehnert, 8 years ago

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

comment:5 by Frank Mehnert, 8 years ago

Summary: guest additions do not build with 4.7 kernel => Fixed in SVNguest 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 by Frank Mehnert, 8 years ago

Summary: guest additions do not build with 4.7 kernelguest 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 by Andre Robatino, 8 years ago

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

comment:8 by Frank Mehnert, 8 years ago

Resolution: fixed
Status: newclosed

Fixed in 5.0.22.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use