<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2018-06-23 12:50 GMT+02:00 Geert Stappers <span dir="ltr"><<a href="mailto:stappers@stappers.nl" target="_blank">stappers@stappers.nl</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, Jun 23, 2018 at 12:40:46PM +0200, <a href="mailto:harry.harmsen@gmail.com">harry.harmsen@gmail.com</a> wrote:<br>
> *Linux Mint 17.3. Na terugzetten van een vorige situatie wil mijn Oracle VM<br>
> Virual Box niet meer opstarten. Ik krijg de volgende foutmelding:*<br>
> <br>
> *Kernel driver not installed (rc=-1908)*<br>
> The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there<br>
> is a permission problem with /dev/vboxdrv. Please reinstall the kernel<br>
> module by executing<br>
> '/sbin/rcvboxdrv setup'<br>
> as root. If it is available in your distribution, you should install the<br>
> DKMS package first. This package keeps track of Linux kernel changes and<br>
> recompiles the vboxdrv kernel module if necessary.<br>
> where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The<br>
> support driver is not installed. On linux, open returned ENOENT.<br>
> <br>
> *Als ik dan in de terminal als root de aangegeven opdracht uitvoer, is dit<br>
> het terminalscherm:*<br>
> <br>
> harry@harry-MS-7708 ~ $ sudo /sbin/rcvboxdrv setup<br>
> [sudo] password for harry:<br>
> Stopping VirtualBox kernel modules ...done.<br>
> Uninstalling old VirtualBox DKMS kernel modules ...done.<br>
> Trying to register the VirtualBox kernel modules using DKMSError! Bad<br>
> return status for module build on kernel: 4.15.13-041513-generic (x86_64)<br>
> Consult /var/lib/dkms/vboxhost/5.0.40/<wbr>build/make.log for more information.<br>
> ...failed!<br>
> (Failed, trying without DKMS)<br>
> Recompiling VirtualBox kernel modules ...failed!<br>
> (Look at /var/log/vbox-install.log to find out what went wrong)<br>
> harry@harry-MS-7708 ~ $<br>
> <br>
> *Het genoemde logbestand ziet er zo uit:*<br>
> <br>
> Uninstalling modules from DKMS<br>
> removing old DKMS module vboxhost version 5.0.40<br>
> <br>
> -------- Uninstall Beginning --------<br>
> Module: vboxhost<br>
> Version: 5.0.40<br>
> Kernel: 4.0.0-040000-generic (x86_64)<br>
> ------------------------------<wbr>-------<br>
> <br>
> Status: Before uninstall, this module version was ACTIVE on this kernel.<br>
> <br>
> vboxdrv.ko:<br>
> - Uninstallation<br>
> - Deleting from: /lib/modules/4.0.0-040000-<wbr>generic/kernel/misc/<br>
> - Original module<br>
> - No original module was found for this module on this kernel.<br>
> - Use the dkms install command to reinstall any previous module version.<br>
> <br>
> vboxnetflt.ko:<br>
> - Uninstallation<br>
> - Deleting from: /lib/modules/4.0.0-040000-<wbr>generic/kernel/misc/<br>
> - Original module<br>
> - No original module was found for this module on this kernel.<br>
> - Use the dkms install command to reinstall any previous module version.<br>
> <br>
> vboxnetadp.ko:<br>
> - Uninstallation<br>
> - Deleting from: /lib/modules/4.0.0-040000-<wbr>generic/kernel/misc/<br>
> - Original module<br>
> - No original module was found for this module on this kernel.<br>
> - Use the dkms install command to reinstall any previous module version.<br>
> <br>
> vboxpci.ko:<br>
> - Uninstallation<br>
> - Deleting from: /lib/modules/4.0.0-040000-<wbr>generic/kernel/misc/<br>
> - Original module<br>
> - No original module was found for this module on this kernel.<br>
> - Use the dkms install command to reinstall any previous module version.<br>
> <br>
> depmod....<br>
> <br>
> DKMS: uninstall completed.<br>
> <br>
> ------------------------------<br>
> Deleting module version: 5.0.40<br>
> completely from the DKMS tree.<br>
> ------------------------------<br>
> Done.<br>
> Attempting to install using DKMS<br>
> <br>
> Creating symlink /var/lib/dkms/vboxhost/5.0.40/<wbr>source -><br>
> /usr/src/vboxhost-5.0.40<br>
> <br>
> DKMS: add completed.<br>
> <br>
> Kernel preparation unnecessary for this kernel. Skipping...<br>
> <br>
> Building module:<br>
> cleaning build area....<br>
> make KERNELRELEASE=4.15.13-041513-<wbr>generic -C<br>
> /lib/modules/4.15.13-041513-<wbr>generic/build<br>
> M=/var/lib/dkms/vboxhost/5.0.<wbr>40/build....(bad exit status: 2)<br>
> Failed to install using DKMS, attempting to install without<br>
> make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0<br>
> CONFIG_MODULE_SIG= -C /lib/modules/4.15.13-041513-<wbr>generic/build modules<br>
> Makefile:946: "Cannot use CONFIG_STACK_VALIDATION=y, please install<br>
> libelf-dev, libelf-devel or elfutils-libelf-devel"<br>
> test -e include/generated/autoconf.h -a -e include/config/auto.conf || (<br>
> \<br>
> echo >&2; \<br>
> echo >&2 " ERROR: Kernel configuration is invalid."; \<br>
> echo >&2 " include/generated/autoconf.h or<br>
> include/config/auto.conf are missing.";\<br>
> echo >&2 " Run 'make oldconfig && make prepare' on kernel src<br>
> to fix it."; \<br>
> echo >&2 ; \<br>
> /bin/false)<br>
> mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*<br>
> make -f ./scripts/Makefile.build obj=/tmp/vbox.0<br>
> gcc -Wp,-MD,/tmp/vbox.0/linux/.<wbr>SUPDrv-linux.o.d -nostdinc -isystem<br>
> /usr/lib/gcc/x86_64-linux-gnu/<wbr>4.8/include -I./arch/x86/include<br>
> -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi<br>
> -I./arch/x86/include/<wbr>generated/uapi -I./include/uapi<br>
> -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__<br>
> -fno-pie -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs<br>
> -fno-strict-aliasing -fno-common -fshort-wchar<br>
> -Werror-implicit-function-<wbr>declaration -Wno-format-security -std=gnu89<br>
> -fno-PIE -fno-pie -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64<br>
> -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387<br>
> -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel<br>
> -funit-at-a-time -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1<br>
> -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1<br>
> -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1<br>
> -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1<br>
> -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare<br>
> -fno-asynchronous-unwind-<wbr>tables -mindirect-branch=thunk-extern<br>
> -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-<wbr>checks -O2<br>
> -Wno-maybe-uninitialized --param=allow-store-data-<wbr>races=0<br>
> -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong<br>
> -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -include<br>
> /tmp/vbox.0/include/VBox/<wbr>SUPDrvMangling.h<br>
> -I/lib/modules/4.15.13-041513-<wbr>generic/build/include -I/tmp/vbox.0/<br>
> -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/<br>
> -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/<wbr>linux<br>
> -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0<br>
> -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER<br>
> -Wno-declaration-after-<wbr>statement -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64<br>
> -DVBOX_WITH_64_BITS_GUESTS -fno-pie -DMODULE<br>
> -DKBUILD_BASENAME='"SUPDrv_<wbr>linux"' -DKBUILD_MODNAME='"vboxdrv"' -c -o<br>
> /tmp/vbox.0/linux/SUPDrv-<wbr>linux.o /tmp/vbox.0/linux/SUPDrv-<wbr>linux.c<br>
> gcc: error: unrecognized command line option ???-fstack-protector-strong???<br>
> make[2]: *** [/tmp/vbox.0/linux/SUPDrv-<wbr>linux.o] Fout 1<br>
> make[1]: *** [_module_/tmp/vbox.0] Fout 2<br>
> make: *** [vboxdrv] Fout 2<br>
> <br>
> <br>
> <br>
> <br>
> <br>
> *Maar ik krijg nog steeds de virtuele machine niet opgestart.Wat moet ik<br>
> nog meer doen?Alvast bedankt voor de hulp.*<br>
> <br>
<br>
<br>
Op mailinglist debian-user-dutch kwam iets soortsgelijks voorbij.<br>
<br>
Daar was schijnbaar de truuk<br>
<br>
dpkg-reconfigure virtualbox-dkms<br>
<br>
<br>
Laat vooral weten of dat (wel of niet) geholpen heeft.<br>
<br>
<br>
Zie eventueel <a href="https://lists.debian.org/debian-user-dutch/2018/06/msg00022.html" rel="noreferrer" target="_blank">https://lists.debian.org/<wbr>debian-user-dutch/2018/06/<wbr>msg00022.html</a><br>
<br>
<br>
<br>
Groeten<br>
<span class="HOEnZb"><font color="#888888">Geert Stappers<br>
-- <br>
Leven en laten leven<br>
<br>
</font></span></blockquote></div><div dir="ltr"><div>Dank je, Geert.</div><div>De opdracht die je geeft levert het volgende op in het terminalscherm:</div><div><br></div><div>dpkg-query: pakket 'virtualbox-dkms' is niet geïnstalleerd en er is geen info beschikbaar<br>Gebruik dpkg --info (= dpkg-deb --info) om archiefbestanden te bekijken,<br>en dpkg --contents (= dpkg-deb --contents) om de inhoud weer te geven.<br>/usr/sbin/dpkg-reconfigure: virtualbox-dkms is niet geïnstalleerd</div><div><br></div><div>Blijkbaar moet ik eerst dkms installeren.</div><div>Als ik dat doe met sudo apt-get install dkms</div><div>krijg ik het volgende op het terminalscherm:</div><div><br></div><div>Pakketlijsten worden ingelezen... Klaar<br>Boom van vereisten wordt opgebouwd <br>De status informatie wordt gelezen... Klaar<br>dkms is al de nieuwste versie.<br>De volgende pakketten zijn automatisch geïnstalleerd en zijn niet langer nodig:<br> kodi-bin libcec4 libcrossguid1 libgif5 libmicrohttpd10 libnfs1<br> libp8-platform2 libshairplay0 libva-intel-vaapi-driver python-bluez<br>Use 'apt-get autoremove' to remove them.<br>0 pakketten opgewaardeerd, 0 pakketten nieuw geïnstalleerd, 0 te verwijderen en 38 niet opgewaardeerd.</div><div><br></div><div>Hieruit concludeer ik dat dkms al geïnstalleerd is. Klopt dat?</div><div>Maar het schiet dus niet op...</div><div>Nog andere suggesties?</div><div><br></div><div>Eventueel overweeg ik Virtual Box opnieuw te installeren.</div><div>Maar dan ben ik dus ook mijn huidige virtuele machines kwijt.</div><div>Moet
ik dan alles opnieuw in de VB installeren, of kan ik op een of ander
manier mijn bestaande virtuele machines bewaren en opnieuw
'aankoppelen'?</div><div>Zo ja, hoe doe ik dat dan precies?</div><div><br></div><div><br></div></div><div class="gmail_extra">Groet,<br><div><div class="gmail-m_106361014470968462gmail_signature">Harry Harmsen<br>Assen</div></div></div><br></div></div>