Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp5692467rwb; Wed, 21 Sep 2022 11:01:19 -0700 (PDT) X-Google-Smtp-Source: AMsMyM55/Mrbt7mJbJnNN2yNvirbNVzW23oKyqTtRyzVE6G7dJbucOoJIFyX5hHELLwBSdvnIj2X X-Received: by 2002:aa7:9851:0:b0:53e:87eb:1ffa with SMTP id n17-20020aa79851000000b0053e87eb1ffamr30286694pfq.35.1663783279178; Wed, 21 Sep 2022 11:01:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663783279; cv=none; d=google.com; s=arc-20160816; b=ApeoKGultU4bGWruuY6JDtvmMZeojdVuOV42+xhsqzK+sV+vZFIMlk15EPJOOS6S7A z+hPIX2HZ3kll7rM0IH0V9mmQPRpX2qpzMNjOtvhkEdDyU04soYdlO8wnfbtH5g/5TpD /o9OAUJvhu4sA5sSqpmWoptQs3qO2vE5vU4kggsf4NWDM4+8YE4qDm/jfHLYs5Is+prz FU3cNN89MDEPjxQ+u4TqtWiVICC9M8XRKAwbK81bka/ogWQlmC/A0OoeWSXlNz9DIV2b jMBBrZXiqY2R1no4qgmuYiBH3LLn5WWiDv0x4qT9bELonuA0eTZQsjiMdpvOrHxr73qZ wVfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=CSBNW4JvmKppsNMMHKaTcBQ/8SMBBa+a7IGCYeQgCtE=; b=vPksa+z+Gby1VWtpZ3B0SS7C2RIFtsaRBAsbvqZZey0zXjsMSb+0YaIhs40vv8Klpr CMTMmmfQEZqiysTMK6zqqencVdvsjqm0YlDIc7zflxLngD4nagfn0+ZFGrQ54Y4gmlZ5 EmxCUqcvCItS8UygtGDzTQITKOvUJC1Y5GGfHgYjuZxFheyOT6Ptp1RYMwRR1QveGd2Z 7oRfhUsBgl6lsXmgK/rcdsen7MYz5Tr+Cc0JPAVCmT4I8aeQ6RRtBo/vaR6EbibRCMV8 6XUitaS6qJZAarjCvXm8slVR42DhE2pD+USwc0yZT6d7Y6ld8yY+SnZG3LuYll7cICo6 sj5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=HMTzIHme; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s13-20020a65584d000000b0043a157bfdb2si3222728pgr.394.2022.09.21.11.01.06; Wed, 21 Sep 2022 11:01:19 -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=@suse.com header.s=susede1 header.b=HMTzIHme; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230335AbiIURD0 (ORCPT + 99 others); Wed, 21 Sep 2022 13:03:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229921AbiIURDE (ORCPT ); Wed, 21 Sep 2022 13:03:04 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1B718284D; Wed, 21 Sep 2022 10:03:02 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 3007C1F8CA; Wed, 21 Sep 2022 17:03:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1663779781; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=CSBNW4JvmKppsNMMHKaTcBQ/8SMBBa+a7IGCYeQgCtE=; b=HMTzIHmeWUNV9l2wsxzfUSlYDCzoRFpj2D0Jd4idAYXKkplJwnqSsc7We8fOPTXX3mCCbs lq+ffxVoyltT0YQUQDkoVgNfX/WJnYakasL+RuA16GPfGeekVHOakGz3EjnLAMxmiR9e9E N5K9L8Lt4ptHe5BvEeMqjedNyt/Gd68= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id D1B9513A89; Wed, 21 Sep 2022 17:03:00 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id WqE7MsRDK2ORFwAAMHmgww (envelope-from ); Wed, 21 Sep 2022 17:03:00 +0000 Date: Wed, 21 Sep 2022 19:02:59 +0200 From: Michal =?iso-8859-1?Q?Koutn=FD?= To: Anatoly Pugachev 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 Subject: Re: [sparc64] fails to boot, (was: Re: [PATCH memcg v6] net: set proper memcg for net_init hooks allocations) Message-ID: <20220921170259.GI8331@blackbody.suse.cz> References: <6b362c6e-9c80-4344-9430-b831f9871a3c@openvz.org> <20220918092849.GA10314@u164.east.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Hello. Thanks for the report. 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 does 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.) Thanks, Michal