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 D1FFC1FF0AA for ; Tue, 17 Nov 2026 00:50:32 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 9562821685; Tue, 17 Nov 2026 00:50:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1794872999; x=1795477799; 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=BrZqTLIvdnmG8pDJDc3qxb05CWMsRY897Jbzw1+dMgc=; b=RC5GjOMx6lzwLTUTdFDtZRILbYVwyOEjcvPdSA7BojC5yFymRSJ4NE8n2nOTNjo/WJ 5IKivR6wYyVp61gZW9P+B21J1sECIE+LLf2MobBdvz9OdqKGE/bu/ZZWUUofuwLowifU zxZY5ozJ0BIG9muSPlLCs7SJ8lokNhhdxCOOFhfCIvLk+uapRUz/LNiV+XFxXnuefOYs 7/E0eIAaimZtbs+CZKcvkHDflIU32E1YHZBt+Kda5nol9ypsdvUR1eRS3pcbJortRb1p 8BP4+veljaK3eBj+XANvQPASQNKkoSNCxbdRheHoDPkykNvkXF7Y7kC0gquQ30pCcHuE FEMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794872999; x=1795477799; 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=BrZqTLIvdnmG8pDJDc3qxb05CWMsRY897Jbzw1+dMgc=; b=dPUQBMhY9om+lU/A8nR+XjnFo/DE9N8/f4HxgctGsbLkSKppSk450wrojZnUU+072A afXecwXshc5c4lHa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P id 5a478bee46e88-37963376ef2mr12078590eec.2.1794872998757; Mon, 16 Nov 2026 15:49:58 -0800 (PST) From: =?UTF-8?q?=E7=B5=90=E5=8F=8B?= To: pve-devel@lists.proxmox.com Subject: [PATCH pve-kernel v5 2/2] fix #8027: config: enable CONFIG_HYPERV_VMBUS Date: Tue, 17 Nov 2026 08:49:53 +0900 Message-ID: <20261116234953.1476-3-miagetegorann@gmail.com> X-Mailer: git-send-email 2.56.0.windows.4 In-Reply-To: <20261116234953.1476-1-miagetegorann@gmail.com> References: <20261116234953.1476-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 0.480 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: ULQ6FCYNPABMUPKDOCVKZYIBPU5OENPL X-Message-ID-Hash: ULQ6FCYNPABMUPKDOCVKZYIBPU5OENPL 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 d2e1af2..1bba3db 100644 --- a/README +++ b/README @@ -209,6 +209,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.4