From nobody Tue Dec 2 17:33:24 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 4dLSY15VSkz6Hq8N for ; Tue, 02 Dec 2025 17:33:25 +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 4dLSY12cTQz3bdh for ; Tue, 02 Dec 2025 17:33:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1764696805; 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=UrH+LKWOQ34j5SfXJdHGUrWMLq1+MoizLjF9FC6fQA8=; b=Tbc4T0JfYMGJXuWB1ytAmZFQVyKWyhCXL5hbjEKtfIIcmR1VcHSdL1syuJZfgGb/YT5CET vXBxKYvWb/p5EEhC6kLzspLzxSArqCDQZePX5R2tMiEI9UEE+DOQogv2F5Abeb5GipdE4x VqzGEdJ2V4N+YS/EiB1BRHr8t9tNVvCfnKWZb9HVWUwMydGXnHEF3FqQgvakz8tCl9Udcs 0/68Hn0Uh2sRe5i+OIB67PyGqZY/Fj9F8b24pmZ2O/TJ75+UoUIYVo4GpGNrH4KhHU/65n VpYBonbltM1wTheFnACQTOZvHYc6/a05EfuJEvVeLUrbDPCLNXYHJrgvnqhsDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1764696805; 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=UrH+LKWOQ34j5SfXJdHGUrWMLq1+MoizLjF9FC6fQA8=; b=pyjyO4R1HnMLrXRbaNT3UU22JfMUS95GnnfMcFHigB7OZ3QVjGp0AIbelx3CDzk6JiFoQk bZqBTxc00E83oYrhpmKhEARQmDg+1HJ51n0zWgbn0wYca3ZaFhtaIeukzWmvkea8LY9w6L vtybT8t3oS833yvteFqNqhG3WpJfBGfQ56c6B4nTOnGRJtFHXnhoGhvE6XCPKKmxfHrgI9 6vJ8aQpei5YmlTZ313+TGbmOfje0xzJfJUg6rUKzemYV7pnNVpogYGzHQq2h4cLJrsGz4L YrBepL5AWWSv4+LqJ563xDamrjAind6QF1NdEDl7hiaVHzjIQ/yNNHEBgXAsQg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1764696805; a=rsa-sha256; cv=none; b=F65PLeRwNiHNeG+VtUYu1kFI/w9OiL7Met6d9u8HZcxJTk2AhpJ8yruvr25a6ewwWGrMTu AdliR6QyreO05vrmJ6/5KeRfDEWz/GuN/Zr6s4qnVjzOrzC8Es+RJMW6zDTfCSsY/HMgFe mnXiN006TdJwCUQb/i+k14KLhfK3nqbLMlslXKd9I5qT4TPPIyhRv8A0Wr5fxwy2oWTP/n VdeVqi5s8MDXs6d3BviQAuKaLB+dgWmX7MVHBDCiUZ+R2GUE0iaNtaIx6u4H+xTeACWeA7 gW/cVxzL1gL2y7DQMz/YE5PcDjs7+vBglX1gvA5Ye47Z9jWsq/hamrgOE774+Q== 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 4dLSY12948z1Fmc for ; Tue, 02 Dec 2025 17:33: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 5B2HXPTV051802 for ; Tue, 2 Dec 2025 17:33:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5B2HXP9P051801 for virtualization@FreeBSD.org; Tue, 2 Dec 2025 17:33: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 290098] bhyve crashes when trying to run a 9front VM Date: Tue, 02 Dec 2025 17:33:24 +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: 15.0-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mp@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 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=3D290098 Mark Peek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mp@FreeBSD.org --- Comment #19 from Mark Peek --- Reproduced on a recent 16.0-CURRENT, the error value is 17 (EEXIST) which is coming from mem.c:mmio_rb_add(). Adding another debug line there and turnin= g on RB_DEBUG shows this: Adding fee00000:fee00fff kern-lapic-mmio Adding fec00000:fec00fff kern-ioapic-mmio Adding fed00000:fed003ff kern-hpet-mmio fbuf frame buffer base: 0x33a20c00000 [sz 33554432] Adding 80000000:ffffffff PCI hole Adding e0000000:efffffff PCI ECFG Adding c2004000:c2005fff ahci@pci.0.4.0 Adding c2002000:c2003fff virtio-blk@pci.0.5.0 Adding c2000000:c2001fff virtio-net@pci.0.10.0 Adding c2007000:c200707f fbuf@pci.0.11.0 Adding c0000000:c1ffffff fbuf@pci.0.11.0 Adding c2006000:c2006fff xhci@pci.0.20.0 Adding c2004000:c2005fff ahci@pci.0.4.0 Adding c2002000:c2003fff virtio-blk@pci.0.5.0 Adding c2000000:c2001fff virtio-net@pci.0.10.0 Adding c2007000:c200707f fbuf@pci.0.11.0 Adding c0000000:c1ffffff fbuf@pci.0.11.0 Adding c2006000:c2006fff xhci@pci.0.20.0 Adding ffffe000:ffffffff ahci@pci.0.4.0 Adding c2004000:c2005fff ahci@pci.0.4.0 Adding ffffe000:ffffffff virtio-blk@pci.0.5.0 Adding c2002000:c2003fff virtio-blk@pci.0.5.0 Adding ffffe000:ffffffff virtio-net@pci.0.10.0 Adding c2000000:c2001fff virtio-net@pci.0.10.0 Adding ffffff80:ffffffff fbuf@pci.0.11.0 Adding c2007000:c200707f fbuf@pci.0.11.0 Adding fe000000:ffffffff fbuf@pci.0.11.0 overlap detected: new fe000000:ffffffff, tree fed00000:fed003ff, 'fbuf@pci.0.11.0' claims region already claimed for 'kern-hpet-mmio' Assertion failed: (error =3D=3D 0), function modify_bar_registration, file /usr/src/usr.sbin/bhyve/pci_emul.c, line 706. For comparison, running on a 14.3-STABLE system does not abort and shows th= is: Adding fee00000:fee00fff kern-lapic-mmio Adding fec00000:fec00fff kern-ioapic-mmio Adding fed00000:fed003ff kern-hpet-mmio fbuf frame buffer base: 0x9f041a00000 [sz 16777216] Adding c0000000:c0ffffff fbuf@pci.0.11.0 Adding c1000000:c1001fff ahci@pci.0.4.0 Adding c1002000:c1003fff virtio-blk@pci.0.5.0 Adding c1004000:c1005fff virtio-net@pci.0.10.0 Adding c1006000:c1006fff xhci@pci.0.20.0 Adding c1007000:c100707f fbuf@pci.0.11.0 Adding 80000000:ffffffff PCI hole Adding e0000000:efffffff PCI ECFG Adding c1004000:c1005fff ahci@pci.0.4.0 Adding c1002000:c1003fff virtio-blk@pci.0.5.0 Adding c1000000:c1001fff virtio-net@pci.0.10.0 Adding c1007000:c100707f fbuf@pci.0.11.0 Adding c0000000:c0ffffff fbuf@pci.0.11.0 Adding c1006000:c1006fff xhci@pci.0.20.0 Adding c1004000:c1005fff ahci@pci.0.4.0 Adding c1002000:c1003fff virtio-blk@pci.0.5.0 Adding c1000000:c1001fff virtio-net@pci.0.10.0 Adding c1007000:c100707f fbuf@pci.0.11.0 Adding c0000000:c0ffffff fbuf@pci.0.11.0 Adding c1006000:c1006fff xhci@pci.0.20.0 wrmsr to register 0x401(0) on vcpu 0 Adding ffffe000:ffffffff ahci@pci.0.4.0 Adding c1004000:c1005fff ahci@pci.0.4.0 Adding ffffe000:ffffffff virtio-blk@pci.0.5.0 Adding c1002000:c1003fff virtio-blk@pci.0.5.0 Adding ffffe000:ffffffff virtio-net@pci.0.10.0 Adding c1000000:c1001fff virtio-net@pci.0.10.0 Adding ffffff80:ffffffff fbuf@pci.0.11.0 Adding c1007000:c100707f fbuf@pci.0.11.0 Adding ff000000:ffffffff fbuf@pci.0.11.0 pci_fbuf: mmap_memseg failed pci_fbuf: munmap_memseg failed Adding c0000000:c0ffffff fbuf@pci.0.11.0 Adding fffff000:ffffffff xhci@pci.0.20.0 Adding c1006000:c1006fff xhci@pci.0.20.0 Note the change in 14.3 does not overlap with kern-hpet-mmio: Adding fe000000:ffffffff fbuf@pci.0.11.0 - -CURRENT vs. Adding ff000000:ffffffff fbuf@pci.0.11.0 - 14.3-STABLE Bisecting might be challenging given other changes so commenting here in ca= se someone has an idea of what might have changed. --=20 You are receiving this mail because: You are the assignee for the bug.=