ALT Linux kernel packages development
 help / color / mirror / Atom feed
From: Vitaly Chikunov <vt@altlinux.org>
To: devel-kernel@lists.altlinux.org
Subject: [d-kernel] [PATCH] config-armh: Fix relocation out of range errors when loading modules
Date: Mon, 15 May 2023 01:35:21 +0300
Message-ID: <20230514223521.249918-1-vt@altlinux.org> (raw)

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



                 reply	other threads:[~2023-05-14 22:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230514223521.249918-1-vt@altlinux.org \
    --to=vt@altlinux.org \
    --cc=devel-kernel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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