CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp1_execution.o CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp1_transition.o CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp2_execution.o CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp2_transition.o LD [M] drivers/gpu/drm/amd/amdgpu/amdgpu.o MODPOST Module.symvers ERROR: modpost: "sched_numa_hop_mask" [drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko] undefined! make[2]: *** [scripts/Makefile.modpost:145: Module.symvers] Error 1 make[1]: *** [/usr/src/linux-6.7.3-gentoo/Makefile:1863: modpost] Error 2 make: *** [Makefile:234: __sub-make] Error 2 * ERROR: compile_modules(): compile_generic() failed to compile the "modules" target! * Please consult '/var/log/genkernel.log' for more information and any * errors that were reported above. * * Report any genkernel bugs to bugs.gentoo.org and * assign your bug to genkernel@gentoo.org. Please include * as much information as you can in your bug report; attaching * '/var/log/genkernel.log' so that your issue can be dealt with effectively. * * Please do *not* report kernel compilation failures as genkernel bugs! * * mount: >> Boot partition state on '/boot' was not changed; Skipping restore boot partition state ... >>> Ended on: 2024-02-01 10:02:05 (after 0 days 0 hours 28 minutes 27 seconds) Reproducible: Always
Created attachment 883905 [details] genkernel.log.gz
Are you adding any additional patches to your kernel ?
Do you have CONFIG_NUMA set?
(In reply to Mike Pagano from comment #2) > Are you adding any additional patches to your kernel ? No
(In reply to Mike Pagano from comment #3) > Do you have CONFIG_NUMA set? CONFIG_NUMA_BALANCING=y CONFIG_NUMA_BALANCING_DEFAULT_ENABLED=y CONFIG_NUMA=y CONFIG_NUMA_EMU is not set CONFIG_NUMA_KEEP_MEMINFO=y
attach your full .config
Created attachment 884032 [details] config-6.7.3-gentoo
As expected this is https://gitlab.com/alfredchen/linux-prjc/-/issues/81 https://gitlab.com/alfredchen/linux-prjc/-/merge_requests/33 Hilarious last comment..
(In reply to Holger Hoffstätte from comment #8) > As expected this is > > https://gitlab.com/alfredchen/linux-prjc/-/issues/81 > https://gitlab.com/alfredchen/linux-prjc/-/merge_requests/33 > > Hilarious last comment.. Yep: kernel/sched/topology.c #ifndef CONFIG_SCHED_ALT #ifdef CONFIG_NUMA
Patch included for next release
This happened again in 6.7.7, I think related to USE="experimental"
Does this occur with gentoo-sources-6.8.9 which has the BMQ v6.8-r6 patch ? And you want BMQ, correct ?
Issue not resolved still occure on 6.9.1 with experimental and without experimental
The same on vanilla-sources on gentoo config 6.8.11 CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp_ddc.o CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp_log.o CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp_psp.o CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp.o CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp1_execution.o CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp1_transition.o CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp2_execution.o CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp2_transition.o LD [M] drivers/gpu/drm/amd/amdgpu/amdgpu.o AR drivers/gpu/built-in.a AR drivers/built-in.a make[1]: *** [/usr/src/linux-6.9.2/Makefile:1919: .] Error 2 make: *** [Makefile:240: __sub-make] Error 2
On sys-kernel/gentoo-kernel is fine: T14s ~ # uname -r 6.9.2-gentoo-dist
This is from BMQ, which is not included in gentoo-kernel If you don't use BMQ, you can disable it. Upstream has been unable to identify the issue
Disable BMQ