View Issue Details

IDProjectCategoryView StatusLast Update
0001279Kali LinuxGeneral Bugpublic2014-05-24 20:35
Reportermuts Assigned Torhertzog  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Fixed in Version1.0.7 
Summary0001279: Possible issues with virtualbox 3.4 and kernel 3.14
Description

Upgrade to 3.14 fails with:

dpkg-reconfigure linux-image-3.14-kali1-amd64
/etc/kernel/postinst.d/dkms:
Error! Could not locate dkms.conf file.
File: does not exist.
Error! Error! Your kernel headers for kernel 3.14-kali1-amd64 cannot be found.
Please install the linux-headers-3.14-kali1-amd64 package,
or use the --kernelsourcedir option to tell DKMS where it's located
Your kernel headers for kernel 3.14-kali1-amd64 cannot be found.
Please install the linux-headers-3.14-kali1-amd64 package,
or use the --kernelsourcedir option to tell DKMS where it's located
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-3.14-kali1-amd64
/etc/kernel/postinst.d/zz-update-grub:
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found Xen hypervisor 4.1-amd64, kernel: /boot/vmlinuz-3.14-kali1-amd64
Found Xen hypervisor 4.1-amd64, kernel: /boot/vmlinuz-3.12-kali1-amd64
Found Xen hypervisor 4.1-amd64, kernel: /boot/vmlinuz-3.7-trunk-amd64
Found kernel: /boot/vmlinuz-3.14-kali1-amd64
Found kernel: /boot/vmlinuz-3.12-kali1-amd64
Found kernel: /boot/vmlinuz-3.7-trunk-amd64
Updating /boot/grub/menu.lst ... done

Activities

rhertzog

rhertzog

2014-05-24 19:45

administrator   ~0001907

Do you have linux-headers-amd64 installed ? If yes, it should have pulled linux-headers-3.14-amd64 and you should not have error messages about missing headers (or only temporarily during the upgrade).

rhertzog

rhertzog

2014-05-24 19:49

administrator   ~0001908

It happens that you get some complaints during update of linux-image-3.14-kali1-amd64 because linux-headers-3.14-kali1-amd64 is often only upgraded afterwards. But once linux-headers-3.14-kali1-amd64 is installed, it should trigger /etc/kernel/header_postinst.d/dkms which does mostly the same than /etc/kernel/postinst.d/dkms.

rhertzog

rhertzog

2014-05-24 20:13

administrator   ~0001909

So virtualbox-source is not really compatible with Linux 3.14, I confirmed it:

Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.14-kali1-amd64
Error! Bad return status for module build on kernel: 3.14-kali1-amd64 (x86_64)
Consult /var/lib/dkms/virtualbox/4.1.18/build/make.log for more information.

And then the log file says:

DKMS make.log for virtualbox-4.1.18 for kernel 3.14-kali1-amd64 (x86_64)
samedi 24 mai 2014, 20:08:21 (UTC+0000)
make: entrant dans le répertoire « /usr/src/linux-headers-3.14-kali1-amd64 »
LD /var/lib/dkms/virtualbox/4.1.18/build/built-in.o
LD /var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/built-in.o
CC [M] /var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/linux/SUPDrv-linux.o
/var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/linux/SUPDrv-linux.c: In function ‘vboxdrvLinuxUid’:
/var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/linux/SUPDrv-linux.c:226:5: error: incompatible types when returning type ‘kuid_t’ but ‘RTUID’ was expected
/var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/linux/SUPDrv-linux.c: In function ‘vboxdrvLinuxGid’:
/var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/linux/SUPDrv-linux.c:235:5: error: incompatible types when returning type ‘kgid_t’ but ‘RTGID’ was expected
/var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/linux/SUPDrv-linux.c: In function ‘vboxdrvLinuxEuid’:
/var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/linux/SUPDrv-linux.c:244:5: error: incompatible types when returning type ‘kuid_t’ but ‘RTUID’ was expected
/var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/linux/SUPDrv-linux.c:248:1: warning: control reaches end of non-void function [-Wreturn-type]
/var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/linux/SUPDrv-linux.c: In function ‘vboxdrvLinuxUid’:
/var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/linux/SUPDrv-linux.c:230:1: warning: control reaches end of non-void function [-Wreturn-type]
/var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/linux/SUPDrv-linux.c: In function ‘vboxdrvLinuxGid’:
/var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/linux/SUPDrv-linux.c:239:1: warning: control reaches end of non-void function [-Wreturn-type]
make[4]: [/var/lib/dkms/virtualbox/4.1.18/build/vboxdrv/linux/SUPDrv-linux.o] Erreur 1
make[3]:
[/var/lib/dkms/virtualbox/4.1.18/build/vboxdrv] Erreur 2
make[2]: [module/var/lib/dkms/virtualbox/4.1.18/build] Erreur 2
make[1]:
[sub-make] Erreur 2
make: *** [all] Erreur 2
make: quittant le répertoire « /usr/src/linux-headers-3.14-kali1-amd64 »

rhertzog

rhertzog

2014-05-24 20:35

administrator   ~0001910

I imported virtualbox 4.3.10-dfsg-1~bpo70+1 from wheezy-backports together with gsoap 2.8.16-2~bpo70+1 to fix this issue.

Issue History

Date Modified Username Field Change
2014-05-24 09:28 muts New Issue
2014-05-24 19:45 rhertzog Note Added: 0001907
2014-05-24 19:49 rhertzog Note Added: 0001908
2014-05-24 20:13 rhertzog Note Added: 0001909
2014-05-24 20:35 rhertzog Note Added: 0001910
2014-05-24 20:35 rhertzog Status new => resolved
2014-05-24 20:35 rhertzog Fixed in Version => 1.0.7
2014-05-24 20:35 rhertzog Resolution open => fixed
2014-05-24 20:35 rhertzog Assigned To => rhertzog