Re: wifibox/passthrough broken after May 2025?

From: Marcin Cieslak <saper_at_saper.info>
Date: Tue, 19 Aug 2025 22:47:57 UTC
Looks like the root cause of the problem was this:

2025-08-20T00:12:53+0200 INFO  Launching guest wifibox from /usr/local/share/wifibox with grub-bhyve
2025-08-20T00:12:53+0200 INFO  Application config is found at /usr/local/etc/wifibox/wpa_supplicant
2025-08-20T00:12:53+0200 INFO  Application config will be mounted writeable
2025-08-20T00:12:53+0200 DEBUG Devices: virtio-blk,/usr/local/share/wifibox/disk.img virtio-9p,config=/usr/local/etc/wifibox/appliance,ro virtio-9p,var=/var/run/wifibox/appl
iance virtio-9p,app_config=/usr/local/etc/wifibox/wpa_supplicant
2025-08-20T00:12:53+0200 DEBUG Arguments:  -S -M 128M -r host -c /dev/nmdm-wifibox.1A -d /usr/local/share/wifibox wifibox
2025-08-20T00:12:53+0200 DEBUG [grub-bhyve] Could not setup memory for VM
2025-08-20T00:12:53+0200 DEBUG [grub-bhyve] Error in initializing VM

Did some ABI important here changed? Rebuilding grub2-bhyve-0.40_11 from source fixed the problem.
If yes, maybe this should be added to the docs...

My PPT confusion has been caused by this message:

2025-08-20T00:30:09+0200 DEBUG [devctl] devctl: Failed to clear pci2:0:0 driver: Device not configured
2025-08-20T00:30:09+0200 WARN  PPT device pci2:0:0 could not be destroyed

Indeed, running

devctl clear driver -f pci2:0:0

results in the ppt0 detaching but the error message returned is "Device not configured". Is this expected?