VirtualBox

10 年 前 建立

9 年 前 結束

#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)

make.log (10.4 KB ) - 10 年 前, 由 Andre Robatino 新增
/var/lib/dkms/vboxguest/4.3.12/build/make.log
VBox.log (96.9 KB ) - 10 年 前, 由 Andre Robatino 新增
vboxadd-install.log (188.9 KB ) - 10 年 前, 由 Andre Robatino 新增
make.bcmwl.log (4.4 KB ) - 9 年 前, 由 palmito 新增
make.vboxguest.log (8.4 KB ) - 9 年 前, 由 palmito 新增

下載所有附檔: .zip

更動歷史 (15)

10 年 前Andre Robatino 編輯

附檔: 新增 make.log

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

10 年 前Andre Robatino 編輯

附檔: 新增 VBox.log

comment:1 10 年 前Andre Robatino 編輯

Sorry, both kernel versions in the Description should have included "rc0" (in the merge window).

comment:2 10 年 前Murple 編輯

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.

最後由 Murple 編輯於 10 年 前 (上一筆) (差異)

comment:3 10 年 前Frank Mehnert 編輯

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 年 前Andre Robatino 編輯

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 年 前Frank Mehnert 編輯

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 年 前Andre Robatino 編輯

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 年 前Andre Robatino 編輯

附檔: 新增 vboxadd-install.log

comment:7 10 年 前Michael Thayer 編輯

摘要: guest additions do not build with 3.16 kernelguest 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.

comment:8 10 年 前Frank Mehnert 編輯

狀態: newclosed
處理結果: fixed

Fixed in VBox 4.3.14.

9 年 前palmito 編輯

附檔: 新增 make.bcmwl.log

9 年 前palmito 編輯

附檔: 新增 make.vboxguest.log

comment:9 9 年 前palmito 編輯

狀態: closedreopened
處理結果: 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 年 前Valery Ushakov 編輯

狀態: reopenedclosed
處理結果: fixed

Please, don't reopen unrelated bugs.

Your specific problem is already filed #14227.

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette