VirtualBox

Ticket #13123 (closed defect: fixed)

Opened 4 years ago

Last modified 2 years ago

guest additions do not build with 3.16 kernel -> fixed in 4.2.x and later releases after 15 July 2014

Reported by: robatino Owned by:
Priority: major 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

make.log Download (10.4 KB) - added by robatino 4 years ago.
/var/lib/dkms/vboxguest/4.3.12/build/make.log
VBox.log Download (96.9 KB) - added by robatino 4 years ago.
vboxadd-install.log Download (188.9 KB) - added by robatino 3 years ago.
make.bcmwl.log Download (4.4 KB) - added by palmito 2 years ago.
make.vboxguest.log Download (8.4 KB) - added by palmito 2 years ago.

Change History

Changed 4 years ago by robatino

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

Changed 4 years ago by robatino

comment:1 Changed 4 years ago by robatino

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

comment:2 Changed 3 years ago by 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.

Last edited 3 years ago by Murple (previous) (diff)

comment:3 Changed 3 years ago by frank

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 Changed 3 years ago by 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 Changed 3 years ago by frank

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 Changed 3 years ago by 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.

Changed 3 years ago by robatino

comment:7 Changed 3 years ago by michael

  • Summary changed from guest additions do not build with 3.16 kernel to 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.

comment:8 Changed 3 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in VBox 4.3.14.

Changed 2 years ago by palmito

Changed 2 years ago by palmito

comment:9 Changed 2 years ago by palmito

  • Status changed from closed to reopened
  • Resolution fixed deleted

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 Changed 2 years ago by vushakov

  • Status changed from reopened to closed
  • Resolution set to fixed

Please, don't reopen unrelated bugs.

Your specific problem is already filed #14227.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use