Re: THP broken on OCTEON?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:

[  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.




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux