M-Bab / linux-kernel-amdgpu-binaries

Kernel binaries (amd64) of amd-staging with DAL and latest security patches
214 stars 29 forks source link

Virtualbox #44

Closed piet8stevens closed 6 years ago

piet8stevens commented 6 years ago

Upgrading to these kernels always created problems running virtualbox, when it needed to update virtualbox. I could overcome that by temporarily moving back to a generic kernel, upgrading virtualbox and then it would work with these kernels. I am now running the 4.15.0-rc6+ version and going back to generic in order to upgrade virtualbox does not seem to do the trick this time.

I have reinstalled virtualbox-dkms but still get an error Kernel driver not installed (rc=-1908) and need to run modprobe vboxdrv as root. But that generates a fatal error modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.15.0-rc6+.

Any ideas/suggestions would be much appreciated.

piet8stevens commented 6 years ago

Additional info: when trying to do a complete install of virtualbox-5.2 (sudo apt-get install virtualbox-5.2) it tries to build vbox but then runs into a problem of missing include files:

  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/linux/SUPR0IdcClient-linux.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/linux/SUPR0IdcClient-linux.o"; fi; fi;
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/VBoxNetFlt.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/VBoxNetFlt.o"; fi; fi;
In file included from ./include/linux/compat.h:17:0,
                 from ./include/linux/ethtool.h:17,
                 from ./include/linux/netdevice.h:41,
                 from /tmp/vbox.0/linux/VBoxNetFlt-linux.c:40:
./include/linux/if.h:28:10: fatal error: sys/socket.h: No such file or directory
 #include <sys/socket.h>   /* for struct sockaddr.  */
          ^~~~~~~~~~~~~~
compilation terminated.
scripts/Makefile.build:310: recipe for target '/tmp/vbox.0/linux/VBoxNetFlt-linux.o' failed
make[2]: *** [/tmp/vbox.0/linux/VBoxNetFlt-linux.o] Error 1
Makefile:1534: 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 'vboxnetflt' failed
make: *** [vboxnetflt] Error 2
M-Bab commented 6 years ago

Sorry piet8stevens could have mentioned it. This specific version rc6 was simply build without the vboxdrv module. I had to disable it because it conflicted with the amdgpu code at that time and the kernel wouldn't build. Just didn't expect anyone would miss it.

This was fixed and pushed in the meantime (https://cgit.freedesktop.org/~agd5f/linux/commit/?h=amd-staging-drm-next&id=3f3a7c8259312084291859d3b623db4317365a07). So the recently pushed rc8 should work well again.

piet8stevens commented 6 years ago

Hello Martin, thank you for your fast reply & no need to apologize. I am grateful for all your work.

I have now installed rc8 but still have the same problem. I hope I have not made a mistake in the installation. I completely purged virtualbox and virtualbox-dkms from my system (Ubuntu 17.10). Then I reinstalled virtualbox-5.2.

When trying to start my virtual machine, I got the same error as before: run /sbin/vboxconfig as root to address kernel driver not installed (rc=-1908) problem. sudo /sbin/vboxconfig then failed as follows:

sudo /sbin/vboxconfig Created symlink /etc/systemd/system/multi-user.target.wants/vboxdrv.service → /lib/systemd/system/vboxdrv.service. Created symlink /etc/systemd/system/multi-user.target.wants/vboxballoonctrl-service.service → /lib/systemd/system/vboxballoonctrl-service.service. Created symlink /etc/systemd/system/multi-user.target.wants/vboxautostart-service.service → /lib/systemd/system/vboxautostart-service.service. Created symlink /etc/systemd/system/multi-user.target.wants/vboxweb-service.service → /lib/systemd/system/vboxweb-service.service. 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.

The vbox-install.log gave:

....

ment -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS  -DMODULE  -DKBUILD_BASENAME='"SUPR0IdcClient_linux"'  -DKBUILD_MODNAME='"vboxnetflt"' -c -o /tmp/vbox.0/linux/SUPR0IdcClient-linux.o /tmp/vbox.0/linux/SUPR0IdcClient-linux.c   if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/SUPR0IdcClient.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/SUPR0IdcClient.o"; fi; fi; (cat /dev/null;   echo kernel//tmp/vbox.0/vboxnetflt.ko;) > /tmp/vbox.0/modules.order   if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/linux/SUPR0IdcClient-linux.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/linux/SUPR0IdcClient-linux.o"; fi; fi;   if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/VBoxNetFlt.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/VBoxNetFlt.o"; fi; fi; In file included from ./include/linux/compat.h:17:0,                  from ./include/linux/ethtool.h:17,                  from ./include/linux/netdevice.h:41,                  from /tmp/vbox.0/linux/VBoxNetFlt-linux.c:40: ./include/linux/if.h:28:10: fatal error: sys/socket.h: No such file or directory  #include <sys/socket.h>   / for struct sockaddr.  /           ^~~~~~ compilation terminated. scripts/Makefile.build:310: recipe for target '/tmp/vbox.0/linux/VBoxNetFlt-linux.o' failed make[2]: [/tmp/vbox.0/linux/VBoxNetFlt-linux.o] Error 1 Makefile:1537: 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 'vboxnetflt' failed make: *** [vboxnetflt] Error 2

-- same as before --

Not sure whether this in the log file is important or not:

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.15.0-rc8+/misc make -f ./scripts/Makefile.modinst   mkdir -p /lib/modules/4.15.0-rc8+/misc ; cp /tmp/vbox.0/vboxdrv.ko /lib/modules/4.15.0-rc8+/misc ; true /lib/modules/4.15.0-rc8+/misc/vboxdrv.ko ; if (echo "/lib/modules/4.15.0-rc8+/misc/vboxdrv.ko" | egrep -q "\/drivers\/staging\/") && [ -f ./drivers/staging/signature-inclusion ] && (! egrep -x "vboxdrv.ko" ./drivers/staging/signature-inclusion) ; then echo Not signing "/lib/modules/4.15.0-rc8+/misc/vboxdrv.ko"; else scripts/sign-file "sha512" "certs/signing_key.pem" certs/signing_key.x509 /lib/modules/4.15.0-rc8+/misc/vboxdrv.ko || true && true /lib/modules/4.15.0-rc8+/misc/vboxdrv.ko; fi At main.c:160:

Best regards, Piet

On 2018-01-16 22:39, Martin wrote:

Sorry piet8stevens could have mentioned it. This specific version rc6 was simply build without the vboxdrv module. I had to disable it because it conflicted with the amdgpu code at that time and the kernel wouldn't build. Just didn't expect anyone would miss it.

This was fixed and pushed in the meantime (https://cgit.freedesktop.org/~agd5f/linux/commit/?h=amd-staging-drm-next&id=3f3a7c8259312084291859d3b623db4317365a07 https://cgit.freedesktop.org/%7Eagd5f/linux/commit/?h=amd-staging-drm-next&id=3f3a7c8259312084291859d3b623db4317365a07). So the recently pushed rc8 should work well again.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/M-Bab/linux-kernel-amdgpu-binaries/issues/44#issuecomment-358115782, or mute the thread https://github.com/notifications/unsubscribe-auth/ABwE9BZVuETJapPfi9Pm-dyJFr8llhNeks5tLRcHgaJpZM4RgFWb.

M-Bab commented 6 years ago

Can you try it again with 4.15.1 and compare this to a 4.15 mainline build?

piet8stevens commented 6 years ago

Thank you. Have downloaded and installed both your 4.15.1 and 4.15 mainline. 4.15 mainline from http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15/linux-image-4.15.0-041500-generic_4.15.0-041500.201802011154_amd64.deb (I did a wget on linux-headers, linux-headers...-generic and linux-image...-generic).

For both your kernel and the mainline one, I get the same error when I do 'sudo dpkg -i *.deb':

run-parts: executing /etc/kernel/header_postinst.d/dkms 4.15.0-041500-generic /boot/vmlinuz-4.15.0-041500-generic
ERROR (dkms apport): kernel package linux-headers-4.15.0-041500-generic is not supported
Error! Bad return status for module build on kernel: 4.15.0-041500-generic (x86_64)
Consult /var/lib/dkms/virtualbox/5.1.30/build/make.log for more information.

And for yours - I give the complete screen output as there are more errors:

sudo dpkg -i *.deb
[sudo] password for pstevens: 
(Reading database ... 506301 files and directories currently installed.)
Preparing to unpack firmware-radeon-ucode_1.70_all.deb ...
Unpacking firmware-radeon-ucode (1.70) over (1.70) ...
Selecting previously unselected package linux-headers-4.15.1+.
Preparing to unpack linux-headers-4.15.1+_18.02.06.AMDGPU_amd64.deb ...
Unpacking linux-headers-4.15.1+ (18.02.06.AMDGPU) ...
Preparing to unpack linux-headers-4.15.1+_18.02.06.AMDGPU.UBUNTU_amd64.deb ...
Unpacking linux-headers-4.15.1+ (18.02.06.AMDGPU.UBUNTU) over (18.02.06.AMDGPU) ...
Selecting previously unselected package linux-image-4.15.1+.
Preparing to unpack linux-image-4.15.1+_18.02.06.AMDGPU_amd64.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.15.1+ /boot/vmlinuz-4.15.1+
Done.
Unpacking linux-image-4.15.1+ (18.02.06.AMDGPU) ...
Preparing to unpack linux-image-4.15.1+_18.02.06.AMDGPU.UBUNTU_amd64.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.15.1+ /boot/vmlinuz-4.15.1+
Done.
Unpacking linux-image-4.15.1+ (18.02.06.AMDGPU.UBUNTU) over (18.02.06.AMDGPU) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.15.1+ /boot/vmlinuz-4.15.1+
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.15.1+ /boot/vmlinuz-4.15.1+
More than one copy of package linux-headers-4.15.1+ has been unpacked
 in this run !  Only configuring it once.
More than one copy of package linux-image-4.15.1+ has been unpacked
 in this run !  Only configuring it once.
Setting up firmware-radeon-ucode (1.70) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-041500-generic
update-initramfs: Generating /boot/initrd.img-4.15.0-rc8+
update-initramfs: Generating /boot/initrd.img-4.14.1+
update-initramfs: Generating /boot/initrd.img-4.13.0-32-generic
update-initramfs: Generating /boot/initrd.img-4.12.10+
update-initramfs: Generating /boot/initrd.img-4.9.46+
Setting up linux-headers-4.15.1+ (18.02.06.AMDGPU.UBUNTU) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 4.15.1+ /boot/vmlinuz-4.15.1+
Error! Your kernel headers for kernel 4.15.1+ cannot be found.
Please install the linux-headers-4.15.1+ package,
or use the --kernelsourcedir option to tell DKMS where it's located
Setting up linux-image-4.15.1+ (18.02.06.AMDGPU.UBUNTU) ...

 Hmm. There is a symbolic link /lib/modules/4.15.1+/build
 However, I can not read it: No such file or directory
 Therefore, I am deleting /lib/modules/4.15.1+/build

 Hmm. The package shipped with a symbolic link /lib/modules/4.15.1+/source
 However, I can not read the target: No such file or directory
 Therefore, I am deleting /lib/modules/4.15.1+/source

Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.15.1+ /boot/vmlinuz-4.15.1+
run-parts: executing /etc/kernel/postinst.d/dkms 4.15.1+ /boot/vmlinuz-4.15.1+
ERROR (dkms apport): kernel package linux-headers-4.15.1+ is not supported
Error! Bad return status for module build on kernel: 4.15.1+ (x86_64)
Consult /var/lib/dkms/virtualbox/5.1.30/build/make.log for more information.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.15.1+ /boot/vmlinuz-4.15.1+
update-initramfs: Generating /boot/initrd.img-4.15.1+
W: Possible missing firmware /lib/firmware/i915/skl_dmc_ver1_27.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_04.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_39.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver9_29.bin for module i915
W: Possible missing firmware /lib/firmware/i915/skl_guc_ver9_33.bin for module i915
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.15.1+ /boot/vmlinuz-4.15.1+
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.15.1+ /boot/vmlinuz-4.15.1+
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.15.1+ /boot/vmlinuz-4.15.1+
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.1+
Found initrd image: /boot/initrd.img-4.15.1+
Found linux image: /boot/vmlinuz-4.15.0-041500-generic
Found initrd image: /boot/initrd.img-4.15.0-041500-generic
Found linux image: /boot/vmlinuz-4.15.0-rc8+
Found initrd image: /boot/initrd.img-4.15.0-rc8+
Found linux image: /boot/vmlinuz-4.14.1+
Found initrd image: /boot/initrd.img-4.14.1+
Found linux image: /boot/vmlinuz-4.13.0-32-generic
Found initrd image: /boot/initrd.img-4.13.0-32-generic
Found linux image: /boot/vmlinuz-4.12.10+
Found initrd image: /boot/initrd.img-4.12.10+
Found linux image: /boot/vmlinuz-4.9.46+
Found initrd image: /boot/initrd.img-4.9.46+
Adding boot menu entry for EFI firmware configuration
done

The content of the make.log is:

DKMS make.log for virtualbox-5.1.30 for kernel 4.15.1+ (x86_64)
Thu Feb  8 21:50:27 CET 2018
make: Entering directory '/usr/src/linux-headers-4.15.1+'
Makefile:961: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/linux/SUPDrv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/SUPDrv.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/SUPDrvGip.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/SUPDrvSem.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/SUPDrvTracer.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/SUPLibAll.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/initterm-r0drv.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/alloc-r0drv.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/memobj-r0drv.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/mpnotification-r0drv.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/powernotification-r0drv.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/linux/assert-r0drv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/linux/alloc-r0drv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/linux/initterm-r0drv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/linux/memuserkernel-r0drv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/linux/mp-r0drv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/linux/mpnotification-r0drv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/linux/process-r0drv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/linux/rtStrFormatKernelAddress-r0drv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/linux/semevent-r0drv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/linux/semeventmulti-r0drv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/linux/semfastmutex-r0drv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/linux/semmutex-r0drv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/linux/spinlock-r0drv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/linux/thread-r0drv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/linux/thread2-r0drv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/linux/threadctxhooks-r0drv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/linux/time-r0drv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/linux/timer-r0drv-linux.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/generic/semspinmutex-r0drv-generic.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/common/alloc/alloc.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/common/checksum/crc32.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/common/checksum/ipv4.o
  CC [M]  /var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/common/checksum/ipv6.o
/var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/linux/timer-r0drv-linux.c: In function ‘VBoxHost_RTTimerCreateEx’:
/var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/linux/timer-r0drv-linux.c:1588:13: error: implicit declaration of function ‘init_timer_pinned’; did you mean ‘init_timer_key’? [-Werror=implicit-function-declaration]
             init_timer_pinned(&pTimer->aSubTimers[iCpu].u.Std.LnxTimer);
             ^~~~~~~~~~~~~~~~~
             init_timer_key
/var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/linux/timer-r0drv-linux.c:1592:52: error: ‘struct timer_list’ has no member named ‘data’
             pTimer->aSubTimers[iCpu].u.Std.LnxTimer.data        = (unsigned long)&pTimer->aSubTimers[iCpu];
                                                    ^
/var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/linux/timer-r0drv-linux.c:1593:65: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
             pTimer->aSubTimers[iCpu].u.Std.LnxTimer.function    = rtTimerLinuxStdCallback;
                                                                 ^
cc1: some warnings being treated as errors
scripts/Makefile.build:316: recipe for target '/var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/linux/timer-r0drv-linux.o' failed
make[2]: *** [/var/lib/dkms/virtualbox/5.1.30/build/vboxdrv/r0drv/linux/timer-r0drv-linux.o] Error 1
make[2]: *** Waiting for unfinished jobs....
scripts/Makefile.build:590: recipe for target '/var/lib/dkms/virtualbox/5.1.30/build/vboxdrv' failed
make[1]: *** [/var/lib/dkms/virtualbox/5.1.30/build/vboxdrv] Error 2
Makefile:1537: recipe for target '_module_/var/lib/dkms/virtualbox/5.1.30/build' failed
make: *** [_module_/var/lib/dkms/virtualbox/5.1.30/build] Error 2
make: Leaving directory '/usr/src/linux-headers-4.15.1+'

I thought I would first give you feedback and now reboot - so I have not booted yet into the mainline or your kernel.

Please let me know if you need anything else.

piet8stevens commented 6 years ago

Feedback after reboot into 4.15.1+ (confirmed by uname -r). Sound works Virtualbox still gives same error:

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

'/sbin/vboxconfig'

as root.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

When I run sudo /sbin/vboxconfig, this is the output:

sudo /sbin/vboxconfig
Created symlink /etc/systemd/system/multi-user.target.wants/vboxdrv.service → /lib/systemd/system/vboxdrv.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxballoonctrl-service.service → /lib/systemd/system/vboxballoonctrl-service.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxautostart-service.service → /lib/systemd/system/vboxautostart-service.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxweb-service.service → /lib/systemd/system/vboxweb-service.service.
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.

Will now reboot into 4.15.0 mainline and see what that gives. Will do cold reboot to be sure.

piet8stevens commented 6 years ago

Rebooted into 4.15.0, confirmed by uname -r: 4.15.0-041500-generic

No sound. Virtualbox works (I had to download the extension pack first as I had a saved VM with USB3).

Just let me know if you need anything else. Thank you for your work.

piet8stevens commented 6 years ago

More feedback: have been working with 4.15.1+ this morning. Every few minutes or so, the output to my display is interrupted, it turns blank (enters power saving mode) and then shows the screen again. Did not notice this last night and not sure whether it is related to 4.15.1+, but I did not change anything else.

EDIT: not sure what caused this yesterday, but it no longer happens today, after a reboot.

piet8stevens commented 6 years ago

Tried 4.15.4+. Still no working virtualbox - same problem it seems as what I have described before.

pokebadgerswithspoon commented 6 years ago

Its a problem in between kernel version and virtualbox I guess. Last working version was kernel 4.9 from this repository (see changelog) . However there is a good news. It is said that new virtualbox 5.2.8 is now compatible with kernel 4.15. I personally did not try that, but chances are it will help.

piet8stevens commented 6 years ago

Thank you for your reply. I am running VB 5.2.8-r121009 and it does indeed work with 4.15. Just not with 4.15.4+ which allows me to have sound from my radeon video card (DisplayPort).

piet8stevens commented 6 years ago

Just to be sure (and at the risk of just repeating what I have already posted), I retested with 4.15.4+. I can confirm that virtualbox still does not work. Still pop-up window:

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

'/sbin/vboxconfig'

as root.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT. 

Terminal output is:

sudo /sbin/vboxconfig
[sudo] password for pstevens: 
Created symlink /etc/systemd/system/multi-user.target.wants/vboxdrv.service → /lib/systemd/system/vboxdrv.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxballoonctrl-service.service → /lib/systemd/system/vboxballoonctrl-service.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxautostart-service.service → /lib/systemd/system/vboxautostart-service.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxweb-service.service → /lib/systemd/system/vboxweb-service.service.
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.
pstevens@Quiet8:~$ tail -50 /var/log/vbox-install.log
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.15.4+/misc
make -f ./scripts/Makefile.modinst
  mkdir -p /lib/modules/4.15.4+/misc ; cp /tmp/vbox.0/vboxdrv.ko /lib/modules/4.15.4+/misc ; true /lib/modules/4.15.4+/misc/vboxdrv.ko ; if (echo "/lib/modules/4.15.4+/misc/vboxdrv.ko" | egrep -q "\/drivers\/staging\/") && [ -f ./drivers/staging/signature-inclusion ] && (! egrep -x "vboxdrv.ko" ./drivers/staging/signature-inclusion) ; then echo Not signing "/lib/modules/4.15.4+/misc/vboxdrv.ko"; else scripts/sign-file "sha512" "certs/signing_key.pem" certs/signing_key.x509 /lib/modules/4.15.4+/misc/vboxdrv.ko || true && true /lib/modules/4.15.4+/misc/vboxdrv.ko; fi
At main.c:160:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory
  /bin/bash ./scripts/depmod.sh /sbin/depmod 4.15.4+ ""
make V=1 CONFIG_MODULE_SIG= -C /lib/modules/4.15.4+/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j4 modules
make[1]: warning: -jN forced in submake: disabling jobserver mode.
Makefile:961: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
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/.VBoxNetFlt-linux.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-pie -I/lib/modules/4.15.4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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 -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS  -DMODULE  -DKBUILD_BASENAME='"VBoxNetFlt_linux"'  -DKBUILD_MODNAME='"vboxnetflt"' -c -o /tmp/vbox.0/linux/VBoxNetFlt-linux.o /tmp/vbox.0/linux/VBoxNetFlt-linux.c
  gcc -Wp,-MD,/tmp/vbox.0/.VBoxNetFlt.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-pie -I/lib/modules/4.15.4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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 -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS  -DMODULE  -DKBUILD_BASENAME='"VBoxNetFlt"'  -DKBUILD_MODNAME='"vboxnetflt"' -c -o /tmp/vbox.0/VBoxNetFlt.o /tmp/vbox.0/VBoxNetFlt.c
  gcc -Wp,-MD,/tmp/vbox.0/.SUPR0IdcClient.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-pie -I/lib/modules/4.15.4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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 -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS  -DMODULE  -DKBUILD_BASENAME='"SUPR0IdcClient"'  -DKBUILD_MODNAME='"vboxnetflt"' -c -o /tmp/vbox.0/SUPR0IdcClient.o /tmp/vbox.0/SUPR0IdcClient.c
  gcc -Wp,-MD,/tmp/vbox.0/.SUPR0IdcClientComponent.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-pie -I/lib/modules/4.15.4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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 -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS  -DMODULE  -DKBUILD_BASENAME='"SUPR0IdcClientComponent"'  -DKBUILD_MODNAME='"vboxnetflt"' -c -o /tmp/vbox.0/SUPR0IdcClientComponent.o /tmp/vbox.0/SUPR0IdcClientComponent.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/SUPR0IdcClientComponent.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/SUPR0IdcClientComponent.o"; fi; fi;
  gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPR0IdcClient-linux.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-pie -I/lib/modules/4.15.4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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 -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS  -DMODULE  -DKBUILD_BASENAME='"SUPR0IdcClient_linux"'  -DKBUILD_MODNAME='"vboxnetflt"' -c -o /tmp/vbox.0/linux/SUPR0IdcClient-linux.o /tmp/vbox.0/linux/SUPR0IdcClient-linux.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/SUPR0IdcClient.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/SUPR0IdcClient.o"; fi; fi;
(cat /dev/null;   echo kernel//tmp/vbox.0/vboxnetflt.ko;) > /tmp/vbox.0/modules.order
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/linux/SUPR0IdcClient-linux.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/linux/SUPR0IdcClient-linux.o"; fi; fi;
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/VBoxNetFlt.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/VBoxNetFlt.o"; fi; fi;
In file included from ./include/linux/compat.h:17:0,
                 from ./include/linux/ethtool.h:17,
                 from ./include/linux/netdevice.h:41,
                 from /tmp/vbox.0/linux/VBoxNetFlt-linux.c:40:
./include/linux/if.h:28:10: fatal error: sys/socket.h: No such file or directory
 #include <sys/socket.h>   /* for struct sockaddr.  */
          ^~~~~~~~~~~~~~
compilation terminated.
scripts/Makefile.build:316: recipe for target '/tmp/vbox.0/linux/VBoxNetFlt-linux.o' failed
make[2]: *** [/tmp/vbox.0/linux/VBoxNetFlt-linux.o] Error 1
Makefile:1537: 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 'vboxnetflt' failed
make: *** [vboxnetflt] Error 2
M-Bab commented 6 years ago

Jumped to kernel 4.16 rc4. You can retry if it helps there were a lots of fixes in amd-staging-drm-next.

piet8stevens commented 6 years ago

Well, I installed 4.16 rc4. Confirmed with uname -r.

Unfortunately, still error rc=-1908 with a request to run sudo /sbin/vboxconfig.

And this is again the tail of /var/log/vbox-install.log:

sudo /sbin/vboxconfig
Created symlink /etc/systemd/system/multi-user.target.wants/vboxdrv.service → /lib/systemd/system/vboxdrv.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxballoonctrl-service.service → /lib/systemd/system/vboxballoonctrl-service.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxautostart-service.service → /lib/systemd/system/vboxautostart-service.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxweb-service.service → /lib/systemd/system/vboxweb-service.service.
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.
pstevens@Quiet8:~/Settings$ tail -n 100 /var/log/vbox-install.log
  gcc -Wp,-MD,/tmp/vbox.0/common/table/.avlpv.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -I/lib/modules/4.16.0-rc4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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  -DMODULE  -DKBUILD_BASENAME='"avlpv"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/common/table/avlpv.o /tmp/vbox.0/common/table/avlpv.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/common/string/strformatrt.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/common/string/strformatrt.o"; fi; fi;
  gcc -Wp,-MD,/tmp/vbox.0/common/time/.time.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -I/lib/modules/4.16.0-rc4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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  -DMODULE  -DKBUILD_BASENAME='"time"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/common/time/time.o /tmp/vbox.0/common/time/time.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/common/string/strprintf.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/common/string/strprintf.o"; fi; fi;
  gcc -Wp,-MD,/tmp/vbox.0/r0drv/linux/.RTLogWriteDebugger-r0drv-linux.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -I/lib/modules/4.16.0-rc4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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  -DMODULE  -DKBUILD_BASENAME='"RTLogWriteDebugger_r0drv_linux"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/r0drv/linux/RTLogWriteDebugger-r0drv-linux.o /tmp/vbox.0/r0drv/linux/RTLogWriteDebugger-r0drv-linux.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/common/table/avlpv.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/common/table/avlpv.o"; fi; fi;
  gcc -Wp,-MD,/tmp/vbox.0/generic/.RTAssertShouldPanic-generic.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -I/lib/modules/4.16.0-rc4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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  -DMODULE  -DKBUILD_BASENAME='"RTAssertShouldPanic_generic"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/generic/RTAssertShouldPanic-generic.o /tmp/vbox.0/generic/RTAssertShouldPanic-generic.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/common/string/strtonum.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/common/string/strtonum.o"; fi; fi;
  gcc -Wp,-MD,/tmp/vbox.0/generic/.RTLogWriteStdErr-stub-generic.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -I/lib/modules/4.16.0-rc4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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  -DMODULE  -DKBUILD_BASENAME='"RTLogWriteStdErr_stub_generic"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/generic/RTLogWriteStdErr-stub-generic.o /tmp/vbox.0/generic/RTLogWriteStdErr-stub-generic.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/generic/RTAssertShouldPanic-generic.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/generic/RTAssertShouldPanic-generic.o"; fi; fi;
  gcc -Wp,-MD,/tmp/vbox.0/generic/.RTLogWriteStdOut-stub-generic.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -I/lib/modules/4.16.0-rc4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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  -DMODULE  -DKBUILD_BASENAME='"RTLogWriteStdOut_stub_generic"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/generic/RTLogWriteStdOut-stub-generic.o /tmp/vbox.0/generic/RTLogWriteStdOut-stub-generic.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/r0drv/linux/RTLogWriteDebugger-r0drv-linux.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/r0drv/linux/RTLogWriteDebugger-r0drv-linux.o"; fi; fi;
  gcc -Wp,-MD,/tmp/vbox.0/generic/.RTLogWriteUser-generic.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -I/lib/modules/4.16.0-rc4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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  -DMODULE  -DKBUILD_BASENAME='"RTLogWriteUser_generic"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/generic/RTLogWriteUser-generic.o /tmp/vbox.0/generic/RTLogWriteUser-generic.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/common/time/time.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/common/time/time.o"; fi; fi;
  gcc -Wp,-MD,/tmp/vbox.0/generic/.RTMpGetArraySize-generic.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -I/lib/modules/4.16.0-rc4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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  -DMODULE  -DKBUILD_BASENAME='"RTMpGetArraySize_generic"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/generic/RTMpGetArraySize-generic.o /tmp/vbox.0/generic/RTMpGetArraySize-generic.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/generic/RTLogWriteStdErr-stub-generic.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/generic/RTLogWriteStdErr-stub-generic.o"; fi; fi;
  gcc -Wp,-MD,/tmp/vbox.0/generic/.RTMpGetCoreCount-generic.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -I/lib/modules/4.16.0-rc4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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  -DMODULE  -DKBUILD_BASENAME='"RTMpGetCoreCount_generic"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/generic/RTMpGetCoreCount-generic.o /tmp/vbox.0/generic/RTMpGetCoreCount-generic.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/generic/RTLogWriteStdOut-stub-generic.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/generic/RTLogWriteStdOut-stub-generic.o"; fi; fi;
  gcc -Wp,-MD,/tmp/vbox.0/generic/.RTSemEventWait-2-ex-generic.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -I/lib/modules/4.16.0-rc4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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  -DMODULE  -DKBUILD_BASENAME='"RTSemEventWait_2_ex_generic"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/generic/RTSemEventWait-2-ex-generic.o /tmp/vbox.0/generic/RTSemEventWait-2-ex-generic.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/generic/RTLogWriteUser-generic.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/generic/RTLogWriteUser-generic.o"; fi; fi;
  gcc -Wp,-MD,/tmp/vbox.0/generic/.RTSemEventWaitNoResume-2-ex-generic.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -I/lib/modules/4.16.0-rc4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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  -DMODULE  -DKBUILD_BASENAME='"RTSemEventWaitNoResume_2_ex_generic"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/generic/RTSemEventWaitNoResume-2-ex-generic.o /tmp/vbox.0/generic/RTSemEventWaitNoResume-2-ex-generic.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/generic/RTMpGetArraySize-generic.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/generic/RTMpGetArraySize-generic.o"; fi; fi;
  gcc -Wp,-MD,/tmp/vbox.0/generic/.RTSemEventMultiWait-2-ex-generic.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -I/lib/modules/4.16.0-rc4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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  -DMODULE  -DKBUILD_BASENAME='"RTSemEventMultiWait_2_ex_generic"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/generic/RTSemEventMultiWait-2-ex-generic.o /tmp/vbox.0/generic/RTSemEventMultiWait-2-ex-generic.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/generic/RTMpGetCoreCount-generic.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/generic/RTMpGetCoreCount-generic.o"; fi; fi;
  gcc -Wp,-MD,/tmp/vbox.0/generic/.RTSemEventMultiWaitNoResume-2-ex-generic.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -I/lib/modules/4.16.0-rc4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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  -DMODULE  -DKBUILD_BASENAME='"RTSemEventMultiWaitNoResume_2_ex_generic"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/generic/RTSemEventMultiWaitNoResume-2-ex-generic.o /tmp/vbox.0/generic/RTSemEventMultiWaitNoResume-2-ex-generic.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/generic/RTSemEventWait-2-ex-generic.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/generic/RTSemEventWait-2-ex-generic.o"; fi; fi;
  gcc -Wp,-MD,/tmp/vbox.0/generic/.RTTimerCreate-generic.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -I/lib/modules/4.16.0-rc4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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  -DMODULE  -DKBUILD_BASENAME='"RTTimerCreate_generic"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/generic/RTTimerCreate-generic.o /tmp/vbox.0/generic/RTTimerCreate-generic.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/generic/RTSemEventWaitNoResume-2-ex-generic.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/generic/RTSemEventWaitNoResume-2-ex-generic.o"; fi; fi;
  gcc -Wp,-MD,/tmp/vbox.0/generic/.errvars-generic.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -I/lib/modules/4.16.0-rc4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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  -DMODULE  -DKBUILD_BASENAME='"errvars_generic"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/generic/errvars-generic.o /tmp/vbox.0/generic/errvars-generic.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/generic/RTSemEventMultiWait-2-ex-generic.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/generic/RTSemEventMultiWait-2-ex-generic.o"; fi; fi;
  gcc -Wp,-MD,/tmp/vbox.0/generic/.mppresent-generic.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -I/lib/modules/4.16.0-rc4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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  -DMODULE  -DKBUILD_BASENAME='"mppresent_generic"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/generic/mppresent-generic.o /tmp/vbox.0/generic/mppresent-generic.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/generic/RTSemEventMultiWaitNoResume-2-ex-generic.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/generic/RTSemEventMultiWaitNoResume-2-ex-generic.o"; fi; fi;
  gcc -Wp,-MD,/tmp/vbox.0/generic/.uuid-generic.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -I/lib/modules/4.16.0-rc4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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  -DMODULE  -DKBUILD_BASENAME='"uuid_generic"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/generic/uuid-generic.o /tmp/vbox.0/generic/uuid-generic.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/generic/RTTimerCreate-generic.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/generic/RTTimerCreate-generic.o"; fi; fi;
  gcc -Wp,-MD,/tmp/vbox.0/VBox/.log-vbox.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -I/lib/modules/4.16.0-rc4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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  -DMODULE  -DKBUILD_BASENAME='"log_vbox"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/VBox/log-vbox.o /tmp/vbox.0/VBox/log-vbox.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/generic/mppresent-generic.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/generic/mppresent-generic.o"; fi; fi;
  gcc -Wp,-MD,/tmp/vbox.0/common/alloc/.heapsimple.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -I/lib/modules/4.16.0-rc4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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  -DMODULE  -DKBUILD_BASENAME='"heapsimple"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/common/alloc/heapsimple.o /tmp/vbox.0/common/alloc/heapsimple.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/generic/errvars-generic.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/generic/errvars-generic.o"; fi; fi;
(cat /dev/null;   echo kernel//tmp/vbox.0/vboxdrv.ko;) > /tmp/vbox.0/modules.order
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/VBox/log-vbox.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/VBox/log-vbox.o"; fi; fi;
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/generic/uuid-generic.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/generic/uuid-generic.o"; fi; fi;
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/common/alloc/heapsimple.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/common/alloc/heapsimple.o"; fi; fi;
  ld -m elf_x86_64   -r -o /tmp/vbox.0/vboxdrv.o /tmp/vbox.0/linux/SUPDrv-linux.o /tmp/vbox.0/SUPDrv.o /tmp/vbox.0/SUPDrvGip.o /tmp/vbox.0/SUPDrvSem.o /tmp/vbox.0/SUPDrvTracer.o /tmp/vbox.0/SUPLibAll.o /tmp/vbox.0/r0drv/alloc-r0drv.o /tmp/vbox.0/r0drv/initterm-r0drv.o /tmp/vbox.0/r0drv/memobj-r0drv.o /tmp/vbox.0/r0drv/mpnotification-r0drv.o /tmp/vbox.0/r0drv/powernotification-r0drv.o /tmp/vbox.0/r0drv/linux/assert-r0drv-linux.o /tmp/vbox.0/r0drv/linux/alloc-r0drv-linux.o /tmp/vbox.0/r0drv/linux/initterm-r0drv-linux.o /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.o /tmp/vbox.0/r0drv/linux/memuserkernel-r0drv-linux.o /tmp/vbox.0/r0drv/linux/mp-r0drv-linux.o /tmp/vbox.0/r0drv/linux/mpnotification-r0drv-linux.o /tmp/vbox.0/r0drv/linux/process-r0drv-linux.o /tmp/vbox.0/r0drv/linux/rtStrFormatKernelAddress-r0drv-linux.o /tmp/vbox.0/r0drv/linux/semevent-r0drv-linux.o /tmp/vbox.0/r0drv/linux/semeventmulti-r0drv-linux.o /tmp/vbox.0/r0drv/linux/semfastmutex-r0drv-linux.o /tmp/vbox.0/r0drv/linux/semmutex-r0drv-linux.o /tmp/vbox.0/r0drv/linux/spinlock-r0drv-linux.o /tmp/vbox.0/r0drv/linux/thread-r0drv-linux.o /tmp/vbox.0/r0drv/linux/thread2-r0drv-linux.o /tmp/vbox.0/r0drv/linux/threadctxhooks-r0drv-linux.o /tmp/vbox.0/r0drv/linux/time-r0drv-linux.o /tmp/vbox.0/r0drv/linux/timer-r0drv-linux.o /tmp/vbox.0/r0drv/generic/semspinmutex-r0drv-generic.o /tmp/vbox.0/common/alloc/alloc.o /tmp/vbox.0/common/checksum/crc32.o /tmp/vbox.0/common/checksum/ipv4.o /tmp/vbox.0/common/checksum/ipv6.o /tmp/vbox.0/common/err/RTErrConvertFromErrno.o /tmp/vbox.0/common/err/RTErrConvertToErrno.o /tmp/vbox.0/common/err/errinfo.o /tmp/vbox.0/common/log/log.o /tmp/vbox.0/common/log/logellipsis.o /tmp/vbox.0/common/log/logrel.o /tmp/vbox.0/common/log/logrelellipsis.o /tmp/vbox.0/common/log/logcom.o /tmp/vbox.0/common/log/logformat.o /tmp/vbox.0/common/misc/RTAssertMsg1Weak.o /tmp/vbox.0/common/misc/RTAssertMsg2.o /tmp/vbox.0/common/misc/RTAssertMsg2Add.o /tmp/vbox.0/common/misc/RTAssertMsg2AddWeak.o /tmp/vbox.0/common/misc/RTAssertMsg2AddWeakV.o /tmp/vbox.0/common/misc/RTAssertMsg2Weak.o /tmp/vbox.0/common/misc/RTAssertMsg2WeakV.o /tmp/vbox.0/common/misc/assert.o /tmp/vbox.0/common/misc/handletable.o /tmp/vbox.0/common/misc/handletablectx.o /tmp/vbox.0/common/misc/thread.o /tmp/vbox.0/common/string/RTStrCat.o /tmp/vbox.0/common/string/RTStrCopy.o /tmp/vbox.0/common/string/RTStrCopyEx.o /tmp/vbox.0/common/string/RTStrCopyP.o /tmp/vbox.0/common/string/RTStrNCmp.o /tmp/vbox.0/common/string/RTStrNLen.o /tmp/vbox.0/common/string/stringalloc.o /tmp/vbox.0/common/string/strformat.o /tmp/vbox.0/common/string/strformatrt.o /tmp/vbox.0/common/string/strformattype.o /tmp/vbox.0/common/string/strprintf.o /tmp/vbox.0/common/string/strtonum.o /tmp/vbox.0/common/table/avlpv.o /tmp/vbox.0/common/time/time.o /tmp/vbox.0/r0drv/linux/RTLogWriteDebugger-r0drv-linux.o /tmp/vbox.0/generic/RTAssertShouldPanic-generic.o /tmp/vbox.0/generic/RTLogWriteStdErr-stub-generic.o /tmp/vbox.0/generic/RTLogWriteStdOut-stub-generic.o /tmp/vbox.0/generic/RTLogWriteUser-generic.o /tmp/vbox.0/generic/RTMpGetArraySize-generic.o /tmp/vbox.0/generic/RTMpGetCoreCount-generic.o /tmp/vbox.0/generic/RTSemEventWait-2-ex-generic.o /tmp/vbox.0/generic/RTSemEventWaitNoResume-2-ex-generic.o /tmp/vbox.0/generic/RTSemEventMultiWait-2-ex-generic.o /tmp/vbox.0/generic/RTSemEventMultiWaitNoResume-2-ex-generic.o /tmp/vbox.0/generic/RTTimerCreate-generic.o /tmp/vbox.0/generic/errvars-generic.o /tmp/vbox.0/generic/mppresent-generic.o /tmp/vbox.0/generic/uuid-generic.o /tmp/vbox.0/VBox/log-vbox.o /tmp/vbox.0/common/alloc/heapsimple.o 
make -f ./scripts/Makefile.modpost
  find /tmp/vbox.0/.tmp_versions -name '*.mod' | xargs -r grep -h '\.ko$' | sort -u | sed 's/\.ko$/.o/' | scripts/mod/modpost  -a -i ./Module.symvers -I /tmp/vbox.0/Module.symvers  -o /tmp/vbox.0/Module.symvers -S  -w  -s -T -
  gcc -Wp,-MD,/tmp/vbox.0/.vboxdrv.mod.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -I/lib/modules/4.16.0-rc4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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  -DKBUILD_BASENAME='"vboxdrv.mod"'  -DKBUILD_MODNAME='"vboxdrv"' -DMODULE  -c -o /tmp/vbox.0/vboxdrv.mod.o /tmp/vbox.0/vboxdrv.mod.c
  ld -r -m elf_x86_64 -T ./scripts/module-common.lds --build-id  -o /tmp/vbox.0/vboxdrv.ko /tmp/vbox.0/vboxdrv.o /tmp/vbox.0/vboxdrv.mod.o ;  true
make V=1 CONFIG_MODULE_SIG= -C /lib/modules/4.16.0-rc4+/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 INSTALL_MOD_PATH= INSTALL_MOD_DIR=misc modules_install
Makefile:996: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
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.16.0-rc4+/misc
make -f ./scripts/Makefile.modinst
  mkdir -p /lib/modules/4.16.0-rc4+/misc ; cp /tmp/vbox.0/vboxdrv.ko /lib/modules/4.16.0-rc4+/misc ; true /lib/modules/4.16.0-rc4+/misc/vboxdrv.ko ; if (echo "/lib/modules/4.16.0-rc4+/misc/vboxdrv.ko" | egrep -q "\/drivers\/staging\/") && [ -f ./drivers/staging/signature-inclusion ] && (! egrep -x "vboxdrv.ko" ./drivers/staging/signature-inclusion) ; then echo Not signing "/lib/modules/4.16.0-rc4+/misc/vboxdrv.ko"; else scripts/sign-file "sha512" "certs/signing_key.pem" certs/signing_key.x509 /lib/modules/4.16.0-rc4+/misc/vboxdrv.ko || true && true /lib/modules/4.16.0-rc4+/misc/vboxdrv.ko; fi
At main.c:160:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory
  /bin/bash ./scripts/depmod.sh /sbin/depmod 4.16.0-rc4+ ""
make V=1 CONFIG_MODULE_SIG= -C /lib/modules/4.16.0-rc4+/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j4 modules
make[1]: warning: -jN forced in submake: disabling jobserver mode.
Makefile:996: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
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/.VBoxNetFlt-linux.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-pie -I/lib/modules/4.16.0-rc4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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 -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS  -DMODULE  -DKBUILD_BASENAME='"VBoxNetFlt_linux"'  -DKBUILD_MODNAME='"vboxnetflt"' -c -o /tmp/vbox.0/linux/VBoxNetFlt-linux.o /tmp/vbox.0/linux/VBoxNetFlt-linux.c
  gcc -Wp,-MD,/tmp/vbox.0/.VBoxNetFlt.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-pie -I/lib/modules/4.16.0-rc4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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 -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS  -DMODULE  -DKBUILD_BASENAME='"VBoxNetFlt"'  -DKBUILD_MODNAME='"vboxnetflt"' -c -o /tmp/vbox.0/VBoxNetFlt.o /tmp/vbox.0/VBoxNetFlt.c
  gcc -Wp,-MD,/tmp/vbox.0/.SUPR0IdcClient.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-pie -I/lib/modules/4.16.0-rc4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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 -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS  -DMODULE  -DKBUILD_BASENAME='"SUPR0IdcClient"'  -DKBUILD_MODNAME='"vboxnetflt"' -c -o /tmp/vbox.0/SUPR0IdcClient.o /tmp/vbox.0/SUPR0IdcClient.c
  gcc -Wp,-MD,/tmp/vbox.0/.SUPR0IdcClientComponent.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-pie -I/lib/modules/4.16.0-rc4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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 -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS  -DMODULE  -DKBUILD_BASENAME='"SUPR0IdcClientComponent"'  -DKBUILD_MODNAME='"vboxnetflt"' -c -o /tmp/vbox.0/SUPR0IdcClientComponent.o /tmp/vbox.0/SUPR0IdcClientComponent.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/SUPR0IdcClientComponent.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/SUPR0IdcClientComponent.o"; fi; fi;
  gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPR0IdcClient-linux.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/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 -Iubuntu/include  -D__KERNEL__ -DCONFIG_CC_STACKPROTECTOR -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-pie -I/lib/modules/4.16.0-rc4+/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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 -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS  -DMODULE  -DKBUILD_BASENAME='"SUPR0IdcClient_linux"'  -DKBUILD_MODNAME='"vboxnetflt"' -c -o /tmp/vbox.0/linux/SUPR0IdcClient-linux.o /tmp/vbox.0/linux/SUPR0IdcClient-linux.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/SUPR0IdcClient.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/SUPR0IdcClient.o"; fi; fi;
(cat /dev/null;   echo kernel//tmp/vbox.0/vboxnetflt.ko;) > /tmp/vbox.0/modules.order
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/linux/SUPR0IdcClient-linux.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/linux/SUPR0IdcClient-linux.o"; fi; fi;
  if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/VBoxNetFlt.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/vbox.0/VBoxNetFlt.o"; fi; fi;
In file included from ./include/linux/compat.h:17:0,
                 from ./include/linux/ethtool.h:17,
                 from ./include/linux/netdevice.h:41,
                 from /tmp/vbox.0/linux/VBoxNetFlt-linux.c:40:
./include/linux/if.h:28:10: fatal error: sys/socket.h: No such file or directory
 #include <sys/socket.h>   /* for struct sockaddr.  */
          ^~~~~~~~~~~~~~
compilation terminated.
scripts/Makefile.build:324: recipe for target '/tmp/vbox.0/linux/VBoxNetFlt-linux.o' failed
make[2]: *** [/tmp/vbox.0/linux/VBoxNetFlt-linux.o] Error 1
Makefile:1583: 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 'vboxnetflt' failed
make: *** [vboxnetflt] Error 2

It says to ' Run 'make oldconfig && make prepare' on kernel src to fix it.";'. Do you need to do that when you build the kernel? Did you?

Anything I can do?

I am starting to wonder why the same error is still there after the last 3 months' builds.

Also, Ubuntu 18.04 will have kernel 4.15, which should mean that there is a working version with AMD GPUs HDMI/DP sound and also Virtualbox, right?

Let me know if you need anything else.

piet8stevens commented 6 years ago

@M-Bab 4.16.0-rc5+ still the same issue.

piet8stevens commented 6 years ago

Tried out 4.16.0-rc6+. PC does not boot. I have done the same as before: cloned the repository, installed with sudo dpkg -i *.deb. Seemed like same errors/warnings as before (some missing files). I get the startup splash, then boot menu, I just hit enter to boot with the 4.16.0-rc6+ and the purple ubuntu color comes on the screen and then black. Stays black. Went back to 4.16.0-rc4+. (on 4.16.0-rc5+, my sound disappeared when I just left my PC on for the night, not sure what happened).

M-Bab commented 6 years ago

Sorry to hear that. You can keep trying while being aware that this kernel is bleeding edge and there is quite a chance that it causes issues. If you want to report the bug upstream it is best to use the freedesktop bugzilla: https://bugs.freedesktop.org/ Or the amd developers mailing list: amd-gfx@lists.freedesktop.org I recommend linking to this issue that they have all the information.

piet8stevens commented 6 years ago

4.16.0 and 4.16.2+ boot. Sound works (sometimes, after switching off the screen for the night and then logging in, sound is gone; only solution has been to reboot).

Still no virtualbox - problem persists - same error message as before. @M-Bab : are you sure you include everything necessary for Virtualbox to work?

HiDef888 commented 6 years ago

VBox is broken when I added the ubuntu kernel you built. Thank you for all your work. This is my dmesg output from boot if it's helpful

[ 300.867269] amdgpu 0000:38:00.0: [gfxhub] VMC page fault (src_id:0 ring:56 vmid:6 pasid:32790) [ 300.867277] amdgpu 0000:38:00.0: at page 0x000000010515f000 from 27 [ 300.867282] amdgpu 0000:38:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x006C0071 [ 300.867291] amdgpu 0000:38:00.0: [gfxhub] VMC page fault (src_id:0 ring:56 vmid:6 pasid:32790) [ 300.867294] amdgpu 0000:38:00.0: at page 0x000000010515d000 from 27 [ 300.867298] amdgpu 0000:38:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00000000 [ 300.867306] amdgpu 0000:38:00.0: [gfxhub] VMC page fault (src_id:0 ring:56 vmid:6 pasid:32790) [ 300.867309] amdgpu 0000:38:00.0: at page 0x0000000105157000 from 27 [ 300.867312] amdgpu 0000:38:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00000000 [ 300.867320] amdgpu 0000:38:00.0: [gfxhub] VMC page fault (src_id:0 ring:56 vmid:6 pasid:32790) [ 300.867323] amdgpu 0000:38:00.0: at page 0x0000000105155000 from 27 [ 300.867326] amdgpu 0000:38:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00000000 [ 300.867333] amdgpu 0000:38:00.0: [gfxhub] VMC page fault (src_id:0 ring:56 vmid:6 pasid:32790) [ 300.867336] amdgpu 0000:38:00.0: at page 0x000000010514f000 from 27 [ 300.867339] amdgpu 0000:38:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00000000 [ 300.867347] amdgpu 0000:38:00.0: [gfxhub] VMC page fault (src_id:0 ring:56 vmid:6 pasid:32790) [ 300.867350] amdgpu 0000:38:00.0: at page 0x000000010514d000 from 27 [ 300.867352] amdgpu 0000:38:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x006C0071 [ 300.867360] amdgpu 0000:38:00.0: [gfxhub] VMC page fault (src_id:0 ring:56 vmid:6 pasid:32790) [ 300.867363] amdgpu 0000:38:00.0: at page 0x0000000105147000 from 27 [ 300.867366] amdgpu 0000:38:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x006C0071 [ 300.867374] amdgpu 0000:38:00.0: [gfxhub] VMC page fault (src_id:0 ring:56 vmid:6 pasid:32790) [ 300.867377] amdgpu 0000:38:00.0: at page 0x0000000105145000 from 27 [ 300.867379] amdgpu 0000:38:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x006C0071 [ 300.867387] amdgpu 0000:38:00.0: [gfxhub] VMC page fault (src_id:0 ring:56 vmid:6 pasid:32790) [ 300.867390] amdgpu 0000:38:00.0: at page 0x000000010513f000 from 27 [ 300.867393] amdgpu 0000:38:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x006C0071 [ 300.867400] amdgpu 0000:38:00.0: [gfxhub] VMC page fault (src_id:0 ring:56 vmid:6 pasid:32790) [ 300.867403] amdgpu 0000:38:00.0: at page 0x000000010513d000 from 27 [ 300.867406] amdgpu 0000:38:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x006C0071 [ 8849.738944] [drm:generic_reg_wait [amdgpu]] ERROR REG_WAIT timeout 1us * 10 tries - optc1_lock line:628

piet8stevens commented 6 years ago

I finally found the solution to no sound after locking the screen: this sometimes (but not always) mutes sound in alsamixer. Solution is to run alsamixer and unmute sound (using M button). So, this has nothing to do with the kernel.

piet8stevens commented 6 years ago

4.16.3+ boots, sound works. Still no virtualbox. Not sure what I can do to fix this.

I do notice that for my regular kernel, I have linux-tools, linux-image and linux-headers. For your kernel, I only have linux-image and linux-headers. Does that have anything to do with this issue? Where could I get linux-tools-4.16.3+ ?

piet8stevens commented 6 years ago

Another interesting variation on sound issues: in order to have sound with this kernel, I must have 2 monitors active - a non-existent Panasonic and my real monitor, a Dell as I wrote in an earlier post. For the last week or so, somehow, when starting applications, windows started to open on the non-existent Panasonic and I cannot figure out how to move them to the Dell. If I work with only the Dell (settings/devices/displays/single display), all my windows show up on my Dell monitor, but I have no sound. When I work with 2 monitors, I have sound, but many windows do not show up. There must be a solution but for now, I have not found it.

xrandr shows Screen 0 connected to DisplayPort-0 connected to my 3840x2160 screen = Dell. It also shows HDMI-A-0 connected. This is for my soundbar and probably the reason Ubuntu requires 2 screens to get sound to play on my soundbar. I use a SAP-250-R7-ULTIMATSapphire AMD video/sound card with both HDMI and Displayport outputs. I need to somehow tell the system to not send any video to that HDMI but only audio.

ghost commented 6 years ago

The problem with virtualbox is the + added to the kernel version. Here is the virtual box modules build for 4.16.12+ You will see it missing the + plus sign causing problems vi /usr/src/linux-headers-4.16.12+/include/generated/utsrelease.h

virtualbox_modules.zip

piet8stevens commented 6 years ago

Wow, that would be great. I am on 4.16.3+ (Ubuntu). So, can I use your attachment?

ghost commented 6 years ago

Yup I compiled the modules for it

4.16.12+ is what the modules are for

On Wed, May 30, 2018 at 8:17 AM, Piet Stevens notifications@github.com wrote:

Wow, that would be great. I am on 4.16.3+ (Ubuntu). So, can I use your attachment?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/M-Bab/linux-kernel-amdgpu-binaries/issues/44#issuecomment-393139796, or mute the thread https://github.com/notifications/unsubscribe-auth/AWn0w0rmX5WCuutIaaibXDdYcXyZNdjYks5t3o3vgaJpZM4RgFWb .

ghost commented 6 years ago

To install the modules just cut n paste below

!/bin/bash

cd sudo su wget https://github.com/M-Bab/linux-kernel-amdgpu-binaries/files/2053776/virtualbox_modules.zip mkdir -p /lib/modules/4.16.12+/kernel/extra unzip virtualbox_modules.zip tar -xzvf virtualbox_modules.tgz rm virt.tgz rm virt.zip mv virt* /lib/modules/4.16.12+/kernel/extra depmod -a modprobe vboxdrv modprobe vboxpci modprobe vboxnetflt modprobe vboxnetadp #################-Cut N paste end dmesg | grep vbox [ 14.930023] vboxdrv: loading out-of-tree module taints kernel. [ 14.930106] vboxdrv: module verification failed: signature and/or required key missing - tainting kernel [ 14.931887] vboxdrv: Found 8 processor cores [ 14.948077] vboxdrv: TSC mode is Invariant, tentative frequency 3600000024 Hz [ 14.948078] vboxdrv: Successfully loaded version 5.2.12 (interface 0x00290001) [ 15.243887] vboxpci: IOMMU not found (not registered) guru@ROCM-RIPPA:~$ uname -a Linux ROCM-RIPPA 4.16.12+ #1 SMP Sun May 27 14:43:56 CEST 2018 x86_64 x86_64 x86_64 GNU/Linux

On Wed, May 30, 2018 at 1:48 PM, Jason Kurtz tekcommnv@gmail.com wrote:

Yup I compiled the modules for it

On Wed, May 30, 2018 at 8:17 AM, Piet Stevens notifications@github.com wrote:

Wow, that would be great. I am on 4.16.3+ (Ubuntu). So, can I use your attachment?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/M-Bab/linux-kernel-amdgpu-binaries/issues/44#issuecomment-393139796, or mute the thread https://github.com/notifications/unsubscribe-auth/AWn0w0rmX5WCuutIaaibXDdYcXyZNdjYks5t3o3vgaJpZM4RgFWb .

ghost commented 6 years ago

Heres a action shot running android on virtualbox from http://www.android-x86.org/download

android-x86_64-7.1-r2.iso Android-x86 7.1-r2 live and installation iso (64-bit)

screenshot_2018-05-30_14-07-58

ghost commented 6 years ago

I uploaded the source code for ya on my github

https://github.com/tekcomm/vboxhost-5.2.12

piet8stevens commented 6 years ago

Thank you for all this. Sorry, need to repeat my prior question: will this work on 4.16.3+? (not: 4.16.12+) I stayed on 4.16.3+ as Ubuntu is apparently not supported any more in the higher versions of the kernel.

ghost commented 6 years ago

Well Peit, I sent about 1/2 dozen screenshots with it working :) Im running it just fine

On Fri, Jun 1, 2018 at 7:16 AM, Piet Stevens notifications@github.com wrote:

Thank you for all this. Sorry, need to repeat my prior question: will this work on 4.16.3+? (not: 4.16.12+) I stayed on 4.16.3+ as Ubuntu is apparently not supported any more in the higher versions of the kernel.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/M-Bab/linux-kernel-amdgpu-binaries/issues/44#issuecomment-393850534, or mute the thread https://github.com/notifications/unsubscribe-auth/AWn0wwBX-OPkkpndPypSunlraKpkEpKIks5t4SKHgaJpZM4RgFWb .

ghost commented 6 years ago

18.04 beaver with bab's kernel, and oibafs mesa 18.2 with opencl clover and directx 9 and vulkin

sudo add-apt-repository ppa:oibaf/graphics-drivers

On Fri, Jun 1, 2018 at 8:54 AM, Jason Kurtz tekcommnv@gmail.com wrote:

Well Peit, I sent about 1/2 dozen screenshots with it working :) Im running it just fine

On Fri, Jun 1, 2018 at 7:16 AM, Piet Stevens notifications@github.com wrote:

Thank you for all this. Sorry, need to repeat my prior question: will this work on 4.16.3+? (not: 4.16.12+) I stayed on 4.16.3+ as Ubuntu is apparently not supported any more in the higher versions of the kernel.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/M-Bab/linux-kernel-amdgpu-binaries/issues/44#issuecomment-393850534, or mute the thread https://github.com/notifications/unsubscribe-auth/AWn0wwBX-OPkkpndPypSunlraKpkEpKIks5t4SKHgaJpZM4RgFWb .

ghost commented 6 years ago

It also works fine with the amdpro/ rocm opencl 2.1 and opencl 1.2, with Clover Mesa, 18.2-dev opencl 1.1 at the same time

Number of platforms 2 Platform Name AMD Accelerated Parallel Processing Platform Vendor Advanced Micro Devices, Inc. Platform Version OpenCL 2.1 AMD-APP (2633.3) Platform Profile FULL_PROFILE Platform Extensions cl_khr_icd cl_amd_event_callback cl_amd_offline_devices Platform Host timer resolution 1ns Platform Extensions function suffix AMD Platform Name AMD Accelerated Parallel Processing Number of devices 5 Device Name Baffin Device Vendor Advanced Micro Devices, Inc. Device Vendor ID 0x1002 Device Version OpenCL 1.2 AMD-APP (2633.3) Driver Version 2633.3 Device OpenCL C Version OpenCL C 1.2

Device Name                                     Radeon RX 560 Series

(POLARIS11 / DRM 3.26.0 / 4.16.12+, LLVM 6.0.0) Device Vendor AMD Device Vendor ID 0x1002 Device Version OpenCL 1.1 Mesa 18.2

On Fri, Jun 1, 2018 at 8:55 AM, Jason Kurtz tekcommnv@gmail.com wrote:

18.04 beaver with bab's kernel, and oibafs mesa 18.2 with opencl clover and directx 9 and vulkin

sudo add-apt-repository ppa:oibaf/graphics-drivers

On Fri, Jun 1, 2018 at 8:54 AM, Jason Kurtz tekcommnv@gmail.com wrote:

Well Peit, I sent about 1/2 dozen screenshots with it working :) Im running it just fine

On Fri, Jun 1, 2018 at 7:16 AM, Piet Stevens notifications@github.com wrote:

Thank you for all this. Sorry, need to repeat my prior question: will this work on 4.16.3+? (not: 4.16.12+) I stayed on 4.16.3+ as Ubuntu is apparently not supported any more in the higher versions of the kernel.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/M-Bab/linux-kernel-amdgpu-binaries/issues/44#issuecomment-393850534, or mute the thread https://github.com/notifications/unsubscribe-auth/AWn0wwBX-OPkkpndPypSunlraKpkEpKIks5t4SKHgaJpZM4RgFWb .

ghost commented 6 years ago

Thats beaver :) xubuntu

On Fri, Jun 1, 2018 at 9:01 AM, Jason Kurtz tekcommnv@gmail.com wrote:

It also works fine with the amdpro/ rocm opencl 2.1 and opencl 1.2, with Clover Mesa, 18.2-dev opencl 1.1 at the same time

Number of platforms 2 Platform Name AMD Accelerated Parallel Processing Platform Vendor Advanced Micro Devices, Inc. Platform Version OpenCL 2.1 AMD-APP (2633.3) Platform Profile FULL_PROFILE Platform Extensions cl_khr_icd cl_amd_event_callback cl_amd_offline_devices Platform Host timer resolution 1ns Platform Extensions function suffix AMD Platform Name AMD Accelerated Parallel Processing Number of devices 5 Device Name Baffin Device Vendor Advanced Micro Devices, Inc. Device Vendor ID 0x1002 Device Version OpenCL 1.2 AMD-APP (2633.3) Driver Version 2633.3 Device OpenCL C Version OpenCL C 1.2

Device Name                                     Radeon RX 560 Series

(POLARIS11 / DRM 3.26.0 / 4.16.12+, LLVM 6.0.0) Device Vendor AMD Device Vendor ID 0x1002 Device Version OpenCL 1.1 Mesa 18.2

On Fri, Jun 1, 2018 at 8:55 AM, Jason Kurtz tekcommnv@gmail.com wrote:

18.04 beaver with bab's kernel, and oibafs mesa 18.2 with opencl clover and directx 9 and vulkin

sudo add-apt-repository ppa:oibaf/graphics-drivers

On Fri, Jun 1, 2018 at 8:54 AM, Jason Kurtz tekcommnv@gmail.com wrote:

Well Peit, I sent about 1/2 dozen screenshots with it working :) Im running it just fine

On Fri, Jun 1, 2018 at 7:16 AM, Piet Stevens notifications@github.com wrote:

Thank you for all this. Sorry, need to repeat my prior question: will this work on 4.16.3+? (not: 4.16.12+) I stayed on 4.16.3+ as Ubuntu is apparently not supported any more in the higher versions of the kernel.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/M-Bab/linux-kernel-amdgpu-binaries/issues/44#issuecomment-393850534, or mute the thread https://github.com/notifications/unsubscribe-auth/AWn0wwBX-OPkkpndPypSunlraKpkEpKIks5t4SKHgaJpZM4RgFWb .

piet8stevens commented 6 years ago

Well, trying to follow your instructions. Are you sure 'mv virt /lib/modules/4.16.12+/kernel/extra' is correct? virt.tgz and virt.zip have been removed in the previous commands. There is no virt left.

ghost commented 6 years ago

You can just cut and paste line by line I know it works already

!/bin/bash

cd sudo su wget https://github.com/M-Bab/linux-kernel-amdgpu-binaries/ files/2053776/virtualbox_modules.zip mkdir -p /lib/modules/4.16.12+/kernel/extra unzip virtualbox_modules.zip tar -xzvf virtualbox_modules.tgz rm virt.tgz rm virt.zip mv virt* /lib/modules/4.16.12+/kernel/extra depmod -a modprobe vboxdrv modprobe vboxpci modprobe vboxnetflt modprobe vboxnetadp depmod -a #################-Cut N paste end

On Fri, Jun 1, 2018 at 9:41 AM, Piet Stevens notifications@github.com wrote:

Well, trying to follow your instructions. Are you sure 'mv virt /lib/modules/4.16.12+/kernel/extra' is correct? virt.tgz and virt.zip have been removed in the previous command. There is no vert left.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/M-Bab/linux-kernel-amdgpu-binaries/issues/44#issuecomment-393884068, or mute the thread https://github.com/notifications/unsubscribe-auth/AWn0w45XbUiWzcl38PFUP8Ph3Zl1dYsaks5t4URygaJpZM4RgFWb .

ghost commented 6 years ago

I sent babs a note with the problem so he can fix it in the next version

On Fri, Jun 1, 2018 at 10:22 AM, Jason Kurtz tekcommnv@gmail.com wrote:

You can just cut and paste line by line I know it works already

!/bin/bash

cd sudo su wget https://github.com/M-Bab/linux-kernel-amdgpu-binaries/f iles/2053776/virtualbox_modules.zip mkdir -p /lib/modules/4.16.12+/kernel/extra unzip virtualbox_modules.zip tar -xzvf virtualbox_modules.tgz rm virt.tgz rm virt.zip mv virt* /lib/modules/4.16.12+/kernel/extra depmod -a modprobe vboxdrv modprobe vboxpci modprobe vboxnetflt modprobe vboxnetadp depmod -a #################-Cut N paste end

On Fri, Jun 1, 2018 at 9:41 AM, Piet Stevens notifications@github.com wrote:

Well, trying to follow your instructions. Are you sure 'mv virt /lib/modules/4.16.12+/kernel/extra' is correct? virt.tgz and virt.zip have been removed in the previous command. There is no vert left.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/M-Bab/linux-kernel-amdgpu-binaries/issues/44#issuecomment-393884068, or mute the thread https://github.com/notifications/unsubscribe-auth/AWn0w45XbUiWzcl38PFUP8Ph3Zl1dYsaks5t4URygaJpZM4RgFWb .

piet8stevens commented 6 years ago

Sorry, but the mv virt /lib/modules/4.16.12+/kernel/extra makes no sense to me. I moved the vbox to that directory and then modprobe vboxpci generates an error :modprobe vboxpci modprobe: ERROR: could not insert 'vboxpci': Exec format error

ghost commented 6 years ago

That error is caused by not using the correct kernel version 4.16.12 piet. Upgrade your kernel to babs latests and it will work fine

piet8stevens commented 6 years ago

Thank you for your continued help. I have now installed 4.16.12+. I literally copied your instructions, but as I expected, I get this error message: mv virt /lib/modules/4.16.12+/kernel/extra mv: cannot stat 'virt': No such file or directory

Because in the prior command, all virt* files have been deleted.

ghost commented 6 years ago

Lets Run This one line at a time shall we. theres the problem it needs to be mv vbox* /lib/modules/4.16.12+/kernel/extra

On Sun, Jun 3, 2018 at 5:15 PM, Piet Stevens notifications@github.com wrote:

Thank you for your continued help. I have now installed 4.16.12+. I literally copied your instructions, but as I expected, I get this error message: mv virt /lib/modules/4.16.12+/kernel/extra mv: cannot stat 'virt': No such file or directory

Because in the prior command, all virt* files have been deleted.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/M-Bab/linux-kernel-amdgpu-binaries/issues/44#issuecomment-394191997, or mute the thread https://github.com/notifications/unsubscribe-auth/AWn0wx7a8YoGfhXmBGbOGnpERcQMhzKVks5t5FH-gaJpZM4RgFWb .

piet8stevens commented 6 years ago

@tekcomm Thank you - changing that line to mv vbox* /lib/modules/4.16.12+/kernel/extra worked. Now virtualbox works and I have sound via hdmi. Your help is much appreciated as this issue had been stuck for many, many months.

Now, I hope somehow this can be included in the @M-Bab releases.

ghost commented 6 years ago

Anytime

On Mon, Jun 4, 2018 at 3:28 PM, Piet Stevens notifications@github.com wrote:

@tekcomm https://github.com/tekcomm Thank you - changing that line to mv vbox* /lib/modules/4.16.12+/kernel/extra worked. Now virtualbox works and I have sound via hdmi. Your help is much appreciated as this issue has been stuck for many, many months.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/M-Bab/linux-kernel-amdgpu-binaries/issues/44#issuecomment-394470378, or mute the thread https://github.com/notifications/unsubscribe-auth/AWn0w8MfEAdvWQIkSU35CLi7lsN8U0S-ks5t5YpQgaJpZM4RgFWb .

M-Bab commented 6 years ago

I am trying. Not very successful so far ...

piet8stevens commented 6 years ago

Well: uname -r 4.17.2amdgpu.ubuntu.18.06.19+

Without the manual intervention as per tekcomm, still no virtualbox.

ghost commented 6 years ago

https://github.com/tekcomm/linux-kernel-amdgpu-binaries

ghost commented 6 years ago

Babs post me the format you want and ill write a build script for you

M-Bab commented 6 years ago

@tekcomm Yeah the format you have on your fork page would be great already. I didn't found a usable command for that.

ghost commented 6 years ago

I will send you the recipe. Give me the exact format you want it.

On Tue, Jun 26, 2018 at 4:01 AM, Martin notifications@github.com wrote:

@tekcomm https://github.com/tekcomm Yeah the format you have on your fork page would be great already. I didn't found a usable command for that.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/M-Bab/linux-kernel-amdgpu-binaries/issues/44#issuecomment-400076641, or mute the thread https://github.com/notifications/unsubscribe-auth/AWn0w_F44qo9u2T9-HfTKXZM-0P4l_f3ks5uAUGIgaJpZM4RgFWb .

M-Bab commented 6 years ago

linux-[headers,image]-[version]_[date].amdgpu[.ubuntu?]_amd64.deb

ghost commented 6 years ago

THIS IS RESERVED, PAST THIS POINT THERE BE DRAGONS AND FLYING BATSHIT CRAZY MONKEYS FROM OZ. You have been warned. ---------------------------Place holder to fix the naming convention------------------------- Hows this?

linux-image-4.17.2-amdgpu-18.06.19-amd64.deb linux-headers-4.17.2-amdgpu-18.06.19-amd64.deb

linux-image-4.17.2-amdgpu-18.06.19-ubuntu-amd64.deb linux-headers-4.17.2-amdgpu-18.06.19-ubuntu-amd64.deb

On Tue, Jun 26, 2018 at 4:02 AM, Jason Kurtz tekcommnv@gmail.com wrote:

I will send you the recipe. Give me the exact format you want it.

On Tue, Jun 26, 2018 at 4:01 AM, Martin notifications@github.com wrote:

@tekcomm https://github.com/tekcomm Yeah the format you have on your fork page would be great already. I didn't found a usable command for that.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/M-Bab/linux-kernel-amdgpu-binaries/issues/44#issuecomment-400076641, or mute the thread https://github.com/notifications/unsubscribe-auth/AWn0w_F44qo9u2T9-HfTKXZM-0P4l_f3ks5uAUGIgaJpZM4RgFWb .