﻿id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host
20877,guest additions does not work on centos 8 stream,milesnick,,"the new kernel headers does not have drm/ttm/ttm_memory.h  so the modules cannot build 

[root@localhost ttm]# pwd
/usr/src/kernels/4.18.0-365.el8.x86_64/include/drm/ttm
[root@localhost ttm]# ll
total 92
-rw-r--r--. 1 root root 19274 Feb 10 11:20 ttm_bo_api.h
-rw-r--r--. 1 root root 10316 Feb 10 11:20 ttm_bo_driver.h
-rw-r--r--. 1 root root  1400 Feb 10 11:20 ttm_caching.h
-rw-r--r--. 1 root root  8800 Feb 10 11:20 ttm_device.h
-rw-r--r--. 1 root root  4481 Feb 10 11:20 ttm_execbuf_util.h
-rw-r--r--. 1 root root  1892 Feb 10 11:20 ttm_kmap_iter.h
-rw-r--r--. 1 root root  2768 Feb 10 11:20 ttm_placement.h
-rw-r--r--. 1 root root  2821 Feb 10 11:20 ttm_pool.h
-rw-r--r--. 1 root root   967 Feb 10 11:20 ttm_range_manager.h
-rw-r--r--. 1 root root  8965 Feb 10 11:20 ttm_resource.h
-rw-r--r--. 1 root root  6470 Feb 10 11:20 ttm_tt.h

Building the main Guest Additions 6.1.32 module for kernel 4.18.0-365.el8.x86_64.
Building the shared folder support module.
Building the graphics driver module.
Error building the module.  Build output follows.
make V=1 CONFIG_MODULE_SIG= CONFIG_MODULE_SIG_ALL= -C /lib/modules/4.18.0-365.el8.x86_64/build M=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j1 modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (                \
echo >&2;                                                       \
echo >&2 ""  ERROR: Kernel configuration is invalid."";           \
echo >&2 ""         include/generated/autoconf.h or include/config/auto.conf are missing."";\
echo >&2 ""         Run 'make oldconfig && make prepare' on kernel src to fix it."";      \
echo >&2 ;                                                      \
/bin/false)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/tmp/vbox.0
(cat /dev/null;   echo kernel//tmp/vbox.0/vboxvideo.ko;) > /tmp/vbox.0/modules.order
  gcc -Wp,-MD,/tmp/vbox.0/.hgsmi_base.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/8/include -I./arch/x86/include -I./arch/x86/include/generated   -I./include/drm-backport -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 -include ./include/linux/compiler_types.h -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 -DCC_HAVE_ASM_GOTO -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_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -DCONFIG_TPAUSE=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -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 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned -I./include -I/tmp/vbox.0/ -I./include/drm -D__KERNEL__ -DMODULE -DRT_WITHOUT_PRAGMA_ONCE -DRT_ARCH_AMD64  -DMODULE  -DKBUILD_BASENAME='""hgsmi_base""' -DKBUILD_MODNAME='""vboxvideo""' -c -o /tmp/vbox.0/.tmp_hgsmi_base.o /tmp/vbox.0/hgsmi_base.c
In file included from /tmp/vbox.0/hgsmi_base.c:27:
/tmp/vbox.0/vbox_drv.h:175:11: fatal error: drm/ttm/ttm_memory.h: No such file or directory
 # include <drm/ttm/ttm_memory.h>
           ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:316: /tmp/vbox.0/hgsmi_base.o] Error 1
make[1]: *** [Makefile:1577: _module_/tmp/vbox.0] Error 2
make: *** [/tmp/vbox.0/Makefile-footer.gmk:117: vboxvideo] Error 2
",defect,closed,guest additions/x11/graphics,VirtualBox 6.1.32,fixed,,8.5.0 20210514 (Red Hat 8.5.0-10) (GCC),Linux,Windows
