VirtualBox

Opened 7 years ago

Closed 7 years ago

#16972 closed defect (duplicate)

Vbox fails to create a vbox kernel

Reported by: James Moe Owned by:
Component: other Version: VirtualBox 5.1.26
Keywords: Cc:
Guest type: all Host type: Linux

Description

opensuse v42.3
linux 4.4.76-1-default x86_64

vbox 5.1.24 worked fine in opensuse v42.2. Not so in opensuse v42.3. I also tried installing 5.1.26 with the same failure. Re-running vboxconfig has no meritorious effect.

The install log is 920kB, way over the attachment limit of 500kB. Below is the tail of the log.

$ /sbin/vboxconfig
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
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.
  gcc -Wp,-MD,/tmp/vbox.0/r0drv/linux/.memuserkernel-r0drv-linux.o.d  -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.8/include -I/usr/src/linux-4.4.76-1/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -I/usr/src/linux-4.4.76-1/include -Iinclude -I/usr/src/linux-4.4.76-1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.76-1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.76-1/include/linux/kconfig.h   -I/tmp/vbox.0 -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -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 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h   -I/lib/modules/4.4.76-1-default/build/include   -I/tmp/vbox.0/   -I/tmp/vbox.0/include   -I/tmp/vbox.0/r0drv/linux   -I/tmp/vbox.0/vboxdrv/   -I/tmp/vbox.0/vboxdrv/include   -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -Wno-declaration-after-statement -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -fno-omit-frame-pointer -fno-pie  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(memuserkernel_r0drv_linux)"  -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /tmp/vbox.0/r0drv/linux/.tmp_memuserkernel-r0drv-linux.o /tmp/vbox.0/r0drv/linux/memuserkernel-r0drv-linux.c
/usr/src/linux-4.4.76-1/scripts/Makefile.build:259: recipe for target '/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.o' failed
make[4]: *** [/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.o] Error 1
make[4]: *** Waiting for unfinished jobs....
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/r0drv/linux/initterm-r0drv-linux.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/r0drv/linux/initterm-r0drv-linux.o"; fi; fi;
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/r0drv/linux/alloc-r0drv-linux.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/r0drv/linux/alloc-r0drv-linux.o"; fi; fi;
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/r0drv/linux/memuserkernel-r0drv-linux.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/r0drv/linux/memuserkernel-r0drv-linux.o"; fi; fi;
/usr/src/linux-4.4.76-1/Makefile:1428: recipe for target '_module_/tmp/vbox.0' failed
make[3]: *** [_module_/tmp/vbox.0] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:24: recipe for target '__sub-make' failed
make[1]: *** [__sub-make] Error 2
Makefile:305: recipe for target 'vboxdrv' failed
make: *** [vboxdrv] Error 2

Attachments (1)

vbox-install.log.xz (7.1 KB ) - added by James Moe 7 years ago.
installation log for 5.1.26

Download all attachments as: .zip

Change History (7)

comment:1 by Frank Mehnert, 7 years ago

I would appreciate if you could attach the complete log file (use the Attach file function) but I guess this ticket is a duplicate of #16966.

by James Moe, 7 years ago

Attachment: vbox-install.log.xz added

installation log for 5.1.26

comment:2 by James Moe, 7 years ago

Okay, attached. I am amazed that the log file compressed from 926KB to 7.2KB.

At the moment I have no working Virtualbox on this host. A comment in #16966 mentioned the fix will be in the next release. When will that be?

comment:3 by Frank Mehnert, 7 years ago

This problem is already fixed in the latest test builds. Which package are you using for your openSUSE Leap 42.3, the .run package or the openSUSE132 rpm package? If you are using the latter I could provide you such a test build as well.

comment:4 by Frank Mehnert, 7 years ago

Here is a link to an openSUSE 13.2 package (should also work on Leap).

comment:5 by James Moe, 7 years ago

Thank you! VB is running again. Sweet.

comment:6 by Frank Mehnert, 7 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use