Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2022 16:00:15 +0100
From:      Franco Fichtner <franco@opnsense.org>
To:        Mark Johnston <markj@freebsd.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: debugnet_any_ifnet_update: Bad dn_init result
Message-ID:  <304F739C-914D-4675-A60F-80C539830F0C@opnsense.org>
In-Reply-To: <YhzhgWA%2B571cfAxa@nuc>
References:  <EAE6EFB2-CB72-4C32-B56A-9ABDA78F597C@opnsense.org> <YhzhgWA%2B571cfAxa@nuc>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi Mark,

> On 28. Feb 2022, at 15:51, Mark Johnston <markj@freebsd.org> wrote:
> 
> Do you have any idea what triggers the message in the first place?  I
> haven't seen it on my igb-using systems.

No but I have hardware here that does this. Short dmesg scan:

# dmesg | grep igb2
igb2: <Intel(R) I210 Flashless (Copper)> port 0x4000-0x401f mem 0xf7d00000-0xf7d1ffff,0xf7d20000-0xf7d23fff irq 36 at device 0.0 on pci3
igb2: NVM V0.6 imgtype6
igb2: Using 1024 TX descriptors and 1024 RX descriptors
igb2: Using 4 RX queues 4 TX queues
igb2: Using MSI-X interrupts with 5 vectors
igb2: Ethernet address: f4:90:ea:00:2d:9d
igb2: netmap queues/slots: TX 4/1024, RX 4/1024
debugnet_any_ifnet_update: Bad dn_init result from igb2 (ifp 0xfffff800035ea000), ignoring.

Context for dn_init messages:

# dmesg | grep -C1 dn_init
igb0: link state changed to UP
debugnet_any_ifnet_update: Bad dn_init result from igb0 (ifp 0xfffff80003752800), ignoring.
igb1: link state changed to UP
debugnet_any_ifnet_update: Bad dn_init result from igb1 (ifp 0xfffff800035e8800), ignoring.
intsmb0: <AMD FCH SMBus Controller> at device 20.0 on pci0
--
amdtemp0: <AMD CPU On-Die Thermal Sensors> on hostb5
debugnet_any_ifnet_update: Bad dn_init result from igb2 (ifp 0xfffff800035ea000), ignoring.
lagg0: link state changed to DOWN

It appears this happens on all interfaces that get configured during init.

The device has a fourth device that doesn't appear to have this issue:

# dmesg | grep igb3
igb3: <Intel(R) I210 Flashless (Copper)> port 0x6000-0x601f mem 0xf7e00000-0xf7e1ffff,0xf7e20000-0xf7e23fff irq 40 at device 0.0 on pci4
igb3: NVM V0.6 imgtype6
igb3: Using 1024 TX descriptors and 1024 RX descriptors
igb3: Using 4 RX queues 4 TX queues
igb3: Using MSI-X interrupts with 5 vectors
igb3: Ethernet address: f4:90:ea:00:2d:9e
igb3: netmap queues/slots: TX 4/1024, RX 4/1024
vlan1: changing name to 'igb3_vlan43'
igb3: promiscuous mode enabled

Can also share full dmesg if you want or deliver other info.


Cheers,
Franco
[-- Attachment #2 --]
<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Mark,<div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 28. Feb 2022, at 15:51, Mark Johnston &lt;<a href="mailto:markj@freebsd.org" class="">markj@freebsd.org</a>&gt; wrote:</div><div class=""><div class=""><br class="">Do you have any idea what triggers the message in the first place? &nbsp;I<br class="">haven't seen it on my igb-using systems.<br class=""></div></div></blockquote></div><br class=""></div><div class="">No but I have hardware here that does this. Short dmesg scan:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: &quot;Source Code Pro&quot;;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># dmesg | grep igb2</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: &quot;Source Code Pro&quot;;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">igb2: &lt;Intel(R) I210 Flashless (Copper)&gt; port 0x4000-0x401f mem 0xf7d00000-0xf7d1ffff,0xf7d20000-0xf7d23fff irq 36 at device 0.0 on pci3</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: &quot;Source Code Pro&quot;;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">igb2: NVM V0.6 imgtype6</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: &quot;Source Code Pro&quot;;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">igb2: Using 1024 TX descriptors and 1024 RX descriptors</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: &quot;Source Code Pro&quot;;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">igb2: Using 4 RX queues 4 TX queues</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: &quot;Source Code Pro&quot;;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">igb2: Using MSI-X interrupts with 5 vectors</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: &quot;Source Code Pro&quot;;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">igb2: Ethernet address: f4:90:ea:00:2d:9d</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: &quot;Source Code Pro&quot;;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">igb2: netmap queues/slots: TX 4/1024, RX 4/1024</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: &quot;Source Code Pro&quot;;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">debugnet_any_ifnet_update: Bad dn_init result from igb2 (ifp 0xfffff800035ea000), ignoring.</span></div></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: &quot;Source Code Pro&quot;;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: &quot;Source Code Pro&quot;;" class="">Context for dn_init messages:</div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: &quot;Source Code Pro&quot;;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: &quot;Source Code Pro&quot;;" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># dmesg | grep -C1 dn_init</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">igb0: link state changed to UP</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">debugnet_any_ifnet_update: Bad dn_init result from igb0 (ifp 0xfffff80003752800), ignoring.</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">igb1: link state changed to UP</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">debugnet_any_ifnet_update: Bad dn_init result from igb1 (ifp 0xfffff800035e8800), ignoring.</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">intsmb0: &lt;AMD FCH SMBus Controller&gt; at device 20.0 on pci0</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">--</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">amdtemp0: &lt;AMD CPU On-Die Thermal Sensors&gt; on hostb5</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">debugnet_any_ifnet_update: Bad dn_init result from igb2 (ifp 0xfffff800035ea000), ignoring.</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">lagg0: link state changed to DOWN</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">It appears this happens on all interfaces that get configured during init.</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">The device has a fourth device that doesn't appear to have this issue:</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># dmesg | grep igb3</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">igb3: &lt;Intel(R) I210 Flashless (Copper)&gt; port 0x6000-0x601f mem 0xf7e00000-0xf7e1ffff,0xf7e20000-0xf7e23fff irq 40 at device 0.0 on pci4</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">igb3: NVM V0.6 imgtype6</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">igb3: Using 1024 TX descriptors and 1024 RX descriptors</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">igb3: Using 4 RX queues 4 TX queues</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">igb3: Using MSI-X interrupts with 5 vectors</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">igb3: Ethernet address: f4:90:ea:00:2d:9e</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">igb3: netmap queues/slots: TX 4/1024, RX 4/1024</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">vlan1: changing name to 'igb3_vlan43'</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">igb3: promiscuous mode enabled</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Can also share full dmesg if you want or deliver other info.</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Cheers,</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Franco</span></div></span></div></div></body></html>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?304F739C-914D-4675-A60F-80C539830F0C>