From: David Daney <ddaney.cavm@gmail.com>
To: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Aaro Koskinen <aaro.koskinen@nokia.com>,
Ralf Baechle <ralf@linux-mips.org>,
linux-mips@linux-mips.org
Subject: Re: THP broken on OCTEON?
Date: Thu, 26 May 2016 15:13:34 -0700 [thread overview]
Message-ID: <5747750E.4090000@gmail.com> (raw)
In-Reply-To: <20160526192330.GA17985@raspberrypi.musicnaut.iki.fi>
On 05/26/2016 12:23 PM, Aaro Koskinen wrote:
> Hi,
>
> On Thu, May 26, 2016 at 10:59:50AM -0700, David Daney wrote:
>> On 05/25/2016 06:41 AM, Aaro Koskinen wrote:
>>> On Mon, May 23, 2016 at 06:13:46PM +0300, Aaro Koskinen wrote:
>>>> I'm getting kernel crashes (see below) reliably when building Perl in
>>>> parallel (make -j16) on OCTEON EBH5600 board (8 cores, 4 GB RAM) with
>>>> Linux 4.6.
>>>>
>>>> It seems that CONFIG_TRANSPARENT_HUGEPAGE has something to do with the
>>>> issue - disabling it makes build go through fine.
>>>
>>> Seems to be also reproducible on MIPS64/Malta/QEMU (UP, 2 GB RAM). This
>>> happened during Perl's Configure script on the first try:
>>
>> Are you sure this failure is THP related?
>
> We have used MIPS64 Malta QEMU for regular package builds many months,
> and it has never failed with THP disabled. With THP enabled builds
> fail reliably.
>
>> Also, what is the source of your rootfs (compilers, tools etc.)?
>
> Compiler is mainline GCC 4.9.3 and binutils 2.26. The whole rootfs is
> compiled from scratch (64-bit ABI).
>
> On ER Pro, I use O32 userspace and kernel compiled with GCC 6.1.0.
>
>> Will a similar config fail this way on OCTEON booted with numcores=1?
>
> Yes, just tested with ER Pro using single core, and also with just "make"
> without any parallel threads. And it failed with SIGSEGV this time:
Is it possible for you to create a root file system that substitutes
/sbin/init with a script that does the minimal amount of system
initialization and then runs the "make" command?
The idea being that the system without any user input of any kind would
boot directly to the failure case. Ideally this would be for the single
CPU case.
With an ext2 image of that and the vmlinux file, it would be child's
play to run in our simulator and find the cause.
>
> [ 744.268063]
> do_page_fault(): sending SIGSEGV to miniperl for invalid read access from 000000000000000c
> [ 744.277418] epc = 00000000004ca8e8 in miniperl[400000+19e000]
> [ 744.283202] ra = 00000000004c9e8c in miniperl[400000+19e000]
> [ 744.289005]
>
> A.
>
>
next prev parent reply other threads:[~2016-05-26 22:13 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-23 15:13 THP broken on OCTEON? Aaro Koskinen
2016-05-23 15:20 ` Ralf Baechle
2016-05-23 16:21 ` David Daney
2016-05-23 18:52 ` Aaro Koskinen
2016-05-23 19:03 ` David Daney
2016-05-23 19:03 ` David Daney
2016-05-23 19:08 ` Joshua Kinard
2016-05-23 20:02 ` Alastair Bridgewater
2016-05-23 18:57 ` Joshua Kinard
2016-05-23 19:22 ` Ralf Baechle
2016-05-23 19:40 ` Joshua Kinard
2016-05-23 20:01 ` Ralf Baechle
2016-05-24 21:21 ` Aaro Koskinen
2016-05-24 22:39 ` David Daney
2016-05-25 13:41 ` Aaro Koskinen
2016-05-26 9:33 ` Joshua Kinard
2016-05-26 13:36 ` Aaro Koskinen
2016-05-26 17:59 ` David Daney
2016-05-26 19:23 ` Aaro Koskinen
2016-05-26 22:13 ` David Daney [this message]
2016-05-27 17:14 ` Aaro Koskinen
2016-05-27 21:03 ` Joshua Kinard
2016-05-27 22:05 ` Aaro Koskinen
2016-05-27 22:22 ` Joshua Kinard
2016-06-22 22:05 ` David Daney
2016-06-23 12:08 ` Aaro Koskinen
2016-06-23 12:08 ` Aaro Koskinen
2016-06-24 11:38 ` Joshua Kinard
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=5747750E.4090000@gmail.com \
--to=ddaney.cavm@gmail.com \
--cc=aaro.koskinen@iki.fi \
--cc=aaro.koskinen@nokia.com \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.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.