Opened 10 years ago
Closed 9 years ago
#13123 closed defect (fixed)
guest additions do not build with 3.16 kernel -> fixed in 4.2.x and later releases after 15 July 2014
Reported by: | Andre Robatino | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 4.3.12 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | other |
Description
Error from Fedora Rawhide x86_64 guest with kernel-3.16.0-0.git10.1.fc21.x86_64 (the guest additions did build with kernel-3.16.0-0.git5.1.fc21.x86_64):
Error! Bad return status for module build on kernel: 3.16.0-0.rc0.git10.1.fc21.x86_64 (x86_64) Consult /var/lib/dkms/vboxguest/4.3.12/build/make.log for more information.
Attachments (5)
Change History (15)
by , 10 years ago
by , 10 years ago
comment:1 by , 10 years ago
Sorry, both kernel versions in the Description should have included "rc0" (in the merge window).
comment:2 by , 10 years ago
If you comment out lines 577 and 578 (the ones defining .aio_read and .aio_write) in the file regops.c and modify line 29 of Makefile.include.footer by inserting a space then /usr/include after $(EXTRA_INCL) and before the final parentheses so that the compiler can pull in /usr/include/aio.h - both files in /opt/VBoxGuestAdditions-version/src/vboxguest-version/vboxsf - then the shared folders module will compile on kernel 3.16.0, at least on Fedora Rawhide. Instead of changing the makefile, you can also copy the AIO header file into the driver's include directory and add an include statement to regops.c, but then you'll end up having to copy every include file it depends on as well.
The OpenGL/X module will not compile though, some change in the kernel PCI driver makes it hork.
Patch the vboxsf sourcecode, comment out all the lines which try to compile or start the video driver in /etc/init.d/vboxadd then run /etc/init.d/vboxadd setup and you'll have everything but the X driver working... which is damn annoying, but better than nothing.
comment:3 by , 10 years ago
Thanks for the report. Here is a test build which contains a fix for the problem. Could you test if shared folders now work on Linux 3.16? Thank you!
comment:4 by , 10 years ago
Using VBoxGuestAdditions_4.3.14-94891.iso in 4.3.12, I get the warning "The VirtualBox Guest Additions do not appear to be available on this virtual machine, and shared folders cannot be used without them." Do I need to be running VirtualBox 4.3.14_RC1 with it?
comment:5 by , 10 years ago
I think this message appears if you did not install the Guest Additions in the guest. Did you actually install the new Additions? Was the compilation of the guest kernel modules successful?
comment:6 by , 10 years ago
Sorry, I forgot to actually install the guest additions. Unfortunately, when I do that, I get an error
[root@localhost VBOXADDITIONS_4.3.14_94891]# ./VBoxLinuxAdditions.run Verifying archive integrity... All good. Uncompressing VirtualBox 4.3.14_RC1 Guest Additions for Linux............ VirtualBox Guest Additions installer Removing installed version 4.3.12 of VirtualBox Guest Additions... Copying additional installer modules ... Installing additional modules ... Removing existing VirtualBox DKMS kernel modules [ OK ] Removing existing VirtualBox non-DKMS kernel modules [ OK ] Building the VirtualBox Guest Additions kernel modules Building the main Guest Additions module [ OK ] Building the shared folder support module [ OK ] Building the OpenGL support module [FAILED] (Look at /var/log/vboxadd-install.log to find out what went wrong) Doing non-kernel setup of the Guest Additions [ OK ] Installing the Window System drivers Warning: unsupported pre-release version of X.Org Server installed. Not installing the X.Org drivers. [ OK ] Installing graphics libraries and desktop services componen[ OK ] [root@localhost VBOXADDITIONS_4.3.14_94891]#
I will attach the file vboxadd-install.log.
by , 10 years ago
Attachment: | vboxadd-install.log added |
---|
comment:7 by , 10 years ago
Summary: | guest additions do not build with 3.16 kernel → guest additions do not build with 3.16 kernel -> fixed in 4.2.x and later releases after 15 July 2014 |
---|
This should be fixed now for any future 4.2 or later releases.
by , 9 years ago
Attachment: | make.bcmwl.log added |
---|
by , 9 years ago
Attachment: | make.vboxguest.log added |
---|
comment:9 by , 9 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Problem occuring with latest kernel tree 4.2.0-rc4-00336-gd08c318 in Elementary OS/Ubuntu Trusty
palminha@palminha-VirtualBox:~/src/eudyptula/task-02$ sudo dpkg -i linux-headers-4.2.0-rc4-00336-gd08c318_4.2.0-rc4-00336-gd08c318-5_amd64.deb linux-image-4.2.0-rc4-00336-gd08c318_4.2.0-rc4-00336-gd08c318-5_amd64.deb linux-libc-dev_4.2.0-rc4-00336-gd08c318-5_amd64.deb (Reading database ... 176022 files and directories currently installed.) Preparing to unpack linux-headers-4.2.0-rc4-00336-gd08c318_4.2.0-rc4-00336-gd08c318-5_amd64.deb ... Unpacking linux-headers-4.2.0-rc4-00336-gd08c318 (4.2.0-rc4-00336-gd08c318-5) over (4.2.0-rc4-00336-gd08c318-5) ... Preparing to unpack linux-image-4.2.0-rc4-00336-gd08c318_4.2.0-rc4-00336-gd08c318-5_amd64.deb ... Unpacking linux-image-4.2.0-rc4-00336-gd08c318 (4.2.0-rc4-00336-gd08c318-5) over (4.2.0-rc4-00336-gd08c318-5) ... dpkg: error processing archive linux-libc-dev_4.2.0-rc4-00336-gd08c318-5_amd64.deb (--install): linux-libc-dev:amd64 4.2.0-rc4-00336-gd08c318-5 (Multi-Arch: no) is not co-installable with linux-libc-dev which has multiple installed instances Setting up linux-headers-4.2.0-rc4-00336-gd08c318 (4.2.0-rc4-00336-gd08c318-5) ... Setting up linux-image-4.2.0-rc4-00336-gd08c318 (4.2.0-rc4-00336-gd08c318-5) ... ERROR (dkms apport): kernel package linux-headers-4.2.0-rc4-00336-gd08c318 is not supported Error! Bad return status for module build on kernel: 4.2.0-rc4-00336-gd08c318 (x86_64) Consult /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/make.log for more information. ERROR (dkms apport): binary package for vboxguest: 5.0.0 not found Error! Bad return status for module build on kernel: 4.2.0-rc4-00336-gd08c318 (x86_64) Consult /var/lib/dkms/vboxguest/5.0.0/build/make.log for more information. update-initramfs: Generating /boot/initrd.img-4.2.0-rc4-00336-gd08c318
comment:10 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Please, don't reopen unrelated bugs.
Your specific problem is already filed #14227.
/var/lib/dkms/vboxguest/4.3.12/build/make.log