Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Anyone running OPNsense in bhyve? Reboot hangs
« previous
next »
Print
Pages: [
1
]
Author
Topic: Anyone running OPNsense in bhyve? Reboot hangs (Read 1045 times)
Patrick M. Hausen
Hero Member
Posts: 6814
Karma: 572
Anyone running OPNsense in bhyve? Reboot hangs
«
on:
August 10, 2023, 01:01:49 pm »
Hi all,
I just installed an OPNsense 23.7 in bhyve in a TrueNAS CORE 13.0-U5.3. 2 network interfaces via PCIe passthrough and generally everything is working great.
Only minor problem: when I try to soft reboot the VM, the filesystem buffers are flushed and the last message I see is "ix1 changed state to DOWN" - then the guest system hangs until powered off from the host and powered on again. Identical for soft power off. The system shuts down but the virtual/emulated power off does not happen.
I vaguely remember that occasionally people have this problem running on real hardware too and that you can twiddle the reset method via loader.conf somehow (ACPI vs. ... what?)
All hints greatly appreciated. I'm running this on a tiny Supermicro system. That would make a great chimera for travel - TrueNAS and OPNsense all in one box.
«
Last Edit: August 10, 2023, 01:13:42 pm by Patrick M. Hausen
»
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Patrick M. Hausen
Hero Member
Posts: 6814
Karma: 572
Re: Anyone running OPNsense in bhyve? Reboot hangs
«
Reply #1 on:
August 10, 2023, 01:26:03 pm »
OK, the shutdown/poweroff could be fixed by
sysctl hw.efi.poweroff=0
Reboot still hanging.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Patrick M. Hausen
Hero Member
Posts: 6814
Karma: 572
Re: Anyone running OPNsense in bhyve? Reboot hangs
«
Reply #2 on:
August 11, 2023, 09:21:39 am »
Switching from PCIe passthrough to bridge interfaces (in TrueNAS) and VirtIO (in OPNsense) fixes the problem and seems to work well.
No tunables needed at all and with 4 cores assigned to the VM I get near gigabit speed.
«
Last Edit: August 11, 2023, 09:55:06 am by Patrick M. Hausen
»
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Anyone running OPNsense in bhyve? Reboot hangs