From: Christoph Hellwig <hch@lst.de>
To: James Feeney <james@nurealm.net>
Cc: linux-smp@vger.kernel.org, linux-block@vger.kernel.org
Subject: Re: linux 5.12 - fails to boot - soft lockup - CPU#0 stuck for 23s! - RIP smp_call_function_single
Date: Mon, 17 May 2021 14:27:09 +0200 [thread overview]
Message-ID: <20210517122709.GC15150@lst.de> (raw)
In-Reply-To: <3516e776-6c69-2a83-6da4-19de77621b18@nurealm.net>
Any information of the system? What block driver(s) do you use, how
many CPUs, kernel config?
On Fri, May 14, 2021 at 12:39:59PM -0600, James Feeney wrote:
> With the patch to kernel/smp.c in linux 5.12.4, "smp: Fix smp_call_function_single_async prototype", by Arnd Bergmann, I thought maybe there was a fix. But no. The error is the same, except the top of the Call Trace is different:
>
> ...
> watchdog: BUG: soft lockup - CPU#0 stuck for 23s! ...
> ...
> RIP: 0010:smp_call_function_single+0xeb/0x130
> ...
> Call Trace:
> ? text_poke_loc_init+0x160/0x160
> ? text_poke_loc_init+0x160/0x160
> on_each_cpu+0x39/0x90
> ...
>
> and repeats indefinitely.
>
> Again, smp_call_function_single is defined in kernel/smp.c
>
> It seems that my git bisect is probably off, since apparently the system may sometimes boot to a temporarily working state, and some "exercise" is needed to identify the failure. However, see another git bisect for possibly the same issue at
>
> https://bugs.archlinux.org/task/70663#comment199765
>
> with "bisect-result.txt"
>
> https://bugs.archlinux.org/task/70663?getfile=20255
>
> Markus says, in part:
>
> ====
> Trying to bisect, I arrived at a different set of commits though.
> 7a800a20ae6329e803c5c646b20811a6ae9ca136 showed the issue described, where a seemingly working kernel will lock up rather quickly.
> f007a3d66c5480c8dae3fa20a89a06861ef1f5db worked flawlessly, without any hiccups doing random internet browsing while I was compiling the next bisect step.
> However, there are six commits between those, that did not boot and left me stuck with a black screen right after the bootloader (so no systemd startup message or similar). The system did not react to any inputs (Alt+SysRq) or to a short press of the PC's power button, and thus a hard shutdown was necessary.
> ====
>
> These 8 commits - total - are from Christopher Hellwig, 2021 Feb 02. Perhaps something closer to the real issue is in there. As with Markus, I've also noticed that a "warm" reboot can result in a frozen system immediately after the boot loader has run. A full power-off reboot is needed to get past the early screen initialization.
>
> I'll have to re-do my git bisect, with more extensive system "exercise", to see if something more useful results.
>
> James
---end quoted text---
next prev parent reply other threads:[~2021-05-17 12:27 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-14 18:39 linux 5.12 - fails to boot - soft lockup - CPU#0 stuck for 23s! - RIP smp_call_function_single James Feeney
2021-05-17 12:27 ` Christoph Hellwig [this message]
2021-05-19 15:50 ` James Feeney
-- strict thread matches above, loose matches on Subject: below --
2021-05-17 8:13 James Feeney
2021-05-17 8:32 ` Borislav Petkov
2021-05-19 3:58 ` James Feeney
2021-05-19 11:12 ` Borislav Petkov
2021-05-19 20:03 ` James Feeney
2021-05-19 21:18 ` Borislav Petkov
2021-05-20 3:12 ` James Feeney
2021-05-20 9:21 ` Borislav Petkov
2021-05-21 22:11 ` James Feeney
2021-05-22 9:06 ` Borislav Petkov
2021-05-22 23:28 ` James Feeney
2021-05-22 23:28 ` James Feeney
2021-05-23 17:05 ` Borislav Petkov
2021-05-23 23:02 ` James Feeney
2021-05-24 7:51 ` Borislav Petkov
2021-05-25 4:02 ` James Feeney
2021-05-03 9:44 James Feeney
2021-04-30 17:04 James Feeney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210517122709.GC15150@lst.de \
--to=hch@lst.de \
--cc=james@nurealm.net \
--cc=linux-block@vger.kernel.org \
--cc=linux-smp@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.