[Pkg-virtualbox-devel] Bug#780939: virtualbox-dkms does not work for backported kernels.
Omer van der Horst Jansen
omerhj at yahoo.com
Sun Sep 13 15:13:07 UTC 2015
I'm encountering what's probably the same issue.
omer at triton:~$ aptitude show linux-headers-`uname -r`
Package: linux-headers-4.1.0-0.bpo.2-amd64
State: installed
Automatically installed: yes
Version: 4.1.6-1~bpo8+1
Priority: optional
Section: kernel
Maintainer: Debian Kernel Team <debian-kernel at lists.debian.org>
Architecture: amd64
Uncompressed Size: 2,404 k
Depends: linux-headers-4.1.0-0.bpo.2-common (= 4.1.6-1~bpo8+1), linux-kbuild-4.1, linux-compiler-gcc-4.9-x86
Description: Header files for Linux 4.1.0-0.bpo.2-amd64
This package provides the architecture-specific kernel header files for Linux kernel 4.1.0-0.bpo.2-amd64, generally used for
building out-of-tree kernel modules. These files are going to be installed into /usr/src/linux-headers-4.1.0-0.bpo.2-amd64, and
can be used for building modules that load into the kernel provided by the linux-image-4.1.0-0.bpo.2-amd64 package.
Homepage: https://www.kernel.org/
sudo dpkg-reconfigure virtualbox-dkms
[sudo] password for omer:
------------------------------
Deleting module version: 4.3.18
completely from the DKMS tree.
------------------------------
Done.
Loading new virtualbox-4.3.18 DKMS files...
Building only for 4.1.0-0.bpo.2-amd64
Building initial module for 4.1.0-0.bpo.2-amd64
Error! Bad return status for module build on kernel: 4.1.0-0.bpo.2-amd64 (x86_64)
Consult /var/lib/dkms/virtualbox/4.3.18/build/make.log for more information.
Job for virtualbox.service failed. See 'systemctl status virtualbox.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript virtualbox, action "restart" failed.
The make.log file contains error messages:
DKMS make.log for virtualbox-4.3.18 for kernel 4.1.0-0.bpo.2-amd64 (x86_64)
Sun Sep 13 10:54:26 EDT 2015
make: Entering directory '/usr/src/linux-headers-4.1.0-0.bpo.2-amd64'
LD /var/lib/dkms/virtualbox/4.3.18/build/built-in.o
LD /var/lib/dkms/virtualbox/4.3.18/build/vboxdrv/built-in.o
CC [M] /var/lib/dkms/virtualbox/4.3.18/build/vboxdrv/linux/SUPDrv-linux.o
<snipped lots of lines with no errors>
CC [M] /var/lib/dkms/virtualbox/4.3.18/build/vboxnetflt/linux/VBoxNetFlt-linux.o
/var/lib/dkms/virtualbox/4.3.18/build/vboxnetflt/linux/VBoxNetFlt-linux.c: In function ‘vboxNetFltLinuxPacketHandler’:
/var/lib/dkms/virtualbox/4.3.18/build/vboxnetflt/linux/VBoxNetFlt-linux.c:892:9: error: implicit declaration of function ‘vlan_tx_tag_present’ [-Werror=implicit-function-declaration]
if (vlan_tx_tag_present(pBuf) && skb_headroom(pBuf) >= VLAN_ETH_HLEN)
^
/var/lib/dkms/virtualbox/4.3.18/build/vboxnetflt/linux/VBoxNetFlt-linux.c:902:13: error: implicit declaration of function ‘vlan_tx_tag_get’ [-Werror=implicit-function-declaration]
pVHdr->h_vlan_TCI = RT_H2N_U16(vlan_tx_tag_get(pBuf));
^
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.1.0-0.bpo.2-common/scripts/Makefile.build:263: recipe for target '/var/lib/dkms/virtualbox/4.3.18/build/vboxnetflt/linux/VBoxNetFlt-linux.o' failed
make[4]: *** [/var/lib/dkms/virtualbox/4.3.18/build/vboxnetflt/linux/VBoxNetFlt-linux.o] Error 1
/usr/src/linux-headers-4.1.0-0.bpo.2-common/scripts/Makefile.build:408: recipe for target '/var/lib/dkms/virtualbox/4.3.18/build/vboxnetflt' failed
make[3]: *** [/var/lib/dkms/virtualbox/4.3.18/build/vboxnetflt] Error 2
/usr/src/linux-headers-4.1.0-0.bpo.2-common/Makefile:1401: recipe for target '_module_/var/lib/dkms/virtualbox/4.3.18/build' failed
make[2]: *** [_module_/var/lib/dkms/virtualbox/4.3.18/build] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/usr/src/linux-headers-4.1.0-0.bpo.2-amd64'
Here's the module info you requested for the earlier bug report in case you need it:
omer at triton:~$ ls /lib/modules/`uname -r`/ -l
total 3756
lrwxrwxrwx 1 root root 42 Sep 11 00:59 build -> /usr/src/linux-headers-4.1.0-0.bpo.2-amd64
drwxr-xr-x 10 root root 4096 Sep 12 21:10 kernel
-rw-r--r-- 1 root root 923277 Sep 12 21:10 modules.alias
-rw-r--r-- 1 root root 891583 Sep 12 21:10 modules.alias.bin
-rw-r--r-- 1 root root 3224 Sep 11 00:59 modules.builtin
-rw-r--r-- 1 root root 4654 Sep 12 21:10 modules.builtin.bin
-rw-r--r-- 1 root root 361120 Sep 12 21:10 modules.dep
-rw-r--r-- 1 root root 501580 Sep 12 21:10 modules.dep.bin
-rw-r--r-- 1 root root 402 Sep 12 21:10 modules.devname
-rw-r--r-- 1 root root 122183 Sep 11 00:59 modules.order
-rw-r--r-- 1 root root 181 Sep 12 21:10 modules.softdep
-rw-r--r-- 1 root root 446916 Sep 12 21:10 modules.symbols
-rw-r--r-- 1 root root 557643 Sep 12 21:10 modules.symbols.bin
lrwxrwxrwx 1 root root 43 Sep 11 00:59 source -> /usr/src/linux-headers-4.1.0-0.bpo.2-common
Thanks, Omer
More information about the Pkg-virtualbox-devel
mailing list