Re: [PATCH] mips: sgi-ip27: switch from DISCONTIGMEM to SPARSEMEM
From: Mike Rapoport
Date: Tue Sep 10 2019 - 07:32:52 EST
On Mon, Sep 09, 2019 at 06:22:42PM +0200, Thomas Bogendoerfer wrote:
> On Fri, 6 Sep 2019 16:02:24 +0300
> Mike Rapoport <rppt@xxxxxxxxxx> wrote:
>
> > I suspect that unaligned access comes from __page_to_pfn, can you please
> > check what scripts/fadd2line reports for kernel_init_free_pages+0xcc/0x138?
>
> kernel_init_free_pages+0xcc/0x138:
> pagefault_disabled_dec at include/linux/uaccess.h:173
> (inlined by) pagefault_enable at include/linux/uaccess.h:200
> (inlined by) __kunmap_atomic at include/linux/highmem.h:101
> (inlined by) clear_highpage at include/linux/highmem.h:215
> (inlined by) kernel_init_free_pages at mm/page_alloc.c:1124
>
> While making some sense out of this I booted the system a few times
> with the same kernel and I get different crashes (it even booted once
> to userspace).
>
> Here a list (decoded with fadd2line)
...
> I couldn't make real sense out of this yet, but maybe it gives
> a hint for you.
Unfortunately, no :(
Before we start adding printks, can you please run with
CONFIG_DEBUG_MEMORY_INIT=y and with
mminit_loglevel=4 ignore_loglevel
in the command line?
> Thomas.
>
> --
> SUSE Software Solutions Germany GmbH
> HRB 247165 (AG München)
> Geschäftsführer: Felix Imendörffer
--
Sincerely yours,
Mike.