🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: muc.lists.freebsd.hackers
2 messages
2 total messages Started by Bakul Shah Thu, 15 Oct 2026 02:20
The bhyve fix in 07c15b75f etc doesn't work....
#27
Author: Bakul Shah
Date: Thu, 15 Oct 2026 02:20
45 lines
6563 bytes
The commit log has this:
    Security:       FreeBSD-SA-26:72.bhyve
    Security:       CVE-2026-101311
    Fixes:          fb51ddb20d57 ("bhyve: increase fbuf display resolution limit")

But this fails for non freebsd oses such as 9front, netbsd, ubuntu etc.
with a message like this:

Assertion failed: (error == 0), function modify_bar_registration, file /usr/src/usr.sbin/bhyve/pci_emul.c, line 708.
fbuf frame buffer base: 0x267efbc00000 [sz 33554432]

[as well as leaves the filesystem in a bad state in netbsd, losing
 a bunch of files the next time fsck is run]

See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290098

Prior to this fix I used to use this patch that made bhyve work
for 9front,netbsd,ubuntu etc:

--- a/usr.sbin/bhyve/pci_fbuf.c
+++ b/usr.sbin/bhyve/pci_fbuf.c
@@ -71,10 +71,10 @@ static int fbuf_debug = 1;

 #define        DMEMSZ  128

-#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

 #define COLS_DEFAULT   1024
 #define ROWS_DEFAULT   768





--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: The bhyve fix in 07c15b75f etc doesn't work....
#31
Author: Mark Johnston
Date: Thu, 15 Oct 2026 17:08
52 lines
3473 bytes
On Wed, Oct 14, 2026 at 07:20:19PM -0700, Bakul Shah wrote:
> The commit log has this:
>     Security:       FreeBSD-SA-26:72.bhyve
>     Security:       CVE-2026-101311
>     Fixes:          fb51ddb20d57 ("bhyve: increase fbuf display resolution limit")
> 
> But this fails for non freebsd oses such as 9front, netbsd, ubuntu etc.
> with a message like this:

Indeed, the patch wasn't trying to fix this problem.

I looked a bit at why 9front can't boot and wrote this patch:
https://reviews.freebsd.org/D60748

Does it help for other guests?

> 
> Assertion failed: (error == 0), function modify_bar_registration, file /usr/src/usr.sbin/bhyve/pci_emul.c, line 708.
> fbuf frame buffer base: 0x267efbc00000 [sz 33554432]
> 
> [as well as leaves the filesystem in a bad state in netbsd, losing
>  a bunch of files the next time fsck is run]
> 
> See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290098
> 
> Prior to this fix I used to use this patch that made bhyve work
> for 9front,netbsd,ubuntu etc:
> 
> --- a/usr.sbin/bhyve/pci_fbuf.c
> +++ b/usr.sbin/bhyve/pci_fbuf.c
> @@ -71,10 +71,10 @@ static int fbuf_debug = 1;
> 
>  #define        DMEMSZ  128
> 
> -#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
> 
>  #define COLS_DEFAULT   1024
>  #define ROWS_DEFAULT   768
> 
> 
> 


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads