Siduction Forum

Siduction Forum => Software - Support => Topic started by: Geier0815 on 2019/10/02, 11:21:15

Title: oracle virtualbox 6.0 und Kernel 5.3 Probleme?
Post by: Geier0815 on 2019/10/02, 11:21:15
Moin Moin,

ich habe gerade ein d-u gefahren. Danach wollte ich mittels vboxconfig ein neues Modul bauen lassen, was fehl schlug.

Quote from: /var/log/vbox-setup.log
/tmp/vbox.0/r0drv/linux/mp-r0drv-linux.c:287:18: error: void value not ignored as it ought to be
  287 |         int rc = smp_call_function(rtmpLinuxAllWrapper, &Args, 0 /* wait */);
      |                  ^~~~~~~~~~~~~~~~~
/tmp/vbox.0/r0drv/linux/mp-r0drv-linux.c: In function ‘VBoxHost_RTMpOnOthers’:
/tmp/vbox.0/r0drv/linux/mp-r0drv-linux.c:341:8: error: void value not ignored as it ought to be
  341 |     rc = smp_call_function(rtmpLinuxWrapper, &Args, 1 /* wait */);
      |        ^
make[2]: *** [scripts/Makefile.build:286: /tmp/vbox.0/r0drv/linux/mp-r0drv-linux.o] Fehler 1
make[2]: *** Es wird auf noch nicht beendete Prozesse gewartet....
   ./tools/objtool/objtool orc generate  --module --no-fp --retpoline --uaccess /tmp/vbox.0/r0drv/linux/mpnotification-r0drv-linux.o
  if objdump -h /tmp/vbox.0/r0drv/linux/mpnotification-r0drv-linux.o | grep -q __ksymtab; then  gcc-9 -E -D__GENKSYMS__ -Wp,-MD,/tmp/vbox.0/r0drv/linux/.mpnotification-r0drv-linux.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/9/include -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wimplicit-fallthrough -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -Wno-declaration-after-statement -I./include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__KERNEL__ -DMODULE -DRT_WITHOUT_PRAGMA_ONCE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -DVBOX_WITH_64_BITS_GUESTS -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64  -DMODULE  -DKBUILD_BASENAME='"mpnotification_r0drv_linux"' -DKBUILD_MODNAME='"vboxdrv"' /tmp/vbox.0/r0drv/linux/mpnotification-r0drv-linux.c | scripts/genksyms/genksyms    -r /dev/null > /tmp/vbox.0/r0drv/linux/.tmp_mpnotification-r0drv-linux.ver; ld -m elf_x86_64  -z max-page-size=0x200000 -r -o /tmp/vbox.0/r0drv/linux/.tmp_mpnotification-r0drv-linux.o /tmp/vbox.0/r0drv/linux/mpnotification-r0drv-linux.o -T /tmp/vbox.0/r0drv/linux/.tmp_mpnotification-r0drv-linux.ver; mv -f /tmp/vbox.0/r0drv/linux/.tmp_mpnotification-r0drv-linux.o /tmp/vbox.0/r0drv/linux/mpnotification-r0drv-linux.o; rm -f /tmp/vbox.0/r0drv/linux/.tmp_mpnotification-r0drv-linux.ver; fi
make[1]: *** [Makefile:1637: _module_/tmp/vbox.0] Fehler 2
make: *** [/tmp/vbox.0/Makefile-footer.gmk:111: vboxdrv] Fehler 2

Liegt da bei mir ein Fehler vor zB irgend etwas nicht richtig konfiguriert oder kann virtualbox noch nicht mit 5.3 um?
Title: Re: oracle virtualbox 6.0 und Kernel 5.3 Probleme?
Post by: towo on 2019/10/02, 14:08:31
Das kann aber nicht die Debian Version von VBox sein. Weil:

Code: [Select]
~/source/vbox
towo:newdev> cat virtualbox-6.0.12-dfsg/debian/patches/kernel-5.3.patch | pastebinit
https://paste.debian.net/1103699

https://paste.debian.net/1103699

Du siehst also, Debian Vbox ist für Kernel 5.3 gepatcht.
Title: Re: oracle virtualbox 6.0 und Kernel 5.3 Probleme?
Post by: samoht on 2019/10/02, 19:29:05
@Geier0815,

falls Du die Oracle-Pakete nutzen willst, nimm die beta!:

Code: [Select]
virtualbox-6.0_6.1.0~beta1-133315~Ubuntu~bionic_amd64.deb
http://download.virtualbox.org/virtualbox/ (http://download.virtualbox.org/virtualbox/)
Title: Re: oracle virtualbox 6.0 und Kernel 5.3 Probleme?
Post by: axt on 2019/10/02, 19:37:13
Quote from: Geier0815
wollte ich mittels vboxconfig ein neues Modul bauen lassen

Wenn Du das manuell anwerfen mußt, ist ja schon was nicht richtig/vollständig installiert.

Nutzt Du VBox von virtualbox.org, mußt Du für Kernel 5.3 6.0.13er Testbuilds nutzen, aktuell VBox 133688, GA 133713, EP 133685. Vor der Installation von .run, .deb deinstallieren!

VBox 6.0.13 laeuft mit Kernel 5.3 im Host (https://axebase.net/blog/2019/09/18/vbox-6-0-13-laeuft-mit-kernel-5-3-im-host/) (und auch im Guest)

Man sollte sich bewußt sein, 6.1.0b1 ist noch sehr früh. Da kommen noch 1...2 Betas, dann erst ~3 RCs.
Title: Re: oracle virtualbox 6.0 und Kernel 5.3 Probleme?
Post by: towo on 2019/10/02, 19:58:51
Wie schon geschrieben, kann man auch einfach 6.0.12 patchen.
Title: Re: oracle virtualbox 6.0 und Kernel 5.3 Probleme?
Post by: Geier0815 on 2019/10/07, 11:09:12
Hab mir jetzt einfach die Beta gezogen, läuft.

Danke an Alle.