From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 98D0B1FF0EC for ; Sat, 24 Oct 2026 07:25:07 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 6CCE62167A; Sat, 24 Oct 2026 07:24:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1792819484; x=1793424284; darn=lists.proxmox.com; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=x+pLfGOepI2o0ykNPjsLpfTYd7Ya7uuiQFxdtRYLkHQ=; b=WcFD2EhMAGm764rm//U+jAqz7B0NUR7hKN0FPk9RrpiddSPxAxXXk85jVUPqaaneCr iMufToI/PMHKZ9nnqNmgRwa99DPA11ripfIRWAmnaWojvyPiUmgX9zJM6AzzPszMYIoA j2GcRekxdW30QTzarHQFPIPCalOHQo5PJr24lF+XFtz0Oy8/aGPMUOOleAkUHH14UdVC WWNXd8Bk2nH0KtPr6ZnrylnWGhTS6rQoRc/4oO4hPW68xmOh4mzJP58cGy+kzKsvt8/H mjUQ6ohz2ppqOnU2vlq2HZFhOVuNR9sNd1wuXAx/pNc6tARiMRGHMvnc/mUIr5F57ed3 7bUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792819484; x=1793424284; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=x+pLfGOepI2o0ykNPjsLpfTYd7Ya7uuiQFxdtRYLkHQ=; b=J1i2khTeBU8VwriS+m/iQaoCdnIp6kZ0VY809EvboyJ+HXIIIEMsn04zg2U/4rc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id a92af1059eb24-1993f3ed4b1mr2398603c88.32.1792819484332; Fri, 23 Oct 2026 22:24:44 -0700 (PDT) From: =?UTF-8?q?=E7=B5=90=E5=8F=8B?= To: pve-devel@lists.proxmox.com Subject: [PATCH pve-kernel v4 2/2] fix #8027: config: enable CONFIG_HYPERV_VMBUS Date: Sat, 24 Oct 2026 14:24:38 +0900 Message-ID: <20261024052438.1274-3-miagetegorann@gmail.com> X-Mailer: git-send-email 2.56.0.windows.1 In-Reply-To: <20261024052438.1274-1-miagetegorann@gmail.com> References: <20261024052438.1274-1-miagetegorann@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 1.200 Adjusted score from AWL reputation of From: address DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain DMARC_PASS -0.1 DMARC pass policy FREEMAIL_FROM 0.001 Sender email is commonly abused enduser mail provider RCVD_IN_DNSWL_NONE -0.0001 Sender listed at https://www.dnswl.org/, no trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: ZRHM44KQUVX7MVWZ63SSTPAZZG2K6OXS X-Message-ID-Hash: ZRHM44KQUVX7MVWZ63SSTPAZZG2K6OXS X-MailFrom: miagetegorann@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Linux 6.18 split the Hyper-V guest support options: CONFIG_HYPERV became a plain bool covering only the core hypervisor support, and the VMBus bus driver moved to the new tristate CONFIG_HYPERV_VMBUS: -obj-$(CONFIG_HYPERV) += hv_vmbus.o +obj-$(CONFIG_HYPERV_VMBUS) += hv_vmbus.o (upstream 94b04355e639 ("Drivers: hv: Add CONFIG_HYPERV_VMBUS option") and e3ec97c3abaf ("Drivers: hv: Make CONFIG_HYPERV bool")) So the `-e CONFIG_HYPERV` added in ef257cb ("config: enable CONFIG_HYPERV") does not build the VMBus driver into the kernel anymore. CONFIG_HYPERV_VMBUS does default to HYPERV, but the Ubuntu config sets it to 'm' explicitly and olddefconfig keeps that. proxmox-kernel-6.17.13-21-pve accordingly still lists kernel/drivers/hv/hv_vmbus.ko in modules.builtin, while 7.0.2-6-pve and 7.0.14-25-pve ship it as a module. That breaks installing Proxmox VE in a Hyper-V Generation 2 VM, where the storage controller is a VMBus device: VMBus devices only appear in sysfs once hv_vmbus has been probed. The installer initrd collects the list of /sys/devices/**/modalias once, before loading the modules discovered through those aliases. It loads hv_vmbus through the ACPI VMBus node, but never sees the vmbus: aliases of its children. hv_storvsc therefore stays unloaded, no /dev/sr0 shows up and the installation aborts with "no device with valid ISO found". Accordingly the 9.2 ISO fails, while the 9.1 one with its 6.17 kernel works. With hv_vmbus built in again, the VMBus children are already enumerated by the time the initrd runs, so that single modalias scan picks up hv_storvsc on its own. Record in the README why it has to be built in rather than modular. Signed-off-by: 結友 --- README | 5 +++++ debian/rules.d/config-common.opts | 1 + 2 files changed, 6 insertions(+) diff --git a/README b/README index 00564c8..1a16bbb 100644 --- a/README +++ b/README @@ -210,6 +210,11 @@ NOTE: For the exact and current list see debian/rules (PVE_CONFIG_OPTS) - enable INTEL_MEI_WDT=m (to allow disabling via patch) +- enable CONFIG_HYPERV and CONFIG_HYPERV_VMBUS=y + hv_vmbus has to be built in, otherwise VMBus devices are not enumerated in + time for the installer initrd's single modalias scan and installing in a + Hyper-V Generation 2 VM fails to find its storage controller (#8027) + - disable CONFIG_SND_PCM_OSS (enabled by default in Ubuntu, not needed) - switch CONFIG_TRANSPARENT_HUGEPAGE to MADVISE from ALWAYS diff --git a/debian/rules.d/config-common.opts b/debian/rules.d/config-common.opts index 64505b4..56907e5 100644 --- a/debian/rules.d/config-common.opts +++ b/debian/rules.d/config-common.opts @@ -35,6 +35,7 @@ -e CONFIG_MEMCG_SWAP_ENABLED -e CONFIG_MEMCG_V1 -e CONFIG_HYPERV +-e CONFIG_HYPERV_VMBUS -m CONFIG_VFIO_IOMMU_TYPE1 -e CONFIG_VFIO_VIRQFD -m CONFIG_VFIO -- 2.56.0.windows.1