#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
回報者: | Andre Robatino | 負責人: | |
---|---|---|---|
元件: | other | 版本: | VirtualBox 4.3.12 |
關鍵字: | 副本: | ||
Guest type: | Linux | Host type: | other |
描述
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.
附加檔案 (5)
更動歷史 (15)
comment:1 10 年 前 由 編輯
Sorry, both kernel versions in the Description should have included "rc0" (in the merge window).
comment:2 10 年 前 由 編輯
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 10 年 前 由 編輯
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 10 年 前 由 編輯
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 10 年 前 由 編輯
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 10 年 前 由 編輯
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.
10 年 前 由 編輯
附檔: | 新增 vboxadd-install.log |
---|
comment:7 10 年 前 由 編輯
摘要: | 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.
9 年 前 由 編輯
附檔: | 新增 make.bcmwl.log |
---|
9 年 前 由 編輯
附檔: | 新增 make.vboxguest.log |
---|
comment:9 9 年 前 由 編輯
狀態: | closed → reopened |
---|---|
處理結果: | fixed |
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 9 年 前 由 編輯
狀態: | reopened → closed |
---|---|
處理結果: | → fixed |
Please, don't reopen unrelated bugs.
Your specific problem is already filed #14227.
/var/lib/dkms/vboxguest/4.3.12/build/make.log