Ticket #20878 (new defect)

Opened 12 months ago

Last modified 12 months ago

Building kernel module fails on CentOS8 and Kernel 5.17

Reported by: HRZunibi Owned by:
Component: installer Version: VirtualBox 6.1.32
Keywords: Cc:
Guest type: all Host type: Linux


Had running VB6.1.32 under kernel 5.16. Reboot triggered after installing kernel 5.17. Build kernel driver failed with error.

Building the main VirtualBox module.
Error building the module:
make V=1 CONFIG_MODULE_SIG= CONFIG_MODULE_SIG_ALL= -C /lib/modules/5.17.0-1.el8.elrepo.x86_64/build M=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j16 modules
make[1]: warning: -j16 forced in submake: resetting jobserver mode.
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `if [ "gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-10)" != ""gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4)"" ]; then \'
make[1]: *** [Makefile:1717: prepare] Error 1
make: *** [/tmp/vbox.0/Makefile-footer.gmk:117: vboxdrv] Error 2


vbox-setup.log Download (584 bytes) - added by HRZunibi 12 months ago.
vboxsetuo.log from running /sbin/vboxconfig

Change History

comment:1 Changed 12 months ago by galitsyn

Hi HRZunibi,

We have fixes for kernel 5.17 in our Development snapshots (r150522+) on

Changed 12 months ago by HRZunibi

vboxsetuo.log from running /sbin/vboxconfig

comment:2 Changed 12 months ago by HRZunibi


we tried VirtualBox-6.1-6.1.97_150532_el8-1.x86_64.rpm on Centos 8 Streams running kernel 5.17.1. Building the kernel module failed. Please see the attached vboxsetup.log.

With regards, Peter.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use