Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2448843pxj; Mon, 17 May 2021 01:34:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkEvg3DzbbEFwOr7w3P2l7s+197WSzUZNJ2n5FXplgX6L+vyWinWGnTFmKlPK5LsSBrqf3 X-Received: by 2002:a05:6402:1914:: with SMTP id e20mr70176684edz.70.1621240482333; Mon, 17 May 2021 01:34:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621240482; cv=none; d=google.com; s=arc-20160816; b=CZoSBV9pD31DJrrdapDAvDujQIG3m3Yz9AA9KYJikCxB0CP7fv8u14ZkY3BbbZC604 JBsvS+Dzpk9JQefFgVgg1RpcvmMz8Gx5ov7+hPIEbpwkBmCwuqQwPVEik7XG1m87E6OW WxDRqrkFHRSyBOcS2MbAtX5y8W+cq75/sK/igPLdAw5HEGwQkQ11clA+4UiJ7Wf9j9fT KPFrrbj9efpVHuC/nucQByMEThvHvxb+sbHcnVBGNhbtxHzmHMcO8W0106qFS436pPH1 +RNKM5//8F/CRmnDljWkzJPdxdMmbJNE2mEqIGmCNF6CWlJNaFdPX8uhoVbSbCrsbKRO U8JQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Z/OA2YTrd6NAeRoxfShVrslxMmUvtcNrdJkJn6gobVs=; b=kRCSDgTP1pu7PphxC8DE4qmXlFrHJ6jATIkgT/oDyQkzKqqZmdTc6mPE1Spmc0zhx/ S4Mx8AvStLG0kVIAvmJRq9U9X9N3r/zPk8GMeSJitwFknFk7SeS3Vw4yT6EE7P4+k3Zz ZWoVRNX7+kXMOB4jeg2hDmZh6JbOtR/OFcRHwfm0suoytYXI/c3SXVHUwpVahLtIrmL2 xcgmeNrZZMGzZfJ1AVMbyx+0ZkL204Z5TC/1LhLHYltfda4YakG/BDvOzYj7YGbuZWyV T09ZSSC2AcXAmCqTsDx5tY9d8YePbZMnfxRRuJv/7XjwblUER6qUIDUEUXZAUnKMlYE7 fKlw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k19si15988329ejv.98.2021.05.17.01.34.19; Mon, 17 May 2021 01:34:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235597AbhEQIda (ORCPT + 99 others); Mon, 17 May 2021 04:33:30 -0400 Received: from mx2.suse.de ([195.135.220.15]:48064 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230011AbhEQIda (ORCPT ); Mon, 17 May 2021 04:33:30 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 51ACBAF0E; Mon, 17 May 2021 08:32:13 +0000 (UTC) Date: Mon, 17 May 2021 10:32:13 +0200 From: Borislav Petkov To: James Feeney Cc: linux-smp@vger.kernel.org, Jens Axboe , lkml Subject: Re: linux 5.12 - fails to boot - soft lockup - CPU#0 stuck for 23s! - RIP smp_call_function_single Message-ID: References: <8a9599b2-f4fe-af9b-90f5-af39c315ec2f@nurealm.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8a9599b2-f4fe-af9b-90f5-af39c315ec2f@nurealm.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org + lkml. On Mon, May 17, 2021 at 02:13:45AM -0600, James Feeney wrote: > I re-ran my git bisect, this time with a full power-down and cold boot, and more thorough testing, running a web browser. My second bisect went from good to bad. > > So now, instead, git bisect ended here: > > 4f432e8bb15b352da72525144da025a46695968f is the first bad commit > commit 4f432e8bb15b352da72525144da025a46695968f > Author: Borislav Petkov > Date: Thu Jan 7 13:23:34 2021 +0100 > > x86/mce: Get rid of mcheck_intel_therm_init() > > Move the APIC_LVTTHMR read which needs to happen on the BSP, to > intel_init_thermal(). One less boot dependency. > > No functional changes. > > Signed-off-by: Borislav Petkov > Tested-by: Srinivas Pandruvada > Link: https://lkml.kernel.org/r/20210201142704.12495-2-bp@alien8.de > > arch/x86/include/asm/mce.h | 6 ------ > arch/x86/kernel/cpu/mce/core.c | 1 - > arch/x86/kernel/cpu/mce/therm_throt.c | 15 ++++----------- > 3 files changed, 4 insertions(+), 18 deletions(-) > > > Please let me know if that makes more sense. Not really - this is the first time I'm seeing this and I highly doubt your bisection is correct. But we'll see. > > Again: > > Arch Linux > linux 5.12.arch1-1 Can you reproduce with the upstream 5.12 kernel to rule out influence by any distro-specific patches? > Intel Core2 T7200 > Mobile Intel 945PM Express Chipset > ICH7-M > Mobility Radeon X1600 Can you send full dmesg from a working kernel and the .config you're using with 5.12? > Generally, on failure, the system will not boot past "Loading initial ramdisk...", or, when it does, the boot process will hang, and the console will eventually show: > > watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [systemd-udevd: 241] > ... > RIP: 0010:smp_call_function_single+0xf7/0x140 > > The top of the call trace variously shows either "__flush_tlb_all" or "tlbflush_read_file", with the "soft lockup" repeating indefinitely. > I'm presuming there's no way to connect your box over serial cable to another one so that you can catch the full bad dmesg when it hangs? It would be good if you could... Thx. -- Regards/Gruss, Boris. SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg