OPNsense Forum

Archive => 22.1 Legacy Series => Topic started by: mrancier on November 13, 2021, 05:19:16 pm

Title: Problems with IXGBE driver
Post by: mrancier on November 13, 2021, 05:19:16 pm
Fresh install of OPNsense.  Upgraded to latest stable 21.7.5_2.  Changed to dev branch after completion and reboot.  Upgraded to 22.1b .   Whenever the network adapter is connected,  boot does not complete.  Network flaps constantly.  Unplug  network cables,  firewall completes boot, get beep and all that.  Connect network cables and links start flapping.   Reverted back to production.  Any clues ?  Saw an issue on the GitHub that seems related from a few days ago, but it was closed and marked upstream.
Title: Re: Problems with IXGBE driver
Post by: MartB on November 13, 2021, 05:51:57 pm
Try locally upgrading to https://forum.opnsense.org/index.php?topic=25541.msg122782#msg122782.

Transfer the files starting with kernel-22.1.b1_57 from here: https://pkg.opnsense.org/FreeBSD:13:amd64/snapshots/sets/ to an usb stick, mount it on the machine and then run:

Code: [Select]
opnsense-update -zkr 22.1.b1_57 -l /mnt/<your usb stick mount point>/
Might be unrelated to the driver after all, worth a try.
Alternatively you can disable shared forwarding in the advanced firewall settings (this is fixed with the aforementioned kernel update)

If this still happens after this, grab the contents of /var/crash and upload them here.


Title: Re: Problems with IXGBE driver
Post by: mrancier on November 13, 2021, 07:46:11 pm
I am not currently shaping, so no need for ipfw.  Would it work to disable shared forwarding prior to the upgrade to dev, complete the upgrade, and then apply the new kernel ?
Title: Re: Problems with IXGBE driver
Post by: MartB on November 13, 2021, 08:59:21 pm
Yup, it should!

I did the following:
1) Disable shared forwarding
2) Switch to dev.
3) Upgrade the kernel locally with no ethernet cables attached just to make sure (should not be needed)
4) Re-Enable shared forwarding after the new kernel is installed and active (reboot)
5) Success
Title: Re: Problems with IXGBE driver
Post by: mrancier on November 14, 2021, 12:28:28 am
Thanks for helping me out with this, bud!
Title: Re: Problems with IXGBE driver
Post by: franco on November 14, 2021, 09:14:30 am
There's nothing specific for ixgbe in 22.1.b1 so it might be a FreeBSD-bound behaviour. Let us know if the newer test kernel is better or not.


Thanks,
Franco
Title: Re: Problems with IXGBE driver
Post by: mrancier on November 14, 2021, 02:34:22 pm
Snapshot kernel does mitigate the issue, plus some strange slowness on GUI post upgrade.
Title: Re: Problems with IXGBE driver
Post by: franco on November 15, 2021, 11:27:38 am
Not sure what it had to do with ixgbe in particular, but I'm happy if it works.

The patch from the snapshot kernel was added to the stock BETA1 kernel so that for everyone else upgrading this won't happen anymore.


Cheer,
Franco