From: Michael Schierl <schierlm@gmx.de>
To: Michael Kelley <mhklinux@outlook.com>,
Jean Delvare <jdelvare@suse.com>,
"K. Y. Srinivasan" <kys@microsoft.com>,
Haiyang Zhang <haiyangz@microsoft.com>,
Wei Liu <wei.liu@kernel.org>, Dexuan Cui <decui@microsoft.com>
Cc: "linux-hyperv@vger.kernel.org" <linux-hyperv@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: Early kernel panic in dmi_decode when running 32-bit kernel on Hyper-V on Windows 11
Date: Tue, 16 Apr 2024 23:24:21 +0200 [thread overview]
Message-ID: <71af4abb-cffd-449e-b397-bd3134d98fb3@gmx.de> (raw)
In-Reply-To: <SN6PR02MB41573B2FED887B1E3DCADB55D4092@SN6PR02MB4157.namprd02.prod.outlook.com>
Hello,
Am 16.04.2024 um 01:31 schrieb Michael Kelley:
> Can you give me details of the Hyper-V VM configuration? Maybe
> a screenshot of the Hyper-V Manager "Settings" for the VM would
> be a good starting point, though some of the details are on
> sub-panels in the UI.
It used to be possible to export Hyper-V VM settings as XML, but
apparently that option has been removed in Win2016/Win10, in favor of
their own proprietary binary .vmcx format...
Also, maybe it matters what else Hyper-V is doing. I've installed both
WSL and WSA, and Windows Defender is using Core Isolation Memory
Integrity. I have also enabled support for nested virtualisation in the
Host/Network Switch, but not in that VM.
Anyway, I just created two new VMs (one of each generation) with no hard
disk and everything else default, added a DVD drive to the SCSI
controller of Gen2 (which Gen1 already had on its IDE controller),
disabled Secure Boot on Gen2 and added a second vCPU to Gen1 (which Gen2
already had).
Afterwards, Gen2's dmidecode looks like the summary you posted, and Gen1
reproduces the issue.
> I'm guessing your 32-bit Linux VM is
> a Generation 1 VM. FWIW, my example was a Generation 2 VM.
Very interesting that Gen2 boots 32-bit Linux better than Gen1 (there is
a delay during hardware autoconfigruation (systemd-udevd) for about 30
seconds when booting Gen2 which I did not investigate yet), despite the
documentation claiming not to use Gen2 for any 32-bit Host OSes.
So I assume this only applies to crappy OSes that directly couple their
bitness to the bitness of the UEFI firmware.
To be fair, the live media I'm using uses Grub's "non-compliant" Linux
loader that bypasses the kernel's EFI stub. When trying with Grub's
"linuxefi" loader, Linux does not boot either, as expected. (On the Gen1
VM, the panic happens regardless whether I use grub's linux16 or linux
loader, and also with SYSLINUX/ISOLINUX loader).
> When you ran a 64-bit Linux and did not have the problem, was
> that with exactly the same Hyper-V VM configuration, or a different
> config?
All my tests were performed with a single (Gen1) VM, and the only
setting I changed was the number of vCPUs.
Regards,
Michael
next prev parent reply other threads:[~2024-04-16 21:24 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-13 13:06 Early kernel panic in dmi_decode when running 32-bit kernel on Hyper-V on Windows 11 Michael Schierl
2024-04-15 3:17 ` Michael Kelley
2024-04-15 21:03 ` Michael Schierl
2024-04-15 23:31 ` Michael Kelley
2024-04-16 21:24 ` Michael Schierl [this message]
2024-04-16 23:20 ` Michael Kelley
2024-04-17 9:43 ` Jean DELVARE
2024-04-17 15:51 ` Michael Kelley
2024-04-17 21:08 ` Michael Schierl
2024-04-17 22:34 ` Michael Kelley
2024-04-19 16:36 ` Michael Kelley
2024-04-19 20:47 ` Michael Schierl
2024-04-19 22:32 ` Michael Kelley
2024-05-02 17:02 ` Michael Kelley
2024-05-03 9:49 ` Jean DELVARE
2024-04-15 20:15 ` Wei Liu
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=71af4abb-cffd-449e-b397-bd3134d98fb3@gmx.de \
--to=schierlm@gmx.de \
--cc=decui@microsoft.com \
--cc=haiyangz@microsoft.com \
--cc=jdelvare@suse.com \
--cc=kys@microsoft.com \
--cc=linux-hyperv@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mhklinux@outlook.com \
--cc=wei.liu@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