Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5330149ybe; Tue, 10 Sep 2019 01:55:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqyspxjpnYTiDp8tPuEZ3w0OiF6k67RisKxpwON3KNgsEjkyKZ1JOt2ppK1NTCnupg3dDJer X-Received: by 2002:aa7:dc59:: with SMTP id g25mr29415070edu.183.1568105731408; Tue, 10 Sep 2019 01:55:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568105731; cv=none; d=google.com; s=arc-20160816; b=QtlO5BJ5E4tUKdrTe2F5d7KQptpKrAK+cvOVo1AB4VfvQwYrhQQLpe9Hj7m9imriEg +2/Mey/aDI+C8qLAgO+uwRiqgZrxz74elRPVt4cBjRNxgpM2VOwKRCAk8QvZoRSfds2C CQ77CAN5BlH/Aehyt2xBmJ5ipfPciFu/gkEA5YwHeUxG+pWmYhLYqvmSHX15kuTVTk48 XA2TxddmehxTNg8Q/zfifLmDM5X7M2vP5Vo4xsXrgrG/15vPT3iI6DDext737jrWPOWO pD9Rm/4iGPs7nyJrDjgzyMlIrBEFGs+FeI0MExNOTFl0IiW5AI2UJOlOJHpAy1Xibw4B 05Ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=b9Eo+j/kPlGm2vsx79u2IeUs15SkU5LZJY3KldKDOPM=; b=GgQ5+v/9JBZew7IcxKKWYudzTcCKZPeds6xybZaueJBE71bcZZH6VFgwIc7W3rpiHH O3aHhpeVf+n+/+wDMQUJU+/MZGae/7nlXVkkqel8nbh1De0Aj6rBxe0alAMerK6HwTiE t8MDWUI1vTQ+5NsCQyWkj7ueaGSfEfl9qXpinB77WuOZTL1GJC8jtQd9L52rC8mMS21+ N67T63FHUbqBL0rYdg9EhePOaOKKFbb+Vl969h//ob8RDKyzXmKu7BnJ0lW1HFgpCrwh DFgfJyi/Qf8gUNb9MwrvdGozZnjhBnttVOow0PNx87LRK655vBDSc5fBgh/hvOmx5rC6 v6rQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x47si10220523eda.396.2019.09.10.01.55.07; Tue, 10 Sep 2019 01:55:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389374AbfIIQWp convert rfc822-to-8bit (ORCPT + 99 others); Mon, 9 Sep 2019 12:22:45 -0400 Received: from mx2.suse.de ([195.135.220.15]:43210 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2389271AbfIIQWo (ORCPT ); Mon, 9 Sep 2019 12:22:44 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id C41ABACC1; Mon, 9 Sep 2019 16:22:42 +0000 (UTC) Date: Mon, 9 Sep 2019 18:22:42 +0200 From: Thomas Bogendoerfer To: Mike Rapoport Cc: Paul Burton , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Mike Rapoport Subject: Re: [PATCH] mips: sgi-ip27: switch from DISCONTIGMEM to SPARSEMEM Message-Id: <20190909182242.c1ef9717d14b20212ef75954@suse.de> In-Reply-To: <20190906130223.GA17704@rapoport-lnx> References: <1567662477-27404-1-git-send-email-rppt@kernel.org> <20190905152150.f7ff6ef70726085de63df828@suse.de> <20190905133251.GA3650@rapoport-lnx> <20190905154831.88b7853b47ba7db7bd7626bd@suse.de> <20190905154747.GB3650@rapoport-lnx> <20190905233800.0f6b3fb3722cde2f5a88663a@suse.de> <20190906130223.GA17704@rapoport-lnx> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 6 Sep 2019 16:02:24 +0300 Mike Rapoport 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) cache_grow_begin+0x1bc/0x4b8: __section_mem_map_addr at include/linux/mmzone.h:1263 (inlined by) lowmem_page_address at include/linux/mm.h:1302 (inlined by) alloc_slabmgmt at mm/slab.c:2298 (inlined by) cache_grow_begin at mm/slab.c:2625 kfree+0x90/0x1d0: __section_mem_map_addr at include/linux/mmzone.h:1263 (inlined by) virt_to_head_page at include/linux/mm.h:751 (inlined by) virt_to_cache at mm/slab.h:408 (inlined by) kfree at mm/slab.c:3748 kfree+0xac/0x1d0: __read_once_size at include/linux/compiler.h:199 (inlined by) compound_head at include/linux/page-flags.h:174 (inlined by) virt_to_head_page at include/linux/mm.h:753 (inlined by) virt_to_cache at mm/slab.h:408 (inlined by) kfree at mm/slab.c:3748 ___cache_free+0x120/0x540: page_to_nid at include/linux/mm.h:1088 (inlined by) cache_free_alien at mm/slab.c:785 (inlined by) ___cache_free at mm/slab.c:3449 free_block+0xe8/0x2c0: __read_once_size at include/linux/compiler.h:199 (inlined by) compound_head at include/linux/page-flags.h:174 (inlined by) virt_to_head_page at include/linux/mm.h:753 (inlined by) free_block at mm/slab.c:3342 copy_process+0x254/0x1738: __section_mem_map_addr at include/linux/mmzone.h:1263 (inlined by) lowmem_page_address at include/linux/mm.h:1302 (inlined by) alloc_thread_stack_node at kernel/fork.c:252 (inlined by) dup_task_struct at kernel/fork.c:855 (inlined by) copy_process at kernel/fork.c:1856 I couldn't make real sense out of this yet, but maybe it gives a hint for you. Thomas. -- SUSE Software Solutions Germany GmbH HRB 247165 (AG M?nchen) Gesch?ftsf?hrer: Felix Imend?rffer