vtnet problem in FreeBSD on macOS for ARM

Discussions about using non Windows and Linux guests such as FreeBSD, DOS, OS/2, OpenBSD, etc.
Post Reply
Tüxen
Posts: 2
Joined: 21. Nov 2024, 16:35

vtnet problem in FreeBSD on macOS for ARM

Post by Tüxen »

When using FreeBSD as a guest OS on macOS as the host OS, vtnet interfaces work fine when the Mac is Intel based, but don't work when the Mac is ARM based. Tested with VB 7.1.4 and the latest test build of VB. In both cases using a developer version on FreeBSD.

On ARM the boot messages contain:

Code: Select all

virtio_pci1: <VirtIO PCI (legacy) Network adapter> mem 0xe1854000-0xe1855fff at device 9.0 on pci0
vtnet0: <VirtIO Networking Adapter> on virtio_pci1
vtnet0: Invalid max_virtqueue_pairs value: 65535. Multiqueue feature disabled.
virtio_pci1: virtqueue 0 (vtnet0-rx0) size is not a power of 2: 65535
virtio_pci1: cannot allocate virtqueue 0: 6
vtnet0: cannot allocate virtqueues
device_attach: vtnet0 attach returned 6
Is this a known problem in VB on ARM-based Macs? If changes in FreeBSD are required, I'm happy to test them. Any idea what could be the root cause?
klaus
Oracle Corporation
Posts: 1585
Joined: 10. May 2007, 14:57

Re: vtnet problem in FreeBSD on macOS for ARM

Post by klaus »

No immediate idea. The same code is used for the device emulation. No known or intended behavior difference.
Tüxen
Posts: 2
Joined: 21. Nov 2024, 16:35

Re: vtnet problem in FreeBSD on macOS for ARM

Post by Tüxen »

Is there anything I can do from the guest OS side to help figuring out what is going on?
Post Reply