public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Hansen <dave.hansen@intel.com>
To: Paul Gortmaker <paulg@kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	"Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	Borislav Petkov <bp@alien8.de>
Cc: x86@kernel.org, linux-kernel@vger.kernel.org,
	Richard Purdie <richard.purdie@linuxfoundation.org>
Subject: Re: Intermittent Qemu boot hang/regression traced back to INT 0x80 changes
Date: Wed, 24 Apr 2024 13:03:54 -0700	[thread overview]
Message-ID: <fabaa66d-1aed-4fdb-827c-0bc35d11167e@intel.com> (raw)
In-Reply-To: <20240424185806.GB101235@kernel.org>

On 4/24/24 11:58, Paul Gortmaker wrote:
> pci 0000:00:1d.0: [8086:2934] type 00 class 0x0c0300 conventional PCI endpoint
> pci 0000:00:1d.0: BAR 4 [io  0xc080-0xc09f]
> pci 0000:00:1d.1: [8086:2935] type 00 class 0x0c0300 conventional PCI endpoint
> pci 0000:00:1d.1: BAR 4 [io  0xc0a0-0xc0bf]
> pci 0000:00:1d.2: [8086:2936] type 00 class 0x0c0300 conventional PCI endpoint
> <hang - not always exactly here, but always in this block of PCI printk>

Any chance you can figure out what the virtual CPU is doing while it's
hung?  Maybe run these a couple of times on the qemu monitor?

	info registers
	info irqs
	info lapic

to see if it's taking a bunch of interrupts and whether RIP is still
moving around.  A couple of samples of RIP (matched back to the kernel
code via vmlinux) can go a long way to figuring out why it's hung.

I take it that this is before sysrq is working?  If it isn't too early:

	sendkey alt-sysrq-t

is always handy.

Otherwise, I'm a bit stumped.  This code shouldn't even be called before
userspace starts up.  Heck you don't even have CONFIG_IA32_EMULATION on
in your .config.

  parent reply	other threads:[~2024-04-24 20:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-24 18:58 Intermittent Qemu boot hang/regression traced back to INT 0x80 changes Paul Gortmaker
2024-04-24 19:51 ` Borislav Petkov
2024-04-26 12:24   ` Paul Gortmaker
2024-05-12 20:23     ` Paul Gortmaker
2024-04-24 20:03 ` Dave Hansen [this message]
2024-04-24 20:19 ` Dave Hansen
2024-04-25 18:44 ` Dave Hansen

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=fabaa66d-1aed-4fdb-827c-0bc35d11167e@intel.com \
    --to=dave.hansen@intel.com \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=kirill.shutemov@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulg@kernel.org \
    --cc=richard.purdie@linuxfoundation.org \
    --cc=tglx@linutronix.de \
    --cc=x86@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox