Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp609213imu; Fri, 25 Jan 2019 07:52:58 -0800 (PST) X-Google-Smtp-Source: ALg8bN6E0jtZEjwvFyPeIvkkhG+Z1KxnIyXzF14vBdLH9Fgr/9a/CB6bxtBcJbNS2UL9kTZHAWiO X-Received: by 2002:a63:d450:: with SMTP id i16mr10299701pgj.246.1548431578891; Fri, 25 Jan 2019 07:52:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548431578; cv=none; d=google.com; s=arc-20160816; b=RJjzFAxYvjNlcf13C2SLdRgLQREMVWxov/2urjDsUfHLx+BppmwochEiQpwPdmeOKA SrD1CQ1L4pCIy3JiGM+CQZugISRAUI2T8l2aXJfaf8rvODmVE46qpSPS8X/ajoG+z3Vg wRH5hq/+tYzosm07WPdjR+xr5guppfznJsqYfl7dz6RNThaWz9ZtzQ+NoJ0tORkC/U2Z X+IUs0X4P1B624aP5rvEmrGTMRMLNm5GHVWq2rN7c8hZn9rAhuTo1FUKguij9XZzMXjE BVJbZ059WytJ+ItmVSScUDBPXb280J5JA3IskA+S4K8LmzysEEwrWzi0irkHfe8QpimV hnBQ== 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=wouTF3AFYPBCowI7Rs9rSL8qFQNxiyESDT34NHktT+M=; b=f3qaSdCGEgG2Q725SMACYS5EK4uNXpRiXYsoU6/TLMwQ92tZ3wwt4fYwQKeX0rHtdB p7L574z5zsTpdLsYQnlV+yv01Bu4whavNUDAnFYEwNW02kWpUJYN1LjtCGyCP0KnZu4f JfKHP+JijpjZHV7kyCQK3PCy0J9uX1UlzwYuqh/8wQXHuB5B/DzcboTRNa13Ma3K8+8B VFtinHkOJI7gjv80CuOVFBIcN8c6uTthhcV2GVHXJmUWM1wZi74rB0P3Wy/kj17dxTGe ZIwBn3fpJfLbpC1F23BMTr7bqKNjbgY2KNKSl0tNtjiNrojqw+KFUqO0FV51qvYS1Hf5 R0rA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="g/2E9e4q"; 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 h85si25795058pfd.27.2019.01.25.07.52.43; Fri, 25 Jan 2019 07:52:58 -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="g/2E9e4q"; 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 S1728315AbfAYPwT (ORCPT + 99 others); Fri, 25 Jan 2019 10:52:19 -0500 Received: from mail-qt1-f196.google.com ([209.85.160.196]:33364 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726256AbfAYPwS (ORCPT ); Fri, 25 Jan 2019 10:52:18 -0500 Received: by mail-qt1-f196.google.com with SMTP id l11so11199091qtp.0 for ; Fri, 25 Jan 2019 07:52:18 -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=wouTF3AFYPBCowI7Rs9rSL8qFQNxiyESDT34NHktT+M=; b=g/2E9e4q5Uw6paWH1yghmYt8X/78tu4OMyTgUiMA8AUR/mkMcJm1WWgonW1XGV81Im aXROwLn4a4lv9YVHGKZ/9ZKJQLtiQWDnC/AJHfwjAZRHsf0cAP+LM41ZF9AETKyEINI2 VOsD8APXR7ritm+MENVCcbhs7CScQsUHctWVlLU5+q+sNCmJh/GxBxPRDPaiqK0Tb+Zr 0M3G/cTM7O38DKqa85qMwpcCG8m4MsUvPzIiIcLuupl6NGB91jzejsQThuMhxL9dKIik cEc5bl1GQmrcGSvPZbxKDOwk/XbDx50XZce85z5MALEuP0mxCPQ46QZVFzC9xo0npfju r7bw== 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=wouTF3AFYPBCowI7Rs9rSL8qFQNxiyESDT34NHktT+M=; b=X9fduynQ15OCN8RVgZuKRfsGjXWK0sHaOaVtuC1xUlt1IGm667cDNPoTsCrT0sFmmA hbHVqY6H2sCn8IdDEGU5h7gCb6qAeab2oERet3/kvkMCZiozLnsu5/UeQbTdAsDjeVeX RxuvgefUB5SJlf798tr6SxlbL/kZQq3TUw656jQQIq91iEzP/UCJJvfIpWBgclBroa5l EwN/UeSAX0Gzsph5Qgc0CW8dBkPKV6sc9IaB6EhZLDsz9J7TkuzVBX9C2l8Fsq9Y4yEu SYXz6YLYgZGDOfKniI/dh6DpRAL7epbrH2ULz1NENm9aeo1E5Rl4ZfjN5d8v4w/Ztp53 UVHw== X-Gm-Message-State: AJcUukdAtR0qKTQwFphwlFaRg/KAxMHmvsP6qer7bGGn80uqbegZvUyU ujCBR37Tz7TaR4hcIUpOmQKgaMurJTJLp3CoRSs= X-Received: by 2002:ac8:7493:: with SMTP id v19mr11315647qtq.309.1548431537475; Fri, 25 Jan 2019 07:52:17 -0800 (PST) MIME-Version: 1.0 References: <20190125073704.GC3560@dhcp22.suse.cz> <20190125081924.GF3560@dhcp22.suse.cz> <20190125082952.GG3560@dhcp22.suse.cz> In-Reply-To: <20190125082952.GG3560@dhcp22.suse.cz> From: robert shteynfeld Date: Fri, 25 Jan 2019 10:52:06 -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 The person who pointed to mm/page_alloc.c commits likely causing the issue did not have time to build a patched/reverted kernel to confirm his hypothesis. When I tried backing out the two separate commits he suggested, the first commit (ie. the one in the subject) was the one that when backed out fixed the boot issue. Reverting the second one had no effect. On Fri, Jan 25, 2019 at 3:29 AM Michal Hocko wrote: > > On Fri 25-01-19 09:19:24, Michal Hocko wrote: > > On Fri 25-01-19 08:37:04, Michal Hocko wrote: > > > On Fri 25-01-19 17:48:32, Linus Torvalds wrote: > > > > [ Just adding a lot of other people to the cc ] > > > > > > > > Robert, could you add a dmesg of a successful boot to that bugzilla, > > > > or just as an attachement in email to this group of people.. > > > > > > > > This looks to be with the Fedora kernel config. Two people reporting > > > > it, it looks like similar machines. > > > > > > > > I assume it's some odd memory sizing detail that happens to trigger a > > > > particular case. > > > > > > Quite possible. > > > > Forgot to ask. Can we get a dmesg with 2830bf6f05fb ("mm, > > memory_hotplug: initialize struct pages for the full memory section") > > reverted and memblock=debug kernel command line parameter? > > And one more thing which I have overlook until now and it is not really > clear to me. One of th comments says > : The relevant part was: > : kernel bug at mm/page_alloc.c=790 > > I suppose this is 4.19 stable kernel because that would be > VM_BUG_ON_PAGE(pfn & ((1 << order) - 1), page); > > in __free_one_page. I do not really see how 2830bf6f05fb could make any > difference here. It simply zeroes out the rest of the mem section and > that is guaranteed to be allocated because we do not do subsections. The > above VM_BUG_ON says that we start allocating an unaligned pfn for its > order. > > Or are there two issues reported in that bug? > -- > Michal Hocko > SUSE Labs