Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp246720lqb; Tue, 16 Apr 2024 14:37:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVXsR35FIUgEVpHE/7FxdJIkZohvhjzgVZXfCOLTe470MZFga4aawZeuNcgTsCTtZFKjUUAA5rVeW1rx3SxgPX2mVm4G/V1AGxSZC89UQ== X-Google-Smtp-Source: AGHT+IHrRNvuIdkaZfbvk6Xp1gHc63ATgMGbO2xs6vnLGbIKI2tUZpOUFAdnpUpHZmtcj1pIIv2Q X-Received: by 2002:a17:906:5fd2:b0:a46:3ce4:5acb with SMTP id k18-20020a1709065fd200b00a463ce45acbmr7483538ejv.75.1713303464622; Tue, 16 Apr 2024 14:37:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713303464; cv=pass; d=google.com; s=arc-20160816; b=zEe0I0phvSuzjzq6EYtpVEtztaMVMvfsA3mdMJQD4VLzKbU0YuVkN2nFD1sUdnkuMW gKzYxRaTuQIjEhvbLeYkRZBzZFNjXSCFgX9DQxLJE4SxsmihuXXq8gljJZc5+vfVQ+C3 qHHltpHakaccw8ovQh+2P8WCtadU3F+i70QQboVi4Nl6nhUEmCCkUwTRzWEfyNkfojt3 i0vEgBmvF4qSRG0YLavMuEBMLdxyYkcHAWvVR9yCPVyaVz4QKt6yCksm6FV9Mm+bITyd /PwemacZxxN6YnWC8fsvluvkx7ugaEivU1oUodiKZJ4W56d9XJM6NVs8nLpJ8oBRRRiB IEIA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:in-reply-to:autocrypt :from:content-language:references:cc:to:subject:user-agent :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:message-id:dkim-signature; bh=Ka7LPxFhhP0ZNYDyQkBs58K1jS0AmF/oAMEmYL467FQ=; fh=CSnqnT8WpDP+RrxyyB8VhNCMeVQK/p36gIE/8dDN8mE=; b=psSCJ6OOOtwUA8qz7BsilBJ5bz9zTowJgVcq03WRLcc6jOrZLsVoSEzvaT4wja+8Im YxnkubvmTFvZYHwPlwn9HFavkQPyHHs5H5lxG0Jv8VECRyinVE+JeSbee9poaxJQ2+0L HXwE4aIJWbBuctdluIHVFOkUVe7j/+GaNPSEAlytH2lXivV7Ymf5ATaJtjqAQzz+jtPJ c/dyySwHqBNtC/ujpUeYWT/8F38k8jr24hEO5wSzIuMkWkPI1fFN3lOhas/QhEL41T4u FQMumCtSX6f7k3zeAGGZ1OJq8w/b2txe2kobbtlLPV2qnVQ086PW4VohnSj8uHIryBCK oLFA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=RAMMC9Je; arc=pass (i=1 spf=pass spfdomain=gmx.de dkim=pass dkdomain=gmx.de dmarc=pass fromdomain=gmx.de); spf=pass (google.com: domain of linux-kernel+bounces-147640-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147640-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=gmx.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id w14-20020a17090652ce00b00a51c9872c6asi6056362ejn.63.2024.04.16.14.37.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 14:37:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-147640-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=RAMMC9Je; arc=pass (i=1 spf=pass spfdomain=gmx.de dkim=pass dkdomain=gmx.de dmarc=pass fromdomain=gmx.de); spf=pass (google.com: domain of linux-kernel+bounces-147640-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147640-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=gmx.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7CCC71F22E4F for ; Tue, 16 Apr 2024 21:37:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A857312AAD9; Tue, 16 Apr 2024 21:24:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmx.de header.i=schierlm@gmx.de header.b="RAMMC9Je" Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 44FE66BFAC; Tue, 16 Apr 2024 21:24:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.227.15.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713302676; cv=none; b=XrCeZjKAO6NirNG2HMR6MvdLj0eQpyPyP9OQjA8qKBHIaCK2Ps1muEOsAfFIzCBT9+FbxLhrVN/SPXmsz9XwtX4eKDnYgxpxZFJLl/cdfUCQo6WR3xh//wdlbYE3GtKqRMiPd2yZOEFgqEm5Tz/CcjSsgTpBKTCgH/BlTaLVoDE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713302676; c=relaxed/simple; bh=6Er98QEzCV3v4jZJfnwfJ5MZqGreJzJUCo8yTwZXUVk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=eHo9XjSWpzQ8uBEQbIlh2BNNOmN9857XhbaTzVwqNW6M2giINJhuw1f3gmqvanxrkATTRNgtQNIYl+dHGH/w0U9Fy+MkeYxbKZg5Z1WubtRoLLCpg9oxq25T8bhakNufJHZXFK5Nw5GsWWfl2P49kuKXwVU109jbI4J504b3qkU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.de; spf=pass smtp.mailfrom=gmx.de; dkim=pass (2048-bit key) header.d=gmx.de header.i=schierlm@gmx.de header.b=RAMMC9Je; arc=none smtp.client-ip=212.227.15.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1713302661; x=1713907461; i=schierlm@gmx.de; bh=Ka7LPxFhhP0ZNYDyQkBs58K1jS0AmF/oAMEmYL467FQ=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=RAMMC9Je7Wm4JIrhW/wQ8uq7xxgfyWuK67oimBToPWFom2TWFNurBWuHjpQfUq56 4/dkQqmQAejk6b9K2uJWETt6kChBri5ixNN4+1N5+8SuajYFdtbaKMyE8gBE5sapC Mhp+IDOB3ZS6DZ5HegVSMkBQrW1FHiupXvbKOHdMmfnFXjqxnND5lC496zjxSt5S2 oFGpXpRP4NUAlhc4Rua4GI+EKkVKCJcc+JT92AH+l0gWRIOf/Puf2jsA4uUqCOcBR CuJNBSK262vTFE/BXvl9/a8Umf5yiSirE3TxljIUFq+rd9JgCAJ/5CzI531mOHb7K kZTBrYui6rj3s3Iclg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.178.56] ([84.130.61.91]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MTiPv-1sK6LR399p-00U3Sm; Tue, 16 Apr 2024 23:24:20 +0200 Message-ID: <71af4abb-cffd-449e-b397-bd3134d98fb3@gmx.de> Date: Tue, 16 Apr 2024 23:24:21 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Early kernel panic in dmi_decode when running 32-bit kernel on Hyper-V on Windows 11 To: Michael Kelley , Jean Delvare , "K. Y. Srinivasan" , Haiyang Zhang , Wei Liu , Dexuan Cui Cc: "linux-hyperv@vger.kernel.org" , "linux-kernel@vger.kernel.org" References: <2db080ae-5e59-46e8-ac4e-13cdf26067cc@gmx.de> Content-Language: de-DE From: Michael Schierl Autocrypt: addr=schierlm@gmx.de; keydata= xsFNBF+amRYBEACvwIMUTYHep294xNuk+jKA63GkZl7D3SlI4LbzJt1Cm4AvT/mQ5/UV3bAG VeB6iXDeCH28bQNXd4DymSMEzgXVkmcNws4MzFhhA/mbRuVntN8G6zGnAJb9NerBLwhEcSzN vCG7FnUKOLs+z75rQfyuBpYnzMj5prrFvCBW/3fBElajvLbDT/ZRdU7QqFmCVy7dtdk++tz+ 5pZzN4Tfy2f+DVsvdWjrQ0NX8J0FsI5QtdRLHP3oRJLTuNl7Vff6CE/wPnvFQQjguoapolFz jQFX5krR2C8axNg00qIMviGpio/AAI6La1QdSP/CpcD2QfzZPIdIaQy4yUCE/BoTBPgZWdC5 zwhmpN/qfSBs5QtUacL/4I+knomX/XyIqZNWqoVZ8FkX7i8AZO4ymuBwx8wZP5XUZwM6rzAd MMEKWrWWvks67uYmEuL4isP9QhZmG7EniWVt7is+X/alCT9cULEg+sXhHW4NOhCNlg020Bdg CHmdo7RecGqzKFIE/3RgYm+TwKc3YU/bgslIPu6Qz+Qqvz10Y4DFpyu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ZfVyzU6tIylThddxM+EV+l9GWPm+ wTTrVT9VStkm2nQFIfOfZrmAX7o0hNiK+cB8u8EFni1MrMk+BY5EskFRcxq97+nhFZ3z0I6q obUwLL0gH1iO/zFXdStHju7NV5d9V/OXwPMcRvSNOBPoC2b6ekP7iN0RUwBHCyNrL2Vu3LHy BwZ3jk6JR+xhRvVn2gXIMKA6qJ5XEhzGjKYYg7MnbA73jXuaa8RIvWJbMmnzkk57czt+Nycz X/YlaN5mlntK0gHYX29ddh59l2atvpzOiOi9uiRMJI6ZI+jy141kvQTgjnxUOS9mQN853jLL uxTR60TDY/d6Kz8= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:Z7o3Ads1mcXcCTU2E8zTY/MWzn/c0Q+dPQ3Z8fLPcU9+Dt0zjic Hc5HE3tBwT7CECpxqzBCjtWT9VmK3lSuMeNnrgQnjti4vvwo0cKPj3tguRkNgrv8gfbjVCo 2OqM8d1xj6Nlf7ENxLqrJYr7mlnxfD1gna0x0inNk3B2NdZCNc3uEkx5mgjE+z5OD6ZVGWs oRPyNqRYi05Tru/oAt2Sw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:ATgbfHdK2VI=;bO2mVvUWqTtT1wd+CbJF0FTOVNf S68w+YTUu09BHLrsp8+yIVsQ/58hYOM6zvVBSYflGmiLp7KmK9CNsPlP7DPPJeDossZ2Q+QAe oUGoe1ssy7g/yCxaxBeP3AVQngRB7opPYzsXCeNf3eKQktjkcOVN7E0CUBkiVSbXYCdfFSJz9 KXCNW0smLjzHW6/DyO2M63TnLz04xM6X0etc0GTl4/oi/LAVyMKG0ER1Fzo7P6BpuQKwMOLd2 cxXjhbieHGJApLk46ETQifZprdcgutmjOH3JXF/N2UDoGorZrLinqJQ3XeX9mXSZn38KKJZZK Nwk492Difi85ANsHUqjP6W1m89dvG6RlonYDiha27RfFuMVsLzcslX1wck+wAURH8bYcJkEUG w4gkP7eo7a6zdovboTLsmB/6dhIVKU4LAXx8iX7DpZU+tj94WMVbpjqtlfZ02M4Rp/1yd09sx ai1RtLtC/jsQzZ2OnnNnhD+13vWKdGzmqWoOnkrs3zLusiIRUkZm+tdOZxLc9NHNeNWu1VCt6 t6rmLScAD6PPDpaNi7kyUM9qKdAX6HHPTw4R+cqPDNOnPWYciGUh9bF7Kn2bHF9SAVay0TBRe Wq8F60mLVWLBB2yUUDIyPqQgj3wdycJo08PClj8BkIj4Z65FLjxghWcqkG1L0tHK3aCpC92NG JkEOyMj3kPnmOu9fyxWgKbA7jaG7NBZGEE3XhERK4f2uOIXLMB5ifemAQa06NENKOSvc+TTW1 G15fJ0SSTewUD+rjGoxiFdvbjQl3AHiKhFpRGUnXvIfBqVY0a764fivYvPj6yHxIZH465NxXM e0GDuidTiopnlmQHD7E9GoEURT33jIYIUASxFnSIi9vIU= 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