Re: pci passthrough Mediatek MT7922 doesn't work

2024-04-23 Thread Peter Miller
O.K. thanks for that info. With pptdevs="1/0/0" Before bhyve is started. ppt0@pci0:1:0:0:class=0x028000 rev=0x02 hdr=0x00 vendor=0x14c3 device=0x0616 subvendor=0x14c3 subdevice=0x223c vendor = 'MEDIATEK Corp.' device = 'MT7922 802.11ax PCI Express Wireless Network Adapter'

Re: pci passthrough Mediatek MT7922 doesn't work

2024-04-22 Thread Bjoern A. Zeeb
On Sat, 20 Apr 2024, Peter Miller wrote: Hi, I've seen strange behaviour recently with them on an arm64 native where they wouldn't be detected properly either. I thought it was related to power management but haven't gotten back to them quite yet. One is on my desk curently in front of me.

Re: pci passthrough Mediatek MT7922 doesn't work

2024-04-20 Thread Peter Miller
doas sh -x /usr/share/examples/bhyve/vmrun.sh -p 1/0/0 -d FreeBSD-14.0-STABLE-amd64.raw vm0 Loading kernel... /boot/kernel/kernel text=0x17be70 text=0xd75798 text=0x4254ec data=0x180 data=0x1866b0+0x478950 0x8+0x1894e0+0x8+0x1acde2\ Loading configured modules... /etc/hostid size=0x25

Re: pci passthrough Mediatek MT7922 doesn't work

2024-04-20 Thread Bakul Shah
Invoke the vmrun.sh script as "sh -x /usr/misc/examples/bhyve/vmrun.sh" to show use the bhyve command line executed. As well as any error messages. > On Apr 20, 2024, at 12:32 PM, Peter Miller wrote: > > Hello, > > I'm trying to use wifibox and the wifi device is not being passed through. >

pci passthrough Mediatek MT7922 doesn't work

2024-04-20 Thread Peter Miller
Hello, I'm trying to use wifibox and the wifi device is not being passed through. There is a bug report, which I added to, but they told me it was probably a bhyve problem. https://github.com/pgj/freebsd-wifibox/issues/73 I followed these instructions to test, and added -p 1/0/0 to pass the wifi