Package: virtualbox-dkms
Version: 4.3.36-dfsg-1+deb8u1
Severity: serious

Hi,

This module does not build on my system any more (see attached log)

There appear to be at least 2 errors:

/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:581:21:
 error: implicit declaration of function ‘page_cache_release’ 
[-Werror=implicit-function-declaration]
                     page_cache_release(pMemLnx->apPages[iPage]);

/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1032:14:
 error: too many arguments to function ‘get_user_pages’
         rc = get_user_pages(pTask,                  /* Task for fault 
accounting. */
              ^
Regards,

Matthew

-- System Information:
Debian Release: stretch/sid
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'testing'), (500, 
'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.3.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages virtualbox-dkms depends on:
ii  dkms  2.2.0.3-5

Versions of packages virtualbox-dkms recommends:
ii  virtualbox  4.3.36-dfsg-1+deb8u1

virtualbox-dkms suggests no packages.

-- no debconf information
DKMS make.log for virtualbox-4.3.36 for kernel 4.6.0-1-amd64 (x86_64)
Tue 12 Jul 10:36:43 BST 2016
make: Entering directory '/usr/src/linux-headers-4.6.0-1-amd64'
  LD      /var/lib/dkms/virtualbox/4.3.36/build/built-in.o
  LD      /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/built-in.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/linux/SUPDrv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/SUPDrv.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/SUPDrvSem.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/SUPDrvTracer.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/alloc-r0drv.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/initterm-r0drv.o
  CC [M]  /var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/memobj-r0drv.o
  CC [M]  
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/mpnotification-r0drv.o
  CC [M]  
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/powernotification-r0drv.o
  CC [M]  
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/assert-r0drv-linux.o
  CC [M]  
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.o
  CC [M]  
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/initterm-r0drv-linux.o
  CC [M]  
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.o
  CC [M]  
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memuserkernel-r0drv-linux.o
  CC [M]  
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/mp-r0drv-linux.o
  CC [M]  
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/mpnotification-r0drv-linux.o
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c: 
In function ‘rtR0MemObjNativeFree’:
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:581:21:
 error: implicit declaration of function ‘page_cache_release’ 
[-Werror=implicit-function-declaration]
                     page_cache_release(pMemLnx->apPages[iPage]);
                     ^
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c: 
In function ‘rtR0MemObjNativeLockUser’:
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1032:29:
 warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer 
without a cast [-Wint-conversion]
         rc = get_user_pages(pTask,                  /* Task for fault 
accounting. */
                             ^
In file included from 
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/the-linux-kernel.h:88:0,
                 from 
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:31:
/usr/src/linux-headers-4.6.0-1-common/include/linux/mm.h:1288:6: note: expected 
‘long unsigned int’ but argument is of type ‘struct task_struct *’
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1033:29:
 warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer 
without a cast [-Wint-conversion]
                             pTask->mm,              /* Whose pages. */
                             ^
In file included from 
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/the-linux-kernel.h:88:0,
                 from 
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:31:
/usr/src/linux-headers-4.6.0-1-common/include/linux/mm.h:1288:6: note: expected 
‘long unsigned int’ but argument is of type ‘struct mm_struct *’
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1036:29:
 warning: passing argument 5 of ‘get_user_pages’ makes pointer from integer 
without a cast [-Wint-conversion]
                             fWrite,                 /* Write to memory. */
                             ^
In file included from 
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/the-linux-kernel.h:88:0,
                 from 
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:31:
/usr/src/linux-headers-4.6.0-1-common/include/linux/mm.h:1288:6: note: expected 
‘struct page **’ but argument is of type ‘int’
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1037:29:
 warning: passing argument 6 of ‘get_user_pages’ makes pointer from integer 
without a cast [-Wint-conversion]
                             fWrite,                 /* force write access. */
                             ^
In file included from 
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/the-linux-kernel.h:88:0,
                 from 
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:31:
/usr/src/linux-headers-4.6.0-1-common/include/linux/mm.h:1288:6: note: expected 
‘struct vm_area_struct **’ but argument is of type ‘int’
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1032:14:
 error: too many arguments to function ‘get_user_pages’
         rc = get_user_pages(pTask,                  /* Task for fault 
accounting. */
              ^
In file included from 
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/the-linux-kernel.h:88:0,
                 from 
/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:31:
/usr/src/linux-headers-4.6.0-1-common/include/linux/mm.h:1288:6: note: declared 
here
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.6.0-1-common/scripts/Makefile.build:296: recipe for 
target 
'/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.o'
 failed
make[4]: *** 
[/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.o]
 Error 1
make[4]: *** Waiting for unfinished jobs....
/usr/src/linux-headers-4.6.0-1-common/scripts/Makefile.build:445: recipe for 
target '/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv' failed
make[3]: *** [/var/lib/dkms/virtualbox/4.3.36/build/vboxdrv] Error 2
/usr/src/linux-headers-4.6.0-1-common/Makefile:1446: recipe for target 
'_module_/var/lib/dkms/virtualbox/4.3.36/build' failed
make[2]: *** [_module_/var/lib/dkms/virtualbox/4.3.36/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.6.0-1-amd64'

Reply via email to