W dniu 02.03.2021 o 18:10, Julian Sikorski pisze:
W dniu 02.03.2021 o 13:42, Justin Forbes pisze:
On Tue, Mar 2, 2021 at 3:32 AM Julian Sikorski <belegdol@xxxxxxxxx>
wrote:
Am 01.03.21 um 17:37 schrieb Brandon Nielsen:
On 2/28/21 12:00 PM, Julian Sikorski wrote:
W dniu 27.02.2021 o 20:59, Julian Sikorski pisze:
Hi,
I am trying to test some Renoir s2idle patches [1]. It appears that
Fedora kernel source is now maintained on gitlab as kernel-ark [2].
What I tried is adding the patches to the fedora-5.11 branch and
running make dist-srpm, but it failed due to config mismatch on
CONFIG_INIT_STACK_NONE:
Processing
/home/julas/cvs/fedora/kernel-ark/redhat/configs/kernel-aarch64-fedora.config
... Error: Mismatches found in configuration files
Found CONFIG_INIT_STACK_NONE=y after generation, had
CONFIG_INIT_STACK_NONE=is not set in Source tree
make[1]: *** [Makefile:145: dist-configs-check] Błąd 1
Is this expected? Is there a better way of testing patches on Fedora
kernels? Thanks for the help in advance.
Best regards,
Julian
[1] https://gitlab.freedesktop.org/drm/amd/-/issues/1230
[2] https://gitlab.com/cki-project/kernel-ark
Hi,
the same keeps happening if I try to merge os-build into agdf5 tree or
even if I try to make srpm in the ark-latest branch. Is this normal?
Best regards,
Julian
I found the same last week and the documentation[0] feels really
unloved.
I eventually resorted to rebuilding from the SRPM and apply patches
there.
[0] -
https://docs.fedoraproject.org/en-US/quick-docs/kernel/build-custom-kernel/
_______________________________________________
Hi,
there is more documentation available [1], but unfortunately one gets
the error I mentioned above when trying to follow it.
Aha, I seem to have forgotten where this came from. You are actually
missing a buildreq for the kernel. I believe that 'dnf install
gcc-plugin-devel' will fix your issue with the config mismatch. Also,
if you are working with the fedora-5.11 branch, I have included a
script in redhat/fedora-dist-git-test.sh which will generate a test
version of a dist-git update. While that may not be your goal, it
would be worth looking at the command line there for generating a
proper srpm.
Thanks,
Justin
Thanks, 5.11 branch with s0ix patches on top went further now:
Processing
/home/julas/cvs/fedora/kernel-ark/redhat/configs/kernel-i686-fedora.config
... Found unset config items, please set them to an appropriate value
CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP=n
os-build no longer cleanly merges with agd5f s0ix branch so fixing the
above is likely the easiest option to get going.
Best regards,
Julian
I fixed it with attached patch, I can generate a SRPM now. Thanks again!
Best regards,
Julian
>From 3e43f8c7cde923f6554aec15fd8619468eb89795 Mon Sep 17 00:00:00 2001
From: Julian Sikorski <belegdol@xxxxxxxxxxxxxxxxx>
Date: Tue, 2 Mar 2021 18:23:28 +0100
Subject: [PATCH] Set unset config option
---
.../configs/fedora/generic/x86/CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP | 1 +
1 file changed, 1 insertion(+)
create mode 100644 redhat/configs/fedora/generic/x86/CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP
diff --git a/redhat/configs/fedora/generic/x86/CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP b/redhat/configs/fedora/generic/x86/CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP
new file mode 100644
index 000000000000..3bb67a6665b4
--- /dev/null
+++ b/redhat/configs/fedora/generic/x86/CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP
@@ -0,0 +1 @@
+# CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP is not set
--
2.29.2
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure