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