From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id C6F30ECAAD8 for ; Wed, 21 Sep 2022 17:03:04 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4C9326B0074; Wed, 21 Sep 2022 13:03:04 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 451696B0075; Wed, 21 Sep 2022 13:03:04 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2CBD36B007E; Wed, 21 Sep 2022 13:03:04 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 190E46B0074 for ; Wed, 21 Sep 2022 13:03:04 -0400 (EDT) Received: from smtpin17.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id DC5CF806FD for ; Wed, 21 Sep 2022 17:03:03 +0000 (UTC) X-FDA: 79936712646.17.6B32FC0 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by imf10.hostedemail.com (Postfix) with ESMTP id 7D26CC0092 for ; Wed, 21 Sep 2022 17:03:02 +0000 (UTC) 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) ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1663779782; a=rsa-sha256; cv=none; b=OtgfzzP2yt1z7E7ocFh3chjPS21OVNMCLsDP/pRRtPl9ww9YsbsULz9u6ZMtcryVfgA2vJ d3m/JjLKGlsByut9qrUO2BxzUbT22MbkoxN5DcCGVYu6yUNGQ5blczlVt77M3NJuDuqOUo OwnTktuY+JPNZF1gwfC+QErSLISFd6s= ARC-Authentication-Results: i=1; imf10.hostedemail.com; dkim=pass header.d=suse.com header.s=susede1 header.b=HMTzIHme; dmarc=pass (policy=quarantine) header.from=suse.com; spf=pass (imf10.hostedemail.com: domain of mkoutny@suse.com designates 195.135.220.29 as permitted sender) smtp.mailfrom=mkoutny@suse.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1663779782; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=CSBNW4JvmKppsNMMHKaTcBQ/8SMBBa+a7IGCYeQgCtE=; b=Dgi4jObr1HtcRS6pzkErmpQuFwNKSso2RspgMSYGr/5IU4EDv+htHfmmyCB1UVmhNHKtic FWOYaI9bVNfleMh76z+LANmZyFDkutQW2Ue3LU/kndA5/+GmDM9oQx0dumrp7FsoXs5hfA mDmWM5/yIbKrPccyveds2BqLrsA4+2U= X-Stat-Signature: ep6gh893kjufn517a5d165z8haht4daz X-Rspam-User: Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=suse.com header.s=susede1 header.b=HMTzIHme; dmarc=pass (policy=quarantine) header.from=suse.com; spf=pass (imf10.hostedemail.com: domain of mkoutny@suse.com designates 195.135.220.29 as permitted sender) smtp.mailfrom=mkoutny@suse.com X-Rspamd-Queue-Id: 7D26CC0092 X-Rspamd-Server: rspam04 X-HE-Tag: 1663779782-943860 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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