Hi,
I have Topton's TVI7309X N5105-based MiniPC and I have been dealing with same page fault kernel panics in OPNsense that ware mentioned many pages back in this thread with no apparent resolution.
In my case OPNsense runs as a VM on ESXi 8.0u2. No other ESX VM running on this MiniPC (Windows 10, various Linux distros) was experiencing any crashes nor ESXi itself had issues, just OPNsense VM was rebooting once a day due to aformentioned "Fatal trap 12: page fault while in kernel mode" error. Moreover, this same VM ran perfectly on ESXi 8 when on my "primary" home server utilizing i7-10700K CPU. It all started when I moved this VM 'as is' to this N5105 PC.
This must be a corner case between N5105, virtualization and FreeBSD.
What, I believe, helped in my case was one of the two changes, not sure which one, maybe both helped together:
- bumping up VM allocated RAM from 4GB to 6GB (OPNsense was a bit short on memory with 4GB, especially because 1.5GB was consumed by ARC - my setup uses ZFS inside)
- reserving entire allocated memory and checking ESX VM option "Reserve all guest memory (All locked)"
OPNsense VM has been up now for a few days with no panic. Previously panics were as frequent as once a day.
Maybe it will help you.
I have Topton's TVI7309X N5105-based MiniPC and I have been dealing with same page fault kernel panics in OPNsense that ware mentioned many pages back in this thread with no apparent resolution.
In my case OPNsense runs as a VM on ESXi 8.0u2. No other ESX VM running on this MiniPC (Windows 10, various Linux distros) was experiencing any crashes nor ESXi itself had issues, just OPNsense VM was rebooting once a day due to aformentioned "Fatal trap 12: page fault while in kernel mode" error. Moreover, this same VM ran perfectly on ESXi 8 when on my "primary" home server utilizing i7-10700K CPU. It all started when I moved this VM 'as is' to this N5105 PC.
This must be a corner case between N5105, virtualization and FreeBSD.
What, I believe, helped in my case was one of the two changes, not sure which one, maybe both helped together:
- bumping up VM allocated RAM from 4GB to 6GB (OPNsense was a bit short on memory with 4GB, especially because 1.5GB was consumed by ARC - my setup uses ZFS inside)
- reserving entire allocated memory and checking ESX VM option "Reserve all guest memory (All locked)"
OPNsense VM has been up now for a few days with no panic. Previously panics were as frequent as once a day.
Maybe it will help you.