FreeBSD 11.0 (pfSense 2.4) kernel panic with more than 3 Xen (4.8.1) VIF's
I’m using FreeBSD 11.0 (technically in a pfSense 2.4 distribution form) in a VM (HVM with PV on for optimised virtual devices) using Xen 4.8.1. (management OS is Debian Stretch).
When starting the VM with 3 or less network interfaces, everything works fine, but as soon as I add a 4th interface the VM gets a kernel panic and dumps (and reboots). When adding a 5th or more interface and booting it doesn’t even dump anymore, it panics and immediately goes into db>.
I can supply the dumps themselves as well I suppose, they should still be stored on the system. If needed I should be able to re-create this on pure FreeBSD 11.0 too.
I am wondering what to do next. I could quickly solve this with some VLAN magic, or chain a few VM’s together to get more interfaces interconnected to get the functionality,
but it’d rather just fix the problem. It’s probably not Xen’s fault, but I do wonder if this is something that has happened before with the Xen netback/netfront combination and BSD and if so, what the solution is/was.