Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Aug 2025 19:10:27 +0000
From:      Marcin Cieslak <saper@saper.info>
To:        FreeBSD Current <freebsd-current@FreeBSD.org>
Subject:   wifibox/passthrough broken after May 2025?
Message-ID:  <n613r7s8-p2r6-8450-17o3-2o2434nr4433@fncre.vasb>

index | next in thread | raw e-mail

After the upgrade to this:

commit ac641d55ea0622f06baa60b9d22ef4880007d8c4 (HEAD -> main, 15-current-running-18-aug-2025)
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
Date:   Sat Aug 2 01:18:16 2025 +0200

wifibox is no longer starting because it seems trying to fight the ppc0 device:

>From /var/log/wifibox.log:

2025-08-04T11:35:07+0200 WARN  PPT device pci2:0:0 could not be destroyed
2025-08-04T11:35:13+0200 WARN  Guest is not up after 5 seconds
2025-08-04T11:35:14+0200 WARN  PPT device pci2:0:0 could not be destroyed
2025-08-04T11:35:20+0200 WARN  PPT device pci2:0:0 could not be destroyed
2025-08-04T11:35:27+0200 WARN  PPT device pci2:0:0 could not be destroyed
2025-08-04T11:35:34+0200 WARN  PPT device pci2:0:0 could not be destroyed
2025-08-04T11:35:40+0200 WARN  PPT device pci2:0:0 could not be destroyed
2025-08-04T11:35:47+0200 WARN  PPT device pci2:0:0 could not be destroyed
2025-08-04T11:35:54+0200 WARN  PPT device pci2:0:0 could not be destroyed
2025-08-04T11:36:00+0200 WARN  PPT device pci2:0:0 could not be destroyed

ppt0 seems to get attached/detached all the time

Which change could have caused this? It all works fine when running boot environment
built with this commit:

commit 3d2957336c7ddaa0a29cf60cfd458c07df1f5be9 (15-current-running-02-aug-2025)
Author: Jasper Tran O'Leary <jtranoleary@google.com>
Date:   Tue May 20 23:34:45 2025 +0000

This is a MacBookPro13,1 with

ppt0@pci0:2:0:0:	class=0x028000 rev=0x05 hdr=0x00 vendor=0x14e4 device=0x43a3 subvendor=0x106b subdevice=0x0159
     vendor     = 'Broadcom Inc. and subsidiaries'
     device     = 'BCM4350 802.11ac Wireless Network Adapter'
     class      = network

> grep -v '^#' /usr/local/etc/wifibox/bhyve.conf |grep -v '^$'
cpus=1
memory=128M
console=yes
passthru=2/0/0
priority=50
stop_wait_max=30


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?n613r7s8-p2r6-8450-17o3-2o2434nr4433>