But this just failed with the following error (i am running my own kernel because of suspend to disk issues) inside /var/log/vbox-install.log:# dpkg -i virtualbox-5.2_5.2.10-122088~Debian~stretch_amd64.deb Vormals nicht ausgewähltes Paket virtualbox-5.2 wird gewählt. (Lese Datenbank ... 378316 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von virtualbox-5.2_5.2.10-122088~Debian~stretch_amd64.deb ... Entpacken von virtualbox-5.2 (5.2.10-122088~Debian~stretch) ... virtualbox-5.2 (5.2.10-122088~Debian~stretch) wird eingerichtet ... addgroup: Die Gruppe »vboxusers« existiert bereits als Systemgruppe. Programmende. vboxdrv.sh: failed: Look at /var/log/vbox-install.log to find out what went wrong. There were problems setting up VirtualBox. To re-start the set-up process, run /sbin/vboxconfig as root. Trigger für systemd (237-3ubuntu10) werden verarbeitet ... Trigger für ureadahead (0.100.0-20) werden verarbeitet ... Trigger für gnome-menus (3.13.3-11ubuntu1) werden verarbeitet ... Trigger für bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) werden verarbeitet ... Rebuilding /usr/share/applications/bamf-2.index... Trigger für desktop-file-utils (0.23-1ubuntu3) werden verarbeitet ... Trigger für mime-support (3.60ubuntu1) werden verarbeitet ... Trigger für hicolor-icon-theme (0.17-2) werden verarbeitet ... Trigger für shared-mime-info (1.9-2) werden verarbeitet ...
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) mkdir -p /lib/modules/4.17.0-rc3/misc
and at the end:
/tmp/vbox.0/linux/VBoxPci-linux.c:92:40: error: implicit declaration of function ‘pci_get_bus_and_slot’; did you mean ‘pci_get_domain_bus_and_slot’? [-Werror=implicit-function-declaration] # define PCI_DEV_GET_SLOT(bus, devfn) pci_get_bus_and_slot(bus, devfn) ^ /tmp/vbox.0/linux/VBoxPci-linux.c:397:15: note: in expansion of macro ‘PCI_DEV_GET_SLOT’ pPciDev = PCI_DEV_GET_SLOT(uBus, uDevFn); ^~~~~~~~~~~~~~~~ /tmp/vbox.0/linux/VBoxPci-linux.c:397:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion] pPciDev = PCI_DEV_GET_SLOT(uBus, uDevFn); ^ /tmp/vbox.0/linux/VBoxPci-linux.c: In function ‘vboxPciOsDevInit’: /tmp/vbox.0/linux/VBoxPci-linux.c:648:17: warning: assignment makes pointer from integer without a cast [-Wint-conversion] pPciDev = PCI_DEV_GET_SLOT((pIns->HostPciAddress) >> 8, ^ cc1: some warnings being treated as errors scripts/Makefile.build:312: recipe for target '/tmp/vbox.0/linux/VBoxPci-linux.o' failed make[2]: *** [/tmp/vbox.0/linux/VBoxPci-linux.o] Error 1 Makefile:1568: recipe for target '_module_/tmp/vbox.0' failed make[1]: *** [_module_/tmp/vbox.0] Error 2 /tmp/vbox.0/Makefile.include.footer:101: recipe for target 'vboxpci' failed make: *** [vboxpci] Error 2
Starting virtualbox shows:
The virtual machine 'Docker on Alpine LInux' has terminated unexpectedly during startup with exit code 1 (0x1).
Fehlercode:NS_ERROR_FAILURE (0x80004005)
Komponente:MachineWrap
Interface:IMachine {85cd948e-a71f-4289-281e-0ca7ad48cd89}
There are many postings out there how to fix this.
But is easier than everything written there:
Change to /lib/modules/4.17.0-rc3/misc and type:
And after that everything works like expected.modprobe vboxdrv modprobe vboxnetadp modprobe vboxnetflt
No comments:
Post a Comment