All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
To: Derek Barbosa <debarbos@redhat.com>
Cc: williams@redhat.com, vkuznets@redhat.com, linux-rt-users@vger.kernel.org
Subject: Re: Console Hang on SMP Secondary CPU Bringup
Date: Tue, 29 Sep 2026 11:14:15 +0200	[thread overview]
Message-ID: <20260929091415.0yfm4bPw@linutronix.de> (raw)
In-Reply-To: <arrMKtKKVpiJBLeF@debarbos-thinkpadt14gen5.rmtusma.csb>

On 2026-09-28 16:54:31 [-0400], Derek Barbosa wrote:
> Hi Sebastian,
Hi Derek,

> On Mon, Sep 28, 2026 at 04:08:37PM +0200, Sebastian Andrzej Siewior wrote:
> > On 2026-09-23 12:02:31 [-0400], Derek Barbosa wrote:
> > > In the v6.6-rt-rebase branch in the linux-stable-rt kernel trees, building (with
> > > defconfig and additional HV drivers enabled), installing, then booting a kernel
> > > in a paravirtualized Virtual Machine environment (HyperV in this case) via UEFI
> > > boot may result in a unrecoverable "hang"
> > 
> > Does this also occur in v6.6-rt15? If so, can you check v7.3-rc5 and if
> > it does not occur, try other RT kernels where this started happening?
> 
> You mean the non-rebase branch, correct? I can throw that on the TODO as well.

I don't care so much about rebase vs non-rebase but the old v6.6-rt15 vs
current. Just to ensure that nothing slipped in while moving forward. I
would assume that the rebase and non-rebase branch are equal for a fiven
version.

> Just recently I tested a 7.2 kernel with PREEMPT_RT (and some other Fedora
> configs) and was able to reproduce the issue. I need to confirm this though,
> running some more trials and collecting data. I've been a little
> scatter-brained.

Oh. That is good because it is not something that exists just in this
old version of printk but also in the recent one.

> > This HyperV is something I can't try here, can I?
> 
> Hmm. IIRC you either need a Windows host with the functionality enabled, or
> access to some sort of Azure cloud platform [0]. It is similar to other compute
> providers in terms of signup, etc.

I have neither.

> > Does this run in qemu where you could attach gdb and check what the CPUs
> > are doing?
> > 
> 
> I John's email with something similar. TLDR: I don't know what other functionalities
> of Hyper-V the "Azure Cloud VMs" expose, I will play around with the knobs and
> fiddle with some buttons here and there...

Ah, I forget that gdb and so on does not work in the other world.

> > So we are not doing PREEMPT_RT?
> 
> The issue was reproducible in both :)
> 
> But seeing as how the code still exists in this tree, I figured this may be the
> best place to report it.

The logic should be widely the same but changed in a few details to what
we have now in v7.3-rc1. Also the print logic is different in RT vs
non-RT (due to threaded printing and not).

> It hangs right at the "cpuhp up cpu1 state cpu:kick_ap" message I had inserted.
> 
> I will play around with some of John's suggestions, and a few more ideas I had
> in mind.

The question is, does it hang on its own or is related to printk message
it issues.

> > The printk version is a bit old but still functional :) If the problem
> > does not occur in a later kernel then could think about backporting that
> > printk version back to v6.6 (unless there is a single obvious cause).
> 
> It very much is! I am pretty positive that we're only seeing the bug in
> this weird corner case of HyperV (Linux guest), nbcon + high loglevel.
> 
> Thank you for the heads up. I will report back with more results + findings
> soon. The bug is just pretty tedious to reproduce.

okay, thanks.

Sebastian

  reply	other threads:[~2026-09-29  9:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-23 16:02 Console Hang on SMP Secondary CPU Bringup Derek Barbosa
2026-09-28 14:00 ` John Ogness
2026-09-28 20:17   ` Derek Barbosa
2026-10-02 21:07     ` Derek Barbosa
2026-10-03 19:19       ` John Ogness
2026-09-28 14:08 ` Sebastian Andrzej Siewior
2026-09-28 20:54   ` Derek Barbosa
2026-09-29  9:14     ` Sebastian Andrzej Siewior [this message]
2026-10-02 20:53       ` Derek Barbosa

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=20260929091415.0yfm4bPw@linutronix.de \
    --to=bigeasy@linutronix.de \
    --cc=debarbos@redhat.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=vkuznets@redhat.com \
    --cc=williams@redhat.com \
    /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.