From nobody Mon Dec 8 14:30:42 2025 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dQ4CR5TTSz6JsdH for ; Mon, 08 Dec 2025 14:30:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dQ4CQ70ZWz3wPQ for ; Mon, 08 Dec 2025 14:30:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765204243; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8Ec8hQbe6qs6gsRbCAmxIZ8LfjohDrIx5V2tD/4Dqis=; b=ioTbfz5A0nMvqd/m9g8PffOw7RPCn1C99nJeqbiam5sLsPzh7USrYQMNQ4i5MEG3JpPV2F KI18YKdi1aEj31Jv/KbjimDBn9fESZarrh7FvQIBgwkw/pFryztF49Y8FsjGnVNelF0+LG qDNOqdqZ/gvT+Hb3xknEJ59/5QxzPTCpkKnK3UF0fjnikuy4aY4NWuHsmflNONfiR3hLlV 5aj01kFSlSkb3gqjL8/wvCPXf1jjV7s4ntL5Pc7tgt/m/k8/+ri50H6MdXVOZoZbbE7w5c vBvIt4reqB4udidqiZeqDSDUv2+JP8nYGI4AlRzcKG9VVkZYBHR89HH09Cpgdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765204243; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8Ec8hQbe6qs6gsRbCAmxIZ8LfjohDrIx5V2tD/4Dqis=; b=rNOeMMVYavO0OOs7jHLpzZ0N1d6mkDCu3dCf9Wuz3a95MXUrZdxQcmH943koMydYbOlkrW SCnU60AEPeOVp6JR8ebHLKTg1q6X+ri4+R5bIBBKr0dpEOTrgQPHxQbPRTXcMNjaPuXJNK kp/AB+SQ1t0MPG/E+nxo9x2hPO9dlRa2Bz2sU36dE/geDgRJuwNBXWlVUmzubg79W7xjcb AEmeN8dqOJkpvA0bdYublNEFR4M5NbgmfyHT4hGFE6dVcbVlaBTKc1Ek4DQBH1hU2U878O nRFG+FTv9FnrS8nTSBDI17yPIfN/f4vFbdekYLlaAicsd96nfuHwcyoucoVlvQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765204243; a=rsa-sha256; cv=none; b=iOtcBqrLN1YV2t/0QdCStaPgEEMlURd4JR9Ky40ZD30XRQuoS/BtdXbHxI01/tlcfFtGq2 h/dAMsdomDaphEGM3HPLKcI0EdwiM95d72ymKoYbNtk0INJ6k2vg+IyyG/QJHc8CiqywMQ I99nkskIpZ//gXqsOEuKUREngeBTOKxw4M1BLHgu24gwGQWcgDQMncxfCcM5LGI1iipL96 Z0j3ljcyEMhtqvAZkBQFAk1X3teXBWKMOrz2eVEXegQtqgSJkjp9Y3C1oCs19tukc+74H/ O03uligpxjr8xxsih7Rw3Q5bbm7LHkIqBc30KmwnH8Nyx89Dhs0XaLM5ymtLEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dQ4CQ6b8wz1P4 for ; Mon, 08 Dec 2025 14:30:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5B8EUgJ5024106 for ; Mon, 8 Dec 2025 14:30:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5B8EUgSj024105 for virtualization@FreeBSD.org; Mon, 8 Dec 2025 14:30:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 268794] Simultaneous vcpu_lock_all() and vm_handle_rendezvous() can deadlock vmm Date: Mon, 08 Dec 2025 14:30:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: bhyve X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: markj@FreeBSD.org X-Bugzilla-Flags: mfc-stable15+ mfc-stable14+ X-Bugzilla-Changed-Fields: flagtypes.name assigned_to Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268794 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |mfc-stable15+, | |mfc-stable14+ Assignee|virtualization@FreeBSD.org |markj@FreeBSD.org --- Comment #21 from Mark Johnston --- (In reply to Andrey Lanin from comment #20) Yes, unfortunately this patch didn't make it in time for 15.0-RELEASE. The patch is in stable/15 and stable/14 so will arrive in the next releases on those branches. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Dec 8 21:11:22 2025 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dQF5p0gzfz6KNxG for ; Mon, 08 Dec 2025 21:11:26 +0000 (UTC) (envelope-from jbwlists@hilltopgroup.com) Received: from mail.nova.hilltopgroup.com (nova.hilltopgroup.com [66.135.8.57]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4dQF5m72PNz44q3 for ; Mon, 08 Dec 2025 21:11:24 +0000 (UTC) (envelope-from jbwlists@hilltopgroup.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hilltopgroup.com header.s=mail header.b=oxP7qPSu; dmarc=pass (policy=reject) header.from=hilltopgroup.com; spf=pass (mx1.freebsd.org: domain of jbwlists@hilltopgroup.com designates 66.135.8.57 as permitted sender) smtp.mailfrom=jbwlists@hilltopgroup.com Received: from mail.relativity.hilltopgroup.com (unknown [104.185.205.155]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mail.nova.hilltopgroup.com (Postfix) with ESMTPS id 8F73E1ADA for ; Mon, 08 Dec 2025 16:11:24 -0500 (EST) Received: from [192.168.8.200] (unknown [104.185.205.155]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jbwlists@hilltopgroup.com) by mail.relativity.hilltopgroup.com (Postfix) with ESMTPSA id 4741C70190 for ; Mon, 08 Dec 2025 16:11:23 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hilltopgroup.com; s=mail; t=1765228283; bh=4mebqY9aAcU3neI+q7AyYdZJYpeiYkIc63MK/rzd1Xs=; h=Date:To:From:Subject; b=oxP7qPSu/GCdXN5cnpURXxWJzbOERzYowhcIZG9SrYKdomKTiJt4cO3Ur7xCf9PHy Nd3Rt3RP3PgLD8Fzez4VOjtzQaYX1Py+1uFDbKgCpA7o2RVRT+pAi/wv8GSG3pYfPG all4qG+cR06gWo24AmxDI7L1tTFugmcmSQMkZcHw= Content-Type: multipart/alternative; boundary="------------UB0O0E609QdCfDIGnI7dYCBs" Message-ID: <783f03ff-623e-4ecc-9e37-167fc2f19826@hilltopgroup.com> Date: Mon, 8 Dec 2025 16:11:22 -0500 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: freebsd-virtualization@freebsd.org From: Joseph Ward Content-Language: en-US Subject: Host system crash - bhyve pci passthrough X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.69 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; HFILTER_HELO_IP_A(1.00)[mail.nova.hilltopgroup.com]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.990]; DMARC_POLICY_ALLOW(-0.50)[hilltopgroup.com,reject]; HFILTER_HELO_NORES_A_OR_MX(0.30)[mail.nova.hilltopgroup.com]; R_DKIM_ALLOW(-0.20)[hilltopgroup.com:s=mail]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:20473, ipnet:66.135.0.0/19, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; DKIM_TRACE(0.00)[hilltopgroup.com:+] X-Rspamd-Queue-Id: 4dQF5m72PNz44q3 This is a multi-part message in MIME format. --------------UB0O0E609QdCfDIGnI7dYCBs Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit I'm running FreeBSD 14.3-RELEASE-p6 on a Supermicro H11SSL motherboard with an EPYC 7551 32-core CPU. This system runs 2 guests under bhyve, both with pci passthough: 1. A FreeBSD system running off of a physical disk (disk0_name="/dev/ada1", disk0_dev="custom") and 2 LSI HBAs passed through with pci passthrough for large amounts of storage. 2. A Linux system running off a zvol on the host with a Google Coral Edge TPU passed through. VM #2 streams approximately 10MiB/s across the virtual network to VM #1 for storage over NFS. With the default FreeBSD settings, the host will lock within a couple of minutes after VM #2 boots (and sometimes during the Linux boot phase).  A error that appears on the console is: swap_pager: indefinite wait buffer: bufobj: 0, blkno: 23943, size: 28672  (the blkno and size change of course) When this happens, the system is completely unresponsive, and the Linux VM is locked as well.  Sometimes I can bring it back by shutting down VM #1 which usually remains responsive for a while, but eventually it will also freeze. Without PCI passthrough, there is no crash. I've tried many things, but one config element that does seem to delay (for up to several days) the freeze has been setting vfs.zfs.vdev.max_active=600 in /boot/loader.conf. Memory usage remains low before a lockup, a tiny fraction of swap is used, iostat doesn't show unusual volume, and there's plenty of idle CPU. I'd love to be able to identify what's actually happening so that I could either address it via config changes or to file a defect, but I'm unable to find any metrics that are increasing, or any other way to trace the issue. Does anyone either have an idea about what's going on, or know some relevant metrics/traces that would help in IDing the issue? Thanks in advance, Joseph --------------UB0O0E609QdCfDIGnI7dYCBs Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

I'm running FreeBSD 14.3-RELEASE-p6 on a Supermicro H11SSL motherboard with an EPYC 7551 32-core CPU.

This system runs 2 guests under bhyve, both with pci passthough: 

  1. A FreeBSD system running off of a physical disk (disk0_name="/dev/ada1", disk0_dev="custom") and 2 LSI HBAs passed through with pci passthrough for large amounts of storage.
  2. A Linux system running off a zvol on the host with a Google Coral Edge TPU passed through.

VM #2 streams approximately 10MiB/s across the virtual network to VM #1 for storage over NFS.


With the default FreeBSD settings, the host will lock within a couple of minutes after VM #2 boots (and sometimes during the Linux boot phase).  A error that appears on the console is:  

swap_pager: indefinite wait buffer: bufobj: 0, blkno: 23943, size: 28672  (the blkno and size change of course)

When this happens, the system is completely unresponsive, and the Linux VM is locked as well.  Sometimes I can bring it back by shutting down VM #1 which usually remains responsive for a while, but eventually it will also freeze.

Without PCI passthrough, there is no crash. 


I've tried many things, but one config element that does seem to delay (for up to several days) the freeze has been setting  vfs.zfs.vdev.max_active=600 in /boot/loader.conf.

Memory usage remains low before a lockup, a tiny fraction of swap is used, iostat doesn't show unusual volume, and there's plenty of idle CPU.

I'd love to be able to identify what's actually happening so that I could either address it via config changes or to file a defect, but I'm unable to find any metrics that are increasing, or any other way to trace the issue.

Does anyone either have an idea about what's going on, or know some relevant metrics/traces that would help in IDing the issue?

Thanks in advance,


Joseph

--------------UB0O0E609QdCfDIGnI7dYCBs-- From nobody Tue Dec 9 19:49:18 2025 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dQqDh2cwBz6Jhlq for ; Tue, 09 Dec 2025 19:49:24 +0000 (UTC) (envelope-from taro@desudesu.org) Received: from desudesu.org (desudesu.org [5.9.28.141]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4dQqDg6WXRz3rXv for ; Tue, 09 Dec 2025 19:49:23 +0000 (UTC) (envelope-from taro@desudesu.org) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of taro@desudesu.org designates 5.9.28.141 as permitted sender) smtp.mailfrom=taro@desudesu.org Date: Tue, 9 Dec 2025 11:49:18 -0800 From: Taro To: freebsd-virtualization@freebsd.org Subject: [vmm] patch for nvidia pci passthru on releng/15 Message-ID: <20251209114918.2212e7b4@blade> Content-Type: multipart/mixed; boundary="MP_/Hn1kj2w2sXOdhLOwYgW0Cmd" X-Spamd-Bar: / X-Spamd-Result: default: False [-0.68 / 15.00]; MISSING_MIME_VERSION(2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.98)[-0.984]; MID_RHS_NOT_FQDN(0.50)[]; R_SPF_ALLOW(-0.20)[+mx:c]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[multipart/mixed,text/plain,text/x-patch]; ARC_NA(0.00)[]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:24940, ipnet:5.9.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+,1:+,2:+]; FROM_HAS_DN(0.00)[]; R_DKIM_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org]; DMARC_NA(0.00)[desudesu.org]; HAS_ATTACHMENT(0.00)[] X-Rspamd-Queue-Id: 4dQqDg6WXRz3rXv List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org --MP_/Hn1kj2w2sXOdhLOwYgW0Cmd Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello! When I updated from 14.3 to 15.0, my nvidia 5090 passthru to an Ubuntu guest broke (nvidia-smi on the guest returns "no devices"). Emitted to the host's dmesg: ivhd0: EVT INTR 0 Status:0x1a EVT Head:0x0 Tail:0x10] [CMD Total 0x42] Tail:0x420, Head:0x420. ivhd0: [Event0: Head:0x0 Tail:0x10] [IO_PAGE_FAULT EVT: devId:0x100 DomId:0x1 Addr:0x1271c0000 0x0] (The Ubuntu guest is configured with 32GB of RAM. I later noted that it works correctly when the value is set less than VM_LOWMEM_LIMIT.) git bisect indicated the first bad commit was 08c7dd2f After some trial and error, I added printfs to vm_mmap_memseg to see if there was any difference in the working/bad versions, and there was: when splitting a segment mapping, the previous working version would first map the higher, then the lower. The broken version swapped the ordering: ## WORKING ## vmm: mmap{gpa=4294967296, segid=0, segoff=4294967296, len=31138512896} vmm: mmap{gpa=0, segid=0, segoff=0, len=3221225472} vmm: mmap{gpa=4291313664, segid=8, segoff=13123584, len=3653632} vmm: mmap{gpa=4278190080, segid=8, segoff=0, len=4096} vmm: mmap{gpa=3288334336, segid=9, segoff=0, len=33554432} ## BROKEN ## vmm: mmap{gpa=0, segid=0, segoff=0, len=3221225472} vmm: mmap{gpa=4294967296, segid=0, segoff=3221225472, len=31138512896} vmm: mmap{gpa=4291313664, segid=8, segoff=13123584, len=3653632} vmm: mmap{gpa=4278190080, segid=8, segoff=0, len=4096} vmm: mmap{gpa=3288334336, segid=9, segoff=0, len=33554432} Putting the ordering back (patch attached) fixes the problem for me. I don't know why. I do note that the segoff is also different between working/broken, but am trying not to think about it. I am a humble web programmer, lost and afraid. Thanks! --MP_/Hn1kj2w2sXOdhLOwYgW0Cmd Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=nvidia-passthru-fix.patch diff --git a/lib/libvmmapi/vmmapi.c b/lib/libvmmapi/vmmapi.c index 77f0f8f5c58..a86b444b642 100644 --- a/lib/libvmmapi/vmmapi.c +++ b/lib/libvmmapi/vmmapi.c @@ -562,18 +562,20 @@ vm_setup_memory_domains(struct vmctx *ctx, enum vm_mmap_style vms, if (gpa <= VM_LOWMEM_LIMIT && gpa + dom->size > VM_LOWMEM_LIMIT) { low_len = VM_LOWMEM_LIMIT - gpa; + /* Map remainder first */ + error = map_memory_segment(ctx, segid, VM_HIGHMEM_BASE, + dom->size - low_len, low_len, baseaddr); + if (error) + return (error); + /* Then map lower segment */ error = map_memory_segment(ctx, segid, gpa, low_len, 0, baseaddr); if (error) return (error); + /* Update vars to post-remainder setup */ ctx->lowmem_size = VM_LOWMEM_LIMIT; - /* Map the remainder. */ gpa = VM_HIGHMEM_BASE; len = dom->size - low_len; - error = map_memory_segment(ctx, segid, gpa, len, - low_len, baseaddr); - if (error) - return (error); } else { len = dom->size; error = map_memory_segment(ctx, segid, gpa, len, 0, --MP_/Hn1kj2w2sXOdhLOwYgW0Cmd-- From nobody Wed Dec 10 08:01:36 2025 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dR7TX2Xpdz6K8QJ for ; Wed, 10 Dec 2025 08:01:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dR7TX1zhrz49fw for ; Wed, 10 Dec 2025 08:01:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765353696; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SBd8K+onyDknjej//wfasWF22y9XEqhtcw8hqB5euBg=; b=Gh6kZGU/Vix/c5i1CUs+NLxft+UqX9igTR/ZDhpHH3n0LqrJXkaWKsBpRqauDiqMB3eEa6 c4tL4oFWhL2pumwpQNG79jxFSNWPmK4aTdbdbb2A5K5Hv23Sp4b+zQ91xVHm7TFzq3vHiK b3GvsAhknODmtRb13jhRvrk0vr0hw9E+K7G/0dGH/byw39W8vr5KiC05LZBr26ogo2eLJ/ 78OqeildBuHMoWVe94acu3QFuIA9zIDnYWTvjmTvMt0+TF/9X3sswWKCbos0jnY9PGAb8x E+X2k0zLAV1caQQl95bxlR3l6I7QTEdTPpuSpsUK/ag0sEnCjpKKuvKcRw+nww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765353696; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SBd8K+onyDknjej//wfasWF22y9XEqhtcw8hqB5euBg=; b=mI9M6WQtxKdGUXEDReaA5qEBYfZhPZGqohg804SLGeEIzjBdL9A7cTb1Z4OzYEUEDXpYmt D43eRhPTvse1Fb+e0AplKLToZOpmrUFX2oMdCTXjBlWCfTs7eFDKh44fP7xnrjzimOLI9s 2GHI/FZIChAGpiOK+tDkEXskq5PJEcoZAQcVppX5JnDlMu8eGu43T5b9Gn2/ug3VBWb4j+ swjMr7g6aG3hFN7/uAuugdMN2FUXzMRz+iulSlmlO5gao4JqsEK3tvdraSdBWapk4Zm1qC gUur2Y+7vASYewCAgwq1zKLqwtoOVGDgFNxZI1Hq6L1LECfLOjlFov8v6GR3ew== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765353696; a=rsa-sha256; cv=none; b=iHNvQEhn2m6bG6iL0/WylFww3+CJYmP+a5aU32MPxbWXa2EeMOTSZTDkj8wccf0s+mB3Tu QkhCYlHweIfAtOR/2U2mgHnswEa8HwGbsT0cuzGYjvAz6n976efix9/opYqDDbdVIfb4QJ iMPcKXuBLRJn59dJF2dbo2CJNi59vBIWtTxBeTBMKB3N+0CvDNjVf9jYEldiJGHcBBhHef PeWbPNoN2LLGlh8cwEsK4V1SYaiFSor3zgcSQlTgp8k/4NyFuXmSx+zr9LHogtxh4CWKnG 7t4De20CRIMXS4chTfpOGlE2O3jmJHy96htgQyOA4Y2QurRh2vL5bFRu80tEDg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dR7TX1bVyzcpJ for ; Wed, 10 Dec 2025 08:01:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5BA81aWb090067 for ; Wed, 10 Dec 2025 08:01:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BA81aRf090065 for virtualization@FreeBSD.org; Wed, 10 Dec 2025 08:01:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 290920] FreeBSD 15 Regression: BHyve PCI Passthrough Broken on 15-STABLE (No GSI/Interrupt Remapping Failure) Date: Wed, 10 Dec 2025 08:01:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-STABLE X-Bugzilla-Keywords: regression, uefi X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: martin.larsson2@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290920 --- Comment #17 from martin.larsson2@gmail.com --- just FYI, the patch from https://marc.info/?l=3Dfreebsd-virtualization&m=3D176531257403805&w=3D2 wor= ked for me. HASS(home assistant linux) usb over pci passthrough works again --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Dec 10 15:08:43 2025 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dRJyQ70zLz6Kjm0 for ; Wed, 10 Dec 2025 15:08:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dRJyQ43P9z3TMV for ; Wed, 10 Dec 2025 15:08:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765379326; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=w/yH6uKnTZgEngJXbC4mJByujr/ANLwxXTE68BykU94=; b=IWx7Mmi1xreKv0DneSB+7TLTU9qzJVzIElw3H+aY7qca3cCQzR6sSK5wXt23WhYb1g537g cWac86b9d8QyGGyKlKXgeywDW/4X+nZdWJT3d63FGxOXH/bDZeTEVfdUkb/r2EjIcDJqcg usv/IAOINwizX9s20GnCsK64uDm2B++V5RHCKeMawLh85Q5tttdN7Rx3NkzZIgk9x8D4KM P4N1z4gMLsAQ81peYXcrqL7IUE5TQ/tpG7BZikwYr4dFQAxye/hDZTEK9hZ7kvPKdB9X7i zxGUAr+YN3eHe8C9wxlxrwl4ioJZb8QyPItrwzWCVl0aLMst5a1A0NKRVcbYQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765379326; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=w/yH6uKnTZgEngJXbC4mJByujr/ANLwxXTE68BykU94=; b=DHuIwoaxjyTxc2XttLyvG7uH4GWG94VxSK3mooykNS89m+w3JytfQQJviPPmakjwEwiSjW Oyd3P5nnX7e+XBifTSqwLdGfSQb1vcmIOJTFDVul0CUY0Vn7Cn1+51G/APvDwwJf0t17ji V07LIUj85ZeInNQ1dXRVSeNs2kKc7cedgrub37j7Z1R2DqVxVxQ+KyCGAKBke4nFcXeOZr KpKXkdMJFIz515OQctOmYa7AqkRpgJ42voAjFQ0r7/L9KcrMNfaDV6nDUc1km3x4PO6/m+ jJip/JVsRLhjHMKBmc7Vd7MFJNWnPLMhU7fV5qHDffanLCOSzTEUsScuvK1dnA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765379326; a=rsa-sha256; cv=none; b=JV3J4/KRU3w4pvLsdsXVtTuS/FwbL7wnI6aBgGzEqokn9SnOFMzkLgw6193UnixypTP2SQ oyJMQRPJU6Oz7Vk01F7v0XmcZgZ8NOeoZ3xS6GIW4wfc5AfyqErME7fiJBjrZfW1OiI43o qnjvHanzxnhMGriFouIOrQaKucgrc3v6IZcCwgx4A5RFl7brSwUj/w8eN1AJhPoGPBeQOb yXEep+AArW6LycZSyCnh12athRcRKNl4fuhJvuRB8+E9eu8NpAZ3CiDlSfR4JOzzN/Bh09 KojcKt/t/6rXhCaLPLlIRIeifJCMWE8SslqJDjlVp4pYyE4GUUDKvbLQcT4afw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dRJyQ2WKlzqlT for ; Wed, 10 Dec 2025 15:08:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5BAF8k8Y059109 for ; Wed, 10 Dec 2025 15:08:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BAF8kbK059108 for virtualization@FreeBSD.org; Wed, 10 Dec 2025 15:08:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 290920] FreeBSD 15 Regression: BHyve PCI Passthrough Broken on 15-STABLE (No GSI/Interrupt Remapping Failure) Date: Wed, 10 Dec 2025 15:08:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-STABLE X-Bugzilla-Keywords: regression, uefi X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jhb@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc bug_status Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290920 John Baldwin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bnovkov@FreeBSD.org, | |markj@FreeBSD.org Status|New |Open --- Comment #18 from John Baldwin --- (In reply to martin.larsson2 from comment #17) Thanks for this detail. I've added the author of the commit, but I'm not s= ure yet if we want to just restore the ordering or if we need to fix the kernel side to not care about the ordering. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Dec 10 17:26:16 2025 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dRN1726pQz6KtQ6 for ; Wed, 10 Dec 2025 17:26:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dRN165hkrz3kdZ for ; Wed, 10 Dec 2025 17:26:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765387578; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WbIzG3DbsOTeiEay1bp75yzEWXfhwwhu1L+Mw762fGc=; b=ucXpCsxxCQCAYre+mGJdM1ZKIr23leHmd1E9ymKlgit0oe2v4QhsF6aWRRXuvPLIta1jbl opGFSJ+T7aepuw69ezRVgFaNR/6++mRFlJP3J9vCUIUL+2AgfHizhbUlrlKGVuXgyqIDOI loBf+EqRm7NWiqxXrUNobjAGPD4X84HCCzN4bTFqRxmqQXcCI18tW6+lZ/VKsG7cct3+sX BTbcp8UiHZPsAAMFXvusOXXQ+4LqIEuplD0FxGTsP343bChCD7/fnTnSNZV1GkbolfA3ZV 4m0A80etOuVLOyKbYZtTOR4m94d2aqet9Ktd7nbTM94Iy8adOj7vosxY12Y6AA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765387578; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WbIzG3DbsOTeiEay1bp75yzEWXfhwwhu1L+Mw762fGc=; b=LQuFpcSnejK9/6uOTODLacdE8l/q+Ty9o5R1bWphyvL5phK3oepHkfor8vGFQkqrcl0Dib erjyKkH0oBa6KqdlPr0wIEU0RRxS/Jz+MXIMKa+osYdsygyF+O40Di/N3/2jPdkk2XD1Zt deigFlnSSB6Hths3k+h5b1W0/kKo110x5011okjWgoDPsY2Q8JFP2ayiNRk1epMNAAA9b0 l6AHxmiS4ejiT20KDWsnDUcXasRBnjqfqWPdL/o8WHRY/nsl9ENGZejLNAYGD60wMKC8tM jalDiV5SbNB8iTw3AXjGA2geBD6BMzEkj2NQeX30+bHRwz8hME0iVHSMdGKCFA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765387578; a=rsa-sha256; cv=none; b=lZhPVMrtYHT8RC0WitOCXzWWYNhPrRIglPW2fG0e1QZEAxxOU8ye2pP3rWDtd2WFOeN6xv NmCZUpJoBSDIxApvlwCyLIw2thuJQwF2gWGESGFWrXDlRDqkSAlvMnR2vyKNNst0Ie0mWA RAJUNUBprnk7pEeZlzobypArwVK8W8xuMBEe+0Wij2csawIDK7fpwqilznQP/vvDrhDPU0 ZuEzu4FdFJ+d5hzntvAH14/kEs9Ls8z4WCU7tv7oVMby5MXjoE4Qau+RJgth2uzNxWFRDi 5qTXIDyXPrTXYK13NhaXvZ1NWOp0ALJIlaNezY/iPMCANf4yWVHEKexunKd9Yg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dRN1658v2zvZB for ; Wed, 10 Dec 2025 17:26:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5BAHQIJL009260 for ; Wed, 10 Dec 2025 17:26:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BAHQI3t009259 for virtualization@FreeBSD.org; Wed, 10 Dec 2025 17:26:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 290920] FreeBSD 15 Regression: BHyve PCI Passthrough Broken on 15-STABLE (No GSI/Interrupt Remapping Failure) Date: Wed, 10 Dec 2025 17:26:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-STABLE X-Bugzilla-Keywords: regression, uefi X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: kmachine@free.fr X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290920 --- Comment #19 from Emrion --- (In reply to martin.larsson2 from comment #17) Alas, it doesn't work in my case. Once applyed, pfSense hangs on "Configuring Wan interface..." (the pass-thr= ued interface). A ctrl-c puts pfSense in single user mode (?). In a sense, it's worse than without the patch. This patch may help in some configurations, but it's not the solution. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Dec 10 18:11:26 2025 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dRP1D1xYSz6KwY4 for ; Wed, 10 Dec 2025 18:11:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dRP1D0dKgz3phm for ; Wed, 10 Dec 2025 18:11:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765390288; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8GzKipxklzveTl3PbztMvAnPzK4cG4qUsYbE1cKhkKw=; b=IeR0gQZUDZjvLVWgotwOykspCfxq+vGPLoafIMvnryGG4OvP/SHxA06Exz7Q0RyM2/Xag8 b1grkogg670dChwa+yVfQcxEIrf405kO9UJuXWxO3debdkHCjMJFKmp5+d7Z6Io79evocK cyk4V3kfxLQkdFEV0NTDzIeSqH0MNOCUFiPVJ03k1mHun2iQDl2NOjIX+V2w1nCzfp+oiS XKEgZ4I+rRV6if9MQfC/68MruzuAkprQS/189BjUyFe7Y33/fbc06vU8ZOBgWxMp9B9hjp 8CpGODQYDJ4conORYT/HT5R2kW8pYa+XYFI7RPnMJXLO/pIZIP7D5d7suSK5Ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765390288; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8GzKipxklzveTl3PbztMvAnPzK4cG4qUsYbE1cKhkKw=; b=vx41X/VDbHxi2PLddwsRXjSle7tQ98cziot/OlE6X/eJNIuAZnxCkjXwwBA3WVfFroB5Zk nxaqQZANS67S5cb73nu75D6J7JeThOJ03ZIGdTeAs9HH5aC8x1YS3xAa8i+gnD+Qegqrcq S5JuMxSrgQWFPqPa/rJTmiygmLxAy32hpUFx2vFUqaO5tWgma3vqY39MG9KHIE8vnJdk3I /oO691Wq0qZogbdV350sIdAJBl3TzbA4Iimw+5aGsu+El99T7gJ4JLvIdswXaDWSwOIj3k zAiwDWxD8OwADPjD0IzgyXw9hm3i0NCAmFjU6gTClz3EU6naMc12EIZiOKXhwg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765390288; a=rsa-sha256; cv=none; b=nEOn6Q3uKWSb+R2tAqb2XWtMv6WVLvd/4edI2L78T4QFo+EfaVTvsxNzJv/KpaKFnW8/Au SJOzLEgE6zoWQusdmaSK7T+6+TyNdO5mv4HOtvVPzC31TbmeesUd0AoXGcVcJOP2Ms+jVn YpLVXw+KJSwp4JoCWEudWQtIp5Hgo9ONSWrkAMrWRsqs+YEmi53snzrlQc0UhcOOaz19cC D+TOAAhEE5eqkciIw/YdkKXgMSJLr9pEZyvVTxTmEOOVZDoCWnQ5x97Fixvy9r5mo5NWsj 27+lf6qqxdoIhUDhNzWfJjLJrEMnCBxtvNy3athKRMs+8FNek517+dPf/Pq4AA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dRP1D07rQzvvL for ; Wed, 10 Dec 2025 18:11:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5BAIBRMU094668 for ; Wed, 10 Dec 2025 18:11:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BAIBRCT094667 for virtualization@FreeBSD.org; Wed, 10 Dec 2025 18:11:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 290920] FreeBSD 15 Regression: BHyve PCI Passthrough Broken on 15-STABLE (No GSI/Interrupt Remapping Failure) Date: Wed, 10 Dec 2025 18:11:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-STABLE X-Bugzilla-Keywords: regression, uefi X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bnovkov@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290920 --- Comment #20 from Bojan Novkovi=C4=87 --- Created attachment 266072 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D266072&action= =3Dedit Potential segment mapping fix Would you giving this patch a spin? I am not sure if it'll fix the issue but it will definitely help narrow thi= ngs down. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Dec 10 20:22:13 2025 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dRRw9426Rz6JbNx for ; Wed, 10 Dec 2025 20:22:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dRRw93QrXz46lw for ; Wed, 10 Dec 2025 20:22:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765398137; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QJDhoB34JFHdz5ZG4SrPmOLuKVuiaY3yTBAOIzy8FBA=; b=mthUJbCkLDrqULSrsNOGMVcP3xA9s2H0J4GNRnQ5p+R792jxPv4nF7ojR3Z9ZmUFLDjjlR 5LzEzFVQddwTi7GjNRUK9yHwrTx1pq/D9WAPx2gsmrbvHnzeLSmcgvH8J8DBPOLKXeSq2h BpVuDvjgv/wTXMIGp8knrWYuXThqsnTqgX8Oyyd7PfmBx7aO8L4J0DHU1z3smpQLAV/twS qr8vLsVqAi2uDgW+H9+I4x7F+H2pD6ZQwrN4I3Te7pZAC8JzTUrhNvQGmM8qXdEJZbUJMx E0aFw74xTzwnWZkISiG9e8YtmynngOwAjP/9TQBgIis92m8Qk3zpozIhQo/JNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765398137; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QJDhoB34JFHdz5ZG4SrPmOLuKVuiaY3yTBAOIzy8FBA=; b=HAEBtLh+STwtu2DAj2hGUgsOrYt1M9e3oq9liuqOR05vhhikW4MggONwCTqvk63Huz1XRt Nb9ZaBBpqpwmtxVr56/GrovFYcak3dVuCGiyCi2KfrAo7dnJmHArw0p8Kl6ZJa6ahAf9Gh RJyezKrogCajqahoKrLRuWcjZGB4V071PyOeircqV2YoA0LT+uJP2yVBFPwIAdp6A+zJfC bmc49J5BR1gwKTHcQrprtN2fmulkIb/tlB8nnAVPAfLK/GwZjYRz824kVqPp5099Rl5+T4 Gx8aarXojDN3dseuzOsD28wm510+NwvtB8/oFVyjfNyYnXcbKFBY/CuIfvJMJQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765398137; a=rsa-sha256; cv=none; b=E0m08y4S3GgIKIloc015478XQ3x55tUI9YKyEmxEjALlE/jWfqjk5VfxfQJ1nXAPZMP97H sn0H8ZgFRWt6T0Rb1WdyVzznFNYwCBNsECd5EW+CUlvtodiWPon7l/X3s3Oea5cw5mFVKY z+lhm0VxBadPWyQpNY5DHgsW6Axila/WXS65k6TsExb9vr8iOCglwycisufj/Pd0FlyElE +zbdNPKhW/iHn4MiGhr49X28omZjPSMlrMszXf1hpeVip7zhmkyKJcl77cxYNADW7f3tBf tMo2OZnI/ptPVYJbiCaGVJz+yJLwHDlO3iwZYVq+q1Y4C+bblISviTaeQ0unLA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dRRw92rvxz117r for ; Wed, 10 Dec 2025 20:22:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5BAKMHjj036402 for ; Wed, 10 Dec 2025 20:22:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BAKMHk1036401 for virtualization@FreeBSD.org; Wed, 10 Dec 2025 20:22:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 290920] FreeBSD 15 Regression: BHyve PCI Passthrough Broken on 15-STABLE (No GSI/Interrupt Remapping Failure) Date: Wed, 10 Dec 2025 20:22:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-STABLE X-Bugzilla-Keywords: regression, uefi X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: kmachine@free.fr X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290920 --- Comment #21 from Emrion --- (In reply to Bojan Novkovi=C4=87 from comment #20) Your patch works in the sense that the VM doesn't hang anymore. However, I have the same problem as before. Sometimes the VM can access to = the network and sometimes not. I also tried a libvmmapi version with your commits 08c7dd2 and a4197ea reverted: same result. I retried under 14.3-RELEASE and there is no trouble, that works 100% of the time. So, I think that my problem is different, but related to changes in 15.0-RELEASE concerning virtualisation with bhyve. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Dec 11 07:01:57 2025 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dRk6F5K25z6KTHl for ; Thu, 11 Dec 2025 07:01:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dRk6F3BLGz3PB5 for ; Thu, 11 Dec 2025 07:01:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765436517; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Fsi3YpOt55futuziEAdvKPw45+IVNHqMFErMVmFbP2M=; b=DAKtL5+/u11cPGfS6fXcaFUUYrPbrWXA2y8oT0v/iCecqafvWOabd60cXCDRGkFHXVQb5B A9DnP8y6izI5YYcE6X/h3QvTS6B/eCpqxDD2DM/gfLNgkJaay3sY5KV4o5SOJRjpGKSbrB mO/5yS+l2IKEM8oE6cFKbdyaLkA0SjLxLYh+jM25QWeUeMl4JVTpAfGwR8KtNZg2127hqA Rx5LJn6Urql83OrhJQu7qdfZc3201EjMpjPmTerJ2riyfGHir1tnHIluL+a710YpeyPuzM Wq5jzDBp2UNqS9ytja9IWPtjLB9qEaK3W4gWde4y/FuFRATF4BQHuGzrPEfkOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765436517; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Fsi3YpOt55futuziEAdvKPw45+IVNHqMFErMVmFbP2M=; b=xyeHUgMonCk8MJIhb+upNzZ/PU3l1It+hkv4vhcDuyJRHm7opMNYSG2zaUYQ4qcnyGDBZG 06VNO3UGnlqGR39C5iSYOtUboOw2wFurr96/eQEaTrAwS++A7TaS+ABt0IXBEXKJj+cIfg qzszhV8rQrrc/bFMC5ZhjuTSSpvr+VvoNyBF7c9Vc8lALKE4qp/f0d3A4iV56oqU5wuhc2 zh2BtheGn0BIUPtIx63zE4v/xXlc/fDvDpXXiDt7KchG2K5+Jl7SPZy5o/61MJcLx402Cu EjCXH6MssJ8TvritEH1o9I9pYYN8eRGtWia+gBEIznQ4t9hCydXNB2tJQ63nLg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765436517; a=rsa-sha256; cv=none; b=fay6p93ie7mlSnBgbFvZ0rD+KcWNGTLo136uhJYQyyxvxfv7vPM5x0UYG/jUiE4dKSkcgk FkgvHK+okKqg+5ixQ5Kc0+kTKYWR43cc1vGBYpaEL0Us+4hvSqkdbEvxL+r9hjCB4fyHq3 0T7YTkvLPbZvdBOMkHr7JxjW6/qQIplzycIvzKkJBVzt6IyIxtna0hDeeVijwAPA53PhGc j9ppB5IIM503GIkmE0GNr6hEtTqv6ndhHhEKy1MpchWThKyhUX/OUNn03LXdHrmouI7OPR hqTkodmbFiRHG/PmOcIsnhYQSUYs5iZ+bIwxJdole7MhXEAbu350Kq7x97O3wQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dRk6F2YRYz4yl for ; Thu, 11 Dec 2025 07:01:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5BB71v2Y071159 for ; Thu, 11 Dec 2025 07:01:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BB71vrA071140 for virtualization@FreeBSD.org; Thu, 11 Dec 2025 07:01:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 290920] FreeBSD 15 Regression: BHyve PCI Passthrough Broken on 15-STABLE (No GSI/Interrupt Remapping Failure) Date: Thu, 11 Dec 2025 07:01:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-STABLE X-Bugzilla-Keywords: regression, uefi X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: dan@sunsaturn.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290920 --- Comment #22 from dan@sunsaturn.com --- (In reply to martin.larsson2 from comment #17) Thanks Martin, I applied patch to FreeBSD 15 stable, now everything works again, home assistant passthroughs for USB, corvin for nvidia card. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Dec 11 08:35:53 2025 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dRmBg0hPqz6KbM1 for ; Thu, 11 Dec 2025 08:35:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dRmBf70zxz3Yjv for ; Thu, 11 Dec 2025 08:35:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765442155; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EhK0pXjl7E3+6Fe9vx+ggDBwoCmRhHYYAkJbP3/eXPE=; b=miGrcmWrrDWq+NI21BJcULUa5O3EDD9t7MvaChbkDkr4SsDaGcdyWVVSGLby3TTeqMCcGq 82B8P/cPwpr+KMNoEgRt9WJW8Tg+z7UpADCy/JMOQlcUnf6YtV3u74oFRSE4+HwjkGmThy Ar3X5tKDJE80tqPDt7tQB//yG9VBKi7mzdtWwzi9eQScSJOWWd84+wIvfIz/mZF270WC84 K81zDA6upO3GajY2zun/Ej9btF+lXADvppaxb/AyxJV5RuCnMO0H7LF84Lbgl82NGTVn/l ro2S5vCld+2T5jEeMJOY/lN/p+Bkq18q13sm1oiHr24IhvNi+xSaGg+8ybdMyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765442155; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EhK0pXjl7E3+6Fe9vx+ggDBwoCmRhHYYAkJbP3/eXPE=; b=ZLCReIfEq8yqxiaHi3IxGiRH37YbVOVyTMR+LqKwakmEVT85B2K3acqRXRUsXlIJ2a0td6 KGIUgqMCdsNtyMkMYhCoeteIbX97dQXMZ2kE14z/HNEmfGHXLtg2mK336MLZKiCd8G1G+q DOOnABYVSMOKRD4B12CkZUZ7uIQDEJZo8ZMArvl3DfVwib4jsCzy2wBT6UP4059Efxax7D AfOByAgLOpamOKF2ENwHKkC705rq8XtQpG2s9+G80EUzee6rg5Pc4dqYWwebA/O/JNyyZ3 ypVmK2ZonBNlL9K/OhPOMyV0n6UzCuMKePxCS88wynZ/iZle0LYJ5i+o0WMkxQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765442155; a=rsa-sha256; cv=none; b=vPcHTnFo0olmdJSNL6SNKRMk/EHKGta4gwhwfKxdv6JoIXp+avPFpiqN1tuPpxWS2cSD7v 5eOvipAC8JVTKy8eAguTwyMbEUP1c9tAGbjS2UlWF8+Au/d64F6AxdhT3b7kC0QHxj0Oo9 Hf7qHrsa5w9G+HtgbxOyEuISctcSg4fNEXJULL8AqxnA/j8KPVaumbkPvvGVWJ/JtGWTdO qAKGcz1UeoNZzpbkB2Hs4ZsssqX6jYHMNiqCEmYbuTPcWcmCLfsUfHOeNb8Z7sEQe96xpW b3zBDJOB0wcbZBbDTfBhx262w49Z5wv6dv0Oh4t/nJoNyrZNyTn7z68Tvq7jEQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dRmBf6cpdz7cq for ; Thu, 11 Dec 2025 08:35:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5BB8ZsX3047625 for ; Thu, 11 Dec 2025 08:35:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BB8ZshJ047624 for virtualization@FreeBSD.org; Thu, 11 Dec 2025 08:35:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 290920] FreeBSD 15 Regression: BHyve PCI Passthrough Broken on 15-STABLE (No GSI/Interrupt Remapping Failure) Date: Thu, 11 Dec 2025 08:35:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-STABLE X-Bugzilla-Keywords: regression, uefi X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: dan@sunsaturn.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290920 --- Comment #23 from dan@sunsaturn.com --- (In reply to Bojan Novkovi=C4=87 from comment #20) I appreciate you sending the patch. I tested it by first reverting my local vmmapi.c to the unpatched original, then rebuilding both libvmmapi and bhyv= e to ensure a fresh link: Test Procedure: cd /usr/src/lib/libvmmapi make clean cp vmmapi.c.old vmmapi.c # Revert to unpatched original patch -p1 -d /usr/src < /root/freebsd-usb2.patch # Apply your patch make && make install cd /usr/src/usr.sbin/bhyve make clean make && make install I have completed testing of your proposed patch for libvmmapi.c (using GPA = as offset). The testing confirms that the ordering of memory segment mapping remains the critical factor for my environment, and the proposed GPA-based offset patch introduces a new issue. TEST RESULTS SUMMARY: 1. Your Patch (GPA Offset applied): - VM Boots: Yes - Passthrough Works: No - Guest Error Observed: PCI INT A: no GSI (interrupt routing failure) 2. Original Patch (High -> Low Ordering re-applied for verification): - VM Boots: Yes - Passthrough Works: Yes (Full functionality restored for GPU and USB) CONCLUSION: The original patch that forces the High Memory segment to be mapped before = the Low Memory segment successfully resolves the passthrough issue on my updated 15.0 system. The failure of the GPA-based patch to correctly set up the PCI interrupt routing (PCI INT A: no GSI) suggests that the explicit High -> Low ordering= of the map updates is required by the VMM or IOMMU for proper initialization of passthrough devices, overriding any need for the GPA offset correction in t= his configuration. I will continue using the ordering patch for now. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Dec 11 17:09:20 2025 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dRzb44zjHz6K3m0 for ; Thu, 11 Dec 2025 17:09:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dRzb43jxFz3xjt for ; Thu, 11 Dec 2025 17:09:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765472960; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yOVTYGwZ/QEPhQxOsshG8nq0SmGfVliZvvsDlFxb1Bk=; b=izg9kKvvB4qMzc973rjmzg7HkHEauokwgS4DsFYKm14Ho31lZGntC9M7ibz1Dq6B98jVIV qDQdA8we4chiAYwSmhRKfRhkYgcCQ7Se6+HGLgbHtWq+qdByUV6isJfsMiZzbyqNQtUJoP NQY1/M+XRb02tRaoH9JX10p5FXg/MfimVSoO9wZQ57/aT1ShdJsI9O19SZ/d9A7pS1/PpA 37ZIPhT6kjFWuEqDLnzwv7pMe90/kH1lXaAEfGFVUH4FrMVzVyK1v+BJc0rPllr94QpDan TfrZoIxZvNmrwJ6BS1CYkSuRXZgDVrknGHiAzDHURU1kN5QLGwpfxo1Kf/AySQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765472960; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yOVTYGwZ/QEPhQxOsshG8nq0SmGfVliZvvsDlFxb1Bk=; b=nYSwLAlsNTUjTts3zjrO7zKMTC/UedmI/hmY0shubt5b4C+DXxDRlWp0V47OWG4E8x4B2/ zFlfnspY07mfcDloXP7LKy/V+zJaLY/GkNEJI6rn1y4jofQmxOkklLu3RhhyQnWLVQ852w IICUm+kpUPfqv71LFeUessaVkX01Hvfu6qkqX5tOr+NX2nWiLHUI3IMEYGZjE9Spb/RTYL rlPMNStWjyY/kfkF7PNA9NN+xwfMxwHCbuw50m013At7NkXjFv8Ins4kii8fXNmZFcfO1j dID/Ip2vw5uc1yxK4tF7NTFJAvKsnXVHBGFfkgqb2PnTncTQ1U9QFYlGcZfGog== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765472960; a=rsa-sha256; cv=none; b=mf6ak4T2Y9BT1XlOXbD6ly6bRImNMbU4xkzc+jcDa3Zx7cKE7+jRcVH9tVKVbK0kbgk00x /ETwkrQz6OoN55GKMTOEvtnJklh/2N0gJ3IjCvEI+LxDNOYcfhF+igjmhV/or7XQ+ewPqM dza0TUr+zokr7o/dtuwfafs/pQu1rZw3R5kPpHjCAC1PSP30ihAZPmnsFJaX8byuBpsrF2 kvgNiDJ1yYL5pdFFtmBrvGvVbURZaOuMUrrql2E8P8SFI6J4EGjTjzUIWrQeo6ceJUWLiq h/jyDG4pKFI+6yXr51B9kHMmfHxVOMhjUhqkvU2NxasUGEX4C4+byj2/K+ayyg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dRzb42rYBzgJ1 for ; Thu, 11 Dec 2025 17:09:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5BBH9K2W044305 for ; Thu, 11 Dec 2025 17:09:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BBH9Kr3044302 for virtualization@FreeBSD.org; Thu, 11 Dec 2025 17:09:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 291577] 15.0-RELEASE install panic on Hyper-V Generation 2 Virtual Machine (2+ vCPUs) Date: Thu, 11 Dec 2025 17:09:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords assigned_to Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D291577 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |crash Assignee|bugs@FreeBSD.org |virtualization@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Dec 11 20:13:12 2025 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dS3gG2cltz6KHtK for ; Thu, 11 Dec 2025 20:13:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dS3gG1jWpz3T0l for ; Thu, 11 Dec 2025 20:13:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765483994; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tmzazTYO3IAzHekITNKsUmyRGzao7kCHb+6JDVYUXbo=; b=TEr5GyqnHRNMEBfHxhS63xVKbjSJr0/BFSEQbLQ+blyWHhf+QJlzl0EZqmgDqOoX8HJUqA hucXf3i/HKWnahzNzb3btZ7mtPf4EXN7GyALMmZzBnob7Zk1GfVnZwC0Vd51Cbo5N1IqQQ /uqg8x07Bs3LON/bWiv3uU4jAaXqf4NeEHqulkLupyXop/bjv3J2zjx+gNmFSjfrGXJ+Z3 WZ0ZriDG5TLbcevR3bNBBf4gaAgTAm4wN+hCFJ+04YlgDDSBqhv+YjO7UBNMj2g0awSiNA Wt7iq1EkoIqxtHp4ORkgUMrtbARMCAKetxSPsO1Tc2QANzCiIm7mlYrIWQ8QLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765483994; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tmzazTYO3IAzHekITNKsUmyRGzao7kCHb+6JDVYUXbo=; b=gTKMaqrama+qMDcj0dyLU4dhqX7tsdSP05dqn+AiLz6aRF6Td79NszToHdHLppefafJlie LeYpsV6mr3uEm5elmkzEb3DYx9bgHV2Yp1GSnWvwZO4SHCcj7rAQDIBbVs0etfjwK0gH88 gNlCwyYJoiOlVXvdBySIwDV39W5faogzjnuI/XUqmfR6a8Wpt0kD4r6UxsZx5EZ4N2J5+o LNmkUOva3k5hE1roiXsdOb8YJqejJUBpEHduljys4AAN7nzLQmqTMHgf8y1TJoEh+75QpQ XoK+zduW/8ycTuQ9cjtANY1BHyscjXFF7WHpPxKYhUQPPFtLnWEtnHktbQiaYw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765483994; a=rsa-sha256; cv=none; b=XfKDC6Tuh26u0kwvSMQeoU5NhFej3whIxCClCObIrikw1J6zFk57FeZ5bszdRoXq4wMbgP h0C+rBMgFCEc/bKCG5c73i6cFiFo/UxeC022bEJEq8uQbQWgPQuJN78AnyjZ8wGKFuLZPv XFXdC40dpc5Qm3xR5Q3oBo9W/b3Y57qQVz7p9ZFy7eqVSvjP5KMFk3LcICUltO9A3OHp3K ntsiCjjv5FxnjR/rDygP3yGkD3nvCt8fO8GrMTqb3k0vX0zbbDsb18Q2YoprHRLd9MGzCg TNX4aSAWePV6rwBLeQiQkf2ClOM2Y76/ffMJeoq7crmjk5iub0IP6lF7ACEqoQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dS3gG1093zmgf for ; Thu, 11 Dec 2025 20:13:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5BBKDEQw007809 for ; Thu, 11 Dec 2025 20:13:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BBKDESt007808 for virtualization@FreeBSD.org; Thu, 11 Dec 2025 20:13:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 290920] FreeBSD 15 Regression: BHyve PCI Passthrough Broken on 15-STABLE (No GSI/Interrupt Remapping Failure) Date: Thu, 11 Dec 2025 20:13:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-STABLE X-Bugzilla-Keywords: regression, uefi X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: dan@sunsaturn.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290920 --- Comment #24 from dan@sunsaturn.com --- Feel free to submit any other patches for testing, I'll try to run them here locally to get this resolved. Would be nice to get at root cause so ordering does not get broken again for sure. I would really love to see this and corvin patches make it into Release p1 = and appreciate the effort. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Dec 12 18:31:43 2025 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dSdMg58gRz6K4vR for ; Fri, 12 Dec 2025 18:31:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dSdMg4gXJz3JvB for ; Fri, 12 Dec 2025 18:31:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765564303; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=h6+Buh3Jx4ua/AoU0MTW9TvlM6zYmLpPCnQQzqmmHpU=; b=Y0iMbixQECM37PjinAwd7FD0VrKLTBqkoUZLxTp2plQVCaQwnbXUtSNJofKenZTdiy+tZU QB0oxxMRJoRGRmsap3P5Ji96WLrCzI72MOOpnMEwkP7Ogqx97ohYPnSnfdyyt6kIujHFLb 04Oba1KFQEuAYUDtjxUa905buLhlQJ1taKmGOXVLu7o6gu8BAhkUJJNoq/0Dwl78cewW8t GFq3W1F/bJr2daIYsuhJjCCF1oc4eRIAucB8wIxY7KR9b9u9q+ivPqmE5K25cAk4mLsMfx ZQoZA403VwTdF8pvQxTuqoVtM9Oro2sx+pLjJ20raUKPLKJbiP6jx7q8n/Mcew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765564303; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=h6+Buh3Jx4ua/AoU0MTW9TvlM6zYmLpPCnQQzqmmHpU=; b=fF59WfpTCzOoaa+A6nPOxuWAstg6Gn5N+MhpDNAqnRHmAr+w4RESACF9cfVcSKoGNGCw2y c8lnHnc92oi7QxKbuYX9b72wq4sJbunx77e9S5V8LUAESgncDO+zsA90rC7Sn8g7iMghlM oZrqR/2MT5BtKG6v06UX3Vh5kMFfO+WtpqDyDZBnw0+NWUyyLUn8/K9wEPJo1rySh8ohND FIz0YlL7ets5CM1SeBms/4iFQ95k6ahwPKNtxZbzAqeu2vgYbo3OwxDTSdmKA56Y33kob2 pMEiYFPpd/f4kwv77tpS0Tq0TFxiNDs6TNPlQwlMN/OCfded76eqsXwsXc5+UA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765564303; a=rsa-sha256; cv=none; b=yxk+NFJVrdPUADZyTvvuOnsSvfxt0n6lmmUYph6mnKyBWlfrb5T2pOiyeDitNgkMgGJcHC ni3JzCy8VOvoh+xuXrD53kufeJVPKOJaOzbkV0KJwhYSLcmDK/1x0KBsjlRqCCabf7LkEV ZFlFVDRT52YvR8iH9slRNt/APTvRKLxirVviUAgCPpW7OT/O+3IJWPQeeu0wWxYfJEcJf6 x8RkkgVDnnCNVqLi8rCxmK6/IfBJiO2q8SMVMDp/6BiOtsWoSUG+16BQ/3SLXubjQpExXW FeC07YqPSp19Z3Yk+L4i60UVZxrGuzLJ/h6R1TNvekPwmBRcUERnDxPttRIfSg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dSdMg4HPWzCZx for ; Fri, 12 Dec 2025 18:31:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5BCIVhOw050545 for ; Fri, 12 Dec 2025 18:31:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BCIVhVZ050544 for virtualization@FreeBSD.org; Fri, 12 Dec 2025 18:31:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 291616] bhyve: crashes with slirp open networking Date: Fri, 12 Dec 2025 18:31:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: novel@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D291616 Bug ID: 291616 Summary: bhyve: crashes with slirp open networking Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: novel@FreeBSD.org Steps to reproduce: 1. Run a guest. I use Ubuntu Linux for testing: bhyve -c 2 -m 4096 -S -A -I -u -H -P -s 0:0,hostbridge -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -s 1:0,lpc -s 7:0,virtio-blk,/data/img/u buntu2510.img -l com1,stdio -s 8:0,virtio-net,slirp,mac=3D94:06:31:1a:a6:f7= ,open=20 ubuntu2510=20 2. Generate traffic from the guest. I use the following command: while wget https://download.freebsd.org/releases/ISO-IMAGES/15.0/FreeBSD-15.0-RELEASE-= arm64-aarch64-dvd1.iso -O /dev/null; do : ; done bhyve crashes with: thr_kill () at thr_kill.S:4 4 RSYSCALL(thr_kill) /dev/null=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 68%[=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D> ] 2.63G --.-KB/s eta= 3m 13s=20 (gdb) bt #0 thr_kill () at thr_kill.S:4 #1 0x000000080114c934 in __raise (s=3Ds@entry=3D6) at /usr/home/novel/code/freebsd-src/lib/libc/gen/raise.c:48 #2 0x00000008011fe7a9 in abort () at /usr/home/novel/code/freebsd-src/lib/libc/stdlib/abort.c:61 #3 0x000000080112f521 in __assert (func=3D, file=3D, line=3Dline@entry=3D113, failedexpr=3D) at /usr/home/novel/code/freebsd-src/lib/libc/gen/assert.c:47 #4 0x0000000001024f2e in slirp_cb_send_packet (buf=3D, len= =3D1514, param=3D) at /usr/home/novel/code/freebsd-src/usr.sbin/bhyve/slirp/slirp-helper.c:113 #5 0x000000080141ad02 in ?? () from /usr/local/lib/libslirp.so.0 #6 0x0000000801412f7d in ?? () from /usr/local/lib/libslirp.so.0 #7 0x0000000801416366 in ?? () from /usr/local/lib/libslirp.so.0 #8 0x0000000801421197 in ?? () from /usr/local/lib/libslirp.so.0 #9 0x000000080141a718 in slirp_pollfds_poll () from /usr/local/lib/libslirp.so.0 #10 0x0000000001024c73 in slirp_pollfd_loop (priv=3D0x7fffffffe7b0) at /usr/home/novel/code/freebsd-src/usr.sbin/bhyve/slirp/slirp-helper.c:263 #11 main (argc=3D, argv=3D) at /usr/home/novel/code/freebsd-src/usr.sbin/bhyve/slirp/slirp-helper.c:566 (gdb) fr 4 #4 0x0000000001024f2e in slirp_cb_send_packet (buf=3D, len= =3D1514, param=3D) at /usr/home/novel/code/freebsd-src/usr.sbin/bhyve/slirp/slirp-helper.c:113 113 assert((size_t)n =3D=3D len); (gdb) p n $1 =3D 0 (gdb) Host system is: FreeBSD tulp 16.0-CURRENT FreeBSD 16.0-CURRENT #1 main-n282364-69e041521a80: Fri Dec 5 16:24:19 CET 2025=20=20=20=20 novel@tulp:/usr/obj/usr/home/novel/code/freebsd-src/amd64.amd64/sys/TULP am= d64 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Dec 13 15:41:54 2025 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dT9YG3bj9z6Kb9V for ; Sat, 13 Dec 2025 15:41:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dT9YG2yJrz3FX8 for ; Sat, 13 Dec 2025 15:41:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765640514; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HoCJVAvnw1T3Ye1XL94dDZwscOdqTmuYT49e6SoXcaU=; b=M10pm9QqC1WsLSKfqrpY3tEY+F7uDLl1RRbioBAoyUa4v472AULoF7qpJ9NmEaQvJZbB99 20pfK5brkB3ISdOCJfsZOMFvFVr2fOg0nPb/hioDBb5yw5mOzANQKGmMbV8EqvaJFtvng1 P2Nqg05SaTNyeXHWBXWbpbXvdff2toxm+v4IuPHcYEvTUeFiIJ5IemNwhrv9qPSXxLnpLp e0qs9D1rw9Dz5z0V54TapB6ItdNw73MESutr/kZIBs5zNdGEqvqpZadnmUqJpr3MVsgNXp mSDbDRbNHRc6GgseFFrNyw3ISwBL2Um4H1kCfuJzl7dYY50B4Ufyo135S+Ixgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765640514; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HoCJVAvnw1T3Ye1XL94dDZwscOdqTmuYT49e6SoXcaU=; b=ZXUSCLp3zWLFzY2w/N5CNgafheT1L/jk79A2Bvs++4NNLFgVF/vhMJ/VlJ1+Y69ETDmCvM aV36a98Z2S7RAxgPnXZ0XcOdabUICOMRxoQHh2KxIR0L0aly40P4CQ+YmRCjoHdLKOPzAb q5WZlThAUpn5KDPv3Ujudwwl+wp6eSKyWINLCDDAY3hpxmeq3pxmph8OOivXP4fVbi98b5 ZTkZlrrEtdFfuypOL2nKkrYYzfkRJtQTuEynvkbLB22R6BqqylP3nFqmFJ8S3jYu955XRH HmeJ2PuxKzV5eDv1PqakvkqiAl+wHcAnV6+eD1EJ9kjHMjX56+p0VpNYrSj3iA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765640514; a=rsa-sha256; cv=none; b=wxHgwnSaJNaalykz1g1eJhdAmvcAGz4iPnou01h1r/7rzEcpMc7nUvyVhTAm2++40y/acC 4q/0ExMS9USD7O/HEEj+7yuMl/EjbWjEwnLWkLFLEHflaY57exH2mTDK4/g7qS5P1ZD1IG HuWYxMi/dsYTjLmqUqDFmW0DPUFMH2XsLwHJEwfwvq8yn/eMzx54QxBZYJ0IxUySrpGL5W kNPMbO18cW8GnyaloxBdLV2ZJYkywZQLwx01/8uRSleG931Ik65qhleQqy4dUYmFUzjb4J 2Zvk5/OUKXl9TiJq7Bp2YRiCe8DLyV6ErR+8xcR3Gn4oyvTkszS71u6Gpnyncw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dT9YG2QSVz18P6 for ; Sat, 13 Dec 2025 15:41:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5BDFfsgt004962 for ; Sat, 13 Dec 2025 15:41:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BDFfsYn004961 for virtualization@FreeBSD.org; Sat, 13 Dec 2025 15:41:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 291616] bhyve: crashes with slirp open networking Date: Sat, 13 Dec 2025 15:41:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: novel@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: version Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D291616 Roman Bogorodskiy changed: What |Removed |Added ---------------------------------------------------------------------------- Version|16.0-CURRENT |CURRENT --- Comment #1 from Roman Bogorodskiy --- Additional node: commenting out this assert appears to "fix" the issue. At least the wget loop runs for a few hours without issues. With iperf run I get the following result: client$ iperf -c -u -i 1 -P 8 -t 600 -b 100M server: [ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams [ 46] 0.00-600.02 sec 7.32 GBytes 105 Mbits/sec 0.048 ms 2727/5347621 (0.051%) [ 46] 0.00-600.02 sec 7 datagrams received out-of-order [ 47] 0.00-600.02 sec 7.32 GBytes 105 Mbits/sec 0.047 ms 2867/5347593 (0.054%) [ 42] 0.00-600.02 sec 7.32 GBytes 105 Mbits/sec 0.048 ms 3005/5349831 (0.056%) [ 42] 0.00-600.02 sec 4 datagrams received out-of-order [ 44] 0.00-600.02 sec 7.32 GBytes 105 Mbits/sec 0.047 ms 2673/5349876 (0.05%) [ 44] 0.00-600.02 sec 12 datagrams received out-of-order [ 45] 0.00-600.02 sec 7.32 GBytes 105 Mbits/sec 0.048 ms 2777/5349872 (0.052%) [ 45] 0.00-600.02 sec 16 datagrams received out-of-order [ 49] 0.00-600.02 sec 7.32 GBytes 105 Mbits/sec 0.048 ms 3017/5347630 (0.056%) [ 48] 0.00-600.02 sec 7.32 GBytes 105 Mbits/sec 0.048 ms 2795/5347580 (0.052%) [ 48] 0.00-600.02 sec 2 datagrams received out-of-order [ 43] 0.00-600.02 sec 7.32 GBytes 105 Mbits/sec 0.048 ms 2775/5349856 (0.052%) [ 43] 0.00-600.02 sec 4 datagrams received out-of-order [ ID] Interval Transfer Bandwidth [SUM] 0.00-600.02 sec 58.6 GBytes 838 Mbits/sec 22636/42789859 (0.053%) [SUM] 0.00-600.02 sec 45 datagrams received out-of-order On server I also see warnings like: WARN: recvmsg MSG_CTRUNC occured. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Dec 13 15:44:22 2025 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dT9cB0mq2z6KbW3 for ; Sat, 13 Dec 2025 15:44:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dT9cB09wDz3FrK for ; Sat, 13 Dec 2025 15:44:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765640666; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rJW1h79YBXrHl2FJYa9jf49e1c9Xw5QRrGO11r/pYjY=; b=Z9Jy7oyyJPW/LWvId3o7Qznj/hySmRUaOthDjXrI5Btyh72hX4ZxUcaoDbGiXRvrhGpvdS LHZhALJA5VEkUN30rWADEb/KYyTFQGVCS8tDUo/p5vU/Xff+5Muu9tGhnXTa6DkrCWaQRX x/j7OjfC8VAZG3G/BBm7Hhzi3j4jyKXdvotFXzVmGxV0iC4eDywzfI7Yiivde8LVYvi+Oq 4xxpK+T22t6qQS8apXxYxKkukQhl4nj67fnZzrn4zk6TI6thbF/xuEpl1sEI5vmbAEs1IV lhjB+TPNQF2MAwKY4Dd/jX5nYscglkY2xfqeniLxq88iHHNMwlClCTJGRbr2NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765640666; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rJW1h79YBXrHl2FJYa9jf49e1c9Xw5QRrGO11r/pYjY=; b=vWxrZpDlth2PWGOLdlqfP2YgIFXoJvEnOSHYfPqM9J+29/9CAP+9ZWKSpaO5+9uMkpd1un 55JEt8XejQYRaifUGzTusTPF9OpOySBiXpwChaZvXmrOTcdzYM7QE/xzarG093tlNVygWM ekoFusWiPcHI+H8Txt29W7maVzD3ToHsZpZDCtkzLxlZwaOB2cJ1wXcJMd9Pgw5PeqQT6U Yb1R+uaue/mlRMBi99h8dHqiO5JxDQ7iNXdUT8CAUp3tXRrxIBgZncqDkiG5xdADEy6qJo m6vpVTArlkbNZkYOeh64h/JlDfb21v24nYKyceBk8SoIIx5sNiDqQEi74ZMDyw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765640666; a=rsa-sha256; cv=none; b=pSf+W75kgpsSrZtYwoU51mw/NR+7hM0Y/VEiZHD0ECGIPNVqKfrPr69H96qjBRqqkjqCZi uQPAes09W3rsyQVEf1xl/0Fj3ZDbviXNBcg/f4aI5Kd1B9BRCXi2kDbopQauKfvYKazYuS RffWeqguWnb7chahZDutMStPpw83deUbTLEn9dH2wnwyrX/jySGaJJ+tzp2ZkHdrOiIbpG KZNnOk8uzYvbfkLql/Ibto7sCs9XJdIILxfQ4w6km+pm0lgkOK6LguuP/OPdC1Sdu3F/3m v8x1iOLix5BQf67HoU964Nha16QZpul2n4i6z6jugX2l4IYIvWS0lSG2W0p6pA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dT9c96lGGz18d3 for ; Sat, 13 Dec 2025 15:44:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5BDFiPeC011571 for ; Sat, 13 Dec 2025 15:44:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BDFiPZs011570 for virtualization@FreeBSD.org; Sat, 13 Dec 2025 15:44:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 290920] FreeBSD 15 Regression: BHyve PCI Passthrough Broken on 15-STABLE (No GSI/Interrupt Remapping Failure) Date: Sat, 13 Dec 2025 15:44:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-STABLE X-Bugzilla-Keywords: regression, uefi X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bnovkov@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290920 --- Comment #25 from Bojan Novkovi=C4=87 --- Created attachment 266160 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D266160&action= =3Dedit vm_iommu_{un}map check fix. (In reply to dan from comment #24) Thank you, your help is greatly appreciated since I do not have a good way = of testing potential fixes right now. Speaking of potential fixes, I have another patch for you, this time a fix = for a bug that was introduced in `vmm.c` between the releases. Please let me kn= ow if it helps. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Dec 13 16:06:18 2025 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dTB5S5K0kz6KdFm for ; Sat, 13 Dec 2025 16:06:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dTB5S3gmLz3LNV for ; Sat, 13 Dec 2025 16:06:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765641980; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=whTIacmKNykayMyHEXzrTcUgLVt1hJZHMJarQROs0hg=; b=pJC1viywFyWuf2m41NjpZnEdQ4MIuAERXa4GUMyIhRpQb2yf1IbUr/2oebpkPOex06t4wT 84365A5jvrC9ouLdvp/WfZaZnu7jv6caAXFvrp65NB+oWWbS6JgtSvhc8gyUHOY0k67EH0 ZK+WVr2WsX8lSdlerK1Nrl5zO6gKcF9QTxi5K2b2MXlKpoSrS1C3o2yJ9U4CEBM7a3T3hJ 5NgBiuCt+F74v0RDTdiieSomuj9C9o8EwRIUoRfmDohG5NKhl8sFPmYYAHP2C06WJekg07 wl/S7yTvLAIixe/02KBvu0JeZZ2a/PpVfOAkjhP+3kJ0LMydU42a9cPqxP/WIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765641980; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=whTIacmKNykayMyHEXzrTcUgLVt1hJZHMJarQROs0hg=; b=vymerotB4keE3/mpwJxdMDWGA+sjOknQsLgRj7FIHz0RbU57Ob7JNDHNByG858pPn8pi2p hDa9gDO1JVVpEnzEHczpERDebYc84CmsimvdvC82psN1fexls9n3EupXT49S09fE2BCF7h b8j+lMbeHZ/CKMw+XM1O0qXLIKESEqkbiQnoHdiSCRKFSBLoMnbySYYwEppnmYBWOcmJKz cQH6+LwSLSxK9EZNQ76noTjmfw1T4JjA5acexqH/r1ENGA3N37FRU9kl3p2tsMeeDCHJVc uugnXLeWnUQ+MLUmSMkLY5gtqJoJAZUwCEEfgdxUA4CDzC90eleSM9luPY2UVQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765641980; a=rsa-sha256; cv=none; b=proqR3acUlhqfBVBUSXuzSXg5xamZB8PzL8z25L2+kVkW0OUaezfcKDtmYhlYOub9klrU7 EUmeManNY0Rszsk8PrC4Z7sq2C+c18mGTmAiFkmcO+jjrkwdQvVSF056ydfhdj4Ees9unD AUsNXH5RWSpMyuT7vViC3s76LjC8IgJO0Qblshhu+L3F1DgGCOA2ZEDVdY5t8qq05qq+Xh jwcui3pA29OWHOEbjSsw+9knw4pLm0dsid2c3VtMEd+s0lMfBBOo4qnOzmJPr2jczW53uZ 4NnP3vw1xaLFYKewaOtNROszX/BewrkAkgOiaCv476sKtYV4mq0irHJ0/JEsoQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dTB5S1fjLz194r for ; Sat, 13 Dec 2025 16:06:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5BDG6KDS041557 for ; Sat, 13 Dec 2025 16:06:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BDG6K2R041556 for virtualization@FreeBSD.org; Sat, 13 Dec 2025 16:06:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 290920] FreeBSD 15 Regression: BHyve PCI Passthrough Broken on 15-STABLE (No GSI/Interrupt Remapping Failure) Date: Sat, 13 Dec 2025 16:06:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-STABLE X-Bugzilla-Keywords: regression, uefi X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ns87@shadau.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290920 --- Comment #26 from Nuno Subtil --- (In reply to Bojan Novkovi=C4=87 from comment #25) > Speaking of potential fixes, I have another patch for you, this time a fi= x for a bug that was introduced in `vmm.c` between the releases. Please let= me know if it helps. This patch seems to work for me. My test case is exposing a single NV GPU t= o a Linux VM. (I had similar results otherwise as dan: the patch from https://marc.info/?l=3Dfreebsd-virtualization&m=3D176531257403805&w=3D2 als= o works, your earlier patch from comment #20 did not.) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Dec 14 02:51:47 2025 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dTSQG1B1hz6KYpf for ; Sun, 14 Dec 2025 02:51:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dTSQF6dhzz3hJH for ; Sun, 14 Dec 2025 02:51:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765680709; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZUKUmzybLddb0xSEEsNxPjeGz5iSw4wsSSfTH+ngFYU=; b=N1ab2f2Z7GHHcXWd/n4AZ4oLGYEilFlbYxPMdwYDFrGvwsDL4sK9hV8uR3LH6QFeZjalq0 Yec0Cm1sOD5BIcwSMsudHnGmXYDAUOV5l0krrXak3JeEG/ZqhUx0R2msBSx5ZLE5IhgVMX ehzm1a2VqSPtw6R63eJknANc+YH7KGbW0ZPB9Alz8iuhfJPbwPmab7+sZ+PjAkXjQpNugP eMOlfOC74LjFa1LDRMrVMHc2sW0FnGkxMt3t009R0Td4q06jpVEoLmoy5PrnQM16DijA1P AiYd223T5TSHIolO7PeVP3Tdr0LayFrnRs6JSbaDryhIOFtsV1lX4E0dB33lUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765680709; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZUKUmzybLddb0xSEEsNxPjeGz5iSw4wsSSfTH+ngFYU=; b=FQPjSmjn8ouyTC0zXwboWb6SSFfZI1ObIZ7Bm9x0DZFG3pCx/QdE2sBTMwNNNolHj7Ix3n mOSd3EDW18H+ysA+VnrNVIuJ3s+24rgk8LpUcWQLneZk+gH2CK/F6GUWYzogJ0Aw+0Xubs nFPApSs9X61YrMJpOSg9xyJtcdJrzm7M/QTU+VvKHxhVaP0y9dnEwBA3LihkXbccGuksUA 6LgMFfJZbFVt7ceN5Co2LMYQ9/nHE/aPmdB25cB1nKDQ1g3lufOPWWX+kByil7bMZziDQH 0ulvDfqs/FdNJpYwfguGNx/1cmkUAj82GsuE5bhXbY2+cQ8PyZff1U+1rZmDUQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765680709; a=rsa-sha256; cv=none; b=TcxEOrPBpmmcORCKhQyBnGqJKkVqx5QHHAKur2wQcTvcqiwV2dhEIT5sIcMvdPzPgNrfac 6lmpNS6jJkOD9iD2R8lNPVazSKE/XMpyKLZTi2l1z3IvtaSXXV3cBVU9R5YAKEUlPMr5Qd 4cO/l+CMFd9h8OKItaUwPCqNP4RAqNyYq7tFNR08EKqcCOPWKmSs4trOCE8WqYhHL6X36+ pHxvKxNsDW6jBwdsFhe2PPZzDys8TH2KOqQQyynWi4OrfDY9ZYFMyMNgA0OH14LazwZiy7 cwPaY2TW970VWKf1QYpqOUDRT0gAl9Okne9xJ1ilYnA1l3EsAgS2cJ046UvsuQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dTSQF64WKz16c for ; Sun, 14 Dec 2025 02:51:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5BE2pnoo007653 for ; Sun, 14 Dec 2025 02:51:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BE2pnAe007652 for virtualization@FreeBSD.org; Sun, 14 Dec 2025 02:51:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 290920] FreeBSD 15 Regression: BHyve PCI Passthrough Broken on 15-STABLE (No GSI/Interrupt Remapping Failure) Date: Sun, 14 Dec 2025 02:51:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-STABLE X-Bugzilla-Keywords: regression, uefi X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: dan@sunsaturn.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290920 --- Comment #27 from dan@sunsaturn.com --- (In reply to Bojan Novkovi=C4=87 from comment #25) Works perfectly, thank you! This patch successfully resolves the PCI passthrough failure (previously observed as 'PCI INT A: no GSI') for multiple device types, confirming the IOMMU mapping issue in vmm.c is corrected. Testing Confirms Passthrough for: * **NVIDIA GPU Passthrough** (Tesla V100) * **USB Controller Passthrough** (via a PCI-e USB controller hosting Zigbee/Z-Wave dongles) --- **Testing Procedure** The environment was fully synchronized after patching vmm.c and reverting t= he previous libvmmapi workaround. 1. Reverted local libvmmapi.c change to original source (restoring the userland to a clean state). 2. Cleaned source, applied the new kernel patch, built, and installed. cd /usr/src git pull make clean cleanworld patch -p1 -d /usr/src < /root/freebsd-usb3.patch make -j$(sysctl -n hw.ncpu) buildworld make -j$(sysctl -n hw.ncpu) buildkernel make installkernel shutdown -r now etcupdate -p cd /usr/src; make installworld etcupdate -B make -DBATCH_DELETE_OLD_FILES delete-old delete-old-libs # Reverted the kernel patch for clean future git pulls: patch -p1 -R -d /usr/src < /root/freebsd-usb3.patch shutdown -r now --- **Results (Inside Linux Guest VM)** **1. GPU Passthrough Validation (nvidia-smi)** ubuntu:/data/remote/sunsaturn/home/dan # nvidia-smi Sat Dec 13 20:48:48 2025 =20=20=20 +--------------------------------------------------------------------------= ---------------+ | NVIDIA-SMI 580.95.05 Driver Version: 580.95.05 CUDA Versi= on: 13.0 | =20=20=20 +-----------------------------------------+------------------------+-------= ---------------+ | GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap |=20=20=20=20=20=20= =20=20=20=20=20 Memory-Usage | GPU-Util Compute M. | | | = |=20=20=20 MIG M. | =20=20=20 |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| | 0 Tesla V100-PCIE-16GB Off | 00000000:00:06.0 Off |= =20=20=20=20 0 | | N/A 49C P0 46W / 250W | 1272MiB / 16384MiB= |=20=20 0% Default | | | = |=20=20=20 N/A | =20=20=20 +-----------------------------------------+------------------------+-------= ---------------+ =20=20=20 +--------------------------------------------------------------------------= ---------------+ | Processes:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 | | GPU GI CI PID Type Process name=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 GPU Memory | | ID ID=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 Usage | =20=20=20 |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D| | 0 N/A N/A 1193 C python3=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 1268MiB | =20=20=20 +--------------------------------------------------------------------------= ---------------+ ubuntu:/data/remote/sunsaturn/home/dan # **2. USB Passthrough Validation (lsusb output)** # lsusb Bus 005 Device 001: ID 1d6b:0002 Linux 6.12.51-haos xhci-hcd xHCI Host Controller Bus 003 Device 001: ID 1d6b:0002 Linux 6.12.51-haos xhci-hcd xHCI Host Controller Bus 001 Device 001: ID 1d6b:0002 Linux 6.12.51-haos xhci-hcd xHCI Host Controller Bus 006 Device 001: ID 1d6b:0003 Linux 6.12.51-haos xhci-hcd xHCI Host Controller Bus 001 Device 002: ID 303a:4001 Nabu Casa ZWA-2 Bus 004 Device 001: ID 1d6b:0003 Linux 6.12.51-haos xhci-hcd xHCI Host Controller Bus 002 Device 001: ID 1d6b:0003 Linux 6.12.51-haos xhci-hcd xHCI Host Controller Bus 003 Device 002: ID 10c4:ea60 Itead Sonoff Zigbee 3.0 USB Dongle Plu= s V2 Bus 006 Device 002: ID fb5d:0001 BHYVE HID Tablet # This fix appears ready for commitment. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Dec 14 11:11:44 2025 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dTgW5311mz6JyFg for ; Sun, 14 Dec 2025 11:11:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dTgW51dcvz3QYZ for ; Sun, 14 Dec 2025 11:11:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765710705; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=e6HUFxDO8mDjGPQCLByltXJdiQpwbueHJoe6sqlSSQU=; b=ysw6nfDIhnUYcI3DIuSHezAXpL0mV73CDZKDRI15QTYoazXGsio/+NlkF+D4YagkeODwUQ CffLI8w7BX+pMr2PRf4N5bDFzOz3GnH9vpOL4FA9xW3mApzs+M6pPPYLPWwfjEnu5oA/3B 3EdmAuqUXlh6uweZ6gIa69O8IdEpzJse5yhgUHWFz2C1EiGnXovxlsGGLXPb6VgHu5g6Tx PXq5rT2QcIShF09SVZ4XXDltmNV8hvKVGRBUohjh9mQrfTK8NNGRzZWMW4xZayYonrFafQ 0n/gPQ5ZiD1U9fqilplS4v5Fp5i6qpXlYEPkch7vJMU1xcu5QiQ76WWIG65LZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765710705; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=e6HUFxDO8mDjGPQCLByltXJdiQpwbueHJoe6sqlSSQU=; b=JYwtf7ZBC7Bxte7AF1jifGbyhWqYdXv0DTZko3wkxshNuEM6ke/edWTssjCvfadjcRcCG7 kYEdHqq5KNPo9vlfyOIIK9V4bufxFHIvfdS0xDuwN/rVCXQnADE/u5iTwHydzQEWnmjC5S s3Iu4NzViAQDJpQw1qlsx/GP2+VELDL+ok54XVAp0ZypmwyMdPztrVyH5fbATCls1nDUAp mJZJWobjt1URTbcA2y1xJHbNr+inz/UtLKzhPJxD8qjEoaAqCJhQDKtfPr+xk0NLcilyVt I9Gsh1xX2QtI0lr0X+xRROymOyPWPhE/eWXjrpu30MyZbdDvMWJUyHZZzEv84Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765710705; a=rsa-sha256; cv=none; b=Kgnk4kjfkI5NNF+0+qEYDMzm3+fn8un1ypHelehZPkPBxdk1d69CWcScoW3gaOevre6jr2 EmGaWmHh4ikJajdbs+IOdo+P0pkCCMHEjY1J+7Ruz6kNpm3ebMTBIeQFFNCbz9J8piY6qK o0fdTaMWKDncMkERix36YSMUC2QoA37y/eIrmdRqKK43yqzblyxXoIoWqvbfQ2iqiA8N2D 3AwJZk+yH9UXbQuMhiG01YJ9ofBwNN2BBtq/lR7IXWXkxYBwLcHExpjiuRiBp66bilmBwW 6PAjojYa38MV7EPROkoAX5t+N2Xz6T9pYMZo6Lkf7lDm2roIlQ+WRf/Vl6fojw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dTgW51FCCzVsM for ; Sun, 14 Dec 2025 11:11:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5BEBBj6d044810 for ; Sun, 14 Dec 2025 11:11:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BEBBjpP044807 for virtualization@FreeBSD.org; Sun, 14 Dec 2025 11:11:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 283215] PCI passthru of wifi card QCNFA765 on AMD Ryzen host results in host freeze or crash Date: Sun, 14 Dec 2025 11:11:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: quentin.thebault@defenso.fr X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: rep_platform Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283215 Quentin Th=C3=A9bault changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|Any |amd64 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Dec 14 21:00:42 2025 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dTwZf6Kh4z6Kr9x for ; Sun, 14 Dec 2025 21:00:42 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dTwZf2xzxz3T2L for ; Sun, 14 Dec 2025 21:00:42 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765746042; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HRGFuUDmsZXdbfS1+z16LCsMa8INBfLpCxMZTAmbpQc=; b=hjrJGoFNV+z9Y56FPG2wdouuUkqz4DASpfRvUywWTuv5IBnYa/k9JX7SVd+fgwmiPvQSAY 6TJ+5qQgaNyyfYkvlA82ZSQ5YDtsixyWAP1XVdyYrMvWQsbyx6kxKRsfyCsI/5lImQ1SFr P1ujLvgF50V2XPesXZRQ0s6vQEwVP6lK300YY50zPKjFNl0W8OQacRh5crVsgfnbpR4Agv gfNvUWQevzT09EHHcfO8beqNiGZ8e8gQgiMCgtl2JjPGbQvNh6LaZaNZaIGp8JUev2kc1H UGIL+BWQXiBBqEkQPpbZTXw3LWaJWJWmoGEajOuRkryvEQqhCEAR0yn3IvFKJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765746042; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HRGFuUDmsZXdbfS1+z16LCsMa8INBfLpCxMZTAmbpQc=; b=GW0OGfU3C+6BppAnCKSknh9N39a+K82cfNkr1m38+zkr96jkxja3myGhiH4mDwXbKdvak0 patCYTS27YAc2BQXT9pqAoUa0LsqDickchZ2oFCwnB/Owqu4w7mQJO2e3KCf1fMUjUYk2h mLPr+O7tBmJeh7+MlBi+ddZ86nhySl1DTubdYe113S+E19vOK7mRB6MWLrvgEPb0KfnT4i qyIXmuOm1foguWWoU8DbNArOb0O6nsZqD91M19hYl/jR7Hofbh2aC+GtlgEsqt5DFnBmeJ WsJ52/qRGUejfahMRF/Dp1O0D2KHO28bYNYG6wxvtkFhZhw2iF5dHr6WMWdhVQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765746042; a=rsa-sha256; cv=none; b=yqIl7P3iuIrN6ME3KCeFerMzABoEwlDNDzhKM4FAuW0AVinCM2/vXI3+TywxH0RINwWCM0 ny97kCFRBWMJaageFHPATT/5VxA2cEOHizbptY24H1+BPzRGcR0p5oYKTBXrogVMZy3l7o GPOy3nVPsvpOH5EJTktHmR5OUg7NAU5mBRg7F7RT28hvrN+wN/asLsBMTA99FT2/qbyFK8 AsaNOA9deGZQwhGx6Kg4z9nz3iojH7g7mQBr09j84udiaYgWSRWNtWlrOuSrueXz9UEEBx ogyKOMrpS2jSBd23R3iP5E2py/OGC+PP9e0J2wOJiKSFv5ruJFgyyHm5CY3wMw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dTwZf2DqHzqqN for ; Sun, 14 Dec 2025 21:00:42 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5BEL0g00005926 for ; Sun, 14 Dec 2025 21:00:42 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BEL0gAu005925 for virtualization@FreeBSD.org; Sun, 14 Dec 2025 21:00:42 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202512142100.5BEL0gAu005925@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: virtualization@FreeBSD.org Subject: Problem reports for virtualization@FreeBSD.org that need special attention Date: Sun, 14 Dec 2025 21:00:42 +0000 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="17657460422.692B09C4.2860" Content-Transfer-Encoding: 7bit --17657460422.692B09C4.2860 Date: Sun, 14 Dec 2025 21:00:42 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 289848 | Enable by default BHYVE_SNAPSHOT 1 problems total for which you should take action. --17657460422.692B09C4.2860 Date: Sun, 14 Dec 2025 21:00:42 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status      |    Bug Id | Description
------------+-----------+---------------------------------------------------
New         |    289848 | Enable by default BHYVE_SNAPSHOT

1 problems total for which you should take action.
--17657460422.692B09C4.2860--