[Pkg-virtualbox-devel] Bug#869258: virtualbox-dkms: fails to build on kernel version 4.11.0-1

Daniel Koszta daniel.koszta at gmail.com
Sat Jul 22 05:37:27 UTC 2017


Package: virtualbox-dkms
Version: 5.1.10-dfsg-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

After a recent dist-upgrade, VirtualBox fails to strart VMs with the
following error message:

> Kernel driver not installed (rc=-1908)
>
> The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall virtualbox-dkms package and load the kernel module by executing
>
> 'modprobe vboxdrv'
>
> as root.
>
> where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

I tried to run "dpkg-reconfigure virtualbox-dkms" which resulted in the
following error:

> Error! Bad return status for module build on kernel: 4.11.0-1-amd64
> (x86_64)
> Consult /var/lib/dkms/virtualbox/5.1.10/build/make.log for more
> information.

The relevant section of the log file is as follows:

>  CC [M] /var/lib/dkms/virtualbox/5.1.10/build/vboxdrv/r0drv/linux/mp-r0drv-linux.o
> /var/lib/dkms/virtualbox/5.1.10/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c: In function ‘rtR0MemObjNativeLockUser’:
> /var/lib/dkms/virtualbox/5.1.10/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1067:18: error: too few arguments to function ‘get_user_pages_remote’
>              rc = get_user_pages_remote(
>                   ^~~~~~~~~~~~~~~~~~~~~
> In file included from /var/lib/dkms/virtualbox/5.1.10/build/vboxdrv/r0drv/linux/the-linux-kernel.h:98:0,
>                  from /var/lib/dkms/virtualbox/5.1.10/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:31:
> /usr/src/linux-headers-4.11.0-1-common/include/linux/mm.h:1326:6: note: declared here
>  long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
>       ^~~~~~~~~~~~~~~~~~~~~
> /usr/src/linux-headers-4.11.0-1-common/scripts/Makefile.build:299: recipe for target '/var/lib/dkms/virtualbox/5.1.10/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.o' failed

As a workaround, I found that switching back to the older kernel version
(4.9.0-3) works.



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.11.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=hu_HU.utf8, LC_CTYPE=hu_HU.utf8 (charmap=UTF-8), LANGUAGE=hu_HU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages virtualbox-dkms depends on:
ii  dkms  2.3-3

Versions of packages virtualbox-dkms recommends:
ii  virtualbox  5.1.10-dfsg-1

virtualbox-dkms suggests no packages.

-- no debconf information


More information about the Pkg-virtualbox-devel mailing list