All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robin Murphy <robin.murphy@arm.com>
To: Mark Brown <broonie@kernel.org>,
	Nick Desaulniers <ndesaulniers@google.com>
Cc: Tri Vo <trong@google.com>,
	Catalin Marinas <catalin.marinas@arm.com>,
	Nathan Huckleberry <nhuck@google.com>,
	clang-built-linux <clang-built-linux@googlegroups.com>,
	Nathan Chancellor <natechancellor@gmail.com>,
	Will Deacon <will@kernel.org>,
	Linux ARM <linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH] arm64: Disable big endian builds with clang
Date: Wed, 7 Aug 2019 15:41:25 +0100	[thread overview]
Message-ID: <ec7bef46-7dcf-d165-b772-b4fd6055d964@arm.com> (raw)
In-Reply-To: <20190807123809.GA4048@sirena.co.uk>

On 07/08/2019 13:38, Mark Brown wrote:
> On Tue, Aug 06, 2019 at 04:47:23PM -0700, Nick Desaulniers wrote:
>> On Tue, Aug 6, 2019 at 2:25 PM Nick Desaulniers <ndesaulniers@google.com> wrote:
>>> On Tue, Aug 6, 2019 at 11:39 AM Mark Brown <broonie@kernel.org> wrote:
> 
>> +Huck
>> Huck notes that the device eventually boots in qemu, it just takes on
>> the order of 165 seconds to boot.  What's the timeout on KernelCI?
> 
> It's not a timeout in kernelci, it's the kernel timing out being unable
> to find something in userspace being booted it can use as /init (there's
> a timeout in that process to cope with network filesystems).  IIRC it's
> about 2 minutes.  You can see this clearly in the logs I pointed you at:
> 
> | You can see a bunch of reports here (all the big endian failures):
> 
> |         https://kernelci.org/boot/all/job/next/branch/master/kernel/next-20190730/
> 
> For example:
> 
> 	https://storage.kernelci.org/next/master/next-20190730/arm64/defconfig+CONFIG_CPU_BIG_ENDIAN=y/clang-8/lab-baylibre/boot-meson-gxbb-nanopi-k2.html

I thought it looked suspicious that there were EFI messages in that boot 
log; from that job's config: 
https://storage.kernelci.org/next/master/next-20190730/arm64/defconfig+CONFIG_CPU_BIG_ENDIAN=y/clang-8/kernel.config

...
# CONFIG_CPU_BIG_ENDIAN is not set
...


I think that's a kernelci problem...

Robin.

> 
>> I think if we can determine why we see:
>> [  144.626755] request_module: kmod_concurrent_max (0) close to 0
>> (max_modprobes: 50), for module binfmt-4c46, throttling...
>> [  149.752826] request_module: modprobe binfmt-4c46 cannot be
>> processed, kmod busy with 50 threads for more than 5 seconds now
> 
>> a lot, then we don't actually need to disable this outright when
>> building w/ Clang?
> 
> Those error messages are happening because the kernel can't figure out
> how to execute a binary it's trying to run, like I say the module it's
> trying to load is binfmt_misc.  If the kernel can't work out how to
> execute userspace it's not terribly useful.
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2019-08-07 14:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-06 18:39 [PATCH] arm64: Disable big endian builds with clang Mark Brown
2019-08-06 21:25 ` Nick Desaulniers
2019-08-06 23:47   ` Nick Desaulniers
2019-08-07 12:38     ` Mark Brown
2019-08-07 14:41       ` Robin Murphy [this message]
2019-08-07 16:01         ` Mark Brown
2019-08-07 13:01 ` Mark Rutland
2019-08-07 13:05   ` Mark Brown
2019-08-07 13:56     ` Mark Rutland
2019-08-07 14:14       ` Mark Rutland
2019-08-07 15:29       ` Mark Brown
2019-08-07 15:43         ` Mark Rutland
2019-08-07 16:19           ` Mark Brown

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=ec7bef46-7dcf-d165-b772-b4fd6055d964@arm.com \
    --to=robin.murphy@arm.com \
    --cc=broonie@kernel.org \
    --cc=catalin.marinas@arm.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=natechancellor@gmail.com \
    --cc=ndesaulniers@google.com \
    --cc=nhuck@google.com \
    --cc=trong@google.com \
    --cc=will@kernel.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.