Open blitz opened 1 month ago
I have the same issue with Linux 6.9.8 and 6.10 even when I simply use the patch from the quick start guide
$ cat meminfo-string.patch
Index: src/fs/proc/meminfo.c
===================================================================
--- src.orig/fs/proc/meminfo.c
+++ src/fs/proc/meminfo.c
@@ -95,7 +95,7 @@ static int meminfo_proc_show(struct seq_
"Committed_AS: %8lu kB\n"
"VmallocTotal: %8lu kB\n"
"VmallocUsed: %8lu kB\n"
- "VmallocChunk: %8lu kB\n"
+ "VMALLOCCHUNK: %8lu kB\n"
#ifdef CONFIG_MEMORY_FAILURE
"HardwareCorrupted: %5lu kB\n"
#endif
From a quick look into the kernel source, it seems to be related to retpoline mitigations. Not sure how to fix this though.
Hi @blitz , thanks for the report.
Are you running kpatch-build with any out-of-tree patches? I suspect the problem is found in the CONFIG_X86_KERNEL_IBT=y
kernel config. Unfortunately that is not fully supported by kpatch-build at the moment. (There is a discussion on this in the https://github.com/dynup/kpatch/issues/1320 issue.)
Are you using kpatch in a production environment, or looking to learn more about it. If you can turn off CONFIG_X86_KERNEL_IBT
you may have better luck for the time being.
This issue has been open for 30 days with no activity and no assignee. It will be closed in 7 days unless a comment is added.
Still an issue.
Hi @blitz : thanks for reopening. Did you ever get to retry this case with CONFIG_X86_KERNEL_IBT
unset?
When livepatching Linux 6.10, I get the warning below from the kernel. This seems to be harmless.
My kernel config: kernel-config.txt The patch: 0001-XXX-kvm-log-PIT-creation.patch.txt GCC: 13.2.0