Problems with IXGBE driver

Started by mrancier, November 13, 2021, 05:19:16 PM

Previous topic - Next topic
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.

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:

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.



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 ?

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

Thanks for helping me out with this, bud!

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

Snapshot kernel does mitigate the issue, plus some strange slowness on GUI post upgrade.

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