ModEdit; Changed title from: "vboxdrv build failure, virtualbox 5.2.26 32-bit, other distributions, Slackware 14.2, kernel 4.4.172" to: "vboxdrv build failure, VBox 5.2.26 32-bit, kernel 4.4.168 (#18315)".
Related ticket: #18315: Kernel modules do not build with linux kernel 4.4.169, which appears to be fixed with builds r128999 and later, for both 5.2.27 and 6.0.5.
Cannot install Virtualbox 5.2.26, 32-bit on Slackware 14.2, now that kernel is at 4.4.172
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
# ./VirtualBox-5.2.27-128786-Linux_x86.run
Verifying archive integrity... All good.
Uncompressing VirtualBox for Linux installation.............
VirtualBox Version 5.2.27 r128786 (2019-02-12T12:25:57Z) installer
Removing previous installation of VirtualBox 5.2.22 r126460 from /opt/VirtualBox
Installing VirtualBox to /opt/VirtualBox
Python found: python, installing bindings...
vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
# ./VirtualBox-5.2.27-128916-Linux_x86.run
Verifying archive integrity... All good.
Uncompressing VirtualBox for Linux installation.............
VirtualBox Version 5.2.27 r128916 (2019-02-20T06:30:35Z) installer
Removing previous installation of VirtualBox 5.2.27 r128786 from /opt/VirtualBox
Installing VirtualBox to /opt/VirtualBox
Python found: python, installing bindings...
vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong.
gcc -Wp,-MD,/tmp/vbox.0/r0drv/linux/.memuserkernel-r0drv-linux.o.d -nostdinc
-isystem /usr/lib/gcc/i586-slackware-linux/5.5.0/include -I./arch/x86/include -I
arch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch
/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/g
enerated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wst
rict-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 -m32 -msoft-float -mregparm=3 -freg-struct-return
-fno-pic -mpreferred-stack-boundary=2 -march=i686 -mtune=pentium3 -mtune=generi
c -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI
=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1
-DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1
-DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables
-mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delet
e-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-race
s=0 -DCC_HAVE_ASM_GOTO -fstack-protector -Wno-unused-but-set-variable -fno-omit-
frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -Wde
claration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-
constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-i
nt -Werror=strict-prototypes -Werror=date-time -include /tmp/vbox.0/include/VBox
/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -I/lib/modules/4.4.172-smp/bu
ild/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__K
ERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WIT
H_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -DVBOX_WITH_EFLAGS_AC_
SET_IN_VBOXDRV -DIPRT_WITH_EFLAGS_AC_PRESERVING -Wno-declaration-after-statement
-DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_X86 -DVBOX_WITH_64_BITS_GUESTS -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/memuserkernel
-r0drv-linux.o /tmp/vbox.0/r0drv/linux/memuserkernel-r0drv-linux.c
/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c: In function 'rtR0MemObjNativeLockU
ser':
/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:1079:33: warning: passing argument
1 of 'get_user_pages' makes pointer from integer without a cast [-Wint-conversio
n]
rc = get_user_pages(R3Ptr, /* Where from. */
^
In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:98:0,
from /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:31:
include/linux/mm.h:1200:6: note: expected 'struct task_struct *' but argument is
of type 'RTR3PTR {aka unsigned int}'
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:1080:33: warning: passing argument
2 of 'get_user_pages' makes pointer from integer without a cast [-Wint-conversio
n]
cPages, /* How many pages. */
^
In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:98:0,
from /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:31:
include/linux/mm.h:1200:6: note: expected 'struct mm_struct *' but argument is of type 'int'
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:1089:33: warning: passing argument 4 of 'get_user_pages' makes integer from pointer without a cast [-Wint-conversion]
&pMemLnx->apPages[0], /* Page array. */
^
In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:98:0,
from /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:31:
include/linux/mm.h:1200:6: note: expected 'long unsigned int' but argument is of type 'struct page **'
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:1090:33: warning: passing argument 5 of 'get_user_pages' makes integer from pointer without a cast [-Wint-conversion]
papVMAs); /* vmas */
^
In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:98:0,
from /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:31:
include/linux/mm.h:1200:6: note: expected 'unsigned int' but argument is of type 'struct vm_area_struct **'
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:1079:18: error: too few arguments to function 'get_user_pages'
rc = get_user_pages(R3Ptr, /* Where from. */
^
In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:98:0,
from /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:31:
include/linux/mm.h:1200:6: note: declared here
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:1096:18: error: implicit declaration of function 'get_user_pages_remote' [-Werror=implicit-function-declaration]
rc = get_user_pages_remote(
^
cc1: some warnings being treated as errors
scripts/Makefile.build:277: recipe for target '/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.o' failed
make[2]: *** [/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.o] Error 1
make[2]: *** Waiting for unfinished jobs....
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;
Makefile:1436: 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 'vboxdrv' failed
make: *** [vboxdrv] Error 2
/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:1080:18: error: too few arguments to function ‘get_user_pages’
rc = get_user_pages(R3Ptr, /* Where from. */
^
In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:101:0,
from /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:31:
include/linux/mm.h:1222:6: note: declared here
$ ./VirtualBox-5.2.27-128969-Linux_x86.run
Verifying archive integrity... All good.
Uncompressing VirtualBox for Linux installation.............
VirtualBox Version 5.2.27 r128969 (2019-02-21T13:09:59Z) installer
Removing previous installation of VirtualBox 5.2.27 r128916 from /opt/VirtualBox
Installing VirtualBox to /opt/VirtualBox
Python found: python, installing bindings...
vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong.
The developers know about the issue, they've been notified. When there a new test build for you to try out, I'll post an update...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
# ./VirtualBox-5.2.27-129042-Linux_x86.run
Verifying archive integrity... All good.
Uncompressing VirtualBox for Linux installation.............
VirtualBox Version 5.2.27 r129042 (2019-02-26T07:20:32Z) installer
Removing previous installation of VirtualBox 5.2.27 r128969 from /opt/VirtualBox
Installing VirtualBox to /opt/VirtualBox
Python found: python, installing bindings...
VirtualBox has been installed successfully.
Great, thanks for letting us know. Marking as [Fixed] and adding the related info to the first post.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.