Opened 8 years ago
Closed 8 years ago
#16887 closed defect (fixed)
guest additions do not build with 4.13 kernel
Reported by: | Andre Robatino | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 5.1.22 |
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.13.0-0.rc0.git2.1.fc27.x86_64 kernel. I am using VBoxGuestAdditions_5.1.23-115855.iso for which 4.12 does build.
vboxadd.sh: failed: Look at /var/log/vboxadd-install.log to find out what went wrong.
Attachments (2)
Change History (7)
comment:1 by , 8 years ago
by , 8 years ago
comment:2 by , 8 years ago
Hello,
in kernel 4.13 wait_queue_t is renamed to wait_queue_entry_t
https://www.spinics.net/lists/linux-tip-commits/msg38415.html
You can change it in /opt/VBoxGuestAdditions-5.1.23/src/vboxguest-5.1.23/vboxguest/r0drv/linux/waitqueue-r0drv-linux.h
Best regards Damian
comment:3 by , 8 years ago
ack wait_queue_t
VirtualBox-kmod-5.1.22.orig/vboxguest/r0drv/linux/waitqueue-r0drv-linux.h 49: wait_queue_t WaitQE; VirtualBox-kmod-5.1.22.orig/vboxdrv/r0drv/linux/waitqueue-r0drv-linux.h 49: wait_queue_t WaitQE;
please , what should be the patch to work with all kernels versions ?
comment:4 by , 8 years ago
Appears to be fixed in 5.1.24 (tested on the 4.13.0-0.rc0.git6.1.fc27.x86_64 kernel). Thanks!
Confirmed that it also fails with VBoxGuestAdditions_5.1.23-116741.iso (the latest version). Will replace the two attachments just to be safe.