Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923454 - sys-kernel/gentoo-sources-6.7.3 ERROR: modpost: "sched_numa_hop_mask" [drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko] undefined!
Summary: sys-kernel/gentoo-sources-6.7.3 ERROR: modpost: "sched_numa_hop_mask" [driver...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2024-02-01 09:06 UTC by Michal Jakubowski
Modified: 2024-06-03 14:20 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
genkernel.log.gz (genkernel.log.gz,199.14 KB, application/gzip)
2024-02-01 09:07 UTC, Michal Jakubowski
Details
config-6.7.3-gentoo (config-6.7.3-gentoo,264.07 KB, text/plain)
2024-02-02 13:43 UTC, Michal Jakubowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Jakubowski 2024-02-01 09:06:01 UTC
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
Comment 1 Michal Jakubowski 2024-02-01 09:07:16 UTC
Created attachment 883905 [details]
genkernel.log.gz
Comment 2 Mike Pagano gentoo-dev 2024-02-01 20:32:10 UTC
Are you adding any additional patches to your kernel ?
Comment 3 Mike Pagano gentoo-dev 2024-02-01 23:14:03 UTC
Do you have CONFIG_NUMA set?
Comment 4 Michal Jakubowski 2024-02-02 07:30:22 UTC
(In reply to Mike Pagano from comment #2)
> Are you adding any additional patches to your kernel ?

No
Comment 5 Michal Jakubowski 2024-02-02 07:31:37 UTC
(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
Comment 6 Mike Pagano gentoo-dev 2024-02-02 11:48:44 UTC
attach your full .config
Comment 7 Michal Jakubowski 2024-02-02 13:43:28 UTC
Created attachment 884032 [details]
config-6.7.3-gentoo
Comment 8 Holger Hoffstätte 2024-02-02 15:29:00 UTC
As expected this is

https://gitlab.com/alfredchen/linux-prjc/-/issues/81
https://gitlab.com/alfredchen/linux-prjc/-/merge_requests/33

Hilarious last comment..
Comment 9 Mike Pagano gentoo-dev 2024-02-02 15:37:12 UTC
(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
Comment 10 Mike Pagano gentoo-dev 2024-02-02 17:52:42 UTC
Patch included for next release
Comment 11 Rin Cat 2024-03-02 00:40:07 UTC
This happened again in 6.7.7, I think related to USE="experimental"
Comment 12 Mike Pagano gentoo-dev 2024-05-08 17:19:35 UTC
Does this occur with gentoo-sources-6.8.9 which has the BMQ v6.8-r6 patch ?

And you want BMQ, correct ?
Comment 13 Michal Jakubowski 2024-05-22 21:27:43 UTC
Issue not resolved still occure on 6.9.1 with experimental and without experimental
Comment 14 Michal Jakubowski 2024-05-26 12:28:36 UTC
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
Comment 15 Michal Jakubowski 2024-05-28 19:18:43 UTC
On sys-kernel/gentoo-kernel is fine:
T14s ~ # uname -r
6.9.2-gentoo-dist
Comment 16 Mike Pagano gentoo-dev 2024-05-29 17:30:20 UTC
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
Comment 17 Michal Jakubowski 2024-06-03 14:20:03 UTC
Disable BMQ