Virtualbox error on 3.0.64 / kernel 4.8

    • OMV 3.x
    • Virtualbox error on 3.0.64 / kernel 4.8

      Hi all,

      When i enable the virtualbox plugin i get the following error when i save changes:

      Error #0:exception 'Exception' with message 'Could not connect to host (127.0.0.1:18083/)' in /usr/share/phpvirtualbox/endpoints/lib/vboxconnector.php:220Stack trace:#0 /usr/share/openmediavault/engined/rpc/virtualbox.inc(136): vboxconnector->connect()#1 [internal function]: OMV\Engined\Rpc\VirtualBox->getMachines(Array, Array)#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)#3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getMachines', Array, Array)#4 /usr/sbin/omv-engined(522): OMV\Rpc\Rpc::call('VirtualBox', 'getMachines', Array, Array, 1)#5 {main}

      anyone seen this before?
    • Hello,

      You probably need to change 127.0.0.1 to localhost in phpvirtualbox config file.
      But as far I know this was repaired in newest plugin release by ryecoaaron. You should push owner settings, not keeping defaults.

      How did you install VB plugin? Did you kept standard settings or you pushed owner settings?
      Debian 8.6 Jessie + OMV 3.0.latest Kernel: Linux 4.8.0-0.bpo.2-amd64
      Processor: Intel Core 2 Duo E8400@3GHz
      Memory: 4GB RAM
      OS-HDD: Samsung SSD 120 GB +LVM

      Full media and download center configured.

      BIG and special thanks for OMV-Extras team for great plug-ins (especially: TeamSpeak, VirtualBox, Sonarr, Radarr, and rest I use :))

      ------------------------------

      Wise guy don't know everything, he can search or ask!
      Don't ask me via PM!
    • This error usually comes from vboxweb-service not running which usually doesn't start from the module not compiling. What is the output of: lsmod
      omv 4.1.8.2 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.9
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • Last login: Mon Feb 27 18:26:50 2017 from 10.0.0.205
      root@omv:~# lsmod
      Module Size Used by
      cpuid 16384 0
      veth 16384 0
      ipt_MASQUERADE 16384 1
      nf_nat_masquerade_ipv4 16384 1 ipt_MASQUERADE
      xfrm_user 36864 1
      xfrm_algo 16384 1 xfrm_user
      iptable_nat 16384 1
      nf_conntrack_ipv4 20480 2
      nf_defrag_ipv4 16384 1 nf_conntrack_ipv4
      nf_nat_ipv4 16384 1 iptable_nat
      xt_addrtype 16384 2
      iptable_filter 16384 1
      ip_tables 24576 2 iptable_filter,iptable_nat
      xt_conntrack 16384 1
      x_tables 36864 5 ip_tables,iptable_filter,ipt_MASQUERADE,xt_addrtype,xt_conntrack
      nf_nat 28672 2 nf_nat_masquerade_ipv4,nf_nat_ipv4
      nf_conntrack 114688 5 nf_conntrack_ipv4,nf_nat_masquerade_ipv4,xt_conntrack,nf_nat_ipv4,nf_nat
      br_netfilter 24576 0
      bridge 135168 1 br_netfilter
      stp 16384 1 bridge
      llc 16384 2 bridge,stp
      overlay 49152 1
      binfmt_misc 20480 1
      cpufreq_conservative 16384 1
      cpufreq_userspace 16384 0
      cpufreq_powersave 16384 0
      nfsd 323584 2
      auth_rpcgss 61440 1 nfsd
      nfs_acl 16384 1 nfsd
      nfs 253952 0
      lockd 90112 2 nfsd,nfs
      grace 16384 2 nfsd,lockd
      fscache 61440 1 nfs
      sunrpc 339968 6 auth_rpcgss,nfsd,nfs_acl,lockd,nfs
      quota_v2 16384 2
      quota_tree 20480 1 quota_v2
      amdkfd 139264 1
      radeon 1503232 1
      powernow_k8 28672 0
      kvm_amd 69632 0
      evdev 24576 4
      ttm 98304 1 radeon
      drm_kms_helper 155648 1 radeon
      kvm 589824 1 kvm_amd
      dcdbas 16384 0
      drm 360448 4 radeon,ttm,drm_kms_helper
      irqbypass 16384 1 kvm
      serio_raw 16384 0
      pcspkr 16384 0
      i2c_algo_bit 16384 1 radeon
      k8temp 16384 0
      shpchp 36864 0
      button 16384 0
      i2c_nforce2 16384 0
      acpi_cpufreq 20480 0
      tpm_tis 16384 0
      tpm_tis_core 20480 1 tpm_tis
      tpm 45056 2 tpm_tis,tpm_tis_core
      fuse 98304 3
      autofs4 40960 2
      ext4 593920 3
      crc16 16384 1 ext4
      jbd2 110592 1 ext4
      fscrypto 28672 1 ext4
      mbcache 16384 4 ext4
      crc32c_generic 16384 3
      btrfs 1044480 0
      xor 24576 1 btrfs
      raid6_pq 102400 1 btrfs
      dm_mod 114688 0
      md_mod 131072 0
      sd_mod 49152 8
      sg 32768 0
      sr_mod 24576 0
      cdrom 61440 1 sr_mod
      ata_generic 16384 0
      tg3 163840 0
      ohci_pci 16384 0
      ptp 20480 1 tg3
      pps_core 16384 1 ptp
      libphy 49152 1 tg3
      sata_nv 28672 5
      libata 249856 2 ata_generic,sata_nv
      ohci_hcd 53248 1 ohci_pci
      ehci_pci 16384 0
      ehci_hcd 81920 1 ehci_pci
      fjes 28672 0
      scsi_mod 225280 4 sd_mod,libata,sr_mod,sg
      usbcore 249856 4 ehci_hcd,ohci_pci,ohci_hcd,ehci_pci
      usb_common 16384 1 usbcore
      root@omv:~# service status
    • root@omv:~# service virtualbox status
      ● virtualbox.service - LSB: VirtualBox Linux kernel module
      Loaded: loaded (/etc/init.d/virtualbox)
      Active: failed (Result: exit-code) since Thu 2017-03-09 20:34:09 CET; 3min 3s ago

      Mar 09 20:34:09 omv virtualbox[11397]: Loading VirtualBox kernel modules......d!
      Mar 09 20:34:09 omv virtualbox[11397]: failed!
      Mar 09 20:34:09 omv systemd[1]: virtualbox.service: control process exited,...=1
      Mar 09 20:34:09 omv systemd[1]: Failed to start LSB: VirtualBox Linux kerne...e.
      Mar 09 20:34:09 omv systemd[1]: Unit virtualbox.service entered failed state.
      Hint: Some lines were ellipsized, use -l to show in full.
      root@omv:~#
    • The module didn't compile correctly. Try: apt-get --reinstall install virtualbox-dkms
      omv 4.1.8.2 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.9
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • When you install plugin there is question (I don't remember exactly but something like this)
      "Do you want to install standard version or version maintained by packet superior" or similar.

      Or mby it was only in some previous plugin version, I'm not sure.
      Anyway problem is with DKMS module as I see so this topic doesn't matter :)
      Debian 8.6 Jessie + OMV 3.0.latest Kernel: Linux 4.8.0-0.bpo.2-amd64
      Processor: Intel Core 2 Duo E8400@3GHz
      Memory: 4GB RAM
      OS-HDD: Samsung SSD 120 GB +LVM

      Full media and download center configured.

      BIG and special thanks for OMV-Extras team for great plug-ins (especially: TeamSpeak, VirtualBox, Sonarr, Radarr, and rest I use :))

      ------------------------------

      Wise guy don't know everything, he can search or ask!
      Don't ask me via PM!
    • root@omv:~# apt-get --reinstall install virtualbox-dkms
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
      Need to get 0 B/660 kB of archives.
      After this operation, 0 B of additional disk space will be used.
      (Reading database ... 87282 files and directories currently installed.)
      Preparing to unpack .../virtualbox-dkms_5.1.8-dfsg-6~bpo8+2_all.deb ...

      ------------------------------
      Deleting module version: 5.1.8
      completely from the DKMS tree.
      ------------------------------
      Done.
      Unpacking virtualbox-dkms (5.1.8-dfsg-6~bpo8+2) over (5.1.8-dfsg-6~bpo8+2) ...
      Setting up virtualbox-dkms (5.1.8-dfsg-6~bpo8+2) ...
      Loading new virtualbox-5.1.8 DKMS files...
      Building for 4.8.0-0.bpo.2-amd64 4.9.0-0.bpo.2-amd64
      Module build for kernel 4.8.0-0.bpo.2-amd64 was skipped since the
      kernel headers for this kernel does not seem to be installed.
      Building initial module for 4.9.0-0.bpo.2-amd64
      Error! Bad return status for module build on kernel: 4.9.0-0.bpo.2-amd64 (x86_64)
      Consult /var/lib/dkms/virtualbox/5.1.8/build/make.log for more information.
    • root@omv:~# more /var/lib/dkms/virtualbox/5.1.8/build/make.log
      DKMS make.log for virtualbox-5.1.8 for kernel 4.9.0-0.bpo.2-amd64 (x86_64)
      Sat Mar 11 07:40:31 CET 2017
      make: Entering directory '/usr/src/linux-headers-4.9.0-0.bpo.2-amd64'
      LD /var/lib/dkms/virtualbox/5.1.8/build/built-in.o
      LD /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/built-in.o
      CC [M] /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/linux/SUPDrv-linux.o
      CC [M] /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/SUPDrv.o
      CC [M] /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/SUPDrvGip.o
      CC [M] /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/SUPDrvSem.o
      CC [M] /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/SUPDrvTracer.o
      CC [M] /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/SUPLibAll.o
      CC [M] /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/alloc-r0drv.o
      CC [M] /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/initterm-r0drv.o
      CC [M] /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/memobj-r0drv.o
      CC [M] /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/mpnotification-r0drv.o
      CC [M] /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/powernotification-r0drv.o
      CC [M] /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/assert-r0drv-linux.o
      CC [M] /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.o
      CC [M] /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/initterm-r0drv-linux.o
      CC [M] /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.o
      CC [M] /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/memuserkernel-r0drv-linux.o
      /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c: In function ‘rtR0MemObjNativeLockUs
      er’:
      /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1053:33: warning: passing argument 4
      of ‘get_user_pages’ makes pointer from integer without a cast
      fWrite, /* force write access. */
      ^
      In file included from /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/the-linux-kernel.h:98:0,
      from /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:31:
      /usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/mm.h:1302:6: note: expected ‘struct page **’ but argumen
      t is of type ‘int’
      long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
      /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1054:33: warning: passing argument 5
      of ‘get_user_pages’ from incompatible pointer type
      &pMemLnx->apPages[0], /* Page array. */
      ^
      In file included from /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/the-linux-kernel.h:98:0,
      from /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:31:
      /usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/mm.h:1302:6: note: expected ‘struct vm_area_struct **’ b
      ut argument is of type ‘struct page **’
      long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
      /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1050:18: error: too many arguments t
      o function ‘get_user_pages’
      rc = get_user_pages(R3Ptr, /* Where from. */
      ^
      In file included from /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/the-linux-kernel.h:98:0,
      from /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:31:
      /usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/mm.h:1302:6: note: declared here
      long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
      /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1067:33: warning: passing argument 6
      of ‘get_user_pages_remote’ makes pointer from integer without a cast
      fWrite, /* force write access. */
      ^
      In file included from /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/the-linux-kernel.h:98:0,
      from /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:31:
      /usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/mm.h:1298:6: note: expected ‘struct page **’ but argumen
      t is of type ‘int’
      long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
      ^
      /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1068:33: warning: passing argument 7
      of ‘get_user_pages_remote’ from incompatible pointer type
      &pMemLnx->apPages[0], /* Page array. */
      ^
      In file included from /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/the-linux-kernel.h:98:0,
      from /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:31:
      /usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/mm.h:1298:6: note: expected ‘struct vm_area_struct **’ b
      ut argument is of type ‘struct page **’
      long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
      ^
      /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1061:18: error: too many arguments t
      o function ‘get_user_pages_remote’
      rc = get_user_pages_remote(
      ^
      In file included from /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/the-linux-kernel.h:98:0,
      from /var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:31:
      /usr/src/linux-headers-4.9.0-0.bpo.2-common/include/linux/mm.h:1298:6: note: declared here
      long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
      ^
      /usr/src/linux-headers-4.9.0-0.bpo.2-common/scripts/Makefile.build:298: recipe for target '/var/lib/dkms/virtualbo
      x/5.1.8/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.o' failed
      make[4]: *** [/var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.o] Error 1
      make[4]: *** Waiting for unfinished jobs....
      /usr/src/linux-headers-4.9.0-0.bpo.2-common/scripts/Makefile.build:549: recipe for target '/var/lib/dkms/virtualbo
      x/5.1.8/build/vboxdrv' failed
      make[3]: *** [/var/lib/dkms/virtualbox/5.1.8/build/vboxdrv] Error 2
      /usr/src/linux-headers-4.9.0-0.bpo.2-common/Makefile:1507: recipe for target '_module_/var/lib/dkms/virtualbox/5.1
      .8/build' failed
      make[2]: *** [_module_/var/lib/dkms/virtualbox/5.1.8/build] Error 2
      Makefile:150: 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.9.0-0.bpo.2-amd64'
      root@omv:~#
    • sanderd wrote:

      Does seem weird that errors are for kernel 4.9.0.0.
      The virtualbox-dkms package builds modules for all installed kernels.

      sanderd wrote:

      I use 4.8.0.0 because i read in the forum that virtualbox only works with 4.8.0.0.
      That is old information. I built newer virtualbox packages that work with the 4.9 kernel and put them in the omv-extras repo. I would install the latest 4.9 kernel and remove the 4.8 kernel.
      omv 4.1.8.2 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.9
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • Hi, @ryecoaaron

      Edit: After found this post, the issue has solved Virtualbox 5.1.8 and kernel 4.9 error

      ----
      After update to 3.0.65, virtualbox doesnt start anymore.

      Source Code

      1. Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl start virtualbox-web 2>&1' with exit code '1': A dependency job for virtualbox-web.service failed. See 'journalctl -xn' for details.
      2. Fehler #0:exception 'OMV\ExecException' with message 'Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl start virtualbox-web 2>&1' with exit code '1': A dependency job for virtualbox-web.service failed. See 'journalctl -xn' for details.' in /usr/share/php/openmediavault/system/process.inc:175Stack trace:#0 /usr/share/php/openmediavault/system/systemctl.inc(83): OMV\System\Process->execute(Array, 1)#1 /usr/share/php/openmediavault/system/systemctl.inc(101): OMV\System\SystemCtl->exec('start', NULL, false)#2 /usr/share/openmediavault/engined/module/virtualbox.inc(107): OMV\System\SystemCtl->enable(true)#3 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Engined\Module\VirtualBox->startService()#4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(150): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(528): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusrn...', '/tmp/bgoutputzO...')#8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(151): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))#9 /usr/share/openmediavault/engined/rpc/config.inc(208): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)#10 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)#11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)#12 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)#13 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)#14 {main}

      After try ...

      Brainfuck Source Code

      1. apt-get --reinstall install virtualbox-dkms
      2. Paketlisten werden gelesen... Fertig
      3. Abhängigkeitsbaum wird aufgebaut.
      4. Statusinformationen werden eingelesen.... Fertig
      5. 0 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen und 0 nicht aktualisiert.
      6. Es müssen noch 0 B von 660 kB an Archiven heruntergeladen werden.
      7. Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
      8. (Lese Datenbank ... 124388 Dateien und Verzeichnisse sind derzeit installiert.)
      9. Vorbereitung zum Entpacken von .../virtualbox-dkms_5.1.8-dfsg-6~bpo8+2_all.deb ...
      10. -------- Uninstall Beginning --------
      11. Module: virtualbox
      12. Version: 5.1.8
      13. Kernel: 4.8.0-0.bpo.2-amd64 (x86_64)
      14. -------------------------------------
      15. Status: Before uninstall, this module version was ACTIVE on this kernel.
      16. vboxdrv.ko:
      17. - Uninstallation
      18. - Deleting from: /lib/modules/4.8.0-0.bpo.2-amd64/updates/dkms/
      19. - Original module
      20. - No original module was found for this module on this kernel.
      21. - Use the dkms install command to reinstall any previous module version.
      22. vboxnetadp.ko:
      23. - Uninstallation
      24. - Deleting from: /lib/modules/4.8.0-0.bpo.2-amd64/updates/dkms/
      25. - Original module
      26. - No original module was found for this module on this kernel.
      27. - Use the dkms install command to reinstall any previous module version.
      28. vboxnetflt.ko:
      29. - Uninstallation
      30. - Deleting from: /lib/modules/4.8.0-0.bpo.2-amd64/updates/dkms/
      31. - Original module
      32. - No original module was found for this module on this kernel.
      33. - Use the dkms install command to reinstall any previous module version.
      34. vboxpci.ko:
      35. - Uninstallation
      36. - Deleting from: /lib/modules/4.8.0-0.bpo.2-amd64/updates/dkms/
      37. - Original module
      38. - No original module was found for this module on this kernel.
      39. - Use the dkms install command to reinstall any previous module version.
      40. depmod...
      41. DKMS: uninstall completed.
      42. ------------------------------
      43. Deleting module version: 5.1.8
      44. completely from the DKMS tree.
      45. ------------------------------
      46. Done.
      47. Entpacken von virtualbox-dkms (5.1.8-dfsg-6~bpo8+2) über (5.1.8-dfsg-6~bpo8+2) ...
      48. virtualbox-dkms (5.1.8-dfsg-6~bpo8+2) wird eingerichtet ...
      49. Loading new virtualbox-5.1.8 DKMS files...
      50. Building for 4.9.0-0.bpo.2-amd64
      51. Building initial module for 4.9.0-0.bpo.2-amd64
      52. Error! Bad return status for module build on kernel: 4.9.0-0.bpo.2-amd64 (x86_64)
      53. Consult /var/lib/dkms/virtualbox/5.1.8/build/make.log for more information.
      54. Job for virtualbox.service failed. See 'systemctl status virtualbox.service' and 'journalctl -xn' for details.
      55. invoke-rc.d: initscript virtualbox, action "restart" failed.
      Display All

      Source Code

      1. cat /var/lib/dkms/virtualbox/5.1.8/build/make.log
      2. DKMS make.log for virtualbox-5.1.8 for kernel 4.9.0-0.bpo.2-amd64 (x86_64)
      3. So 12. Mär 11:01:34 CET 2017
      4. make: Entering directory '/usr/src/linux-headers-4.9.0-0.bpo.2-amd64'
      5. ....... [cut off]
      6. long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
      7. ^
      8. /usr/src/linux-headers-4.9.0-0.bpo.2-common/scripts/Makefile.build:298: recipe for target '/var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.o' failed
      9. make[4]: *** [/var/lib/dkms/virtualbox/5.1.8/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.o] Error 1
      10. make[4]: *** Warte auf noch nicht beendete Prozesse...
      11. /usr/src/linux-headers-4.9.0-0.bpo.2-common/scripts/Makefile.build:549: recipe for target '/var/lib/dkms/virtualbox/5.1.8/build/vboxdrv' failed
      12. make[3]: *** [/var/lib/dkms/virtualbox/5.1.8/build/vboxdrv] Error 2
      13. /usr/src/linux-headers-4.9.0-0.bpo.2-common/Makefile:1507: recipe for target '_module_/var/lib/dkms/virtualbox/5.1.8/build' failed
      14. make[2]: *** [_module_/var/lib/dkms/virtualbox/5.1.8/build] Error 2
      15. Makefile:150: recipe for target 'sub-make' failed
      16. make[1]: *** [sub-make] Error 2
      17. Makefile:8: recipe for target 'all' failed
      18. make: *** [all] Error 2
      Display All


      what now?

      The post was edited 1 time, last by Wetter: Problem solved ().