Bug 1313925 - failed installing vboxdriver
Summary: failed installing vboxdriver
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 22
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-02 15:45 UTC by gbhansen.dk
Modified: 2016-03-03 01:07 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-03 01:07:36 UTC
Type: Bug


Attachments (Terms of Use)

Description gbhansen.dk 2016-03-02 15:45:57 UTC
Description of problem:
Unable to compile VirtualBox kernel module after upgdating from kernel 4.2.8-200.fc22.x86_64 to 4.3.6-201.fc22.x86_64

Version-Release number of selected component (if applicable):


How reproducible:

/etc/init.d/vboxdrv setup


Steps to Reproduce:
1.su root
/etc/init.d/vboxdrv setup
2.
3.

Actual results:

[root@master1 gert1]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules                         [  O.k.  ]
Uninstalling old VirtualBox DKMS kernel modules            [  O.k.  ]
Trying to register the VirtualBox kernel modules using DKMSError! Bad return status for module build on kernel: 4.3.6-201.fc22.x86_64 (x86_64)
Consult /var/lib/dkms/vboxhost/4.3.30/build/make.log for more information.
                                                           [MISLYKKEDES]
  (Failed, trying without DKMS)
Recompiling VirtualBox kernel modules                      [MISLYKKEDES]
  (Look at /var/log/vbox-install.log to find out what went wrong)
[root@master1 gert1]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules                         [  O.k.  ]
Uninstalling old VirtualBox DKMS kernel modules            [  O.k.  ]
Trying to register the VirtualBox kernel modules using DKMSError! Bad return status for module build on kernel: 4.3.6-201.fc22.x86_64 (x86_64)
Consult /var/lib/dkms/vboxhost/4.3.30/build/make.log for more information.
                                                           [MISLYKKEDES]
  (Failed, trying without DKMS)
Recompiling VirtualBox kernel modules                      [MISLYKKEDES]
  (Look at /var/log/vbox-install.log to find out what went wrong)
[root@master1 gert1]# 

Expected results:

Installed vboxdrv
Additional info:
Part of vbox.install.log

..........
DKMS: uninstall completed.

------------------------------
Deleting module version: 4.3.30
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxhost/4.3.30/source ->
                 /usr/src/vboxhost-4.3.30

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make KERNELRELEASE=4.3.6-201.fc22.x86_64 -C /lib/modules/4.3.6-201.fc22.x86_64/build M=/var/lib/dkms/vboxhost/4.3.30/build....(bad exit status: 2)
Failed to install using DKMS, attempting to install without
make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 CONFIG_MODULE_SIG= -C /lib/modules/4.3.6-201.fc22.x86_64/build modules
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 /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/tmp/vbox.0
  gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/5.3.1/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fvar-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/lib/modules/4.3.6-201.fc22.x86_64/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 -Wno-declaration-after-statement -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv_linux)"  -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /tmp/vbox.0/linux/SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c
/tmp/vbox.0/linux/SUPDrv-linux.c: In function »VBoxDrvLinuxUnload«:
/tmp/vbox.0/linux/SUPDrv-linux.c:455:8: fejl: tom værdi er ikke ignoreret som den burde være
     rc = misc_deregister(&gMiscDeviceUsr);
        ^
/tmp/vbox.0/linux/SUPDrv-linux.c:460:8: fejl: tom værdi er ikke ignoreret som den burde være
     rc = misc_deregister(&gMiscDeviceSys);
        ^
scripts/Makefile.build:258: recipe for target '/tmp/vbox.0/linux/SUPDrv-linux.o' failed
make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Error 1
Makefile:1382: recipe for target '_module_/tmp/vbox.0' failed
make[1]: *** [_module_/tmp/vbox.0] Error 2
Makefile:289: recipe for target 'vboxdrv' failed
make: *** [vboxdrv] Error 2

Comment 1 Jarod Wilson 2016-03-03 01:07:36 UTC
You'll need to talk to the folks that make VirtualBox, they're the ones with the out of tree kernel driver that will need to be fixed. We can't fix their code, we're not Oracle employees with commit access to their repo. See virtualbox.org for further details.


Note You need to log in before you can comment on or make changes to this bug.