[Bug 290098] bhyve crashes when trying to boot or run a 9front VM and other OSes
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 290098] bhyve crashes when trying to run a 9front VM"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Apr 2026 16:17:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290098
Chris Mecca <cm@chrismecca.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cm@chrismecca.com
--- Comment #24 from Chris Mecca <cm@chrismecca.com> ---
Confirmed working on FreeBSD 15.0-RELEASE-p5 (amd64) with the
patch attributed to Mark Peek reducing FB_SIZE from 32MB to 16MB
in usr.sbin/bhyve/pci_fbuf.c.
Tested with 9front-11498.c89461d55aa4.amd64 under bhyve with UEFI
(edk2-bhyve) on an Intel Xeon E3 host (Hetzner EX44).
Without patch: Assertion failed: (error == 0), function
modify_bar_registration, file pci_emul.c, line 706. Abort trap.
With patch: 9front boots successfully, VNC framebuffer works at
800x600, drawterm connects via cpu server.
Patch:
--- a/usr.sbin/bhyve/pci_fbuf.c
+++ b/usr.sbin/bhyve/pci_fbuf.c
-#define FB_SIZE (32*MB)
+#define FB_SIZE (16*MB)
-#define COLS_MAX 3840
-#define ROWS_MAX 2160
+#define COLS_MAX 1920
+#define ROWS_MAX 1200
The 32MB framebuffer window conflicts with available PCI address space
on certain hardware configurations. 16MB works great for 9front specifically.
--
You are receiving this mail because:
You are the assignee for the bug.