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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9818EC6FD19 for ; Thu, 16 Mar 2023 09:45:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229879AbjCPJpQ (ORCPT ); Thu, 16 Mar 2023 05:45:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229874AbjCPJpM (ORCPT ); Thu, 16 Mar 2023 05:45:12 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEA1D13DEF; Thu, 16 Mar 2023 02:45:07 -0700 (PDT) Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1pckAT-0007w6-CW; Thu, 16 Mar 2023 10:45:05 +0100 Message-ID: <59064730-e731-d137-ae92-e19622a122d0@leemhuis.info> Date: Thu, 16 Mar 2023 10:45:04 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: kernel 6.2 stuck at boot (efi_call_rts) on arm64 Content-Language: en-US, de-DE To: Andrea Righi , "Jason A. Donenfeld" Cc: Ard Biesheuvel , Paolo Pisati , linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, Linux kernel regressions list References: From: "Linux regression tracking #adding (Thorsten Leemhuis)" Reply-To: Linux regressions mailing list In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1678959907;333adce4; X-HE-SMSGID: 1pckAT-0007w6-CW Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [CCing the regression list, as it should be in the loop for regressions: https://docs.kernel.org/admin-guide/reporting-regressions.html] [TLDR: I'm adding this report to the list of tracked Linux kernel regressions; the text you find below is based on a few templates paragraphs you might have encountered already in similar form. See link in footer if these mails annoy you.] On 16.03.23 08:54, Andrea Righi wrote: > Hello, > > the latest v6.2.6 kernel fails to boot on some arm64 systems, the kernel > gets stuck and never completes the boot. On the console I see this: > > [ 72.043484] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: > [ 72.049571] rcu: 22-...0: (30 GPs behind) idle=b10c/1/0x4000000000000000 softirq=164/164 fqs=6443 > [ 72.058520] (detected by 28, t=15005 jiffies, g=449, q=174 ncpus=32) > [ 72.064949] Task dump for CPU 22: > [ 72.068251] task:kworker/u64:5 state:R running task stack:0 pid:447 ppid:2 flags:0x0000000a > [ 72.078156] Workqueue: efi_rts_wq efi_call_rts > [ 72.082595] Call trace: > [ 72.085029] __switch_to+0xbc/0x100 > [ 72.088508] 0xffff80000fe83d4c > > After that, as a consequence, I start to get a lot of hung task timeout traces. > > I tried to bisect the problem and I found that the offending commit is > this one: > > e7b813b32a42 ("efi: random: refresh non-volatile random seed when RNG is initialized") > > I've reverted this commit for now and everything works just fine, but I > was wondering if the problem could be caused by a lack of entropy on > these arm64 boxes or something else. Thanks for the report. To be sure the issue doesn't fall through the cracks unnoticed, I'm adding it to regzbot, the Linux kernel regression tracking bot: #regzbot ^introduced e7b813b32a42 #regzbot title efi: stuck at boot (efi_call_rts) on arm64 #regzbot ignore-activity This isn't a regression? This issue or a fix for it are already discussed somewhere else? It was fixed already? You want to clarify when the regression started to happen? Or point out I got the title or something else totally wrong? Then just reply and tell me -- ideally while also telling regzbot about it, as explained by the page listed in the footer of this mail. Developers: When fixing the issue, remember to add 'Link:' tags pointing to the report (the parent of this mail). See page linked in footer for details. Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr That page also explains what to do if mails like this annoy you.