Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp24131rwb; Mon, 26 Sep 2022 08:50:40 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6hJVQD3g7agMRbYB75fK+aH08WWTQ/ugxMq0MEPNBoVdnXTcf7h1Twt62C2LitTuyKQH9s X-Received: by 2002:a63:34c5:0:b0:439:a5df:c712 with SMTP id b188-20020a6334c5000000b00439a5dfc712mr19927861pga.563.1664207439769; Mon, 26 Sep 2022 08:50:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664207439; cv=none; d=google.com; s=arc-20160816; b=VPHCCLznaszc9J/O3tr4EoW7dSSYb3z7rRFNEQWaY1Orx+G9+N0yAzwHIIUN8ITg/0 EgBLTeoFzC9HFd2PXQwTBpPGHzuuSU7mWWqHih4bF6HTrqw0+EGdrLcKcG5czfm+KoCA r0QaaAjEHJT2TUSdvPLZIoCKrOcExt2+aVpOrOlcwr8qXQowwbo5zGqcjH1+8t1leIZL DCXphIDahN38DouPtLraYxAjoWHmg5kC6Nu0xKgAhS1BUFFehqIzFFZzfOXA57yflZMt eUsBpYaPFi1nFgojCh2unGMeKa8uzjvA/UvhaAt/acbVWdwAmrCVUCxTTWMLmRe9M3pp cIXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=lHYmumLvyE4V6WpEgRdvIHKDaBX6pkuSXgTnGyOxhOQ=; b=w8eytJhbb68/otfbsskzrPHbrPcnXyFe294U68S3WBs9Z7PW2pwflTBRjziBShdMR1 VzJg27+dec10dLNriqCVe2wk6YT6ABG58UXcrHb3VOCfjAS4YCFzT19Du8yp7/xqqQfr 0/9BZ8jPzbu/h1xdNN5ICHczgEe6vm7W92h54Sy/p8X0WEzXvPXrf7dEwTNYHQrfGvPi dmZNAfEW2DZ6Gz/kvMwWHXIHAiHZM/40uoz5RGddXt0zWvaWaEfDI2zh0DAfh+Up1sBS f5+auLOSiTvjlvBt1U4ARKRKVAyDo3Y0tbidQ8NvO08+VE5Tz8vJChOMVHXW1tb3Rv+N bfHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=IbCR66K4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i13-20020a170902e48d00b0017890fb8ce6si10282473ple.53.2022.09.26.08.50.22; Mon, 26 Sep 2022 08:50:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=IbCR66K4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S235147AbiIZOoP (ORCPT + 99 others); Mon, 26 Sep 2022 10:44:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235383AbiIZOnp (ORCPT ); Mon, 26 Sep 2022 10:43:45 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDE6184E72; Mon, 26 Sep 2022 06:06:21 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id ay7-20020a05600c1e0700b003b49861bf48so8176262wmb.0; Mon, 26 Sep 2022 06:06:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date; bh=lHYmumLvyE4V6WpEgRdvIHKDaBX6pkuSXgTnGyOxhOQ=; b=IbCR66K42xKS/M7CztGQ/LQwHaP2woOeBjaIbh+fDq1UpLATW4PO90HWgwWtBykUjM 0HFnd3Fvcq4RrR+0gAVoejrdv99y5kHVbenxc5NAbMGkf3N4Q6uM9TRajq85B4J8ZjSV V9XJrozFgaVtJ66AgOm/XY3g53aH44A0ATIQsMFfMwFsaPIFTE6EeXYZrIlDC2l48fAE KZHd8afOJREzG4jpDC7lYSeU43uR6LjGw2LPG7z95O1bkwfXoBdZ3PiLVcxGwPbEtwIn 33/32wZQKrjC+cbzxJ37ne+EwCc+Kc0RpNFBDDOyHXuTSz5aY6q2E8thqzuOeyX4aNQ+ aSrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date; bh=lHYmumLvyE4V6WpEgRdvIHKDaBX6pkuSXgTnGyOxhOQ=; b=q8qItM1rlQBqvC+6sHvu12x8LsDjPSHug+PhVGvV4EtFN/sCzIapGYZhqe4sjAteps 8PpE1bftc/KWXJQs3GzmWvnDydbEMAcqnInupljlCEAxt+XhRtnPnGG0vyv8AFIzRSPQ fSB+Mo+iPuBKeXx+v7m4/7EhQprWCTeoPP1kR7Qy3wfg9Y4UsUkm89oy3TG4Y2k7To9W 8fszdH2wopQxCLd+dgKTg4JJ2zHjtTNCmn05b/2CVD1bFj4Bo50l7QDqSYW2wS9rA9uV wPTrKKaDBpTIuQMVHn+my9YZL9FUr5zcG/Wbthr/53UI5WVqDK21PppzgkSEGwFUgkA/ xa6Q== X-Gm-Message-State: ACrzQf3FnU/Q2tMkFiOzKp00/FlhXPiSTH4i157yk/w07yR457gyWrik kXSPEfyIx/ZkxZxejcHz9at9gWjal3Th1VxiCuc= X-Received: by 2002:a7b:c389:0:b0:3b4:a67a:2ef7 with SMTP id s9-20020a7bc389000000b003b4a67a2ef7mr21793251wmj.180.1664197580076; Mon, 26 Sep 2022 06:06:20 -0700 (PDT) MIME-Version: 1.0 References: <6b362c6e-9c80-4344-9430-b831f9871a3c@openvz.org> <20220918092849.GA10314@u164.east.ru> <20220921170259.GI8331@blackbody.suse.cz> In-Reply-To: <20220921170259.GI8331@blackbody.suse.cz> From: Anatoly Pugachev Date: Mon, 26 Sep 2022 16:06:08 +0300 Message-ID: Subject: Re: [sparc64] fails to boot, (was: Re: [PATCH memcg v6] net: set proper memcg for net_init hooks allocations) To: =?UTF-8?Q?Michal_Koutn=C3=BD?= Cc: Vasily Averin , Andrew Morton , kernel@openvz.org, Linux Kernel list , linux-mm , Shakeel Butt , Roman Gushchin , Vlastimil Babka , Michal Hocko , Florian Westphal , "David S. Miller" , Jakub Kicinski , Paolo Abeni , Eric Dumazet , cgroups@vger.kernel.org, Sparc kernel list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 21, 2022 at 8:03 PM Michal Koutn=C3=BD wrote= : > On Wed, Sep 21, 2022 at 05:44:56PM +0300, Anatoly Pugachev wrote: > > On Sun, Sep 18, 2022 at 12:39 PM Anatoly Pugachev = wrote: > > > > > > > > > I'm unable to boot my sparc64 VM anymore (5.19 still boots, 6.0-rc1 d= oes not), > > > bisected up to this patch, > > > > > > mator@ttip:~/linux-2.6$ git bisect bad > > > 1d0403d20f6c281cb3d14c5f1db5317caeec48e9 is the first bad commit > > > commit 1d0403d20f6c281cb3d14c5f1db5317caeec48e9 > > > > reverting this patch makes my sparc64 box boot successfully. > > The failed address falls into vmmemmap region (per your boot log > output). It looks like the respective page/folio (of init_net struct) is > unbacked there (and likely folio_test_slab fails dereferencing ->flags). > > Would you mind sharing your kernel's config? > (I'm most curious about CONFIG_SPARSMEM_VMEMMAP, I'm not familiar with > your arch at all though.) mator@ttip:~/dmesg$ zcat config-6.0.0-rc6-00010-gb7f0f527dc3c.gz | grep VME= MMAP CONFIG_SPARSEMEM_VMEMMAP_ENABLE=3Dy CONFIG_SPARSEMEM_VMEMMAP=3Dy I do upload config and boot logs to https://github.com/mator/sparc64-dmesg building a new kernel version/releases as 'make olddefconfig && make -j' current version of booted 6.0.0-rc6 is available as https://github.com/mator/sparc64-dmesg/blob/master/config-6.0.0-rc6-00010-g= b7f0f527dc3c.gz