ALT Linux kernel packages development
 help / color / mirror / Atom feed
* [d-kernel] [PATCH] config-armh: Fix relocation out of range errors when loading modules
@ 2023-05-14 22:35 Vitaly Chikunov
  0 siblings, 0 replies; only message in thread
From: Vitaly Chikunov @ 2023-05-14 22:35 UTC (permalink / raw)
  To: devel-kernel

Example error:

  [    7.195775] netfs: section 4 reloc 51 sym '__stack_chk_fail': relocation 28 out of range (0xbf02bad4 -> 0xc1038854)
  init_module 'netfs.ko' Exec format error

Link: https://lore.kernel.org/linux-arm-kernel/20230310222309.vulvctspwqvkkz4t@altlinux.org/
Link: https://lore.kernel.org/linux-arm-kernel/4995c6bc655337598b88bef025cd48b320c2ada0.1349235619.git.pratyush.anand@st.com/
Link: https://lore.kernel.org/linux-arm-kernel/1422733759-27236-3-git-send-email-ard.biesheuvel@linaro.org/
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
---
 config-armh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config-armh b/config-armh
index 9e3a69414543..c99003e47c1e 100644
--- a/config-armh
+++ b/config-armh
@@ -331,7 +331,7 @@ CONFIG_HIGHPTE=y
 CONFIG_CPU_SW_DOMAIN_PAN=y
 CONFIG_HW_PERF_EVENTS=y
 CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
-# CONFIG_ARM_MODULE_PLTS is not set
+CONFIG_ARM_MODULE_PLTS=y
 CONFIG_FORCE_MAX_ZONEORDER=11
 CONFIG_ALIGNMENT_TRAP=y
 # CONFIG_UACCESS_WITH_MEMCPY is not set
-- 
2.33.8



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-14 22:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-14 22:35 [d-kernel] [PATCH] config-armh: Fix relocation out of range errors when loading modules Vitaly Chikunov

ALT Linux kernel packages development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
		devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
	public-inbox-index devel-kernel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git