VirtualBox

Opened 9 years ago

Closed 9 years ago

#14643 closed defect (worksforme)

kernel drivers are not installed

Reported by: KES Owned by:
Component: other Version: VirtualBox 4.2.30
Keywords: Cc:
Guest type: other Host type: other

Description (last modified by Frank Mehnert)

When I install new kernel I get error:

run-parts: executing /etc/kernel/postinst.d/dkms 4.2.0-040200-generic /boot/vmlinuz-4.2.0-040200-generic
Error! Bad return status for module build on kernel: 4.2.0-040200-generic (x86_64)
Consult /var/lib/dkms/virtualbox-guest/4.3.18/build/make.log for more information.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.2.0-040200-generic /boot/vmlinuz-4.2.0-040200-generic

$ cat make.log
  LD [M]  /var/lib/dkms/virtualbox-guest/4.3.18/build/vboxguest/vboxguest.o
  LD      /var/lib/dkms/virtualbox-guest/4.3.18/build/vboxsf/built-in.o
  CC [M]  /var/lib/dkms/virtualbox-guest/4.3.18/build/vboxsf/vfsmod.o
  CC [M]  /var/lib/dkms/virtualbox-guest/4.3.18/build/vboxsf/dirops.o
In file included from /var/lib/dkms/virtualbox-guest/4.3.18/build/vboxsf/dirops.c:19:0:
/var/lib/dkms/virtualbox-guest/4.3.18/build/vboxsf/dirops.c: In function ‘sf_getdent’:
/var/lib/dkms/virtualbox-guest/4.3.18/build/vboxsf/dirops.c:129:29: error: ‘struct file’ has no member named ‘f_dentry’
     sf_g = GET_GLOB_INFO(dir->f_dentry->d_inode->i_sb);
                             ^
/var/lib/dkms/virtualbox-guest/4.3.18/build/vboxsf/vfsmod.h:144:60: note: in definition of macro ‘GET_GLOB_INFO’
 # define GET_GLOB_INFO(sb)       ((struct sf_glob_info *) (sb)->s_fs_info)
                                                            ^
/var/lib/dkms/virtualbox-guest/4.3.18/build/vboxsf/dirops.c:135:16: error: ‘struct file’ has no member named ‘f_dentry’
     inode = dir->f_dentry->d_inode;
                ^
make[2]: *** [/var/lib/dkms/virtualbox-guest/4.3.18/build/vboxsf/dirops.o] Error 1
make[1]: *** [/var/lib/dkms/virtualbox-guest/4.3.18/build/vboxsf] Error 2
make: *** [_module_/var/lib/dkms/virtualbox-guest/4.3.18/build] Error 2
make: Leaving directory `/usr/src/linux-headers-4.2.0-040200-generic'

After this and reboot the Virtual Box stops to work. I need deinstall/reinstall to reanimate it.

It is strange that error says vbox is 4.3.18, but my version is:

Version 4.3.30
(C) 2007-2015 Oracle Corporation
All rights reserved.
4.3.30r101610
 999

Attachments (1)

make.log (8.0 KB ) - added by KES 9 years ago.

Download all attachments as: .zip

Change History (3)

by KES, 9 years ago

Attachment: make.log added

comment:1 by Frank Mehnert, 9 years ago

Description: modified (diff)

comment:2 by Frank Mehnert, 9 years ago

Resolution: worksforme
Status: newclosed

You are talking about the VirtualBox Guest Additions kernel modules. The Additions of VBox 4.3.18 do NOT support Linux 4.2.x (for obvious reasons). You have to upgrade the Guest Additions to version 4.3.30 or 5.0.2.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use