VirtualBox

Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#14227 closed defect (fixed)

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

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

Description

Error from Fedora Rawhide x86_64 guest with 4.2.0-0.rc0.git1.1.fc23.x86_64 kernel:

Error! Bad return status for module build on kernel: 4.2.0-0.rc0.git1.1.fc23.x86_64 (x86_64)
Consult /var/lib/dkms/vboxguest/4.3.28/build/make.log for more information.

Attachments (4)

make.log (8.6 KB ) - added by Andre Robatino 9 years ago.
/var/lib/dkms/vboxguest/4.3.28/build/make.log
VBox.log (109.0 KB ) - added by Andre Robatino 9 years ago.
make.bcmwl.log (4.4 KB ) - added by palmito 9 years ago.
make.2.log (8.4 KB ) - added by palmito 9 years ago.

Download all attachments as: .zip

Change History (19)

by Andre Robatino, 9 years ago

Attachment: make.log added

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

by Andre Robatino, 9 years ago

Attachment: VBox.log added

comment:1 by Andre Robatino, 9 years ago

Not sure if this bug fell through the cracks, but the same issue on VB 5.0. VB 4.3.28 was the latest Version when I filed the bug, and I can't change it. I believe the errors were exactly the same at the end of the merge window.

comment:2 by Frank Mehnert, 9 years ago

Linux 4.2 is not yet released.

comment:3 by Frank Mehnert, 9 years ago

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

Fix is part of r57132 and will be part of the next 5.0.x and 4.3.x maintenance releases.

comment:4 by palmito, 9 years ago

please ensure that bcmwl also compiles with kernel 4.2

/

var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_cfg80211_get_station’:
/var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:1444:20: error: ‘STATION_INFO_TX_BITRATE’ undeclared (first use in this function)
   sinfo->filled |= STATION_INFO_TX_BITRATE;
                    ^
/var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:1444:20: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:1457:20: error: ‘STATION_INFO_SIGNAL’ undeclared (first use in this function)
   sinfo->filled |= STATION_INFO_SIGNAL;

by palmito, 9 years ago

Attachment: make.bcmwl.log added

in reply to:  4 ; comment:5 by Frank Mehnert, 9 years ago

Replying to palmito:

please ensure that bcmwl also compiles with kernel 4.2

Sorry but this bugtracker is about VirtualBox, not any Broadcom Linux drivers.

in reply to:  5 comment:6 by palmito, 9 years ago

Replying to frank:

Replying to palmito:

please ensure that bcmwl also compiles with kernel 4.2

Sorry but this bugtracker is about VirtualBox, not any Broadcom Linux drivers.

You are right... sorry for the mistake.

comment:7 by palmito, 9 years ago

Still getting compilation errors with latest kernel (4.2.rc6)

  CC [M]  /var/lib/dkms/vboxguest/5.0.0/build/vboxsf/lnkops.o
/var/lib/dkms/vboxguest/5.0.0/build/vboxsf/lnkops.c: In function ‘sf_follow_link’:
/var/lib/dkms/vboxguest/5.0.0/build/vboxsf/lnkops.c:43:5: error: implicit declaration of function ‘nd_set_link’ [-Werror=implicit-function-declaration]
     nd_set_link(nd, error ? ERR_PTR(error) : path);
     ^
/var/lib/dkms/vboxguest/5.0.0/build/vboxsf/lnkops.c: In function ‘sf_put_link’:
/var/lib/dkms/vboxguest/5.0.0/build/vboxsf/lnkops.c:49:5: error: implicit declaration of function ‘nd_get_link’ [-Werror=implicit-function-declaration]
     char *page = nd_get_link(nd);
     ^
/var/lib/dkms/vboxguest/5.0.0/build/vboxsf/lnkops.c:49:18: warning: initialization makes pointer from integer without a cast [enabled by default]
     char *page = nd_get_link(nd);
                  ^
/var/lib/dkms/vboxguest/5.0.0/build/vboxsf/lnkops.c: At top level:
/var/lib/dkms/vboxguest/5.0.0/build/vboxsf/lnkops.c:57:5: warning: initialization from incompatible pointer type [enabled by default]
     .follow_link    = sf_follow_link,
     ^
/var/lib/dkms/vboxguest/5.0.0/build/vboxsf/lnkops.c:57:5: warning: (near initialization for ‘sf_lnk_iops.follow_link’) [enabled by default]
/var/lib/dkms/vboxguest/5.0.0/build/vboxsf/lnkops.c:59:1: warning: initialization from incompatible pointer type [enabled by default]
 };
 ^
/var/lib/dkms/vboxguest/5.0.0/build/vboxsf/lnkops.c:59:1: warning: (near initialization for ‘sf_lnk_iops.put_link’) [enabled by default]
cc1: some warnings being treated as errors
make[2]: *** [/var/lib/dkms/vboxguest/5.0.0/build/vboxsf/lnkops.o] Error 1
make[1]: *** [/var/lib/dkms/vboxguest/5.0.0/build/vboxsf] Error 2
make: *** [_module_/var/lib/dkms/vboxguest/5.0.0/build] Error 2

by palmito, 9 years ago

Attachment: make.2.log added

comment:8 by Frank Mehnert, 9 years ago

palmito, your kernel module sources don't contain the above fix yet (see comment 3).

comment:9 by Frank Mehnert, 9 years ago

Resolution: fixed
Status: newclosed

Fix is part of the VBox 5.0.2 Guest Additions.

comment:10 by Joshua Andrews, 9 years ago

I have upgraded to VBox 5.0.2 and the guest additions will not build on fedora 23 the installer hangs after removing installed modules and systemd cpu usage goes to 100%. I know it's alpha and there always seems to be a gap before Vbox catches up but it sure would be nice to test.

It is currently a 4.2 kernel.

comment:11 by Andre Robatino, 9 years ago

I've also seen that behavior (it happened also with 5.0.0), but after waiting until the installer said it was installing the guest additions for the current kernel, and verifying from "dkms status" that they are installed, I just Ctrl-C'd the installer. AFAIK everything is normal after that. Also, installing guest modules for additional kernels using the dkms install command afterwards works fine without the hang. I haven't reported the hang and haven't checked if anyone else has.

comment:12 by palmito, 9 years ago

just installed virtual box 5.0.4 and got kernel 4.2. Works perfectly! Hurray! :)

comment:13 by Andre Robatino, 9 years ago

Should be no problem with the 4.3 kernel, as guest additions still build for the first kernel past the merge window.

comment:14 by Andre Robatino, 8 years ago

Should be no problem with the 4.4 kernel, as guest additions still build for the first kernel past the merge window.

comment:15 by Andre Robatino, 8 years ago

Guest additions broken with 4.5 kernel - filed https://www.virtualbox.org/ticket/15032 .

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use