Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp5880078rwj; Wed, 21 Dec 2022 08:07:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXsvOyMCFVDCdKCJXE0yR3S65lXHl2dJGTkP7l8AuNIJriAWNI6yLVDmqPaEtUPinwtnfSEm X-Received: by 2002:a17:907:d042:b0:7c1:7145:5b3c with SMTP id vb2-20020a170907d04200b007c171455b3cmr1596139ejc.46.1671638858752; Wed, 21 Dec 2022 08:07:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671638858; cv=none; d=google.com; s=arc-20160816; b=JVS4lA3WGvZNoMWWGmDe7DEx7aLtgFhilmRukWWvZX2ldLhY1CzFK+DuoDtGE1ru7Y PePpA2h82+WlGWR3RXOigDh7h8kkbu2fS3zWsdMcYQ/CaUjXUWSVG12tVgm1DMdr6/Zq goPp3z9+7FL8M+T3HX3L/f/2WfEljVekOqju+Z+d3shVOyPixNWsgtPkbdxObDuzR+sj n+SsT76h7TpCm5kiehIQXEH/crWrb0VS7bb3Q4KSMF3X9QiF/eb9aHea72gD8o93TpGD I+taPkerIiFrvF0KzzkDzNfcL0ldtCfk0LN0qbA82EUcs/DkRGsTOww3Hjw0qPNlcEH3 l11w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=WMvM3oIiYKel5HPXqZ0wwZClubdzV5QaZHrYn2xq4Js=; b=bruovSsyEl4dHmdxLqCU4gxSCpf1kmTY+QyIyJ+cpTe5Cib44KBKNdtTlUNDVJdsBx 0L3lX5fIHFWl0UJlavM2zN6WzX5HDUf9FACX/RCt8uCMI2UK8Atud1t/2Wj76RK7Iqm+ 3Hbe/tIXtT4dTImICcoEnZvdLGBqpzhGtOMmKQTaoIfzswEr733eUgVKKf7rJAX+kWoQ Js2C80PZvgrw19sbbH6Bss4gTvieoumSSOa4Qbb8PBqlfqI0QmgsYSoE+bxuFII+AnHg i2znaIlVauuLU83hJWe5/VfdssUH/fMbUY+UAuT/CDhSW3KhNxW0dYPpxHJCgrjRz70c 41PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=H4uE0QPe; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id he12-20020a1709073d8c00b007b273d1f664si14434280ejc.128.2022.12.21.08.07.22; Wed, 21 Dec 2022 08:07:38 -0800 (PST) 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=fail header.i=@igalia.com header.s=20170329 header.b=H4uE0QPe; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231855AbiLUPr2 (ORCPT + 69 others); Wed, 21 Dec 2022 10:47:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230057AbiLUPr1 (ORCPT ); Wed, 21 Dec 2022 10:47:27 -0500 Received: from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 021991ADAB for ; Wed, 21 Dec 2022 07:47:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=WMvM3oIiYKel5HPXqZ0wwZClubdzV5QaZHrYn2xq4Js=; b=H4uE0QPetyV6wWmK/W9fnNlXos 2pHteCy74MP5gpU+YESUl4xuXHRtqxahK3xludCQtQzK9OfPx7qLa1KLs3ELbFpW5I1kC9wGCk8Fu mfLAT/rdyCAeILUFWL9GFbqc5S1m40SeI6STM5OAGJV3wWotRcHS07RJVFZdtsNWK08FZh0yuCuS3 vT0OTlvGTTqDEwV+vCZKMoaQW0BXkl1NgU53OX138Wmvlk708ggE4hCA3dmkWSmr6HTYBO+Vdi6LD 8z6ZV9wfcjka58WIZIlLC2WUs8XleCxfvahrHIPNtjdf3XKpz6htcRr6Y/kWDDdX3rnh6exvvy0BD kktjH1YQ==; Received: from [177.103.98.201] (helo=[192.168.1.60]) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (Exim) id 1p81J8-007ZDo-1S; Wed, 21 Dec 2022 16:47:02 +0100 Message-ID: Date: Wed, 21 Dec 2022 12:46:51 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: kdump kernel randomly hang with tick_periodic call trace on bare metal system Content-Language: en-US To: Baoquan He Cc: x86@kernel.org, kexec@lists.infradead.org, Thomas Gleixner , linux-kernel@vger.kernel.org References: From: "Guilherme G. Piccoli" In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 20/12/2022 02:51, Baoquan He wrote: > On 12/20/22 at 01:41pm, Baoquan He wrote: >> On one intel bare metal system, I can randomly reproduce the kdump hang >> as below with tick_periodic call trace. Attach the kernel config for >> reference. > > Forgot mentioning this random hang is also caused by adding > 'nr_cpus=2' into normal kernel's cmdline, then triggering crash will get > kdump kernel hang as below kdump log shown. > The weird thing is that you seem to be using "nr_cpus=1" instead - this is the cmdline from the log: "nr_cpus=2 irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off numa=off udev.children-max=2 panic=10 acpi_no_memhotplug transparent_hugepage=never nokaslr hest_disable novmcoredd cma=0 hugetlb_cma=0 disable_cpu_apicid=16 [...]" You seems to pass twice the "nr_cpus" thing, and I guess kernel pick the last one? Also, what is "disable_cpu_apicid=16"? Could this be related? Thanks for the report! Cheers, Guilherme