Opened 11 years ago
Closed 11 years ago
#11946 closed defect (fixed)
guest additions do not build with 3.11 kernel
Reported by: | Andre Robatino | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 4.2.16 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Linux |
Description
Error from Fedora Rawhide x86_64 guest with the first 3.11 kernel:
depmod: WARNING: /lib/modules/3.11.0-0.rc0.git2.1.fc20.x86_64/kernel/drivers/char/crash.ko needs unknown symbol page_is_ram Error! Bad return status for module build on kernel: 3.11.0-0.rc0.git2.1.fc20.x86_64 (x86_64) Consult /var/lib/dkms/vboxguest/4.2.16/build/make.log for more information.
Attachments (2)
Change History (7)
by , 11 years ago
comment:1 by , 11 years ago
The problem is due to the removal of readdir from struct file in linux 3.11 in favour of a new field - iterate.
For inspiration on how to fix, perhaps one could look at the patch for the equivalent VMWare functionality shown at http://mysticalzero.blogspot.dk/2013/07/vmblock-patch-for-linux-311-rc1-vmware.html.
comment:2 by , 11 years ago
Looks like a patch was committed to fix this: https://www.virtualbox.org/changeset/47588/vbox/trunk/src/VBox/Additions/linux/sharedfolders/dirops.c
comment:3 by , 11 years ago
With VirtualBox 4.2.18, the guest additions build successfully both for 3.11 and the early 3.12 kernels, so hopefully there will be no additional problems with 3.12. Unfortunately, after installing the GA, X no longer comes up properly - I just get a black screen of the expected resolution. I can get to a VT, though.
comment:4 by , 11 years ago
Although the guest additions were building with the earlier 3.12 kernels, they don't with the latest (kernel-3.12.0-0.rc0.git14.2.fc21). Filed https://www.virtualbox.org/ticket/12083 .
comment:5 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
/var/lib/dkms/vboxguest/4.2.16/build/make.log