Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp668241imu; Fri, 25 Jan 2019 08:52:42 -0800 (PST) X-Google-Smtp-Source: ALg8bN4sW8A2cDdjxmp40h6p7mOXdO/tO7OQ1BdXeFVlsDGeSLgxLIEPfNJjNSt0MgnSdfrtWfKs X-Received: by 2002:a17:902:209:: with SMTP id 9mr11915739plc.288.1548435162615; Fri, 25 Jan 2019 08:52:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548435162; cv=none; d=google.com; s=arc-20160816; b=UKFFiNwE8UEhETJXYhI6A0/TeesZVrJhe7WLMKlzKzbSbiwL3KaIucMMlkEOzbvocc 4oAm2jc9hnSwgx56H1gJ3oO7BVgmk2ouKCxC3EGhCPq3RFJoo+cVpZnuLwnUzJKsJoOi I7OKYQGseNsJ/862gnHNlHk0MPkY73SDgQNXGEWX9u/TxyzwKC51W024XZhhhuSGCBHl lYy2cfMl7nMDS2MaBsAGXhdCuii/tIl5UMQaA4HOj+YbciV12c0quH53Um5shvK5myfr XKYH0BcE/+1wRvm/IdKwVCxj2Yr0zJ/vC+bGZaKexk4psNDIkQHim/le6SEzdVsbBIAI C+5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=UN6ESAiGqAJMvvF8AbnQOBp19amiChak4CygOVl1KAc=; b=EkMy/d1vZEat8Lt6xIqQVABPyUTSM6GqDEuh1cnJyaW5s26IcMz8cqly1SyKlsNQ3W x+af6C+iNcxfAskpKHW+mjGhzTiqK0oCGMCgENKeWfZVy2xnwZHWLeSBWuLUNpqkO3TR UIrKv9JycA+YrQa45uud/xyWepzphI/IjNYthODCKafUbUGAdt5lk4ZLEaNVwYp2O230 GOjV6SBOZsanzSRqeh2yGw45F0imfYmKl88ZwAAUTa4dIvEmNn1RRef4J2Vlmm9w0KHB Q0aLegsdBwU212XtCRbkJDfMuEWKOY0qxdflw7s/3hwPXG20H8pBfJEESIkea6fw8HYQ 3KlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TmaGTnwr; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w11si21128707plz.327.2019.01.25.08.52.27; Fri, 25 Jan 2019 08:52:42 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TmaGTnwr; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728952AbfAYQwF (ORCPT + 99 others); Fri, 25 Jan 2019 11:52:05 -0500 Received: from mail-qt1-f196.google.com ([209.85.160.196]:35100 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728653AbfAYQwF (ORCPT ); Fri, 25 Jan 2019 11:52:05 -0500 Received: by mail-qt1-f196.google.com with SMTP id v11so11410820qtc.2 for ; Fri, 25 Jan 2019 08:52:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UN6ESAiGqAJMvvF8AbnQOBp19amiChak4CygOVl1KAc=; b=TmaGTnwrjvn4GT5lH4VMt0f4C5bCareUNS3U2GP6+FviaBbfRDYBV8FRvS2PYuJxaj 8CQbHXuuyhIUkGeqcTdrqXQ64jOiarB1pA9wQlByHFG7cKtX3VrLaw7VV6x8dawWxLCy CQWxHVceQFbx9Vq01KfRtQAZKYAFXJEpUiS7Lx0MJFUM6VrivO11Hr5Wm4NIAI3mdxvI 5pl9JHCZ9zpfSXB+mw8Uo8GvIGg+8DOM6LqKqUdOCijoD52zIdTL6PcKbnyTf9bn9FM9 L1Nb+zrrsYdbhHNU0mA60YPkY9AhX51vlqVZBJkXj6XrYAwnSdWF2MBzvr3uVNjMPbRo /HSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UN6ESAiGqAJMvvF8AbnQOBp19amiChak4CygOVl1KAc=; b=eP5Z9FD++YMt3Bcxcr3fA6UQ82TFR5Qrq85xQg19xeyvxeFidYkEe1TmZIVpz/E8wQ tNDh0vEZGrfBMjcXCUM0izyy2JMJZKQ4sTGCg5Anbh7xc55fc746/Zgc/G7MVRdhMCmU mM1PgSMwHoOlE6pzhopT4V8iVCllsbZPwmExzdSxYkwIJfsHkY1SZdbAyw4H6ZX7Pdwy yHX7f/Ja1eJtAYm6LomhCnl7ZuOT20GoKjHub9al4BKBDU2tpNoqAUiXJf0KeZ1Ld859 HsjcPA3Avnd001Tkpe62Je4X5DYu36f1d1KyyH12SUJedN11k3Bqa4AOtBCRlWyhf9K2 2bIg== X-Gm-Message-State: AJcUukc7PKT/cutw/lN7YTjoKuj7DDBGZmGhtLODcuhXwf2I/07rmCf6 bNHSgyN7pXa9N6i0M0f8z0ut4nrCJ4xT5blAWRk= X-Received: by 2002:a0c:d94f:: with SMTP id t15mr11163302qvj.189.1548435123908; Fri, 25 Jan 2019 08:52:03 -0800 (PST) MIME-Version: 1.0 References: <20190125073704.GC3560@dhcp22.suse.cz> <20190125081924.GF3560@dhcp22.suse.cz> <20190125082952.GG3560@dhcp22.suse.cz> <20190125155810.GQ3560@dhcp22.suse.cz> <20190125163938.GA20411@dhcp22.suse.cz> In-Reply-To: <20190125163938.GA20411@dhcp22.suse.cz> From: robert shteynfeld Date: Fri, 25 Jan 2019 11:51:52 -0500 Message-ID: Subject: Re: kernel panic due to https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2830bf6f05fb3e05bc4743274b806c821807a684 To: Michal Hocko Cc: Linus Torvalds , Mikhail Zaslonko , Linux List Kernel Mailing , Gerald Schaefer , Mikhail Gavrilov , Dave Hansen , Alexander Duyck , Andrew Morton , Pavel Tatashin , Steven Sistare , Daniel Jordan , Bob Picco Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Could the unusual memory config be due to one empty DIMM slot on my motherboard? I have 9 slots, but only 8 x 16G filled. The 6th slot on the motherboard is empty -- which is a valid config according to the manual. On Fri, Jan 25, 2019 at 11:39 AM Michal Hocko wrote: > > On Fri 25-01-19 11:16:30, robert shteynfeld wrote: > > Attached is the dmesg from patched kernel. > > Your Node1 physical memory range precedes Node0 which is quite unusual > but it shouldn't be a huge problem on its own. But memory ranges are > not aligned to the memory section > > [ 0.286954] Early memory node ranges > [ 0.286955] node 1: [mem 0x0000000000001000-0x0000000000090fff] > [ 0.286955] node 1: [mem 0x0000000000100000-0x00000000dbdf8fff] > [ 0.286956] node 1: [mem 0x0000000100000000-0x0000001423ffffff] > [ 0.286956] node 0: [mem 0x0000001424000000-0x0000002023ffffff] > > As you can see the last pfn for the node1 is inside the section and > Node0 starts right after. This is quite unusual as well. If for no other > reasons then the memmap of those struct pages will be remote for one or > the other. Actually I am not even sure we can handle that properly > because we do expect 1:1 mapping between sections and nodes. > > Now it also makes some sense why 2830bf6f05fb ("mm, memory_hotplug: > initialize struct pages for the full memory section") made any > difference. We simply write over a potentially initialized struct page > and blow up on that. I strongly suspect that the commit just uncovered > a pre-existing problem. Let me think what we can do about that. > > > I'm not an expert at debugging the kernel, obviously. I tried setting > > up a serial console before without much luck as part of this debugging > > session. > > Ubuntu has a nice howto for netconsole configuration > https://wiki.ubuntu.com/Kernel/Netconsole. It is quite important to get > the actual failure. > -- > Michal Hocko > SUSE Labs