Created attachment 781637 [details, diff] working patch Cannot build gentoo-sources-5.18.1-r1 when PDS Scheduler enabled which added when experimental use flag is enabled. im adding the project C patches from TKG's patchset which is compatible with this kernel.
There is no difference between that patch and the one I committed. https://dev.gentoo.org/~mpagano/genpatches/trunk/5.18/5020_BMQ-and-PDS-io-scheduler-v5.18-r1.patch
No problems here with: # CONFIG_SCHED_ALT=y # CONFIG_SCHED_BMQ is not set CONFIG_SCHED_PDS=y Maybe attaching your.config might be more helpful ?
(In reply to Mike Pagano from comment #2) > No problems here with: > > # > CONFIG_SCHED_ALT=y > # CONFIG_SCHED_BMQ is not set > CONFIG_SCHED_PDS=y > > > Maybe attaching your.config might be more helpful ? So maybe youre right there is a problem with my configuration. Interesting thing is same configuration works with the patch ive submitted.
Created attachment 781928 [details] My kernel configuration
I tried to build gentoo-sources with experimental use flag two times both failed. I dont know whats happening, sorry for the inconvenience.
(In reply to Cihan Özakça from comment #5) > I tried to build gentoo-sources with experimental use flag two times both > failed. I dont know whats happening, sorry for the inconvenience. Please include the full log of it failing.
Created attachment 781931 [details] Build log
your config says 5.18.0, but 5.18.1-r1 is the working one. Could you upload kernel/sched/alt_core.c please? Are you sure you haven't forgotten to update your symlink via e.g. eselect kernel?
(In reply to Sam James from comment #8) > your config says 5.18.0, but 5.18.1-r1 is the working one. Could you upload > kernel/sched/alt_core.c please? > > Are you sure you haven't forgotten to update your symlink via e.g. eselect > kernel? Let me double check.
Created attachment 781937 [details] here
(In reply to Cihan Özakça from comment #10) > Created attachment 781937 [details] > here Can you upload the proper .config , please? This one does not have the patch applied. I cannot see SCHED_ALT, for example.
Created attachment 781961 [details] kernel config
Created attachment 781964 [details] build log
Created attachment 781967 [details] alt-core.c
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82a8be8d38b87bd74e37965de591b725e63cc33b commit 82a8be8d38b87bd74e37965de591b725e63cc33b Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2022-06-01 12:13:14 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2022-06-01 12:13:14 +0000 sys-kernel/gentoo-sources: Fix for BMQ/PDS patch If you don't use the alternate schedulars BMQ/PDS enabled with the 'experimental' use flag then there is no need to update. Closes: https://bugs.gentoo.org/848786 Signed-off-by: Mike Pagano <mpagano@gentoo.org> sys-kernel/gentoo-sources/Manifest | 3 +++ .../gentoo-sources/gentoo-sources-5.18.1-r2.ebuild | 28 ++++++++++++++++++++++ 2 files changed, 31 insertions(+)