OPNsense Forum

Archive => 22.1 Legacy Series => Topic started by: crissi on February 04, 2022, 05:46:53 PM

Title: debugnet_any_ifnet_update: Bad dn_init result on all Interfaces after update
Post by: crissi on February 04, 2022, 05:46:53 PM
Hello,

Updated to 22.1. ZFS Install with LAGG. Checking dmesg:


debugnet_any_ifnet_update: Bad dn_init result from igb1 (ifp 0xfffff800031f3000), ignoring.
igb1: link state changed to DOWN
lagg0: link state changed to DOWN
debugnet_any_ifnet_update: Bad dn_init result from igb2 (ifp 0xfffff8000505d800), ignoring.
igb2: link state changed to DOWN
debugnet_any_ifnet_update: Bad dn_init result from igb3 (ifp 0xfffff80003f25000), ignoring.
igb3: link state changed to DOWN

igb1: link state changed to UP
igb3: link state changed to UP
igb2: link state changed to UP
lagg0: link state changed to UP


Get the Bad dn_init on all Interfaces (Intel Interfaces), after the Update to OPNsense 22.1.

How to fix?
Thx!
Title: Re: debugnet_any_ifnet_update: Bad dn_init result on all Interfaces after update
Post by: ajm on February 06, 2022, 01:10:45 PM
Me too !

debugnet_any_ifnet_update: Bad dn_init result from igb1 (ifp 0xfffff80003421000), ignoring
Title: Re: debugnet_any_ifnet_update: Bad dn_init result on all Interfaces after update
Post by: franco on February 07, 2022, 12:26:37 PM
This was done in FreeBSD 13 to avoid a panic during boot... https://github.com/opnsense/src/commit/65366903c3a29

According to the commit the driver needs to be fixed which I assume never happened. Haven't seen an issue stemming from this particular message though.


Cheers,
Franco
Title: Re: debugnet_any_ifnet_update: Bad dn_init result on all Interfaces after update
Post by: franco on February 07, 2022, 12:27:24 PM
PS: I'm assuming one could remove the kernel message. *shrugs*
Title: Re: debugnet_any_ifnet_update: Bad dn_init result on all Interfaces after update
Post by: crissi on February 25, 2022, 03:25:17 PM
Hi Franco,

thanks for the information. Just to understand, this means the messages get fixed in a new release?
Thx!
Title: Re: debugnet_any_ifnet_update: Bad dn_init result on all Interfaces after update
Post by: franco on February 28, 2022, 12:29:05 PM
The message is spurious if FreeBSD doesn't decide to refactor it anyway. I will propose a patch to FreeBSD and see what happens.


Cheers,
Franco
Title: Re: debugnet_any_ifnet_update: Bad dn_init result on all Interfaces after update
Post by: franco on February 28, 2022, 12:35:29 PM
Review here: https://reviews.freebsd.org/D34393
Title: Re: debugnet_any_ifnet_update: Bad dn_init result on all Interfaces after update
Post by: crissi on March 06, 2022, 10:08:38 AM
Perfect, thanks Franco