News for hackers. Stuff that matters.
Re:Run FreeBSD 13.1 for ARM64 in QEMU on Apple Silicon Mac w... by sitkack on Wednesday August 03, 2022 @06:11PM (#32337165)
This is super cool, but I see folks having problems with networking. Maybe I'll try in a month.
Re:Run FreeBSD 13.1 for ARM64 in QEMU on Apple Silicon Mac w... by codetrotter on Wednesday August 03, 2022 @06:36PM (#32337331)
Most of the comments are from past versions of the document. I debated removing them but the issue with ping acting weird remains so I decided to leave the comments for now.

But networking in general appears to work, aside from the ping strangeness.

For example, using pkg to install packages works fine. Likewise, portsnap fetch extract, and when you build packages from ports the system is able to fetch over the network without apparent issues.

Edit: I cleaned up the comments on the gist a little, leaving the ones that are still relevant (the ones about ping), while removing some comments that were talking about problems that are out of date.

Re:Run FreeBSD 13.1 for ARM64 in QEMU on Apple Silicon Mac w... by sitkack on Wednesday August 03, 2022 @06:48PM (#32337403)
Cool. I'll give it a try then.

I didn't even know you could remove comments on a gist. TIL.

Re:Run FreeBSD 13.1 for ARM64 in QEMU on Apple Silicon Mac w... by bpye on Wednesday August 03, 2022 @07:00PM (#32337484)
It looks like the vmnet patches made it into QEMU - maybe try setting the network device to use that:

-netdev vmnet-macos,id=net,mode=bridged -device virtio-net-pci,netdev=net

Note: You'll need to run QEMU as root to use vmnet, non-root usage requires an entitlement.

Re:Run FreeBSD 13.1 for ARM64 in QEMU on Apple Silicon Mac w... by brettdong on Wednesday August 03, 2022 @08:11PM (#32337893)
QEMU needed to be patched for network to work on M1 Mac hosts back then. I don’t know if the patches landed in newer versions of QEMU.