From owner-freebsd-net@freebsd.org Tue Oct 1 06:37:36 2019 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3DB68FF991 for ; Tue, 1 Oct 2019 06:37:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 46j8hc1hGlz4TCL for ; Tue, 1 Oct 2019 06:37:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 38064FF990; Tue, 1 Oct 2019 06:37:36 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 37C73FF98E for ; Tue, 1 Oct 2019 06:37:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46j8hc1W2tz4TCK for ; Tue, 1 Oct 2019 06:37:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1894CF6D3 for ; Tue, 1 Oct 2019 06:37:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x916baVR030681 for ; Tue, 1 Oct 2019 06:37:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x916banO030680 for net@FreeBSD.org; Tue, 1 Oct 2019 06:37:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 239240] igb: TX(2) desc avail = 1024, pidx = 0 messages appear when the network card (igb/ixgbe/em) loses ethernet link Date: Tue, 01 Oct 2019 06:37:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: IntelNetworking, needs-patch, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: 76nemo76@gmx.ch X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Oct 2019 06:37:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239240 --- Comment #21 from 76nemo76@gmx.ch --- (In reply to 76nemo76 from comment #20) Finally I have applied the patches D21712 and D21769 on FreeBSD 12.1-PRERELEASE. This was probably not exactly the sources where the patches have been creat= ed since I have to apply one patch manually (the other was applied with the "patch" command). The result is better now but still with some strange errors.=20 What I have done is: 1) ping www.freebsd.org The result was OK 2) unplug the network cable The command ifconfig was OK and the port marked as down 3) plug again on an other=20 port the cable The command ifconfig was OK and the port marked as up 4) ping www.freebsd.org The result was not OK (no network) 5) pass the command=20=20 "service netif restart" The result was OK 6) ping other machines The result was OK 7) ping 127.0.0.1 The result was OK 8) ping 172.16.0.11=20 (the address set on=20 the bridge) The result was not OK If I ping the address of the bridge (172.16.0.11) immediately after a reboo= t, it works. -------------------log produced by the above manipulations------------------ root@oche:~ # ping www.freebsd.org PING wfe0.nyi.freebsd.org (96.47.72.84): 56 data bytes 64 bytes from 96.47.72.84: icmp_seq=3D0 ttl=3D47 time=3D87.104 ms 64 bytes from 96.47.72.84: icmp_seq=3D1 ttl=3D47 time=3D87.136 ms 64 bytes from 96.47.72.84: icmp_seq=3D2 ttl=3D47 time=3D86.914 ms ^C --- wfe0.nyi.freebsd.org ping statistics --- 3 packets transmitted, 3 packets received, 0.0% packet loss round-trip min/avg/max/stddev =3D 86.914/87.051/87.136/0.098 ms root@oche:~ # ifconfig -a igb0: flags=3D8943 metric 0= mtu 1500 =20=20=20=20=20=20=20 options=3De523bb ether 00:0d:b9:4e:88:10 media: Ethernet autoselect status: no carrier nd6 options=3D29 igb1: flags=3D8943 metric 0= mtu 1500 =20=20=20=20=20=20=20 options=3De523bb ether 00:0d:b9:4e:88:11 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D29 igb2: flags=3D8943 metric 0= mtu 1500 =20=20=20=20=20=20=20 options=3De523bb ether 00:0d:b9:4e:88:12 media: Ethernet autoselect status: no carrier nd6 options=3D29 igb3: flags=3D8943 metric 0= mtu 1500 =20=20=20=20=20=20=20 options=3De523bb ether 00:0d:b9:4e:88:13 media: Ethernet autoselect status: no carrier nd6 options=3D29 lo0: flags=3D8049 metric 0 mtu 16384 options=3D680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=3D21 bridge0: flags=3D8843 metric 0 mtu = 1500 ether 02:91:bc:80:6d:00 inet 172.16.0.11 netmask 0xfffffe00 broadcast 172.16.1.255 inet6 2a02:168:c000:0:9937::1 prefixlen 64 inet6 fd4f:bd4e:6d27:0:9937::1 prefixlen 64 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: igb3 flags=3D143 ifmaxaddr 0 port 4 priority 128 path cost 2000000 member: igb2 flags=3D143 ifmaxaddr 0 port 3 priority 128 path cost 55 member: igb1 flags=3D143 ifmaxaddr 0 port 2 priority 128 path cost 20000 member: igb0 flags=3D143 ifmaxaddr 0 port 1 priority 128 path cost 55 groups: bridge nd6 options=3D1 root@oche:~ # ifconfig -a igb0: flags=3D8943 metric 0= mtu 1500 =20=20=20=20=20=20=20 options=3De523bb ether 00:0d:b9:4e:88:10 media: Ethernet autoselect status: no carrier nd6 options=3D29 igb1: flags=3D8943 metric 0= mtu 1500 =20=20=20=20=20=20=20 options=3De523bb ether 00:0d:b9:4e:88:11 media: Ethernet autoselect status: no carrier nd6 options=3D29 igb2: flags=3D8943 metric 0= mtu 1500 =20=20=20=20=20=20=20 options=3De523bb ether 00:0d:b9:4e:88:12 media: Ethernet autoselect status: no carrier nd6 options=3D29 igb3: flags=3D8943 metric 0= mtu 1500 =20=20=20=20=20=20=20 options=3De523bb ether 00:0d:b9:4e:88:13 media: Ethernet autoselect status: no carrier nd6 options=3D29 lo0: flags=3D8049 metric 0 mtu 16384 options=3D680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=3D21 bridge0: flags=3D8843 metric 0 mtu = 1500 ether 02:91:bc:80:6d:00 inet 172.16.0.11 netmask 0xfffffe00 broadcast 172.16.1.255 inet6 2a02:168:c000:0:9937::1 prefixlen 64 inet6 fd4f:bd4e:6d27:0:9937::1 prefixlen 64 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: igb3 flags=3D143 ifmaxaddr 0 port 4 priority 128 path cost 2000000 member: igb2 flags=3D143 ifmaxaddr 0 port 3 priority 128 path cost 55 member: igb1 flags=3D143 ifmaxaddr 0 port 2 priority 128 path cost 20000 member: igb0 flags=3D143 ifmaxaddr 0 port 1 priority 128 path cost 55 groups: bridge nd6 options=3D1 root@oche:~ # ifconfig -a igb0: flags=3D8943 metric 0= mtu 1500 =20=20=20=20=20=20=20 options=3De523bb ether 00:0d:b9:4e:88:10 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D29 igb1: flags=3D8943 metric 0= mtu 1500 =20=20=20=20=20=20=20 options=3De523bb ether 00:0d:b9:4e:88:11 media: Ethernet autoselect status: no carrier nd6 options=3D29 igb2: flags=3D8943 metric 0= mtu 1500 =20=20=20=20=20=20=20 options=3De523bb ether 00:0d:b9:4e:88:12 media: Ethernet autoselect status: no carrier nd6 options=3D29 igb3: flags=3D8943 metric 0= mtu 1500 =20=20=20=20=20=20=20 options=3De523bb ether 00:0d:b9:4e:88:13 media: Ethernet autoselect status: no carrier nd6 options=3D29 lo0: flags=3D8049 metric 0 mtu 16384 options=3D680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=3D21 bridge0: flags=3D8843 metric 0 mtu = 1500 ether 02:91:bc:80:6d:00 inet 172.16.0.11 netmask 0xfffffe00 broadcast 172.16.1.255 inet6 2a02:168:c000:0:9937::1 prefixlen 64 inet6 fd4f:bd4e:6d27:0:9937::1 prefixlen 64 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: igb3 flags=3D143 ifmaxaddr 0 port 4 priority 128 path cost 2000000 member: igb2 flags=3D143 ifmaxaddr 0 port 3 priority 128 path cost 55 member: igb1 flags=3D143 ifmaxaddr 0 port 2 priority 128 path cost 20000 member: igb0 flags=3D143 ifmaxaddr 0 port 1 priority 128 path cost 55 groups: bridge nd6 options=3D1 root@oche:~ # ping www.freebsd.org ping: cannot resolve www.freebsd.org: Host name lookup failure root@oche:~ # ping 127.0.0.1 PING 127.0.0.1 (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=3D0 ttl=3D64 time=3D0.207 ms 64 bytes from 127.0.0.1: icmp_seq=3D1 ttl=3D64 time=3D0.236 ms ^C --- 127.0.0.1 ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev =3D 0.207/0.221/0.236/0.015 ms root@oche:~ # ping 172.16.0.11 PING 172.16.0.11 (172.16.0.11): 56 data bytes ^C --- 172.16.0.11 ping statistics --- 3 packets transmitted, 0 packets received, 100.0% packet loss root@oche:~ # service netif restart Stopping Network: lo0 igb0 igb1 igb2 igb3 bridge0. lo0: flags=3D8048 metric 0 mtu 16384 options=3D680003 groups: lo nd6 options=3D21 igb0: flags=3D8d02 metric 0 mt= u 1500 =20=20=20=20=20=20=20 options=3De523bb ether 00:0d:b9:4e:88:10 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D29 igb1: flags=3D8d02 metric 0 mt= u 1500 =20=20=20=20=20=20=20 options=3De523bb ether 00:0d:b9:4e:88:11 media: Ethernet autoselect status: no carrier nd6 options=3D29 igb2: flags=3D8d02 metric 0 mt= u 1500 =20=20=20=20=20=20=20 options=3De523bb ether 00:0d:b9:4e:88:12 media: Ethernet autoselect status: no carrier nd6 options=3D29 igb3: flags=3D8d02 metric 0 mt= u 1500 =20=20=20=20=20=20=20 options=3De523bb ether 00:0d:b9:4e:88:13 media: Ethernet autoselect status: no carrier nd6 options=3D29 bridge0: flags=3D8802 metric 0 mtu 1500 ether 02:91:bc:80:6d:00 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: igb3 flags=3D143 ifmaxaddr 0 port 4 priority 128 path cost 2000000 member: igb2 flags=3D143 ifmaxaddr 0 port 3 priority 128 path cost 55 member: igb1 flags=3D143 ifmaxaddr 0 port 2 priority 128 path cost 20000 member: igb0 flags=3D143 ifmaxaddr 0 port 1 priority 128 path cost 55 groups: bridge nd6 options=3D1 Destroyed clone interfaces: bridge0. Created clone interfaces: bridge0. ifconfig: BRDGADD igb0: File exists Starting Network: lo0 igb0 igb1 igb2 igb3 bridge0. lo0: flags=3D8049 metric 0 mtu 16384 options=3D680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=3D21 igb0: flags=3D8943 metric 0= mtu 1500 =20=20=20=20=20=20=20 options=3De523bb ether 00:0d:b9:4e:88:10 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D29 igb1: flags=3D8943 metric 0= mtu 1500 =20=20=20=20=20=20=20 options=3De523bb ether 00:0d:b9:4e:88:11 media: Ethernet autoselect status: no carrier nd6 options=3D29 igb2: flags=3D8943 metric 0= mtu 1500 =20=20=20=20=20=20=20 options=3De523bb ether 00:0d:b9:4e:88:12 media: Ethernet autoselect status: no carrier nd6 options=3D29 igb3: flags=3D8943 metric 0= mtu 1500 =20=20=20=20=20=20=20 options=3De523bb ether 00:0d:b9:4e:88:13 media: Ethernet autoselect status: no carrier nd6 options=3D29 bridge0: flags=3D8843 metric 0 mtu = 1500 ether 02:91:bc:80:6d:00 inet 172.16.0.11 netmask 0xfffffe00 broadcast 172.16.1.255 inet6 2a02:168:c000:0:9937::1 prefixlen 64 inet6 fd4f:bd4e:6d27:0:9937::1 prefixlen 64 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: igb3 flags=3D143 ifmaxaddr 0 port 4 priority 128 path cost 2000000 member: igb2 flags=3D143 ifmaxaddr 0 port 3 priority 128 path cost 55 member: igb1 flags=3D143 ifmaxaddr 0 port 2 priority 128 path cost 55 member: igb0 flags=3D143 ifmaxaddr 0 port 1 priority 128 path cost 20000 groups: bridge nd6 options=3D1 root@oche:~ # ping 172.16.0.11 PING 172.16.0.11 (172.16.0.11): 56 data bytes ^C --- 172.16.0.11 ping statistics --- 7 packets transmitted, 0 packets received, 100.0% packet loss root@oche:~ # ping 172.16.0.10 PING 172.16.0.10 (172.16.0.10): 56 data bytes 64 bytes from 172.16.0.10: icmp_seq=3D0 ttl=3D255 time=3D0.626 ms 64 bytes from 172.16.0.10: icmp_seq=3D1 ttl=3D255 time=3D0.421 ms 64 bytes from 172.16.0.10: icmp_seq=3D2 ttl=3D255 time=3D0.362 ms 64 bytes from 172.16.0.10: icmp_seq=3D3 ttl=3D255 time=3D0.397 ms 64 bytes from 172.16.0.10: icmp_seq=3D4 ttl=3D255 time=3D0.350 ms 64 bytes from 172.16.0.10: icmp_seq=3D5 ttl=3D255 time=3D0.351 ms 64 bytes from 172.16.0.10: icmp_seq=3D6 ttl=3D255 time=3D0.360 ms 64 bytes from 172.16.0.10: icmp_seq=3D7 ttl=3D255 time=3D0.351 ms 64 bytes from 172.16.0.10: icmp_seq=3D8 ttl=3D255 time=3D0.355 ms 64 bytes from 172.16.0.10: icmp_seq=3D9 ttl=3D255 time=3D0.317 ms 64 bytes from 172.16.0.10: icmp_seq=3D10 ttl=3D255 time=3D0.337 ms ^C --- 172.16.0.10 ping statistics --- 11 packets transmitted, 11 packets received, 0.0% packet loss round-trip min/avg/max/stddev =3D 0.317/0.384/0.626/0.081 ms --=20 You are receiving this mail because: You are the assignee for the bug.=