On Sun, Sep 21, 2025, at 5:20 PM, Bakul Shah wrote: > On a 15.0-ALPHA3 host, bhyve fails when I try to start a 9front VM. > Error: > > Assertion failed: (error == 0), function modify_bar_registration, file > /usr/src/usr.sbin/bhyve/pci_emul.c, line 706. > fbuf frame buffer base: 0x38bfae800000 [sz 33554432]
There doesn't appear to be an "easy button" to debug this, but this assert trips on an error in any of the BAR registrations. It would be instructive to understand the type of BAR (IO, memory, ROM, etc.) causing the error as that would indicate where to look next. If you run bhyve via a debugger (with symbols), it should stop on the assert, allowing you to investigate. But if the debugger approach is problematic, I'd sprinkle this function and others with EPRINTLN() (assuming that is something you are comfortable doing). --chuck