linux-modules.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Will Deacon <will@kernel.org>
To: Qu Wenruo <quwenruo.btrfs@gmx.com>
Cc: linux-modules@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [ARM64][GCC10] Kernel can't load any module due to RWX check
Date: Tue, 1 Sep 2020 13:53:17 +0100	[thread overview]
Message-ID: <20200901125316.GB3307@willie-the-truck> (raw)
In-Reply-To: <b3158cec-b722-cbe8-5a82-47890a227da4@gmx.com>

On Sat, Aug 29, 2020 at 03:44:37PM +0800, Qu Wenruo wrote:
> Recently built a v5.9-rc2 kernel, it boots fine, but unable to load any
> kernel module.
> 
> After some debugging, it shows that it's due to RWX check failure:
> 
>   load_module: start
>   module_enforce_rwx_sections: index=22 sh_flags=0x7 shf_wx=0x5
>   layout_and_allocate: module enforce rwx sections
>   load_module: failed to alloc layout and allocate
>   load_module: end

May well be related to:

https://lore.kernel.org/r/20200831094651.GA16385@linux-8ccs

Will

      parent reply	other threads:[~2020-09-01 12:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-29  7:44 [ARM64][GCC10] Kernel can't load any module due to RWX check Qu Wenruo
2020-08-29  7:49 ` Qu Wenruo
2020-08-29  7:57   ` Qu Wenruo
2020-08-29 10:03   ` peterz
2020-09-01 12:53 ` Will Deacon [this message]

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=20200901125316.GB3307@willie-the-truck \
    --to=will@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-modules@vger.kernel.org \
    --cc=quwenruo.btrfs@gmx.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).