﻿id	summary	reporter	owner	description	type	status	component	version	resolution	keywords	cc	guest	host
14643	kernel drivers are not installed	KES		"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"	defect	closed	other	VirtualBox 4.2.30	worksforme			other	other
