OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: amw on September 11, 2020, 07:52:13 am

Title: Crash after update to 20.7 on xen 4.11(debian)
Post by: amw on September 11, 2020, 07:52:13 am
After update from 20.1 to 20.7 domU crash. Also tried a fresh installation from iso. The machine crash after configuring network devices.

Thank you for help.
Title: Re: Crash after update to 20.7 on xen 4.11(debian)
Post by: amw on October 19, 2020, 11:47:41 am
Figured out some more information. Hope there is someone who can help....

Configuration:
OPNsense hvm with 5 type=vif devices to the bridges. Debian 10.6 with xen 4.11.4
20.1 work fine on 20.7 on some devices the error:

[20201017T14:36:11.788Z]  D0           w event   /local/domain/63/device/vif/3/request-multicast-control FFFF88802BA3AD90
[20201017T14:36:11.788Z]  D63          error     EINVAL

happens when bringing up the devices in OPNsense after sysctl.

Title: Re: Crash after update to 20.7 on xen 4.11(debian)
Post by: His.Dudeness on October 21, 2020, 04:59:28 pm
Hi,
I don't know if it's related but my OPNsense VM (on Xen with XCP-ng 7.6) didn't like the upgrade from 20.1.9_1 to 20.7 either.
It crashes during boot after the update...  :-\

I reverted to the last snapshot before upgrade and now it's working again.

cheers
Michael
Title: Re: Crash after update to 20.7 on xen 4.11(debian)
Post by: marcelmah on December 14, 2020, 05:10:37 pm
I have the same, but only when I add more then 5 networks (so it works fine with only 4 networks).
Because how Xen (we use XCP-ng) works with VLAN's we require 7 networks.
Title: Re: Crash after update to 20.7 on xen 4.11(debian)
Post by: amw on December 14, 2020, 06:57:33 pm
Does anyone have a solution for this problem?
Title: Re: Crash after update to 20.7 on xen 4.11(debian)
Post by: marcelmah on December 17, 2020, 02:47:57 pm
Hi,

I created a screencap of a OPNsense 20.1 VM with more then 4 NIC's and one of OPNsense 20.7 with 4 NIC's running.

I then add a NIC and reboot the VM, it then ends up in a kernel panic. If I force shutdown the VM and remove the 5th NIC all is fine again(after some automatic filesystem fixes at next boot).

You can view the video on YouTube:
https://www.youtube.com/watch?v=qh6KTYLYya8

Upgrading from the 20.1 to 20.7 ends up in the kernel panic.

I hope someone can identify (and fix) the problem.
I assume it has to do with he XN drivers for the network interfaces where the need for more then 4 NIC's comes from because the lack of VLAN support. In this case I can't use option 2 for VLAN's because I don't have any free network ports (you can't use the management NIC).

This also happens without the plugin os-xen, no difference.

Oh please note the IP ranges you see 130.62.x.x are internal ranges even though they're officially not... don't ask.
Title: Re: Crash after update to 20.7 on xen 4.11(debian)
Post by: kalpin on March 06, 2022, 04:34:30 am
This issue exactly I have now. If I remove the 5th interface then OpnSense is working. Any solutions ?
Title: Re: Crash after update to 20.7 on xen 4.11(debian)
Post by: marcelmah on March 06, 2022, 09:09:43 am
I added a new physical nic with 4 ports and user passthrough. This way I can also manage the VLAN natively in OPNsense.