From owner-freebsd-net@freebsd.org Sun Nov 5 20:45:54 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7DA08E511F1 for ; Sun, 5 Nov 2017 20:45:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6AC6A6A8E2 for ; Sun, 5 Nov 2017 20:45:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vA5Kjr1v084886 for ; Sun, 5 Nov 2017 20:45:54 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 199478] tools/regression/sockets/unix_cmsg fails on 9.3-STABLE/10.1-STABLE/11-CURRENT (but only on amd64..?) Date: Sun, 05 Nov 2017 20:45:54 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ngie@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-testing@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Nov 2017 20:45:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D199478 Ngie Cooper changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|ngie@FreeBSD.org |freebsd-testing@freebsd.org CC| |glebius@FreeBSD.org, | |sobomax@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Sun Nov 5 21:05:36 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BBB7AE51F0C for ; Sun, 5 Nov 2017 21:05:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A93DD6B72C for ; Sun, 5 Nov 2017 21:05:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vA5L5atv078068 for ; Sun, 5 Nov 2017 21:05:36 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 199478] tools/regression/sockets/unix_cmsg fails on 9.3-STABLE/10.1-STABLE/11-CURRENT (but only on amd64..?) Date: Sun, 05 Nov 2017 21:05:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ngie@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-testing@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Nov 2017 21:05:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D199478 Ngie Cooper changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 065 | |43 --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Nov 6 04:22:56 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AE3CBE59292 for ; Mon, 6 Nov 2017 04:22:56 +0000 (UTC) (envelope-from freebsd@dukhovni.org) Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7903177C86 for ; Mon, 6 Nov 2017 04:22:56 +0000 (UTC) (envelope-from freebsd@dukhovni.org) Received: by mournblade.imrryr.org (Postfix, from userid 1034) id AABC07A330E; Mon, 6 Nov 2017 04:22:48 +0000 (UTC) Date: Mon, 6 Nov 2017 04:22:48 +0000 From: Viktor Dukhovni To: freebsd-net@freebsd.org Subject: [PATCH]: The 6to4 stf0 interface flapping in/out of tentative in FreeBSD 11 Message-ID: <20171106042248.GL3322@mournblade.imrryr.org> Reply-To: freebsd-net@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Mailer: Apple Mail (2.3445.4.7) User-Agent: Mutt/1.7.2 (2016-11-26) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2017 04:22:56 -0000 Some time ago I wrote: > On Mar 4, 2017, at 9:05 PM, Viktor Dukhovni wrote: > > In trying to set up a 6to4 node under 11.0-RELEASE-p8, and the stf0 > interface is constantly flipping in and out of "tentative" state, at > seemingly 1 second intervals. Is that to be expected? Am I missing > some non-obvious configuration setting? Today, I looked closely at the kernel sources and found the issue. Patch below. Interfaces found to not have IFF_DRV_RUNNING in if_drv_flags by the periodic interface scan are marked tentative. Since the "stf" driver did not set that flag, the "stf" interface flaps. Index: sys/net/if_stf.c =================================================================== --- sys/net/if_stf.c (revision 325169) +++ sys/net/if_stf.c (working copy) @@ -722,6 +722,7 @@ } ifp->if_flags |= IFF_UP; + ifp->if_drv_flags |= IFF_DRV_RUNNING; break; case SIOCADDMULTI: While I was at it, I also changed the below because for "stf" the only effect of "break" was the misleading logging: stf0 is not multicast caple, IPv6 not enabled Perhaps there is some configuration I am not taking into account in which something more useful happens... Feeback appreciated. Index: sys/netinet6/in6_ifattach.c =================================================================== --- sys/netinet6/in6_ifattach.c (revision 325169) +++ sys/netinet6/in6_ifattach.c (working copy) @@ -696,25 +696,25 @@ /* * quirks based on interface type */ switch (ifp->if_type) { case IFT_STF: /* * 6to4 interface is a very special kind of beast. * no multicast, no linklocal. RFC2529 specifies how to make * linklocals for 6to4 interface, but there's no use and * it is rather harmful to have one. */ ND_IFINFO(ifp)->flags &= ~ND6_IFF_AUTO_LINKLOCAL; - break; + return; default: break; } /* * usually, we require multicast capability to the interface */ if ((ifp->if_flags & IFF_MULTICAST) == 0) { nd6log((LOG_INFO, "in6_ifattach: " "%s is not multicast capable, IPv6 not enabled\n", if_name(ifp))); return; -- Viktor. From owner-freebsd-net@freebsd.org Mon Nov 6 04:40:02 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2EADEE59696 for ; Mon, 6 Nov 2017 04:40:02 +0000 (UTC) (envelope-from freebsd@dukhovni.org) Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CD0917C327 for ; Mon, 6 Nov 2017 04:40:01 +0000 (UTC) (envelope-from freebsd@dukhovni.org) Received: by mournblade.imrryr.org (Postfix, from userid 1034) id 67A427A3310; Mon, 6 Nov 2017 04:40:00 +0000 (UTC) Date: Mon, 6 Nov 2017 04:40:00 +0000 From: Viktor Dukhovni To: freebsd-net@freebsd.org Subject: Re: FreeBSD 11.1-RELEASE: Kernel panic in ipv6_output() via tcp6_usr_connect() Message-ID: <20171106044000.GM3322@mournblade.imrryr.org> Reply-To: freebsd-net@freebsd.org References: <86dcc06d-b98c-cc1f-8726-8afb011871e3@yandex.ru> <94e12e46-f54a-ae22-3f4c-0bd9ac7e1fc9@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <94e12e46-f54a-ae22-3f4c-0bd9ac7e1fc9@yandex.ru> User-Agent: Mutt/1.7.2 (2016-11-26) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2017 04:40:02 -0000 On Wed, Nov 01, 2017 at 02:17:33PM +0300, Andrey V. Elsukov wrote: > > # NAT the rest > > ipfw nat 1 config if "$oif" unreg_only reset same_ports > > ipfw add nat 1 ip from any to any via "$oif" > > Just an theory, can you try change this rule to be like this: > > ipfw add nat 1 ip4 from any to any via "$oif" > > From first glance I don't see any restrictions in libalias/nat44 to not > try to translate IPv6 packet assuming it as IPv4. I've changed the rule from "ip" to "ip4", but also made other changes to get 6to4 working, and no longer see panics. Reverting the rule on a running system back to "ip", still yields no panics, but I am now running a different 11.1 kernel built from SVN with my "stf" patch. So it is sadly not quite clear where the problem was, my original configuration, the older kernel, something else? # svn info Path: . Working Copy Root Path: /usr/src URL: https://svn0.us-west.freebsd.org/base/releng/11.1 Relative URL: ^/releng/11.1 Repository Root: https://svn0.us-west.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 325169 Node Kind: directory Schedule: normal Last Changed Author: gordon Last Changed Rev: 324708 Last Changed Date: 2017-10-17 17:20:07 -0400 (Tue, 17 Oct 2017) -- Viktor. From owner-freebsd-net@freebsd.org Mon Nov 6 07:32:27 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E10AEE55A49 for ; Mon, 6 Nov 2017 07:32:27 +0000 (UTC) (envelope-from ml@netfence.it) Received: from smtp205.alice.it (smtp205.alice.it [82.57.200.101]) by mx1.freebsd.org (Postfix) with ESMTP id 782046398E for ; Mon, 6 Nov 2017 07:32:27 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.ventu (212.171.20.179) by smtp205.alice.it (8.6.060.28) id 59C3CE95097896C1; Mon, 6 Nov 2017 08:26:16 +0100 Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) by soth.ventu (8.15.2/8.15.2) with ESMTP id vA67QAji052662; Mon, 6 Nov 2017 08:26:10 +0100 (CET) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.ventu: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu Subject: Re: Help provisioning a Samba AD in a jail on ZFS To: Alexander Zagrebin , freebsd-net@freebsd.org References: <57dc8e1e-6e38-456d-f70d-291d6bf68bb8@netfence.it> <20171102100947.424ce456@vm2.home.zagrebin.ru> From: Andrea Venturoli Message-ID: <8813fc50-2187-2860-eda1-5ace9e120c22@netfence.it> Date: Mon, 6 Nov 2017 08:26:05 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171102100947.424ce456@vm2.home.zagrebin.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2017 07:32:28 -0000 On 11/02/17 08:09, Alexander Zagrebin wrote: > В Wed, 1 Nov 2017 16:01:18 +0100 > Andrea Venturoli пишет: > > It seems it's offtopic here, but I'll try to answer. Doh! I was going to write to -port, but wrote -net in the end... Sorry! > To setup a new samba46-based domain controller on ZFS in jail (I'm > using it with the VIMAGE) you can try following: I'm not using VIMAGE (at least not yet). > 1. Rebuild the net/samba46 port with the attached patches > (patch-librpc__idl__xattr.idl, patch-python__samba__provision____init__.py) > > 2. Initialize new domain with the following command (the last two > parameters makes magic): > samba-tool domain provision --use-rfc2307 \ > --host-name= \ > --realm= \ > --domain= \ > --adminpass= \ > --option="vfs objects = acl_xattr" \ > --option="acl_xattr:ignore system acls = yes" > > 3. After successful provisioning, edit /usr/local/etc/smb4.conf: > - remove or comment out > vfs objects = acl_xattr > acl_xattr:ignore system acls = yes > - add the following: > vfs objects = zfsacl > nfs4:mode = special > nfs4:acedup = merge > nfs4:chown = yes > > 4. Execute `samba-tool ntacl sysvolreset` > > 5. Start samba Looks like it worked. Hope I don't get any suprise in the deployment phase... Thank you very much!!! > It is not ideal solution, but it seems to be working, > despite there are another resolvable issues (with BIND9_DLZ > and so on)... I'm using internal DNS, anyway... > I've sent patches to the port maintainer, but have no answer. Perhaps you could try and file a bug report? At the very least users would be able to find your patches. bye & Thanks av. From owner-freebsd-net@freebsd.org Mon Nov 6 11:29:37 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4F68DE5A51A for ; Mon, 6 Nov 2017 11:29:37 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward105p.mail.yandex.net (forward105p.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DEC296ABB0 for ; Mon, 6 Nov 2017 11:29:36 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback3j.mail.yandex.net (mxback3j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10c]) by forward105p.mail.yandex.net (Yandex) with ESMTP id 2865F4081660; Mon, 6 Nov 2017 14:29:32 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback3j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 9l15zxyA8o-TViq5qxI; Mon, 06 Nov 2017 14:29:32 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1509967772; bh=6unNMEjWbVrs8DZDeHm2gD9f4zn+HxDyuRt+PloeInA=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=KLREEkO98x6ScZWhvp/4xMYUr2goKXwhN8XYaZNwn/MYFlQua6wmz3qDNXq2JtBVY ivm+WRBoWhI4o1wzMrvF2v+T6KXeoaW/fopb825HawHpuIFi5ozzKfRkv8TxejRCfN UPjeMbiE1hCJ4IspO9UpTuhghQ01iMbT0vfAe7NA= Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id TIxncpVIRn-TVe4cju7; Mon, 06 Nov 2017 14:29:31 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1509967771; bh=6unNMEjWbVrs8DZDeHm2gD9f4zn+HxDyuRt+PloeInA=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=lcTCsG9JLyzYJKP44qdWSHIqJH7ewIOpBrab8hFjdC1xUzGtRaYxwrD1h/kC1ppnr qkJC7ZX8AKnBCCY7Dl9dfjEVwA9+oXu0VjHKUbj9173584tGrfWOL13gHz8CmeHVth 6xFUcneI1VHgPtYFEEKqr5xxv0nTHybWbtshSlWM= Authentication-Results: smtp3p.mail.yandex.net; dkim=pass header.i=@yandex.ru Subject: Re: FreeBSD 11.1-RELEASE: Kernel panic in ipv6_output() via tcp6_usr_connect() To: freebsd-net@freebsd.org, Viktor Dukhovni References: <86dcc06d-b98c-cc1f-8726-8afb011871e3@yandex.ru> <94e12e46-f54a-ae22-3f4c-0bd9ac7e1fc9@yandex.ru> <20171106044000.GM3322@mournblade.imrryr.org> From: "Andrey V. Elsukov" Openpgp: id=E6591E1B41DA1516F0C9BC0001C5EA0410C8A17A Message-ID: Date: Mon, 6 Nov 2017 14:28:16 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20171106044000.GM3322@mournblade.imrryr.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="utGgGSXepMdwr3VValSkj72o7JMd6o40P" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2017 11:29:37 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --utGgGSXepMdwr3VValSkj72o7JMd6o40P Content-Type: multipart/mixed; boundary="hTQbW4xVh87BlQ4Rgg0j8piUOqqwhCkPQ"; protected-headers="v1" From: "Andrey V. Elsukov" To: freebsd-net@freebsd.org, Viktor Dukhovni Message-ID: Subject: Re: FreeBSD 11.1-RELEASE: Kernel panic in ipv6_output() via tcp6_usr_connect() References: <86dcc06d-b98c-cc1f-8726-8afb011871e3@yandex.ru> <94e12e46-f54a-ae22-3f4c-0bd9ac7e1fc9@yandex.ru> <20171106044000.GM3322@mournblade.imrryr.org> In-Reply-To: <20171106044000.GM3322@mournblade.imrryr.org> --hTQbW4xVh87BlQ4Rgg0j8piUOqqwhCkPQ Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 06.11.2017 07:40, Viktor Dukhovni wrote: >> From first glance I don't see any restrictions in libalias/nat44 to no= t >> try to translate IPv6 packet assuming it as IPv4. >=20 > I've changed the rule from "ip" to "ip4", but also made other > changes to get 6to4 working, and no longer see panics. >=20 > Reverting the rule on a running system back to "ip", still yields > no panics, but I am now running a different 11.1 kernel built from > SVN with my "stf" patch. So it is sadly not quite clear where the > problem was, my original configuration, the older kernel, something > else? I think it is the right assumption, that IPv6 packet got corrupted by nat44 and then ip6_output() is confused by incorrect packet, especially wrong packet length may lead to fragmentation and due to the discrepancy between ip6_plen and m_pkthdr.len ip6_fragment() creates wrong fragments chain. I think the following patch should be enough to fix the problem: Index: sys/netpfil/ipfw/ip_fw2.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/netpfil/ipfw/ip_fw2.c (revision 325354) +++ sys/netpfil/ipfw/ip_fw2.c (working copy) @@ -2563,7 +2563,7 @@ do { \ case O_NAT: l =3D 0; /* exit inner loop */ done =3D 1; /* exit outer loop */ - if (!IPFW_NAT_LOADED) { + if (!is_ipv4 || !IPFW_NAT_LOADED) { retval =3D IP_FW_DENY; break; } --=20 WBR, Andrey V. Elsukov --hTQbW4xVh87BlQ4Rgg0j8piUOqqwhCkPQ-- --utGgGSXepMdwr3VValSkj72o7JMd6o40P Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAloAR1AACgkQAcXqBBDI oXojdwf/aEkUx9TdbzRvaZb0/nmt7eOfWWC45NiLVTDCB69vU7TSZYkDxeIfgn2y NqOvUlpKVgk6YlzVjy6hB+KnPjEzR/97om9joL948xRaWyVqXYa/ZNrWlFksaIv1 QbYDi6kDqHBpQdiXfzw+R0NHpnmI5rBOjEhJAzyJCapUq1Yoz7yY+8X8ShgomBvq OG6D/XCJfF65QQYKXs8s91ieB3g2KfQ8z5ir3HMwwQo10Z/ZHDg2y04SbNf84AXD /HmvahxIVNxGwOpiUZwqrN7bohPqJHs+jGiAgXlvtZ9FR43xfRY9Kdl82OeekRil azTDlQ6HJN4u/NZt5OpiZTa5GlNtog== =TOos -----END PGP SIGNATURE----- --utGgGSXepMdwr3VValSkj72o7JMd6o40P-- From owner-freebsd-net@freebsd.org Mon Nov 6 12:44:56 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 44F83E5D187 for ; Mon, 6 Nov 2017 12:44:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 336756DB47 for ; Mon, 6 Nov 2017 12:44:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vA6CiteR068997 for ; Mon, 6 Nov 2017 12:44:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 205144] [patch] make rsh(1) compatible with recent Cisco IOS versions Date: Mon, 06 Nov 2017 12:44:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.2-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: eugen@freebsd.org X-Bugzilla-Flags: 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2017 12:44:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205144 --- Comment #3 from commit-hook@freebsd.org --- A commit references this bug: Author: eugen Date: Mon Nov 6 12:44:27 UTC 2017 New revision: 325473 URL: https://svnweb.freebsd.org/changeset/base/325473 Log: MFC r324212: rsh: introduce new option -N disabling shutdown of socket sending path. PR: 205144 Approved by: mav (mentor) Changes: stable/11/usr.bin/rsh/rsh.1 stable/11/usr.bin/rsh/rsh.c --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Nov 6 12:45:59 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C9D3E5D4FF for ; Mon, 6 Nov 2017 12:45:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EEB9F6DD47 for ; Mon, 6 Nov 2017 12:45:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vA6CjwJb071597 for ; Mon, 6 Nov 2017 12:45:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 205144] [patch] make rsh(1) compatible with recent Cisco IOS versions Date: Mon, 06 Nov 2017 12:45:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.2-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: eugen@freebsd.org X-Bugzilla-Flags: 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2017 12:45:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205144 --- Comment #4 from commit-hook@freebsd.org --- A commit references this bug: Author: eugen Date: Mon Nov 6 12:45:52 UTC 2017 New revision: 325474 URL: https://svnweb.freebsd.org/changeset/base/325474 Log: MFC r324212: rsh: introduce new option -N disabling shutdown of socket sending path. PR: 205144 Approved by: mav (mentor) Changes: stable/10/usr.bin/rsh/rsh.1 stable/10/usr.bin/rsh/rsh.c --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Nov 6 12:46:26 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A1843E5D568 for ; Mon, 6 Nov 2017 12:46:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8FA026DEEE for ; Mon, 6 Nov 2017 12:46:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vA6CkQ8Z072302 for ; Mon, 6 Nov 2017 12:46:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 205144] [patch] make rsh(1) compatible with recent Cisco IOS versions Date: Mon, 06 Nov 2017 12:46:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.2-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: eugen@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2017 12:46:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205144 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |Closed Resolution|--- |FIXED --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Nov 6 12:53:55 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 44407E5D9AC for ; Mon, 6 Nov 2017 12:53:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3310D6E385 for ; Mon, 6 Nov 2017 12:53:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vA6CrtaX090296 for ; Mon, 6 Nov 2017 12:53:55 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 222512] [netgraph] ng_con_nodes calls ng_findhook() on unprotected node2 Date: Mon, 06 Nov 2017 12:53:55 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: eugen@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2017 12:53:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222512 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open Assignee|freebsd-net@FreeBSD.org |eugen@freebsd.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Nov 6 13:16:09 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C5091E5E101 for ; Mon, 6 Nov 2017 13:16:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B2F4C6EDA3 for ; Mon, 6 Nov 2017 13:16:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vA6DG9co049143 for ; Mon, 6 Nov 2017 13:16:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 191975] [ng_iface] [regression] in 10.0: cannot contact local services Date: Mon, 06 Nov 2017 13:16:09 +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: 10.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eugen@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc bug_status 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2017 13:16:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D191975 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-net@FreeBSD.org |eugen@freebsd.org CC| |eugen@freebsd.org Status|New |Open --- Comment #13 from Eugene Grosbein --- Is this problem still relevant? If so, I would advise you to update to 10.4 or 11.1 and update mpd5 itself = too, as there were pretty nasty bugs in both of base system and mpd5 fixed recen= tly. If this does not help, I will need you to run tcpdump to ensure what part is guilty here. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Nov 6 13:26:26 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 24D77E5E3E1 for ; Mon, 6 Nov 2017 13:26:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 09F156F278 for ; Mon, 6 Nov 2017 13:26:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vA6DQPXB071151 for ; Mon, 6 Nov 2017 13:26:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 218517] ppp fails adding route with error Value too large to be stored in data type Date: Mon, 06 Nov 2017 13:26:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: eugen@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to cc 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2017 13:26:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218517 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open Assignee|freebsd-net@FreeBSD.org |eugen@freebsd.org CC| |eugen@freebsd.org --- Comment #4 from Eugene Grosbein --- Please provide output of commands: uname -K uname -U file /usr/sbin/ppp --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Nov 6 14:53:20 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5AE3AE5FE53 for ; Mon, 6 Nov 2017 14:53:20 +0000 (UTC) (envelope-from freebsd@dukhovni.org) Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 169C572086 for ; Mon, 6 Nov 2017 14:53:19 +0000 (UTC) (envelope-from freebsd@dukhovni.org) Received: from [192.168.1.161] (straasha.imrryr.org [100.2.39.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id BA0487A330D for ; Mon, 6 Nov 2017 14:53:17 +0000 (UTC) (envelope-from freebsd@dukhovni.org) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.1 \(3445.4.7\)) Subject: Re: FreeBSD 11.1-RELEASE: Kernel panic in ipv6_output() via tcp6_usr_connect() From: Viktor Dukhovni In-Reply-To: Date: Mon, 6 Nov 2017 09:53:09 -0500 Content-Transfer-Encoding: 7bit Reply-To: freebsd-net@freebsd.org Message-Id: <39EFBDF9-B313-4472-85CF-D2D5D508E991@dukhovni.org> References: <86dcc06d-b98c-cc1f-8726-8afb011871e3@yandex.ru> <94e12e46-f54a-ae22-3f4c-0bd9ac7e1fc9@yandex.ru> <20171106044000.GM3322@mournblade.imrryr.org> To: freebsd-net@freebsd.org X-Mailer: Apple Mail (2.3445.4.7) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2017 14:53:20 -0000 > On Nov 6, 2017, at 6:28 AM, Andrey V. Elsukov wrote: > >> Reverting the rule on a running system back to "ip", still yields >> no panics, but I am now running a different 11.1 kernel built from >> SVN with my "stf" patch. So it is sadly not quite clear where the >> problem was, my original configuration, the older kernel, something >> else? > > I think it is the right assumption, that IPv6 packet got corrupted by > nat44 and then ip6_output() is confused by incorrect packet, especially > wrong packet length may lead to fragmentation and due to the discrepancy > between ip6_plen and m_pkthdr.len ip6_fragment() creates wrong fragments > chain. > > I think the following patch should be enough to fix the problem: > > Index: sys/netpfil/ipfw/ip_fw2.c > =================================================================== > --- sys/netpfil/ipfw/ip_fw2.c (revision 325354) > +++ sys/netpfil/ipfw/ip_fw2.c (working copy) > @@ -2563,7 +2563,7 @@ do { \ > case O_NAT: > l = 0; /* exit inner loop */ > done = 1; /* exit outer loop */ > - if (!IPFW_NAT_LOADED) { > + if (!is_ipv4 || !IPFW_NAT_LOADED) { > retval = IP_FW_DENY; > break; > } > > Would this cause the packet to be denied, or passed through without nat? Presumably, I would then have to have "ip4" and not "ip" as "ip6" would then be denied by the "nat" rule. Right? Any comments on my message (and patch) with subject: [Patch] The 6to4 stf0 interface flapping in/out of tentative in FreeBSD 11 How do I get this addressed by the maintainer of stf? -- Viktor. From owner-freebsd-net@freebsd.org Mon Nov 6 15:42:56 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0A34AE6155C for ; Mon, 6 Nov 2017 15:42:56 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (grunt.madpilot.net [78.47.145.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C106A74719 for ; Mon, 6 Nov 2017 15:42:55 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 3yVxdy5gdKzZrb for ; Mon, 6 Nov 2017 16:42:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= content-transfer-encoding:content-language:content-type :content-type:mime-version:user-agent:date:date:message-id :subject:subject:from:from:received:received; s=mail; t= 1509982963; x=1511797364; bh=HzM9K3/Iqzlr02LfRj19xqO9vKcmcI+10Je WFHDf9sM=; b=lLXW72qeeOyqvhxrKOooosJ/eLYBCkt+Nh3hJks1F19m0cJlf+3 hurC50gc3i6bFqwNJw3EizmaryejRphOSUGkht7pv+ktINZLdBs8gjYohiQEHWPG mCfsxIX6ALDqKTNy256TbnkRKw+Z64GnF4l2uRK6dC48PZa8SL9gt/mM= Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10024) with ESMTP id 728KzDQPT41k for ; Mon, 6 Nov 2017 16:42:43 +0100 (CET) Received: from marvin.madpilot.net (micro.madpilot.net [88.149.173.206]) by mail.madpilot.net (Postfix) with ESMTPSA for ; Mon, 6 Nov 2017 16:42:43 +0100 (CET) To: freebsd-net@freebsd.org From: Guido Falsi Subject: em0 causing hangs with tso4 enabled on I219-V system Message-ID: <0dc76b5d-bbe1-cc53-1273-29e8d1c3a969@madpilot.net> Date: Mon, 6 Nov 2017 16:42:43 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2017 15:42:56 -0000 Hi, As the subject states I have been seeing hangups on a machine with that chipset [1] when using default ifconfig settings. It was hanging once every day on average. Following suggestions I found googling I have disabled tso4 and the machine has been running smoothly for weeks. I don't have any strict requirement to enable tso4 on it so I'm ok with things as is, but I'd like to help debug and resolve the problem. How can I help with this? Any pointers to specific data I can collect which could be useful? Thanks! [1] em0@pci0:0:31:6: class=0x020000 card=0x86721043 chip=0x15b88086 rev=0x31 hdr=0x00 -- Guido Falsi From owner-freebsd-net@freebsd.org Mon Nov 6 18:09:16 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BDEC8E64191 for ; Mon, 6 Nov 2017 18:09:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AC4BE7D6FD for ; Mon, 6 Nov 2017 18:09:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vA6I9FNk061688 for ; Mon, 6 Nov 2017 18:09:16 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 219390] [ixgbe] [patch] ixgbe stripping vlan_tag by default Date: Mon, 06 Nov 2017 18:09:16 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2017 18:09:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219390 --- Comment #11 from commit-hook@freebsd.org --- A commit references this bug: Author: sbruno Date: Mon Nov 6 18:09:00 UTC 2017 New revision: 325492 URL: https://svnweb.freebsd.org/changeset/base/325492 Log: Fix ixgbe(4) support for ifconfig's vlanhwtag flag. Disabling this flag will now prevent the driver from stripping vlan tags from packets. PR: 219390 Submitted by: Piotr Pietruszewski Reported by: Charles Goncalves Obtained from: 1 week Sponsored by: Intel Corporation Differential Revision: https://reviews.freebsd.org/D12795 Changes: head/sys/dev/ixgbe/if_ix.c --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Nov 6 19:56:58 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B6996E66977 for ; Mon, 6 Nov 2017 19:56:58 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 96BDD813E4 for ; Mon, 6 Nov 2017 19:56:58 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [192.168.0.6] (97-123-7-109.albq.qwest.net [97.123.7.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 9A23B192893; Mon, 6 Nov 2017 19:56:50 +0000 (UTC) Subject: Re: OCD window scaling behavior on local network. To: Zaphod Beeblebrox , FreeBSD Net References: From: Sean Bruno Message-ID: <880b0188-507d-85a7-4289-378d9c41c6ec@freebsd.org> Date: Mon, 6 Nov 2017 12:56:45 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="BsiOPfGlB7bLnJ3iUnk9KdTxtEVQpBBjD" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2017 19:56:58 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --BsiOPfGlB7bLnJ3iUnk9KdTxtEVQpBBjD Content-Type: multipart/mixed; boundary="dB7r3xltdIiJNDQ4D5cOINtuAfTdLihjp"; protected-headers="v1" From: Sean Bruno To: Zaphod Beeblebrox , FreeBSD Net Message-ID: <880b0188-507d-85a7-4289-378d9c41c6ec@freebsd.org> Subject: Re: OCD window scaling behavior on local network. References: In-Reply-To: --dB7r3xltdIiJNDQ4D5cOINtuAfTdLihjp Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 05/29/17 00:50, Zaphod Beeblebrox wrote: > so... I have some really OCD window scaling behavior on a GigE local > network. The protocol is BGP, this is one session recorded. Nearly ev= ery > payload packet is answered by both an 'ACK' and a 2nd window scaling > packet. I have examined the packet counters: no errors reported by the= box > or the managed switch. Also, TCP-MD5 is not in use, if that matters. >=20 > [image: Inline image 1] > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >=20 It looks like the attachment was stripped by the mailing list. sean --dB7r3xltdIiJNDQ4D5cOINtuAfTdLihjp-- --BsiOPfGlB7bLnJ3iUnk9KdTxtEVQpBBjD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE6MTp+IA1BOHj9Lo0veT1/om1/LYFAloAvoJfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEU4 QzRFOUY4ODAzNTA0RTFFM0Y0QkEzNEJERTRGNUZFODlCNUZDQjYACgkQveT1/om1 /Lb5YQf+LnZhK6oeuLfeTteJUZyps0P3WEYSZiz3roUAc7yaG+2ld8ISnmknalaZ Q2xRln6wz44dlRUVqJXeJO8H7ILACo2vJU0ad3DteiCUbG9D1a4qgLJIeQ7O4FRc R6ecJlHVDad1cd7BRa5N2ucloeP9+UL2/V4c1T0jcw3gca2OQWnuPHKdOuSK+rwv yN53cC6qGjikfDM9+6vVphjXfBiPmEs060fKqIEKcNlcj9Wvg15RCSajmnv3+ZJp C/dorT5TGYXo6qyKfMLb35gHN8wQOCHDtAEnwe9OEcCmldAYUsvu6TL6Ztt2NFsv awj3KR9bjyAcXeLSWrHgqmBsoWG7uQ== =M1Da -----END PGP SIGNATURE----- --BsiOPfGlB7bLnJ3iUnk9KdTxtEVQpBBjD-- From owner-freebsd-net@freebsd.org Mon Nov 6 20:36:27 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 43CB8E67301 for ; Mon, 6 Nov 2017 20:36:27 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward104j.mail.yandex.net (forward104j.mail.yandex.net [IPv6:2a02:6b8:0:801:2::107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D81E61236 for ; Mon, 6 Nov 2017 20:36:26 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback7j.mail.yandex.net (mxback7j.mail.yandex.net [IPv6:2a02:6b8:0:1619::110]) by forward104j.mail.yandex.net (Yandex) with ESMTP id 2B72B47190; Mon, 6 Nov 2017 23:36:23 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback7j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id EeyUCOvVFc-aM0CFqLh; Mon, 06 Nov 2017 23:36:23 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1510000583; bh=vtdfkA1vzNX79pd3ChOMo5I4PchQUrDZb5joSIAZJWY=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=kJwOEkoijup2TzabzJdhGW+9LqSb/GEp8pv9jMSkjUIXUt3IFtyO2DdsDSYgl3vlZ NuLrYFUG87PTSOWZd1n57Wi3ZHg70u2LjpNOUCEBn3QZ1/7e+5A4U5SY2klu3jt3fC ZvbIhrDeZk12qWSfWioGSfK/XRZae2T9c0vBoy04= Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id PVicDcZdjs-aMSirBcn; Mon, 06 Nov 2017 23:36:22 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1510000582; bh=vtdfkA1vzNX79pd3ChOMo5I4PchQUrDZb5joSIAZJWY=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=JzJDRwmTv1D6S8bOW3VaNupOfT0YEk6xGFyqAapQWoMkMo9cOwYmvo+kgOJpRd+e4 g8NQHi/m7LKxInqBBhOapwL1u3crZKNsiuG/e8tjlZA1HNstBqrFLayV1I9RvKRg6O gdHRjE7PoyNopnO25F3gbrEMOYtah6vqU7hYJc6w= Authentication-Results: smtp3o.mail.yandex.net; dkim=pass header.i=@yandex.ru Subject: Re: FreeBSD 11.1-RELEASE: Kernel panic in ipv6_output() via tcp6_usr_connect() To: freebsd-net@freebsd.org, Viktor Dukhovni References: <86dcc06d-b98c-cc1f-8726-8afb011871e3@yandex.ru> <94e12e46-f54a-ae22-3f4c-0bd9ac7e1fc9@yandex.ru> <20171106044000.GM3322@mournblade.imrryr.org> <39EFBDF9-B313-4472-85CF-D2D5D508E991@dukhovni.org> From: "Andrey V. Elsukov" Openpgp: id=E6591E1B41DA1516F0C9BC0001C5EA0410C8A17A Message-ID: Date: Mon, 6 Nov 2017 23:35:06 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <39EFBDF9-B313-4472-85CF-D2D5D508E991@dukhovni.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fMedoB88Va1cgq47F3DwK4RUvFS7srmMP" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2017 20:36:27 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --fMedoB88Va1cgq47F3DwK4RUvFS7srmMP Content-Type: multipart/mixed; boundary="REImR2GCFj8aG3GFivUuWeoJTklg8ujO6"; protected-headers="v1" From: "Andrey V. Elsukov" To: freebsd-net@freebsd.org, Viktor Dukhovni Message-ID: Subject: Re: FreeBSD 11.1-RELEASE: Kernel panic in ipv6_output() via tcp6_usr_connect() References: <86dcc06d-b98c-cc1f-8726-8afb011871e3@yandex.ru> <94e12e46-f54a-ae22-3f4c-0bd9ac7e1fc9@yandex.ru> <20171106044000.GM3322@mournblade.imrryr.org> <39EFBDF9-B313-4472-85CF-D2D5D508E991@dukhovni.org> In-Reply-To: <39EFBDF9-B313-4472-85CF-D2D5D508E991@dukhovni.org> --REImR2GCFj8aG3GFivUuWeoJTklg8ujO6 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 06.11.2017 17:53, Viktor Dukhovni wrote: > Would this cause the packet to be denied, or passed through without > nat? Presumably, I would then have to have "ip4" and not "ip" as > "ip6" would then be denied by the "nat" rule. Right? Yes, IPv6 packet will be dropped by nat rule. >=20 > Any comments on my message (and patch) with subject: >=20 > [Patch] The 6to4 stf0 interface flapping in/out of tentative in Free= BSD 11 >=20 > How do I get this addressed by the maintainer of stf? >=20 Your problem seems like the one described in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206231 And the proposed patch is partially like your. I think if you still have the problem you need to reopen this PR. --=20 WBR, Andrey V. Elsukov --REImR2GCFj8aG3GFivUuWeoJTklg8ujO6-- --fMedoB88Va1cgq47F3DwK4RUvFS7srmMP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAloAx3oACgkQAcXqBBDI oXpGpwf8CneftAEnh0ILkbpusyeDYzfmTKSnZ+oDUp0pANQ+y6bcD9nb42Xje1RY +h0EWBqQ0kHLLP/IbeTIIQR76wlN9rlJ/pCI2BHZWUUYtr/+YvO30V9WFVK6Frlz Uz/GDnKRFL3+qG79k1bBJpCq9PRvdVLmJU3S7GlMgYnesw2HMEsva4+viktEnPKe 4BfZ0NfgPEtnyKosdVATXBJELomfb80QPpKMf4hM07Dwu1yYVMd6lY1cjX/jPEnp X96B9Mlp8BYLaleEQbT55wDlTG1pE3UwFOQUEStuwlTOLPQfOP4T5QyujzpISl4x hoY063oFiuDr3wK3Nkmj7u5xT7708g== =gtLG -----END PGP SIGNATURE----- --fMedoB88Va1cgq47F3DwK4RUvFS7srmMP-- From owner-freebsd-net@freebsd.org Mon Nov 6 22:51:14 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D94C5E68D11 for ; Mon, 6 Nov 2017 22:51:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BA18B638D9 for ; Mon, 6 Nov 2017 22:51:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vA6MpDjZ040660 for ; Mon, 6 Nov 2017 22:51:14 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221146] [LAGG] Problem with second laggport Date: Mon, 06 Nov 2017 22:51:14 +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: 11.1-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jeffrey.e.pieper@intel.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? X-Bugzilla-Changed-Fields: cc 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2017 22:51:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221146 Jeff Pieper changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeffrey.e.pieper@intel.com --- Comment #16 from Jeff Pieper --- We are unable to reproduce this over 10 reboots: FreeBSD u1015 11.1-STABLE FreeBSD 11.1-STABLE #0 d89b4f5935a(stable/11): Sat Nov 4 04:15:08 UTC 2017 [root@u1015 ~]# sysctl dev.ix|grep Version dev.ix.1.%desc: Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 3.2.12-k dev.ix.0.%desc: Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 3.2.12-k Relevant rc.conf entries: ifconfig_ix0=3D"up" ifconfig_ix1=3D"up" cloned_interfaces=3D"lagg0" ifconfig_lagg0=3D"laggproto lacp laggport ix0 laggport ix1 190.2.10.15 netm= ask 255.255.0.0" [root@u1015 ~]# ifconfig -vvvv lagg0 lagg0: flags=3D8843 metric 0 mtu 15= 00 =20=20=20=20=20=20=20 options=3De407bb ether 90:e2:ba:d5:bf:40 inet 190.2.10.15 netmask 0xffff0000 broadcast 190.2.255.255 nd6 options=3D29 media: Ethernet autoselect status: active groups: lagg laggproto lacp lagghash l2,l3,l4 lagg options: flags=3D11 flowid_shift: 16 lagg statistics: active ports: 2 flapping: 0 lag id: [(8000,90-E2-BA-D5-BF-40,00D2,0000,0000), (0000,00-04-96-9B-9B-35,03E9,0000,0000)] laggport: ix0 flags=3D1c state=3D3d [(8000,90-E2-BA-D5-BF-40,00D2,8000,0003), (0000,00-04-96-9B-9B-35,03E9,0000,03E9)] laggport: ix1 flags=3D1c state=3D3d [(8000,90-E2-BA-D5-BF-40,00D2,8000,0004), (0000,00-04-96-9B-9B-35,03E9,0000,03EA)] [root@u1015 ~]# ifconfig -vvvvv ix1 ix1: flags=3D8843 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3De407bb ether 90:e2:ba:d5:bf:40 hwaddr 90:e2:ba:d5:bf:41 nd6 options=3D29 media: Ethernet autoselect (10Gbase-LR ) status: active plugged: SFP/SFP+/SFP28 10G Base-LR (LC) vendor: Intel Corp PN: FTLX1471D3BCV-I3 SN: ATS0LVZ DATE: 2015-07-06 module temperature: 42.12 C Voltage: 3.30 Volts RX: 0.43 mW (-3.64 dBm) TX: 0.76 mW (-1.17 dBm) SFF8472 DUMP (0xA0 0..127 range): 03 04 07 20 00 00 02 00 00 00 00 06 67 02 0A 64 00 00 00 00 49 6E 74 65 6C 20 43 6F 72 70 20 20 20 20 20 20 00 00 1B 21 46 54 4C 58 31 34 37 31 44 33 42 43 56 2D 49 33 41 20 20 20 05 1E 00 83 00 3A 00 00 41 54 53 30 4C 56 5A 20 20 20 20 20 20 20 20 20 31 35 30 37 30 36 20 20 68 FA 02 45 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [root@u1015 ~]# ifconfig -vvvvv ix0 ix0: flags=3D8843 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3De407bb ether 90:e2:ba:d5:bf:40 hwaddr 90:e2:ba:d5:bf:40 nd6 options=3D29 media: Ethernet autoselect (10Gbase-LR ) status: active plugged: SFP/SFP+/SFP28 10G Base-LR (LC) vendor: Intel Corp PN: FTLX1471D3BCV-I3 SN: AU20U3K DATE: 2015-07-15 module temperature: 41.68 C Voltage: 3.30 Volts RX: 0.34 mW (-4.64 dBm) TX: 0.72 mW (-1.37 dBm) SFF8472 DUMP (0xA0 0..127 range): 03 04 07 20 00 00 02 00 00 00 00 06 67 02 0A 64 00 00 00 00 49 6E 74 65 6C 20 43 6F 72 70 20 20 20 20 20 20 00 00 1B 21 46 54 4C 58 31 34 37 31 44 33 42 43 56 2D 49 33 41 20 20 20 05 1E 00 83 00 3A 00 00 41 55 32 30 55 33 4B 20 20 20 20 20 20 20 20 20 31 35 30 37 31 35 20 20 68 FA 02 FC 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Can you give us the ifconfig -vvvvv output for each ix interface? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Nov 7 06:20:51 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8BA7AE4FD39 for ; Tue, 7 Nov 2017 06:20:51 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-ot0-x236.google.com (mail-ot0-x236.google.com [IPv6:2607:f8b0:4003:c0f::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FE606461D for ; Tue, 7 Nov 2017 06:20:51 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: by mail-ot0-x236.google.com with SMTP id n17so5303153otb.10 for ; Mon, 06 Nov 2017 22:20:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=0oN5O/zqbU5WjZeZJBvzSd9lyEYGuf95UiQonWZ811I=; b=SBjLPjbt863YbQd1xPK3NUiD6LKvzG4ZtKfvfNzWWf5kptxsq69sdkGGbIQGATt75s ulVugi4yQUVExOVS4Cd0+ywhYLlkqzZOfvF7gWB1YCFAfesH96L4wLreatYRvQxDDpzD yqPxuw/99AIoU993vq5ZzSKnpax5K9t3GG347KpzPmwl1DwePexGgW9zlo9TDlCASMkd 9B2zwDyGvlfqiDm25ENVwCaI5PRoT2riCro4wnHhXm+xRijo5mcrUEvRUMQFsJGnGlmq ngDN8Ne1QtASPEx24EcqcvjeeA5xc9ZXbca0iHNGZTMvqYNc6OcnrgFz2eG6eMKeW3bG ANHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=0oN5O/zqbU5WjZeZJBvzSd9lyEYGuf95UiQonWZ811I=; b=c8xvckzL2fO1wbNZpyGi+R2q+3I0M1DPlrR65cLpHwENde01MqUaAUdYblQOtOrrKh 4ElFyhAgLw7kBSguRxOj9ioHfpfS8mUFWdD7k5UW4mq3yyIPYW5UENe0nr6QkfduYjxh Jul5SOrvQ0hbR4fKQXvYgwfHj1VLVplf0NUYotCrLIFVY1qYQD5jF7IzkGj/FYzSRHvm xxtRyH9VrDQyx2VKtE1o3Uw1ZjON2wsIXULHC1U467uifKtuO+O33bXZrdKEjg3uG+sL WOtmiQLqUwiwPO84XZjlZ7l5a067H1yuK6LDEntxw/uYnKXk4jwC67cP4nKR++5rNutZ Iosw== X-Gm-Message-State: AJaThX41ke3GVvEywRCSbBaM7nUdpgk0E/BRDJukfH3MTzDoqvPLjDza Q5YgZOYgjPx/tBzwbS9fDcHuFVCdi9n8kvGMlBSlVg== X-Google-Smtp-Source: ABhQp+Tgr84g8r6h6Kur8fIl66kCpnm0NmHZ/FXpefeSOOzhSbNO7/W1MEGu4Ki1wrLKXNIxXFmz9U7yIlkMcN4L3EE= X-Received: by 10.157.4.37 with SMTP id 34mr320088otc.156.1510035650496; Mon, 06 Nov 2017 22:20:50 -0800 (PST) MIME-Version: 1.0 Sender: kmacybsd@gmail.com Received: by 10.157.31.89 with HTTP; Mon, 6 Nov 2017 22:20:50 -0800 (PST) In-Reply-To: <0dc76b5d-bbe1-cc53-1273-29e8d1c3a969@madpilot.net> References: <0dc76b5d-bbe1-cc53-1273-29e8d1c3a969@madpilot.net> From: "K. Macy" Date: Mon, 6 Nov 2017 22:20:50 -0800 X-Google-Sender-Auth: bDoFTGfB-rKr-RhtTZh6xsyxD8E Message-ID: Subject: Re: em0 causing hangs with tso4 enabled on I219-V system To: Guido Falsi Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 07 Nov 2017 06:20:51 -0000 It would help if you told us which OS version you're using. Is this on 11.x or HEAD? -M On Mon, Nov 6, 2017 at 7:42 AM, Guido Falsi wrote: > Hi, > > As the subject states I have been seeing hangups on a machine with that > chipset [1] when using default ifconfig settings. It was hanging once > every day on average. > > Following suggestions I found googling I have disabled tso4 and the > machine has been running smoothly for weeks. > > I don't have any strict requirement to enable tso4 on it so I'm ok with > things as is, but I'd like to help debug and resolve the problem. > > How can I help with this? Any pointers to specific data I can collect > which could be useful? > > Thanks! > > > > [1] em0@pci0:0:31:6: class=0x020000 card=0x86721043 chip=0x15b88086 > rev=0x31 hdr=0x00 > > -- > Guido Falsi > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Tue Nov 7 07:11:34 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 58B2AE50D39 for ; Tue, 7 Nov 2017 07:11:34 +0000 (UTC) (envelope-from alex@zagrebin.ru) Received: from mail.zagrebin.ru (srv0.zagrebin.ru [IPv6:2001:470:1f15:30e::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 11D25679EF for ; Tue, 7 Nov 2017 07:11:33 +0000 (UTC) (envelope-from alex@zagrebin.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zagrebin.ru ; s=mail; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=zX+sh4nJ4xfULuJhJmi4grTXHs6ishsjTPvfa2C/mbU=; b=ILO+C27x9U5hRwlioX0utcYTe0 3ifUvEMCs6LSWFLzTLUwP6fKQKUhRqLXpcELnEvgfFqqawP/2yVG/MvZdZnXWQf35QyAD7GTvvHpq gECwMrOr5XpHHH/bqgIA45WUZa2o5iV8ZZI+getk4SFDmt3rNzC3q+BYEUj1cjdsHXc1/1FTF+dK4 pH7t6dq44O2UQf4UL63EIP4FPJHEFhOHpuIOMVa3CVgtQlSM6umjPTG+DNRqyq1WcrvRX3KUO/oTl lc/7sk8jJq8GcOrO7QX8wZGDvJ0cY4+F4YyvCi+h2CLKiwjKlxqp80Q95WIiDK6tPlrL52gbxsq1m faSNh6XA==; Received: from [2001:470:1f15:30e::2] (helo=vm2.home.zagrebin.ru) by mail.zagrebin.ru with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89 (FreeBSD)) (envelope-from ) id 1eBy2l-000DH6-2m for freebsd-net@freebsd.org; Tue, 07 Nov 2017 10:11:31 +0300 Date: Tue, 7 Nov 2017 10:11:28 +0300 From: Alexander Zagrebin To: freebsd-net@freebsd.org Subject: Re: Help provisioning a Samba AD in a jail on ZFS Message-ID: <20171107101128.2f913f86@vm2.home.zagrebin.ru> In-Reply-To: <8813fc50-2187-2860-eda1-5ace9e120c22@netfence.it> References: <57dc8e1e-6e38-456d-f70d-291d6bf68bb8@netfence.it> <20171102100947.424ce456@vm2.home.zagrebin.ru> <8813fc50-2187-2860-eda1-5ace9e120c22@netfence.it> X-Mailer: Claws Mail 3.15.1 (GTK+ 2.24.31; amd64-portbld-freebsd11.1) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 07 Nov 2017 07:11:34 -0000 В Mon, 6 Nov 2017 08:26:05 +0100 Andrea Venturoli wrote: > > To setup a new samba46-based domain controller on ZFS in jail (I'm > > using it with the VIMAGE) you can try following: > > I'm not using VIMAGE (at least not yet). > > > 1. Rebuild the net/samba46 port with the attached patches > > (patch-librpc__idl__xattr.idl, > > patch-python__samba__provision____init__.py) > > > > 2. Initialize new domain with the following command (the last two > > parameters makes magic): > > samba-tool domain provision --use-rfc2307 \ > > --host-name= \ > > --realm= \ > > --domain= \ > > --adminpass= \ > > --option="vfs objects = acl_xattr" \ > > --option="acl_xattr:ignore system acls = yes" > > > > 3. After successful provisioning, edit /usr/local/etc/smb4.conf: > > - remove or comment out > > vfs objects = acl_xattr > > acl_xattr:ignore system acls = yes > > - add the following: > > vfs objects = zfsacl > > nfs4:mode = special > > nfs4:acedup = merge > > nfs4:chown = yes > > > > 4. Execute `samba-tool ntacl sysvolreset` > > > > 5. Start samba > > Looks like it worked. > Hope I don't get any suprise in the deployment phase... There is an issue, when GPOs are situated on the ZFS: sometimes (when a new file appended?) the GPO's files gets a wrong permissions. So if you will have problems with a group policy, run `samba-tool ntacl sysvolreset` at first... -- Alexander Zagrebin From owner-freebsd-net@freebsd.org Tue Nov 7 08:36:53 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22226E525EF for ; Tue, 7 Nov 2017 08:36:53 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (grunt.madpilot.net [78.47.145.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D731F6F005; Tue, 7 Nov 2017 08:36:52 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 3yWN8139pZzZrb; Tue, 7 Nov 2017 09:36:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= content-transfer-encoding:content-language:content-type :content-type:in-reply-to:mime-version:user-agent:date:date :message-id:from:from:references:subject:subject:received :received; s=mail; t=1510043807; x=1511858208; bh=WMQU1JsYDS184f 62FjYIprwGIGf/ufsA/qK3CGrSBbM=; b=mYYfN7Yd3quOXokurnuKWJuQFUszfR RD/bU5uHB4DHJKAclK84Lb7T2L8kp6OSXDWdOBvLxcnVogNcLonCTIEXmdoTPOwj AmVSdxQ9eZihjPJs/Qn4Gqdy0D5MSYqswSggCIbQXYF6UkOGvZgAfZD8uinkM4Jn +SMxg0YXAQhZ4= Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10024) with ESMTP id gGxx97EYySgV; Tue, 7 Nov 2017 09:36:47 +0100 (CET) Received: from marvin.madpilot.net (micro.madpilot.net [88.149.173.206]) by mail.madpilot.net (Postfix) with ESMTPSA; Tue, 7 Nov 2017 09:36:47 +0100 (CET) Subject: Re: em0 causing hangs with tso4 enabled on I219-V system To: "K. Macy" Cc: "freebsd-net@freebsd.org" References: <0dc76b5d-bbe1-cc53-1273-29e8d1c3a969@madpilot.net> From: Guido Falsi Message-ID: Date: Tue, 7 Nov 2017 09:36:47 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 07 Nov 2017 08:36:53 -0000 On 11/07/2017 07:20, K. Macy wrote: > It would help if you told us which OS version you're using. Is this on > 11.x or HEAD? > Sorry, I forgot. It's head, r325353 at present. I've been seeing this at least since this summer, I can say r322649 also showed the problem, but I can't pinpoint it with much more precision. Thanks for your feedback! -- Guido Falsi From owner-freebsd-net@freebsd.org Tue Nov 7 17:05:45 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 66B69E5E0F2 for ; Tue, 7 Nov 2017 17:05:45 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EF27B76FE3; Tue, 7 Nov 2017 17:05:44 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: by mail-wm0-x22c.google.com with SMTP id z3so5374858wme.5; Tue, 07 Nov 2017 09:05:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=t+lKn5XyfWHoT6ZG/fly6QpUcbKVtwno5GoNxbsubiY=; b=sGeflsci2tqluqQCofafm/EiR+aMyId+Q6OpyDAS5VTl2opHjyEABkIrix7E4sz9tZ 123XOc6fiCt+ZYnSR1xCLEP2bQGrWmmvLM9Y/YXg2/bUq/RkaZoXrJjwuzbgQ3rhlCvs puWvIaOZ5grYq+8vFPie1SiNT4YuefuPwr8cWOnDNg5oGU25p+aiwa1asFz8v7LkawLG 6anWgj589G37kDvIu+epkIRGa8pvetQQ8GHf5vYz4v4zOhijvkYQiaol4MCxY6wVA/dg r/20+9uxUr7a7MZDDtxCJ1M0nTPF7j8C6IJVNKnLiAe0tXcgVgz7H8XNQWJhptz9YQfr WwoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=t+lKn5XyfWHoT6ZG/fly6QpUcbKVtwno5GoNxbsubiY=; b=N2voOIyhkF1TKQ6NPTeJKrP9ALvvIjLZSTp90y//TLhm7QHOHOLm+SS+AD2mzzF4OM by9A8jo6+Cz8TYjyGvEHDAdhZl/4Hmh12Su4fqku/FAYZWMgf1aXALZyjT55QUgnS+JL O6ScWA2VKoWweN69+ijXxEti89VqdRjtjrZyAdD27Uf2uXyI1phUFE1JE8H5ydihw1G3 JN/QAXySLkOHFGK8k0fRJHExaDWnSHcxNGHT0Rjqtkx8toXXzQbEvhGhpybCEX1TE9Hg 9gWVKE/HzBOkKdXKpQ3BQ79I7SHeVkH5LZSk+ZWVaaAUf9TZLWSBm1nbLdaJyS0DoMTe DcNg== X-Gm-Message-State: AMCzsaVcdkNOKUlISVfOJcxJpYcDKX0ZkNlOzuGuNIqTW2RCuDBJS3BB 9ogUrLkXdSUihDA8q0gmlRKitwWOz3nC3VkW+A== X-Google-Smtp-Source: ABhQp+RNhkNUWXoJk1ji5a/K8ipDy8mr47lCw82sFYOKJOoLu5D2MkBUhI70n1d3juM0Ub1jBF7QMAGLDjDk9DTWs9s= X-Received: by 10.80.137.91 with SMTP id f27mr24750565edf.18.1510074343119; Tue, 07 Nov 2017 09:05:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.189.139 with HTTP; Tue, 7 Nov 2017 09:05:42 -0800 (PST) In-Reply-To: <880b0188-507d-85a7-4289-378d9c41c6ec@freebsd.org> References: <880b0188-507d-85a7-4289-378d9c41c6ec@freebsd.org> From: Zaphod Beeblebrox Date: Tue, 7 Nov 2017 12:05:42 -0500 Message-ID: Subject: Re: OCD window scaling behavior on local network. To: Sean Bruno Cc: FreeBSD Net Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 07 Nov 2017 17:05:45 -0000 If you'd like a copy, I'm pretty sure I can provide one. For context, I found this behaviour because I was tracing a BGP problem with an exchange's Route Server (which I believe is a cisco something-or-other). AFAICT, a software upgrade corrected that problem, but the strange window behavior remains. On Mon, Nov 6, 2017 at 2:56 PM, Sean Bruno wrote: > > > On 05/29/17 00:50, Zaphod Beeblebrox wrote: > > so... I have some really OCD window scaling behavior on a GigE local > > network. The protocol is BGP, this is one session recorded. Nearly > every > > payload packet is answered by both an 'ACK' and a 2nd window scaling > > packet. I have examined the packet counters: no errors reported by the > box > > or the managed switch. Also, TCP-MD5 is not in use, if that matters. > > > > [image: Inline image 1] > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > > > It looks like the attachment was stripped by the mailing list. > > sean > > From owner-freebsd-net@freebsd.org Tue Nov 7 17:25:36 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 45D68E5E9EA for ; Tue, 7 Nov 2017 17:25:36 +0000 (UTC) (envelope-from aspam@cox.net) Received: from fed1rmfepi206.cox.net (fed1rmfepi206.cox.net [68.230.241.151]) by mx1.freebsd.org (Postfix) with ESMTP id 25AF778B73 for ; Tue, 7 Nov 2017 17:25:35 +0000 (UTC) (envelope-from aspam@cox.net) Received: from eastrmimpo110.cox.net ([68.230.241.223]) by eastrmfepo102.cox.net (InterMail vM.8.01.05.28 201-2260-151-171-20160122) with ESMTP id <20171107172527.ZZPW14605.eastrmfepo102.cox.net@eastrmimpo110.cox.net> for ; Tue, 7 Nov 2017 12:25:27 -0500 Received: from thunder.sweets ([68.100.138.62]) by eastrmimpo110.cox.net with cox id X5RT1w00X1LxgH8015RTJR; Tue, 07 Nov 2017 12:25:27 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020202.5A01EC87.0301, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=2.2 cv=c/nbeV1l c=1 sm=1 tr=0 a=3mkzfl4ircflX6G+lDqBYw==:117 a=3mkzfl4ircflX6G+lDqBYw==:17 a=IkcTkHD0fZMA:10 a=x7bEGLp0ZPQA:10 a=sC3jslCIGhcA:10 a=e9ASbk4n0QUA:10 a=QtUZ_23dlM-TheJfbpMA:9 a=QEXdDO2ut3YA:10 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from [10.10.10.15] (thunder.sweets [10.10.10.15]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by thunder.sweets (Postfix) with ESMTP id 40EF811E36; Tue, 7 Nov 2017 12:25:26 -0500 (EST) Message-ID: <5A01EC84.80703@cox.net> Date: Tue, 07 Nov 2017 12:25:24 -0500 From: Joe Buehler User-Agent: Thunderbird 1.5.0.12 (X11/20120201) MIME-Version: 1.0 To: Vincenzo Maffione CC: FreeBSD Net Subject: Re: virtio_net / netmap RX dropping frames References: <59F0FBEE.6030008@cox.net> <59F1F1BA.3020608@cox.net> <59F214F6.9060905@cox.net> <59F223C3.5040907@cox.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 07 Nov 2017 17:25:36 -0000 I believe the frame drop is due to the nature of my KVM setup. There are large latencies in processing incoming frames due to the vagaries of the LINUX kernel. Moving to the RT kernel helped, host tuning is also needed to eliminate large latencies in processing frames. There is good information on real-time KVM on the net that explains how to achieve what I want. Joe Buehler From owner-freebsd-net@freebsd.org Tue Nov 7 17:28:17 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF849E5EB67 for ; Tue, 7 Nov 2017 17:28:17 +0000 (UTC) (envelope-from jhpb@cox.net) Received: from fed1rmfepi107.cox.net (fed1rmfepi107.cox.net [68.230.241.138]) by mx1.freebsd.org (Postfix) with ESMTP id 8F9D678E7C for ; Tue, 7 Nov 2017 17:28:16 +0000 (UTC) (envelope-from jhpb@cox.net) Received: from eastrmimpo210.cox.net ([68.230.241.225]) by eastrmfepo103.cox.net (InterMail vM.8.01.05.28 201-2260-151-171-20160122) with ESMTP id <20171107172809.BFPN4084.eastrmfepo103.cox.net@eastrmimpo210.cox.net> for ; Tue, 7 Nov 2017 12:28:09 -0500 Received: from thunder.sweets ([68.100.138.62]) by eastrmimpo210.cox.net with cox id X5U91w00D1LxgH8015U9RV; Tue, 07 Nov 2017 12:28:09 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020203.5A01ED29.0169, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=2.2 cv=O89JhF1W c=1 sm=1 tr=0 a=3mkzfl4ircflX6G+lDqBYw==:117 a=3mkzfl4ircflX6G+lDqBYw==:17 a=8nJEP1OIZ-IA:10 a=x7bEGLp0ZPQA:10 a=sC3jslCIGhcA:10 a=e9ASbk4n0QUA:10 a=nvc2abphtORau_HVpmsA:9 a=wPNLvfGTeEIA:10 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from [10.10.10.15] (thunder.sweets [10.10.10.15]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by thunder.sweets (Postfix) with ESMTP id 7177411E36 for ; Tue, 7 Nov 2017 12:28:08 -0500 (EST) Message-ID: <5A01ED27.60900@cox.net> Date: Tue, 07 Nov 2017 12:28:07 -0500 From: "Joseph H. Buehler" User-Agent: Thunderbird 1.5.0.12 (X11/20120201) MIME-Version: 1.0 To: "freebsd-net@freebsd.org" Subject: netmap scatter/gather? Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 07 Nov 2017 17:28:17 -0000 Does NS_MOREFRAG work when using netmap with network adaptors (e.g. virtio_net)? I need to send and receive large frames -- 9600 bytes -- but the netmap buffer size is only 2048. Joe Buehler From owner-freebsd-net@freebsd.org Tue Nov 7 17:29:49 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E34ABE5ECCB for ; Tue, 7 Nov 2017 17:29:49 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-it0-x234.google.com (mail-it0-x234.google.com [IPv6:2607:f8b0:4001:c0b::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A9FA57906E for ; Tue, 7 Nov 2017 17:29:49 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-it0-x234.google.com with SMTP id f187so3400543itb.1 for ; Tue, 07 Nov 2017 09:29:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=s2qWDL4DET0mFk2PfISh6sUoCx04+IG2HMUToQhPNpk=; b=p4siHjEnEJOHND3Bp0qhZBcqZUfOG773iFGLGx6aD1gySMIhhFOp2UyT8CMJ89H0tw iOPwBEmG4n1SsmlbAUrmfc/lZDgGta7zzYko0nlmgnFt3jtgTRqTWFqwhhM6GLuZYFds ENGctPq+yxrjd6iHhYks678loMk8L20sY0eF1g8GttrQ5h0R2O8Jy7NOkfCxP4p0Lwc8 m5zMOqspkqvNlAkRcrhuN6c5cmK2eLpV3I2RhQnIuuguZoSICSgLz1lTNT7xNDDD+0kV CDLmqd3RiBknDLzRHTcsKTAS6NlIXYdEsqdCYlGghYUKcez8O7ITvFGm6YgtY/HGdxD9 BBmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=s2qWDL4DET0mFk2PfISh6sUoCx04+IG2HMUToQhPNpk=; b=Zird6NwY4Z4Sdyf2k4p2xKP0kn/ZvM9AjraGsMWJmrA2yeYPKIFolbdO3yJ8OAGrQR 3l5USWKQrOYaWUYVI64cnB2dqfjPtvgtt/Ps2tA9rRmoLh9DaU15aH3t2y4Rw2bWA7O1 i3REhmh9HOjXN8LsiR9M22KV4jNWz+OdBmsFo4mwWVmJGnKaOp87ZDkHTEbiT80oTEaG CVAiIY29soqMF27oPLOBjWzVYlK53Sc0luNZhmL4NI7aq5ef0ZsptowW9WzB143/2WKZ 6twR30mbUh3w9wguu+oTQn5gf327EH4plaY2a2Ouf9x7Tam1dJLTrzOyuNjbtKJld3xc HVsA== X-Gm-Message-State: AJaThX7iZrJQZB/1+C1DH/wMwQ1MkJb0FZmtPAAJXgMrlOCvI+mEOwD0 x5sMHsphf6NNnfjILUvJVUek0WEe4z18gpJXjUw= X-Google-Smtp-Source: ABhQp+RAVN7JV6n/WWDWli7rBoN7guL/OlIWY4XaMklNAguSWCLtigmFj1wX+KLqtKCATS27bZwXXfE/YGleq9EVREM= X-Received: by 10.36.85.139 with SMTP id e133mr3083495itb.147.1510075788856; Tue, 07 Nov 2017 09:29:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.2.176.143 with HTTP; Tue, 7 Nov 2017 09:29:48 -0800 (PST) In-Reply-To: <5A01EC84.80703@cox.net> References: <59F0FBEE.6030008@cox.net> <59F1F1BA.3020608@cox.net> <59F214F6.9060905@cox.net> <59F223C3.5040907@cox.net> <5A01EC84.80703@cox.net> From: Vincenzo Maffione Date: Tue, 7 Nov 2017 18:29:48 +0100 Message-ID: Subject: Re: virtio_net / netmap RX dropping frames To: Joe Buehler Cc: FreeBSD Net Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 07 Nov 2017 17:29:50 -0000 I understand. My point was simply to make sure your performance problems here are not netmap's fault. Cheers, Vincenzo 2017-11-07 18:25 GMT+01:00 Joe Buehler : > I believe the frame drop is due to the nature of my KVM setup. There > are large latencies in processing incoming frames due to the vagaries of > the LINUX kernel. Moving to the RT kernel helped, host tuning is also > needed to eliminate large latencies in processing frames. There is good > information on real-time KVM on the net that explains how to achieve > what I want. > > Joe Buehler > > -- Vincenzo Maffione From owner-freebsd-net@freebsd.org Tue Nov 7 17:32:46 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0DAC2E5F143 for ; Tue, 7 Nov 2017 17:32:46 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-io0-x229.google.com (mail-io0-x229.google.com [IPv6:2607:f8b0:4001:c06::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CA0027964B for ; Tue, 7 Nov 2017 17:32:45 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-io0-x229.google.com with SMTP id h70so2970266ioi.4 for ; Tue, 07 Nov 2017 09:32:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=dLxFq9JEWL1Unv/4m+AwQh4h/vo2g0Jx4D4UM5lFrJg=; b=uQFXSjkbp624wBFkPuRdya91XttV4xEw0lD8U1HoloyG0OQVOgXuQXdoetQIqmWRMO dFGRwPWYgfAz4kPYSL6svBQJVhKaODbI6GA328gGNNVU33tTO2f5xPMzyXQrqS0Vg13m kQNWADTUtbKl0Vk555pFlkUr0FngmzuCO8GTc6rKtAPbt6SiKvTLHEIlgN40QQdDlydQ 3dAmvwZo+CzOQ8+uPbC6pKv240zyhhwphvfsAVNu9oohDaPQJZTSivBHKg7yrNlBCDLk YKbiz19xnXipxqY1N0l3neJWdDpYZh2PEji0LFp757Z5npcY9qltWVsMPLJE8oNCuuYU HekA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=dLxFq9JEWL1Unv/4m+AwQh4h/vo2g0Jx4D4UM5lFrJg=; b=HX7At9n3UTkB7HmStOymipEGIf6tKCm0nEmPcJDyhiRzT5ty7LKZYuLmASog0l+y8n NxkpuXeQxeEXrbKP6MJ9AsSkpBGfDvOqps68kMl4yj6k3fsN3J2p2NyEwUTZVtn6KwFg KT82mFkW3YmA44pOXU64aY2tj7deH6H4AESVbjoWcMTlaJAXStJ0tny9DlggDV+MUmLw KjFXc+qnkfhm2YRL+M0mPEflmaec02ZoDTVuryNBKIFncLwJSC6R/w+LPNu8OVcNa+2i c0qolMpKbiAaoEdROYIo8eiIqEN8EhE3fB2WNlgQWyOKXQ01DVpqESMfgrzRNoIv6oti FXsQ== X-Gm-Message-State: AMCzsaUmzh+koZLl8KV+ogfpU+XOZd8bdjWnJpB9nishodgysHaq4DOq w1C3w/TClLYWh/W4ZORBRMpUauhgLCptDW8UG28= X-Google-Smtp-Source: ABhQp+TpbStF2Iiux2R7HWGQjTvzfsIyv3p07CsQAX0+CGuvEhJCi6l9wZPl6i9jEb51O6uysUI12HqMQA4gfOo76QY= X-Received: by 10.107.141.206 with SMTP id p197mr24409714iod.92.1510075965047; Tue, 07 Nov 2017 09:32:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.2.176.143 with HTTP; Tue, 7 Nov 2017 09:32:44 -0800 (PST) In-Reply-To: <5A01ED27.60900@cox.net> References: <5A01ED27.60900@cox.net> From: Vincenzo Maffione Date: Tue, 7 Nov 2017 18:32:44 +0100 Message-ID: Subject: Re: netmap scatter/gather? To: "Joseph H. Buehler" Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 07 Nov 2017 17:32:46 -0000 Hi, In general netmap adapters (i.e. netmap ports) may support NS_MOREFRAG. But in practice this is mainly supported on VALE ports. So if you don't want to add the missing support by yourself you can simply change the netmap buffer size by tuning the sysctl dev.netmap.buf_size, and increase it to 9600. Cheers, Vincenzo 2017-11-07 18:28 GMT+01:00 Joseph H. Buehler : > Does NS_MOREFRAG work when using netmap with network adaptors (e.g. > virtio_net)? > > I need to send and receive large frames -- 9600 bytes -- but the netmap > buffer size is only 2048. > > Joe Buehler > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > -- Vincenzo Maffione From owner-freebsd-net@freebsd.org Tue Nov 7 19:48:00 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA975E63205 for ; Tue, 7 Nov 2017 19:48:00 +0000 (UTC) (envelope-from aspam@cox.net) Received: from fed1rmwml303.cox.net (fed1rmwml303.cox.net [68.230.241.171]) by mx1.freebsd.org (Postfix) with ESMTP id AEA6F64271 for ; Tue, 7 Nov 2017 19:48:00 +0000 (UTC) (envelope-from aspam@cox.net) Received: from eastrmimpo210.cox.net ([68.230.241.225]) by eastrmfepo101.cox.net (InterMail vM.8.01.05.28 201-2260-151-171-20160122) with ESMTP id <20171107194735.PWZH4075.eastrmfepo101.cox.net@eastrmimpo210.cox.net> for ; Tue, 7 Nov 2017 14:47:35 -0500 Received: from thunder.sweets ([68.100.138.62]) by eastrmimpo210.cox.net with cox id X7nJ1w0051LxgH8017nJqx; Tue, 07 Nov 2017 14:47:35 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020203.5A020DD7.0036, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=2.2 cv=O89JhF1W c=1 sm=1 tr=0 a=3mkzfl4ircflX6G+lDqBYw==:117 a=3mkzfl4ircflX6G+lDqBYw==:17 a=IkcTkHD0fZMA:10 a=x7bEGLp0ZPQA:10 a=sC3jslCIGhcA:10 a=e9ASbk4n0QUA:10 a=Bpi5iSzzoQi7QDN2_EkA:9 a=QEXdDO2ut3YA:10 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from [10.10.10.15] (thunder.sweets [10.10.10.15]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by thunder.sweets (Postfix) with ESMTP id A7CA311E36; Tue, 7 Nov 2017 14:47:13 -0500 (EST) Message-ID: <5A020DC0.5060205@cox.net> Date: Tue, 07 Nov 2017 14:47:12 -0500 From: Joe Buehler User-Agent: Thunderbird 1.5.0.12 (X11/20120201) MIME-Version: 1.0 To: Vincenzo Maffione CC: "freebsd-net@freebsd.org" Subject: Re: netmap scatter/gather? References: <5A01ED27.60900@cox.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 07 Nov 2017 19:48:01 -0000 Vincenzo Maffione wrote: > In general netmap adapters (i.e. netmap ports) may support > NS_MOREFRAG. But in practice this is mainly supported on VALE ports. > So if you don't want to add the missing support by yourself you can > simply change the netmap buffer size by tuning the sysctl > dev.netmap.buf_size, and increase it to 9600. I added parameter buf_size=9600 to the LINUX netmap module. The TX path works properly, it sends 9600 byte frames, but my app receives no RX frames from the loopback. I presume this is why: [ 856.820521] 618.970159 [ 716] virtio_netmap_config virtio config txq=1, txd=256 rxq=1, rxd=256 [ 857.972334] daemon_exe: page allocation failure: order:7, mode:0x2088020 [ 857.972345] CPU: 1 PID: 2289 Comm: daemon_exe Tainted: G OE 4.4.86rt-rt99 #0 [ 857.972346] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014 [ 857.972350] 0000000000000286 36d1c578027e2926 ffff88003d3df938 ffffffff813ecf3e [ 857.972352] 0000000002088020 0000000000000000 ffff88003d3df9c8 ffffffff811a250a [ 857.972352] ffff88003ffde078 0000000000000000 ffff88003ffdc020 ffff88003d3df990 [ 857.972353] Call Trace: [ 857.972384] [] dump_stack+0x63/0x85 [ 857.972395] [] warn_alloc_failed+0xfa/0x150 [ 857.972397] [] __alloc_pages_nodemask+0x352/0xb80 [ 857.972409] [] alloc_pages_current+0x8d/0x110 [ 857.972428] [] netmap_mem2_finalize+0x142/0x590 [netmap] [ 857.972443] [] ? virtio_netmap_config+0xcc/0x100 [virtio_net] [ 857.972446] [] netmap_mem_finalize+0x83/0x2c0 [netmap] [ 857.972449] [] netmap_do_regif+0x89/0x2e0 [netmap] [ 857.972452] [] netmap_ioctl+0x5fb/0xa50 [netmap] [ 857.972462] [] ? migrate_enable+0x7a/0x150 [ 857.972473] [] ? rt_spin_unlock+0x27/0x40 [ 857.972479] [] ? lockref_put_or_lock+0x25/0x30 [ 857.972488] [] ? mntput_no_expire+0x2c/0x1b0 [ 857.972489] [] ? mntput+0x24/0x40 [ 857.972493] [] ? terminate_walk+0x6b/0xe0 [ 857.972496] [] linux_netmap_ioctl+0xa9/0x120 [netmap] [ 857.972497] [] ? do_filp_open+0xa5/0x100 [ 857.972499] [] ? migrate_enable+0x7a/0x150 [ 857.972500] [] do_vfs_ioctl+0x298/0x490 [ 857.972502] [] ? __fget+0x77/0xb0 [ 857.972503] [] SyS_ioctl+0x79/0x90 [ 857.972504] [] entry_SYSCALL_64_fastpath+0x16/0x71 [ 857.972511] Mem-Info: [ 857.972522] active_anon:16975 inactive_anon:684 isolated_anon:0 active_file:13080 inactive_file:24152 isolated_file:0 unevictable:1466 dirty:3 writeback:0 unstable:0 slab_reclaimable:6202 slab_unreclaimable:3621 mapped:13590 shmem:794 pagetables:748 bounce:0 free:1403 free_pcp:274 free_cma:0 [ 857.972528] Node 0 DMA free:3776kB min:64kB low:80kB high:96kB active_anon:1992kB inactive_anon:64kB active_file:1164kB inactive_file:2408kB unevictable:176kB isolated(anon):0kB isolated(file):0kB present:15992kB managed:15908kB mlocked:176kB dirty:0kB writeback:0kB mapped:1460kB shmem:76kB slab_reclaimable:576kB slab_unreclaimable:388kB kernel_stack:32kB pagetables:76kB unstable:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no [ 857.972534] lowmem_reserve[]: 0 926 926 926 [ 857.972536] Node 0 DMA32 free:1836kB min:3860kB low:4824kB high:5788kB active_anon:65908kB inactive_anon:2672kB active_file:51156kB inactive_file:94200kB unevictable:5688kB isolated(anon):0kB isolated(file):0kB present:1032060kB managed:998044kB mlocked:5688kB dirty:12kB writeback:0kB mapped:52900kB shmem:3100kB slab_reclaimable:24232kB slab_unreclaimable:14096kB kernel_stack:3072kB pagetables:2916kB unstable:0kB bounce:0kB free_pcp:1096kB local_pcp:228kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no [ 857.972548] lowmem_reserve[]: 0 0 0 0 [ 857.972550] Node 0 DMA: 1*4kB (M) 3*8kB (UME) 6*16kB (UE) 4*32kB (UE) 1*64kB (U) 3*128kB (UME) 2*256kB (ME) 1*512kB (U) 2*1024kB (UE) 0*2048kB 0*4096kB = 3772kB [ 857.972560] Node 0 DMA32: 1*4kB (U) 1*8kB (U) 6*16kB (UME) 2*32kB (EH) 2*64kB (UE) 2*128kB (UH) 1*256kB (H) 2*512kB (H) 0*1024kB 0*2048kB 0*4096kB = 1836kB [ 857.972570] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB [ 857.972571] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB [ 857.972572] 39070 total pagecache pages [ 857.972578] 0 pages in swap cache [ 857.972580] Swap cache stats: add 0, delete 0, find 0/0 [ 857.972581] Free swap = 0kB [ 857.972582] Total swap = 0kB [ 857.972582] 262013 pages RAM [ 857.972583] 0 pages HighMem/MovableOnly [ 857.972584] 8525 pages reserved [ 857.972584] 0 pages cma reserved [ 857.972585] 0 pages hwpoisoned [ 857.972591] 620.122243 [1316] netmap_finalize_obj_allocator Unable to create cluster at 44352 for 'netmap_buf' allocator [ 857.981963] 620.131618 [ 202] virtio_netmap_clean_used_rings got 1 used bufs on queue tx-0 [ 857.982582] 620.132238 [ 215] virtio_netmap_clean_used_rings got 0 used bufs on queue rx-0 [ 857.983264] 620.132920 [ 670] virtio_netmap_init_buffers added 255 inbufs on queue 0 [ 857.985600] 620.135256 [ 202] virtio_netmap_clean_used_rings got 0 used bufs on queue tx-0 [ 857.986201] 620.135857 [ 215] virtio_netmap_clean_used_rings got 0 used bufs on queue rx-0 [ 857.986802] 620.136458 [ 241] virtio_netmap_reclaim_unused detached 0 pending bufs on queue tx-0 [ 857.987467] 620.137123 [ 253] virtio_netmap_reclaim_unused detached 256 pending bufs on queue rx-0 [ 857.988255] 620.137910 [ 716] virtio_netmap_config virtio config txq=1, txd=256 rxq=1, rxd=256 [ 857.988938] 620.138594 [ 202] virtio_netmap_clean_used_rings got 0 used bufs on queue tx-0 [ 857.989543] 620.139199 [ 215] virtio_netmap_clean_used_rings got 0 used bufs on queue rx-0 [ 857.990177] 620.139833 [ 670] virtio_netmap_init_buffers added 255 inbufs on queue 0 Joe Buehler From owner-freebsd-net@freebsd.org Tue Nov 7 20:13:58 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B3CBEE63A0A for ; Tue, 7 Nov 2017 20:13:58 +0000 (UTC) (envelope-from aspam@cox.net) Received: from fed1rmwml106.cox.net (fed1rmwml106.cox.net [68.230.241.176]) by mx1.freebsd.org (Postfix) with ESMTP id 89CA565CCC for ; Tue, 7 Nov 2017 20:13:58 +0000 (UTC) (envelope-from aspam@cox.net) Received: from eastrmimpo110.cox.net ([68.230.241.223]) by eastrmfepo203.cox.net (InterMail vM.8.01.05.28 201-2260-151-171-20160122) with ESMTP id <20171107201330.NNKZ4081.eastrmfepo203.cox.net@eastrmimpo110.cox.net> for ; Tue, 7 Nov 2017 15:13:30 -0500 Received: from thunder.sweets ([68.100.138.62]) by eastrmimpo110.cox.net with cox id X8DV1w0071LxgH8018DViR; Tue, 07 Nov 2017 15:13:29 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020203.5A0213E9.030E, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=2.2 cv=c/nbeV1l c=1 sm=1 tr=0 a=3mkzfl4ircflX6G+lDqBYw==:117 a=3mkzfl4ircflX6G+lDqBYw==:17 a=9cW_t1CCXrUA:10 a=IkcTkHD0fZMA:10 a=x7bEGLp0ZPQA:10 a=sC3jslCIGhcA:10 a=e9ASbk4n0QUA:10 a=NFGfYaEtCfTaolU336EA:9 a=QEXdDO2ut3YA:10 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from [10.10.10.15] (thunder.sweets [10.10.10.15]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by thunder.sweets (Postfix) with ESMTP id E7CF811E36; Tue, 7 Nov 2017 15:13:28 -0500 (EST) Message-ID: <5A0213E8.10500@cox.net> Date: Tue, 07 Nov 2017 15:13:28 -0500 From: Joe Buehler User-Agent: Thunderbird 1.5.0.12 (X11/20120201) MIME-Version: 1.0 CC: Vincenzo Maffione , "freebsd-net@freebsd.org" Subject: Re: netmap scatter/gather? References: <5A01ED27.60900@cox.net> <5A020DC0.5060205@cox.net> In-Reply-To: <5A020DC0.5060205@cox.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 07 Nov 2017 20:13:58 -0000 Decreasing buf_num to 32768 eliminated the allocation failure. Joe Buehler From owner-freebsd-net@freebsd.org Wed Nov 8 08:04:53 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 47923E70C4D for ; Wed, 8 Nov 2017 08:04:53 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 03ADF6F611 for ; Wed, 8 Nov 2017 08:04:53 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-io0-x22f.google.com with SMTP id 97so5031698iok.7 for ; Wed, 08 Nov 2017 00:04:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=vJqK4I6DT5PiQYbFQ66SR4G0IeiipGGEkd1Jkp8R+gY=; b=MFGj2ejAOokix8cY27vkeoKvAiZSJyZCL6yxu7alueEy9px+Gth3LDN0Rg45k7rvHh WEKRERyS6VgMaRJmf6aV+eWqAlk1cY9buK03RJVwHFHOEFJeBBusIcD4chC/JUUJysQb dd69jXmdEZvq7dHhJZ3nDib6I5xfVVDBX315QzH2dW/fHfL76xA+8QblJtV1NLJFwF5+ 6QSDKWRN+hvB2pNTpsJKl2S4XSTNXuGj/YGZ029zQrh62DH2C4V7GEx9GME7YFjXomCu j9zaUcgXWWvSRimTUVV67uqz6FaS5wiYiM9FEuAQzZCNKcHWlAV8vbH89GIhal4ueCN7 EXXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=vJqK4I6DT5PiQYbFQ66SR4G0IeiipGGEkd1Jkp8R+gY=; b=TBf8tgEPHfTI6QBULSFhlP7T+AN5jWt2y4OiXcBpQchDrfHNszS+l6JNVzIVgGuT7U /X15OQcvJQ31hoUstriAVBj5jWMwVjDIjb6GzfdsbCSOljW5eO4/y1TkBV14PqKVQFVh hXu7EPgTSB3/1hA0ddVCHd7uRPDQFwmaDlb0z9/bZoyB/foGfSOwQP/uGfVnqoGyo3HA 0j3mZ8zlALDK/a1LGJxg+YXXbpM1mIRWfM4ObBPmzNaC2xxR+co3JSA/thm+qeci3QPp 0OqjCaDtInUPKOZjE4weamO/AWc7LrSdoO6bvjJGIVdzjO79IEjAy/NXdb8btK9vn7zq B4PA== X-Gm-Message-State: AJaThX4YY/Oyl+/S71xEULYaNwJpfOQDcQ9h4q4MDu2KJ/WWUi8YrOn9 P4ZVzkT4LgZW3fianGCfpaIQgdreYDzibhZ/7KE7tg== X-Google-Smtp-Source: AGs4zMajvunLpmF/x0Fvw1O+VxYYCC0mdiSz500CrX2+FpS9fJjYI4DFEzISWxBCsCt6G8lY9bBGC/rxDrSrrn21aCg= X-Received: by 10.107.59.18 with SMTP id i18mr1772349ioa.97.1510128292297; Wed, 08 Nov 2017 00:04:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.2.176.143 with HTTP; Wed, 8 Nov 2017 00:04:51 -0800 (PST) In-Reply-To: <5A0213E8.10500@cox.net> References: <5A01ED27.60900@cox.net> <5A020DC0.5060205@cox.net> <5A0213E8.10500@cox.net> From: Vincenzo Maffione Date: Wed, 8 Nov 2017 09:04:51 +0100 Message-ID: Subject: Re: netmap scatter/gather? To: Joe Buehler Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2017 08:04:53 -0000 I see, but it seems there is a bug anyway. Feel free to open a bug report here https://github.com/luigirizzo/netmap/issues if you wish. 2017-11-07 21:13 GMT+01:00 Joe Buehler : > Decreasing buf_num to 32768 eliminated the allocation failure. > > Joe Buehler > -- Vincenzo Maffione From owner-freebsd-net@freebsd.org Wed Nov 8 11:45:42 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90E95E4FFD2 for ; Wed, 8 Nov 2017 11:45:42 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-lf0-f52.google.com (mail-lf0-f52.google.com [209.85.215.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0C4A576371; Wed, 8 Nov 2017 11:45:41 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-lf0-f52.google.com with SMTP id a16so2795803lfk.0; Wed, 08 Nov 2017 03:45:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=2xPJynwxzjOoowo/8HpQKZCgthhR9Mf5Y1yhUGVNiKQ=; b=fDp0lfiyE7r1MClAha/rNeg2anEnYK1OhNmH/oU+O020JdXiQT6SrVNMnUSe4RnEL7 opMIm6NeO3u695H7Wu2PtF5GZDYUzaysGRWWPxG1yDf+FPk7n6rw1A1knmS+r0DCCDZK 9EP2l23kAYcC/5bxTl2Ak7XSj7qKl3SvRICi6INdceSv5sXK50hUVMXiFklE3SDhXo3S Xd5HTv3kbwMZExgGurY+aMR0rQJNY8s80WaLHtcy/pUG8JojSsXIxCVeIPDB7wTLvq+t Cg8mkW5ixaaaN/FhiQWszCrxdQRNTkw2q3EZ3kUeCFJNZYvJ5WSbphijmS24eiTJjpV9 mt1A== X-Gm-Message-State: AJaThX5hI24RaTNv9XnYAh2fWijRoFKgDK52ZvymZvrs3TVjHD4k7Da8 lVIS9s/YW5M1bQr8v3cKlTyWxdiQ X-Google-Smtp-Source: AGs4zMZSSJLhCZwyOSKchgh4yz9Of0Y5lBv3SiUy7cNpgg9z/QifqXJ0SDloQmv4BoR1pEJoEGK+TQ== X-Received: by 10.25.21.233 with SMTP id 102mr78253lfv.252.1510141111539; Wed, 08 Nov 2017 03:38:31 -0800 (PST) Received: from [192.168.0.88] (east.meadow.volia.net. [93.72.151.96]) by smtp.googlemail.com with ESMTPSA id r2sm634045lff.62.2017.11.08.03.38.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Nov 2017 03:38:30 -0800 (PST) To: freebsd-net@FreeBSD.org From: Andriy Gapon Subject: local_unbound, resolvconf, vpn Message-ID: <5689438f-6734-6b57-b700-d70ee2b7578a@FreeBSD.org> Date: Wed, 8 Nov 2017 13:38:28 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2017 11:45:42 -0000 I've just enabled local_unbound on a machine and everything seems to work fine. But there are a few minor quirks that I would like to report. First, there is now an automatically generated /etc/resolvconf.conf. It has the following comment: # This file was generated by local-unbound-setup. # Modifications will be overwritten. Is that comment really true? What and when is going to overwrite my modifications? I've made some changes and they haven't been overwritten yet. But if that comment is true, then it is a rather big inconvenience. For example, I want to be able to set private_interfaces="tun* tap*" to limit impact of VPN provided DNS configurations. Next. The auto-generated resolvconf.conf has this trick to prevent modifications of resolv.conf: resolv_conf="/dev/null" The trick works but it causes some small noise when resolvconf is run, like cannot copy /dev/null to /dev/null.bak. I think that a nicer solution is to just set name_servers=127.0.0.1: name_servers Prepend name servers to the dynamically generated list. You should set this to 127.0.0.1 if you use a local name server other than libc. resolv_conf_local_only If a local name server is configured then the default is just to specify that and ignore all other entries as they will be configured for the local name server. Set this to NO to also list non-local nameservers. This will give you working DNS even if the local nameserver stops functioning at the expense of duplicated server queries. As I understand resolv_conf_local_only is YES by default and default local_nameservers includes 127.*, so name_servers=127.0.0.1 should do the right thing. Last. Every time I connect to a VPN (via vpnc or openvpn, for exmaple) the unbound daemon is restarted. That's expected because its configuration is changed. But there is a slightly annoying message that appears to be harmless: unbound: [7457:0] error: cannot chdir to directory: (No such file or directory) I wonder what causes this messages and if it's possible to shut it up. Thank you. -- Andriy Gapon From owner-freebsd-net@freebsd.org Wed Nov 8 12:17:17 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F0C07E51741 for ; Wed, 8 Nov 2017 12:17:17 +0000 (UTC) (envelope-from alex@zagrebin.ru) Received: from mail.zagrebin.ru (srv0.zagrebin.ru [IPv6:2001:470:1f15:30e::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A877577CDF for ; Wed, 8 Nov 2017 12:17:17 +0000 (UTC) (envelope-from alex@zagrebin.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zagrebin.ru ; s=mail; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=n6xcuY6wyWDsBG3duY7p9ks2lnXhm9I6YNUFgU1C0O8=; b=CD/3f7wOWmpQn19pwfzUfHvTe0 JtqMqK4A+omut/LhYG0kS/eKyKHUqIIJX4fcWUO3tAEaV9Y5Npbixav7nhZolR3T87vkb/LZWABX+ WpThqD5BuahcFF2ScdJDizypNn0AyziPk0ut5o+aycKaj7SxaNdIPotwNZRudcmcuuB4LvVOvFMDQ 5p1uUXkBlExp7Yul8tEwqfsQEkiWiu3tFyPfnZH/QYAPArk3aE234OZY9mf1y9iBzFac2MyRA8m5a 4FzKoR4g2B2RU9YiVrcuKy2X/rfqhIJGK/V5V0wjYGyQj+Cr+NI7r0rdwDM9IQ6DQXg+AkeENxBxq Xm68om2w==; Received: from [2001:470:1f15:30e::2] (helo=vm2.home.zagrebin.ru) by mail.zagrebin.ru with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89 (FreeBSD)) (envelope-from ) id 1eCPIB-000Lka-1M for freebsd-net@freebsd.org; Wed, 08 Nov 2017 15:17:15 +0300 Date: Wed, 8 Nov 2017 15:17:13 +0300 From: Alexander Zagrebin To: freebsd-net@freebsd.org Subject: Re: local_unbound, resolvconf, vpn Message-ID: <20171108151713.413d28c4@vm2.home.zagrebin.ru> In-Reply-To: <5689438f-6734-6b57-b700-d70ee2b7578a@FreeBSD.org> References: <5689438f-6734-6b57-b700-d70ee2b7578a@FreeBSD.org> X-Mailer: Claws Mail 3.15.1 (GTK+ 2.24.31; amd64-portbld-freebsd11.1) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2017 12:17:18 -0000 В Wed, 8 Nov 2017 13:38:28 +0200 Andriy Gapon пишет: > I've just enabled local_unbound on a machine and everything seems to > work fine. But there are a few minor quirks that I would like to > report. > Last. Every time I connect to a VPN (via vpnc or openvpn, for > exmaple) the unbound daemon is restarted. That's expected because > its configuration is changed. But there is a slightly annoying > message that appears to be harmless: unbound: [7457:0] error: cannot > chdir to directory: (No such file or directory) > > I wonder what causes this messages and if it's possible to shut it up. This message appears because you are using chroot. You have to edit /var/unbound/unbound.conf and add a trailing slash to value of the 'directory' parameter: server: ... chroot: /var/unbound directory: /var/unbound/ ... When unbound uses chroot, it determines the directory name, that it will be use for chdir call, taking in account the value of 'chroot' parameter. If 'chroot' equals 'directory' the unbound will call chdir(''), which will cause an error. -- Alexander Zagrebin From owner-freebsd-net@freebsd.org Wed Nov 8 20:55:02 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA13EE5BAA2 for ; Wed, 8 Nov 2017 20:55:02 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BEA2667144 for ; Wed, 8 Nov 2017 20:55:01 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [192.168.0.6] (97-123-7-109.albq.qwest.net [97.123.7.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 2A4D91928B7 for ; Wed, 8 Nov 2017 20:55:00 +0000 (UTC) To: "freebsd-net@freebsd.org" From: Sean Bruno Subject: [CFT] ixgbe(4) IFLIB conversion Message-ID: Date: Wed, 8 Nov 2017 13:55:00 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="LWO3UjTjQj0KpSorsOHQ51n4T2VhUikFJ" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2017 20:55:03 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --LWO3UjTjQj0KpSorsOHQ51n4T2VhUikFJ Content-Type: multipart/mixed; boundary="se26WBPOBRIP2Do8cWqdST0JuhtdkD4Gl"; protected-headers="v1" From: Sean Bruno To: "freebsd-net@freebsd.org" Message-ID: Subject: [CFT] ixgbe(4) IFLIB conversion --se26WBPOBRIP2Do8cWqdST0JuhtdkD4Gl Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable https://reviews.freebsd.org/D11727 We're making good progress on the 10GE driver conversion and are now taking review and run time comments. If you find breakage or performance regressions, now is the time to report them in the Phabricator review. sean --se26WBPOBRIP2Do8cWqdST0JuhtdkD4Gl-- --LWO3UjTjQj0KpSorsOHQ51n4T2VhUikFJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE6MTp+IA1BOHj9Lo0veT1/om1/LYFAloDbyRfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEU4 QzRFOUY4ODAzNTA0RTFFM0Y0QkEzNEJERTRGNUZFODlCNUZDQjYACgkQveT1/om1 /La39Qf/YAr2shRBWJhz4yu7vCNVT/C1S0q5OSWfTWsj1VYBN9gNwobVakCEVUx2 sYebP+X+ke3WT8Nr6UKM/qHDmaj04Rmwq6kIRlqCwbwIN3ushP6AHYPVtdOI60WB xjg9Hdh6bqI4S07HJWxsmSdclqPCk5qL2Z0grDGORxyE1kTl6ohG5z2cI7MH234P rvnaOtQOj0aG+6uoE5K6PFNiOfNsOmULT+zS0xiX981jfkwS3X+gvcW5N/ioJmyr +UxgYI/UBWKMQmRJp65ypmRBLsZLOWi0p80cv3AgN9aRWX3auuNwDr/v1PjqzUft EIlQGB3PMqZHPvgCNjqYRQ1fgIYA0A== =wg3W -----END PGP SIGNATURE----- --LWO3UjTjQj0KpSorsOHQ51n4T2VhUikFJ-- From owner-freebsd-net@freebsd.org Thu Nov 9 05:46:00 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 758BDE6B7AE for ; Thu, 9 Nov 2017 05:46:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 62DBC78AF0 for ; Thu, 9 Nov 2017 05:46:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vA95jxjM033345 for ; Thu, 9 Nov 2017 05:46:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 223552] setting ":sticky" option to cloned_interfaces, errors occurred when invoke a "netif start". Date: Thu, 09 Nov 2017 05:45:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to component keywords 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2017 05:46:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223552 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org Component|misc |bin Keywords| |patch --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Nov 9 20:17:55 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D0345E5AB9D; Thu, 9 Nov 2017 20:17:55 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.not-for.work (onlyone.not-for.work [148.251.9.81]) by mx1.freebsd.org (Postfix) with ESMTP id 6629B76B9D; Thu, 9 Nov 2017 20:17:54 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from [192.168.19.110] (unknown [89.113.128.32]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.not-for.work (Postfix) with ESMTPSA id 833AA8E1; Thu, 9 Nov 2017 23:17:48 +0300 (MSK) To: "freebsd-net@freebsd.org" , freebsd-stable Reply-To: lev@FreeBSD.org From: Lev Serebryakov Subject: =?UTF-8?Q?Intel_I210_=28igb=29_sometimes_consume_all_CPU_on_not-so-?= =?UTF-8?Q?big_traffic_=e2=80=94_need_help!?= Organization: FreeBSD Message-ID: <8590fa5d-fd06-90c6-8d3e-34c155423720@FreeBSD.org> Date: Thu, 9 Nov 2017 23:17:43 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5an80dmX23Xem9Cn9rD5b6lv1DxQnFTNJ" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2017 20:17:55 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --5an80dmX23Xem9Cn9rD5b6lv1DxQnFTNJ Content-Type: multipart/mixed; boundary="lSrC2sueveAJMard5bJ9FL02Uqoib6CAM"; protected-headers="v1" From: Lev Serebryakov Reply-To: lev@FreeBSD.org To: "freebsd-net@freebsd.org" , freebsd-stable Message-ID: <8590fa5d-fd06-90c6-8d3e-34c155423720@FreeBSD.org> Subject: =?UTF-8?Q?Intel_I210_=28igb=29_sometimes_consume_all_CPU_on_not-so-?= =?UTF-8?Q?big_traffic_=e2=80=94_need_help!?= --lSrC2sueveAJMard5bJ9FL02Uqoib6CAM Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable I still have problems with my E-1220v3 server equipped with Intel I210 adapter. It can not be loaded more than 100Mbit/s because it is connection to internet. But sometimes four interrupt threads "intr{irqXXX: igb0:que Y}" consume 100% CPU. Interrupt rate is very modest: % vmstat -i interrupt total rate =2E.. irq276: igb0:que 0 851899713 1193 irq277: igb0:que 1 907338150 1271 irq278: igb0:que 2 907538207 1271 irq279: igb0:que 3 768217584 1076 irq280: igb0:link 2 0 % But CPU consumption is 90-100% per thread: PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND 11 root -92 - 0K 544K CPU2 2 146:22 98.30% intr{irq278: igb0:que 2} 11 root -92 - 0K 544K WAIT 0 178:18 81.55% intr{irq276: igb0:que 0} 11 root -92 - 0K 544K WAIT 1 135:34 77.77% intr{irq277: igb0:que 1} 11 root -92 - 0K 544K CPU3 3 138:57 67.50% intr{irq279: igb0:que 3} procstat -ak looks suspicious: % sudo procstat -ak | grep igb0:que 11 100056 intr irq276: igb0:que 0 vm_page_scan_contig vm_phys_scan_contig vm_page_reclaim_contig kmem_alloc_contig mbuf_jumbo_alloc keg_alloc_slab keg_fetch_slab zone_fetch_slab zone_import zone_alloc_item uma_zalloc_arg m_getjcl igb_refresh_mbufs igb_rxeof igb_msix_que intr_event_execute_handlers ithread_loop fork_exit= 11 100058 intr irq277: igb0:que 1 mi_switch ithread_loop fork_exit fork_trampoline 11 100060 intr irq278: igb0:que 2 mi_switch ithread_loop fork_exit fork_trampoline 11 100062 intr irq279: igb0:que 3 mi_switch ithread_loop fork_exit fork_trampoline % --=20 // Lev Serebryakov --lSrC2sueveAJMard5bJ9FL02Uqoib6CAM-- --5an80dmX23Xem9Cn9rD5b6lv1DxQnFTNJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE+W0coLX0MYtnSzMK6rA8WL/cR48FAloEt+dfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY5 NkQxQ0EwQjVGNDMxOEI2NzRCMzMwQUVBQjAzQzU4QkZEQzQ3OEYACgkQ6rA8WL/c R48OQhAAldC1+7npWwVeT2eDrZnfO3RP5mcfww5x7RNBj2UR8GPEBN++esw6/jlk 1fVDu0uNcrlZPu6UTdS6Xl+3T99YcFGzolGWOKIYk4ZFvsigDmX2yYE9L+QCNk4a FyEo483MSGDy/o48BU4AcfpeI0vTtEA2lA5VWE8rPJbTVrZ65V0vB34lZQ3++gvT is0ETrU3UbpEdyTtSeygUSARsJ+OXqwO8uMU+KAxe12nCKy9yd2KeDsCSmRu49Kj c1N22VIeQbMEaNVFc+12VC7ZG2YADZPhqbnxFEck4y/u8eeKDp8R0dGuBe/4JwFD eF/vHxF61rIczujd3CiTskW78KR2wmLdIRUgv1YcR61Ud6ZWUTU8mJF1YAIT0vEy QXm9rxvNlAcb+yisG4XXHjdzYyVfGo3AWpIXW5uvWoC5gSh025KTvn8JUv3N7YUT sex+8+1y/ejMWsU/ZWpjh6ooaTKhcUQSAnx7lX3HxesmGFxdJOO40ld+acpowdbk vbnik4ycQODFe8+/KT7fdQngutotJ7ifFKhr2ivFlw9VXqE18X08hrJgA247J3mW fwiTTi9gPzaGy+QjZ29kZKp9/c6QpDjV1cISrdZ6XzzYTpS7s2YB3RnIGvThqOQI 4cTNCOKnZ4qn2Ml6Xq483OiKStFTN3aGd+Pd4GihWg6IozGkpIE= =RYSJ -----END PGP SIGNATURE----- --5an80dmX23Xem9Cn9rD5b6lv1DxQnFTNJ-- From owner-freebsd-net@freebsd.org Thu Nov 9 20:21:34 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B7C42E5AF1D for ; Thu, 9 Nov 2017 20:21:34 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 86F3776FBA for ; Thu, 9 Nov 2017 20:21:33 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [192.168.0.6] (97-123-7-109.albq.qwest.net [97.123.7.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id C0E291928B7 for ; Thu, 9 Nov 2017 20:21:26 +0000 (UTC) Subject: =?UTF-8?Q?Re:_Intel_I210_=28igb=29_sometimes_consume_all_CPU_on_not?= =?UTF-8?Q?-so-big_traffic_=e2=80=94_need_help!?= To: freebsd-net@freebsd.org References: <8590fa5d-fd06-90c6-8d3e-34c155423720@FreeBSD.org> From: Sean Bruno Message-ID: <6ea24412-a313-4aa2-e737-eebc02027067@freebsd.org> Date: Thu, 9 Nov 2017 13:21:23 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <8590fa5d-fd06-90c6-8d3e-34c155423720@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IOkxgBNjL6kRMciKFQsskOh36guoxiIs3" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2017 20:21:34 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --IOkxgBNjL6kRMciKFQsskOh36guoxiIs3 Content-Type: multipart/mixed; boundary="M7djh9LXFlAPEemtGDOHJVK7RUPdtfE3G"; protected-headers="v1" From: Sean Bruno To: freebsd-net@freebsd.org Message-ID: <6ea24412-a313-4aa2-e737-eebc02027067@freebsd.org> Subject: =?UTF-8?Q?Re:_Intel_I210_=28igb=29_sometimes_consume_all_CPU_on_not?= =?UTF-8?Q?-so-big_traffic_=e2=80=94_need_help!?= References: <8590fa5d-fd06-90c6-8d3e-34c155423720@FreeBSD.org> In-Reply-To: <8590fa5d-fd06-90c6-8d3e-34c155423720@FreeBSD.org> --M7djh9LXFlAPEemtGDOHJVK7RUPdtfE3G Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 11/09/17 13:17, Lev Serebryakov wrote: >=20 > I still have problems with my E-1220v3 server equipped with Intel I210= > adapter. It can not be loaded more than 100Mbit/s because it is > connection to internet. >=20 > But sometimes four interrupt threads "intr{irqXXX: igb0:que Y}" consum= e > 100% CPU. Interrupt rate is very modest: >=20 > % vmstat -i > interrupt total rate > ... > irq276: igb0:que 0 851899713 1193 > irq277: igb0:que 1 907338150 1271 > irq278: igb0:que 2 907538207 1271 > irq279: igb0:que 3 768217584 1076 > irq280: igb0:link 2 0 > % >=20 > But CPU consumption is 90-100% per thread: >=20 > PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 11 root -92 - 0K 544K CPU2 2 146:22 98.30% intr{irq278: > igb0:que 2} > 11 root -92 - 0K 544K WAIT 0 178:18 81.55% intr{irq276: > igb0:que 0} > 11 root -92 - 0K 544K WAIT 1 135:34 77.77% intr{irq277: > igb0:que 1} > 11 root -92 - 0K 544K CPU3 3 138:57 67.50% intr{irq279: > igb0:que 3} >=20 > procstat -ak looks suspicious: >=20 > % sudo procstat -ak | grep igb0:que > 11 100056 intr irq276: igb0:que 0 vm_page_scan_contig > vm_phys_scan_contig vm_page_reclaim_contig kmem_alloc_contig > mbuf_jumbo_alloc keg_alloc_slab keg_fetch_slab zone_fetch_slab > zone_import zone_alloc_item uma_zalloc_arg m_getjcl igb_refresh_mbufs > igb_rxeof igb_msix_que intr_event_execute_handlers ithread_loop fork_ex= it > 11 100058 intr irq277: igb0:que 1 mi_switch ithread_loop fork_exi= t > fork_trampoline > 11 100060 intr irq278: igb0:que 2 mi_switch ithread_loop fork_exi= t > fork_trampoline > 11 100062 intr irq279: igb0:que 3 mi_switch ithread_loop fork_exi= t > fork_trampoline > % >=20 Lev: Can you dump the sysctl's for igb(sysctl -a | grep igb)? I assume this is stable/11 sean --M7djh9LXFlAPEemtGDOHJVK7RUPdtfE3G-- --IOkxgBNjL6kRMciKFQsskOh36guoxiIs3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE6MTp+IA1BOHj9Lo0veT1/om1/LYFAloEuMRfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEU4 QzRFOUY4ODAzNTA0RTFFM0Y0QkEzNEJERTRGNUZFODlCNUZDQjYACgkQveT1/om1 /LaqjAf/ZfnVmNOX75SZqaJdtwBUQph9G4XdclG6DNUgZ/csxN1DcSsM/BgzftGC Bjhge7FYfJ9D05NnUvNmrzQJEAGUbTl9wihK0kuRGnqKaE8Cni9P+H0c/8+K3E19 o31LjwMeMG0bAnsd3Y61AK0M8o1kWjtNhE/aLDDgMhHE0D0SpcwrCnM7rVgpE0cn yK2NZPHs1EFfj/7nOkUue4exWmCDN1RXWS2LIWNUKuBcISHcbIKY2fnjKcWzaefQ 5fXv6lUA8ejh7spr57h2DlzVpvVF/I+x3VdQtScsArWQTRCnO26v5QNkoGKRl+Rf A15Pj9yseEDrOuLn1YAs/9r6andvYA== =B6Ci -----END PGP SIGNATURE----- --IOkxgBNjL6kRMciKFQsskOh36guoxiIs3-- From owner-freebsd-net@freebsd.org Thu Nov 9 20:23:49 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D874FE5AFD9 for ; Thu, 9 Nov 2017 20:23:49 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-qt0-x22f.google.com (mail-qt0-x22f.google.com [IPv6:2607:f8b0:400d:c0d::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 90CFA77152 for ; Thu, 9 Nov 2017 20:23:49 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by mail-qt0-x22f.google.com with SMTP id c36so3101732qtc.11 for ; Thu, 09 Nov 2017 12:23:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenebras-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=3FBvZ0Wl9BtcsBvEuS59W0QcpO9WfhJ1hXAPGSVcBEA=; b=ChwD1vSsgnp38x/baIRF9ErS9U+8OrMpN+ohKSDdv6fudtebkBw6sMgfPTU2uzavoe zA+LplQ3nX131L2+uetSA3qF94tTLfMveIFu1MaHVTWOWaVLTBhmCgUQZwZrelXteJKe cMcxRCKeXVrj1QCsEYXFIEGxIwWk1FEb2GFQcbytLRcf55CiQFiwlaxoN7ctZ/qglwb4 VVxVXBAOBX9tIPwTX/HXiK0G97UBmjUX6cR98Y0qT1SoPqFwK8Owzo0HqWDPTmLB8wy5 WRgLMcdaQd2FeYkl696cfHTrT5j/to5Dr4X5cb6wjAm2ZOR6gNY3z4ZNB+vWqAl1BRbI /cyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=3FBvZ0Wl9BtcsBvEuS59W0QcpO9WfhJ1hXAPGSVcBEA=; b=VuC/kET21W0I84+gV5HxdLra9BJT+H+8Ui7Tg3R6+w548OcibadYuBJIMimXyhk7q9 W4bFlT+ivbxbI0vwSiQ6ouhhTs6R1kmMNxHQkL0+gW8EWpuwHFA08jTPiTBrVGwpX1Nq nBQqqyhwA9QO+8GVwCU7byq36vQIXPr8QF6g4l8xWyuLSmuyYqP4enbhO1QBZ0/jYBPQ eK4hCJtPVU+4gEKdzSjHfqSk+GWcKsuB7WDw9XYdC6HJCBIl9JQNlL2f/a4WSwNGw+kH Y5fJ/SyrR3Ob8UqwgGdYQhP8/AsE5h/oSgFx2PBCeo9dKgabv6uGN6vlBY9bMoW+Noxf kaGA== X-Gm-Message-State: AJaThX7TLCL/0eYHIES8u8Vp0E0ZaAfpWmtXrpDBjC2wJsu+VqTyGmV4 HS/qjEmZgfVg/5s1VB9omddVXZM+5BNVMKmOydpwIA== X-Google-Smtp-Source: AGs4zMaT5GtZcDtVH3bY4o84XU6BQad3lm9pOcQK9jihXQCGyNEBqWzo5PAQli11iDc/xdwZhqgyVMeOZORk6sbOlko= X-Received: by 10.200.9.73 with SMTP id z9mr2788548qth.43.1510259028373; Thu, 09 Nov 2017 12:23:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.237.46.131 with HTTP; Thu, 9 Nov 2017 12:23:47 -0800 (PST) In-Reply-To: <8590fa5d-fd06-90c6-8d3e-34c155423720@FreeBSD.org> References: <8590fa5d-fd06-90c6-8d3e-34c155423720@FreeBSD.org> From: Michael Sierchio Date: Thu, 9 Nov 2017 12:23:47 -0800 Message-ID: Subject: =?UTF-8?Q?Re=3A_Intel_I210_=28igb=29_sometimes_consume_all_CPU_on_no?= =?UTF-8?Q?t=2Dso=2Dbig_traffic_=E2=80=94_need_help=21?= To: lev@freebsd.org Cc: "freebsd-net@freebsd.org" , freebsd-stable Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2017 20:23:50 -0000 Is device polling enabled? - M On Thu, Nov 9, 2017 at 12:17 PM, Lev Serebryakov wrote: > > I still have problems with my E-1220v3 server equipped with Intel I210 > adapter. It can not be loaded more than 100Mbit/s because it is > connection to internet. > > But sometimes four interrupt threads "intr{irqXXX: igb0:que Y}" consume > 100% CPU. Interrupt rate is very modest: > > % vmstat -i > interrupt total rate > ... > irq276: igb0:que 0 851899713 1193 > irq277: igb0:que 1 907338150 1271 > irq278: igb0:que 2 907538207 1271 > irq279: igb0:que 3 768217584 1076 > irq280: igb0:link 2 0 > % > > But CPU consumption is 90-100% per thread: > > PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 11 root -92 - 0K 544K CPU2 2 146:22 98.30% intr{irq278: > igb0:que 2} > 11 root -92 - 0K 544K WAIT 0 178:18 81.55% intr{irq276: > igb0:que 0} > 11 root -92 - 0K 544K WAIT 1 135:34 77.77% intr{irq277: > igb0:que 1} > 11 root -92 - 0K 544K CPU3 3 138:57 67.50% intr{irq279: > igb0:que 3} > > procstat -ak looks suspicious: > > % sudo procstat -ak | grep igb0:que > 11 100056 intr irq276: igb0:que 0 vm_page_scan_contig > vm_phys_scan_contig vm_page_reclaim_contig kmem_alloc_contig > mbuf_jumbo_alloc keg_alloc_slab keg_fetch_slab zone_fetch_slab > zone_import zone_alloc_item uma_zalloc_arg m_getjcl igb_refresh_mbufs > igb_rxeof igb_msix_que intr_event_execute_handlers ithread_loop fork_exit > 11 100058 intr irq277: igb0:que 1 mi_switch ithread_loop fork_exit > fork_trampoline > 11 100060 intr irq278: igb0:que 2 mi_switch ithread_loop fork_exit > fork_trampoline > 11 100062 intr irq279: igb0:que 3 mi_switch ithread_loop fork_exit > fork_trampoline > % > > -- > // Lev Serebryakov > > --=20 "Well," Brahma said, "even after ten thousand explanations, a fool is no wiser, but an intelligent person requires only two thousand five hundred." - The Mah=C4=81bh=C4=81rata From owner-freebsd-net@freebsd.org Thu Nov 9 20:33:45 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 562C1E5BA48; Thu, 9 Nov 2017 20:33:45 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.not-for.work (onlyone.not-for.work [148.251.9.81]) by mx1.freebsd.org (Postfix) with ESMTP id 0336777B0D; Thu, 9 Nov 2017 20:33:44 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from [192.168.19.110] (unknown [89.113.128.32]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.not-for.work (Postfix) with ESMTPSA id 5D99F8ED; Thu, 9 Nov 2017 23:33:43 +0300 (MSK) Reply-To: lev@FreeBSD.org Subject: =?UTF-8?Q?Re:_Intel_I210_=28igb=29_sometimes_consume_all_CPU_on_not?= =?UTF-8?Q?-so-big_traffic_=e2=80=94_need_help!?= To: Michael Sierchio Cc: "freebsd-net@freebsd.org" , freebsd-stable References: <8590fa5d-fd06-90c6-8d3e-34c155423720@FreeBSD.org> From: Lev Serebryakov Organization: FreeBSD Message-ID: <913d5386-9d53-3c32-e109-f7b687b54262@FreeBSD.org> Date: Thu, 9 Nov 2017 23:33:42 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Ckvwnbsg6XMXlPJw98fXgpDhRiwL7U90m" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2017 20:33:45 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Ckvwnbsg6XMXlPJw98fXgpDhRiwL7U90m Content-Type: multipart/mixed; boundary="AWjBJl8C2hfgvwGi9cwl7DAOCw8fDiaeS"; protected-headers="v1" From: Lev Serebryakov Reply-To: lev@FreeBSD.org To: Michael Sierchio Cc: "freebsd-net@freebsd.org" , freebsd-stable Message-ID: <913d5386-9d53-3c32-e109-f7b687b54262@FreeBSD.org> Subject: =?UTF-8?Q?Re:_Intel_I210_=28igb=29_sometimes_consume_all_CPU_on_not?= =?UTF-8?Q?-so-big_traffic_=e2=80=94_need_help!?= References: <8590fa5d-fd06-90c6-8d3e-34c155423720@FreeBSD.org> In-Reply-To: --AWjBJl8C2hfgvwGi9cwl7DAOCw8fDiaeS Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 09.11.2017 23:23, Michael Sierchio wrote: Nope. > Is device polling enabled? >=20 > - M >=20 > On Thu, Nov 9, 2017 at 12:17 PM, Lev Serebryakov wrot= e: >=20 >> >> I still have problems with my E-1220v3 server equipped with Intel I21= 0 >> adapter. It can not be loaded more than 100Mbit/s because it is >> connection to internet. >> >> But sometimes four interrupt threads "intr{irqXXX: igb0:que Y}" consu= me >> 100% CPU. Interrupt rate is very modest: >> >> % vmstat -i >> interrupt total rate >> ... >> irq276: igb0:que 0 851899713 1193 >> irq277: igb0:que 1 907338150 1271 >> irq278: igb0:que 2 907538207 1271 >> irq279: igb0:que 3 768217584 1076 >> irq280: igb0:link 2 0 >> % >> >> But CPU consumption is 90-100% per thread: >> >> PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND >> 11 root -92 - 0K 544K CPU2 2 146:22 98.30% intr{irq278: >> igb0:que 2} >> 11 root -92 - 0K 544K WAIT 0 178:18 81.55% intr{irq276: >> igb0:que 0} >> 11 root -92 - 0K 544K WAIT 1 135:34 77.77% intr{irq277: >> igb0:que 1} >> 11 root -92 - 0K 544K CPU3 3 138:57 67.50% intr{irq279: >> igb0:que 3} >> >> procstat -ak looks suspicious: >> >> % sudo procstat -ak | grep igb0:que >> 11 100056 intr irq276: igb0:que 0 vm_page_scan_contig >> vm_phys_scan_contig vm_page_reclaim_contig kmem_alloc_contig >> mbuf_jumbo_alloc keg_alloc_slab keg_fetch_slab zone_fetch_slab >> zone_import zone_alloc_item uma_zalloc_arg m_getjcl igb_refresh_mbufs >> igb_rxeof igb_msix_que intr_event_execute_handlers ithread_loop fork_e= xit >> 11 100058 intr irq277: igb0:que 1 mi_switch ithread_loop fork_ex= it >> fork_trampoline >> 11 100060 intr irq278: igb0:que 2 mi_switch ithread_loop fork_ex= it >> fork_trampoline >> 11 100062 intr irq279: igb0:que 3 mi_switch ithread_loop fork_ex= it >> fork_trampoline >> % >> >> -- >> // Lev Serebryakov >> >> >=20 >=20 --=20 // Lev Serebryakov --AWjBJl8C2hfgvwGi9cwl7DAOCw8fDiaeS-- --Ckvwnbsg6XMXlPJw98fXgpDhRiwL7U90m Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE+W0coLX0MYtnSzMK6rA8WL/cR48FAloEu6ZfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY5 NkQxQ0EwQjVGNDMxOEI2NzRCMzMwQUVBQjAzQzU4QkZEQzQ3OEYACgkQ6rA8WL/c R4+VKRAAuVsXugJfn2BnorxxnydtIceFNinThHn1MD6OB6l8wAnU+OE+JKg3IhWg 255OWWAgyUyYPVhmpUj596JhT98VjjjAcMrYFGJ9BYO0Eb8vRhX+B4Jcp8ZI3Wtn PT+FUSWRhsQOhSdZ6wopabI2v7JwcLdidpwu1l3uy9ZPQfFHzPQphaguv1YtHUL7 8JH9wd5BqR/llCgYxRDVdd9uMTg81QGvaf6AW0tcUrIvE4t5EkeyJ0CZIuGtEtSw Sjeso00KvJk66Xo9vVCDA4yVMMr14RdwXZQlRfcTKqA3XC/ISJgm0RrkHCGQ/+k1 340zyYqZyy07vssz4BVegMFZajB+nSz5XbO1qDeISlh+AvAVwBSVibGMHgLcxHIW AUkRSL2lcRDNFrbr0oXLqkz03aLfyW9DsYjJOg3ZnXlNfWqepdsUCpjSgdUXKMya 2qUtxeGIVl8j4jWYUZAuyhaMlytfcE93pcbigq5bAEGz3PTR54ScJxroW2Ob0wP9 UJZw4MzimQYg7W/m+fBiAE5czuSdTq4RLVzqhHEAKZZkilsIH1E0J1b7cXg3CB0b Zqe5N6CMEDr92lFgeMHHY6xf52kvEsZt5dhK+SArEUwQKOH5bfDN4PIM1iRnhfW3 2wXLmmKJE6kzJ/WZ2E3RX8PTXdrfEj/Y2BVSofXjdbQDsYFfFj8= =isX7 -----END PGP SIGNATURE----- --Ckvwnbsg6XMXlPJw98fXgpDhRiwL7U90m-- From owner-freebsd-net@freebsd.org Thu Nov 9 20:34:10 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12CFDE5BAF8 for ; Thu, 9 Nov 2017 20:34:10 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.not-for.work (onlyone.not-for.work [148.251.9.81]) by mx1.freebsd.org (Postfix) with ESMTP id B2B3077C21; Thu, 9 Nov 2017 20:34:09 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from [192.168.19.110] (unknown [89.113.128.32]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.not-for.work (Postfix) with ESMTPSA id 8758E8F0; Thu, 9 Nov 2017 23:34:08 +0300 (MSK) Reply-To: lev@FreeBSD.org Subject: =?UTF-8?Q?Re:_Intel_I210_=28igb=29_sometimes_consume_all_CPU_on_not?= =?UTF-8?Q?-so-big_traffic_=e2=80=94_need_help!?= To: Sean Bruno , freebsd-net@freebsd.org References: <8590fa5d-fd06-90c6-8d3e-34c155423720@FreeBSD.org> <6ea24412-a313-4aa2-e737-eebc02027067@freebsd.org> From: Lev Serebryakov Organization: FreeBSD Message-ID: <5ae4bbe5-74ed-979d-f38a-fa4c440cf548@FreeBSD.org> Date: Thu, 9 Nov 2017 23:34:07 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <6ea24412-a313-4aa2-e737-eebc02027067@freebsd.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cPgnhJqU6cvh1UkQpXev3w9w1hJjDiMQa" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2017 20:34:10 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --cPgnhJqU6cvh1UkQpXev3w9w1hJjDiMQa Content-Type: multipart/mixed; boundary="tBXA3odFv23CcpeR5Haa68OL4PbqKM9EJ"; protected-headers="v1" From: Lev Serebryakov Reply-To: lev@FreeBSD.org To: Sean Bruno , freebsd-net@freebsd.org Message-ID: <5ae4bbe5-74ed-979d-f38a-fa4c440cf548@FreeBSD.org> Subject: =?UTF-8?Q?Re:_Intel_I210_=28igb=29_sometimes_consume_all_CPU_on_not?= =?UTF-8?Q?-so-big_traffic_=e2=80=94_need_help!?= References: <8590fa5d-fd06-90c6-8d3e-34c155423720@FreeBSD.org> <6ea24412-a313-4aa2-e737-eebc02027067@freebsd.org> In-Reply-To: <6ea24412-a313-4aa2-e737-eebc02027067@freebsd.org> --tBXA3odFv23CcpeR5Haa68OL4PbqKM9EJ Content-Type: multipart/mixed; boundary="------------1D3426E1FC61AAA349018AAD" Content-Language: en-US This is a multi-part message in MIME format. --------------1D3426E1FC61AAA349018AAD Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 09.11.2017 23:21, Sean Bruno wrote: > Can you dump the sysctl's for igb(sysctl -a | grep igb)? I assume this= > is stable/11 Mea culpa, it is 11-STABLE, r324811, amd64. Also, here is NO firewalls, NATs and other fancy network features. (It was not very easy, as server in this state timeouts ssh connections)= : % sysctl -a | grep igb | xz -9 > (attached) --=20 // Lev Serebryakov --------------1D3426E1FC61AAA349018AAD Content-Type: application/octet-stream; name="igb.sysctl.txt.xz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="igb.sysctl.txt.xz" /Td6WFoAAATm1rRGAgAhARwAAAAQz1jM4CoZBtpdADIZSzM8Yajl6dBLOy1pBzkvQQdoAFvc HyufFFCtDnybV2lu+hjSpagOWsCf+ksyxSVNPeV/7LDCGWpDT9F6Zj2mMtr/NDNH0EfZ1O2Z QLoAis2oCz0DEXxTemWXoDqHVSK5vI+4erdIknKVm1gbkpKFonmP1Xw47c6YYIwjzQaNA2Xn 8sJ8st3h5d821Pc2fMR9cy7ACjLrLcv1iDKyRCv+FXtNc1wjV8aJXaQK3zJgjj+LO/LLyW2L AjaP66uxRjbFZeBAx1T97HK1j73DKpGZyyToomCFY3v0K7khlaJa21a3B3Xs3V6m+3LwZVjV zddWjtxmRFCWPwVPxFRAdbcgcSvRaZ9vYbfqmIfbTeNR6kYPTnV550e2V/madMRr2SVXXjG+ Tv+8GejXlfEd6nYiD06uFTrZzgA1LHT/lbkRANFnOxDAwxZp5Vcp0MdV/ebneSlSv00htqmE N1veMRtAJkOxPgjExwcAJSLR2GT++aS22ARn/hUWL2uirk2WxrScgGHGApO1lXBnUscrBJMZ rhrdlRl1sZ+8cZieegr4ue0eLO7Gg7RQmWj1yxhi0OfUdKP+gL8FYzyI2CvTBx+Eip51MuOM CkfpoBJrFrG2gwtWaVvMtUV0USNcVS3q50lPloVOKV5x8JWkK6KcQIOmerV+OY3b4YkPbHzV otXCcTLH5QeLOKqw/g7eDr9Fl1SEE9t/PuI8GYns/fPJnfrEw3oM1EngJmFfvhRBZeu0kt7s CvTfo1JelChoLO7xAJq02O2qlUyWU6NCq7NisfGpEZqkTDbhGfRw2Q4wmh8TylZpw0FNc7gV vre8u5FMDXcz7jgTzeHU33/JCkER1PkJKEKJpuimOikFIYgncU6WIaMjlLRGEyBDqSCwM8eL 6MHxORULS7VG6sHGCBr6pxcFqnMmjPWXRg/2HyXHmf7Wm38KR2LW3KjDdmBKSnyYSBtDvmEe NQwIoCEqaetdv6D6ewNAVIAkeJ7kf2kHUlTVCx9YPm6H88daVwBv50ehIHh6NxgAv5K7Nb1B pULZXvztzXXyRwgKYUE+7CqV9yKSspv5XmlyLagfKiU5shuFeKyUh9//PPktLMPCmpxKu1wW ZpPjjdE7b/m51lvBHlt7YbkA6ahvrtooUdmRQLIS2FDyoQWPk9vcRK94rV7GlAhJHoa/rcbV vJmtexw8WnHrULg2dnO/YL7/lN6Dj6UOSsYUoaAyZqdqt+1XnGQ+2VOio6YtCbCG/Wn25A1a GNU/hwGSa5HLaX6teWvRN1J6cueyjxAvaH1ybD2iRyV5Zk00pKyxUKZ1H5q8QGivTJamQuJ5 BD0dc2PvlNwssMzcBfcPyDI2QDmNRKxkWXxrKed0OmBJUG6553Tg4bSLFE3drrIqA4WSPHA6 7ZlnUVCN3uxp2uCPEBBObMIBlwPi+tP4S601fafJvKIYN0ZRChmBhfJzeqYG5CVC+ZPex7Ro /BFLZj7fqx2BvGFWN6hFpJdaoqX/r/N7jatNMNgQ0L3kK/SDZX6lPtC8Qm8uXPGnnRjdnrfj ep/6kBLZx3jxKHfBQKhYhrFJde3CKYE9Cs4jgMMxT0IuC9fHpLx7Cy4O83GKhZePLaKih50Q qXsICN3IF0+GhgFsi61LkRC0d1KKEbfVeZTuHGB0sWe0vTzQf20+OMHoFOmHttXvu3pp9Gqt WDkVWVvuxz42jlVI5E2m9H4cALpuRqDHAhP6/5Oi0GesL/jRjCvj8luSSTGMImAVs9DtHVkS peU77M7qQ2Tmkzf5EbVD3MaSqAfMG0ueVwElSVUA7XltJ9k5VTSvHEQXL35znCIhJzJ8zu7m Fe1f3A9xwDNiZCKj2dsQ+2G1KHE9z3bQK2RO6oR+0OWLi7b1LNdRUxerWZez7/O0ShB2ajBB KlrFLDi+2yVSHp+84aXymacN0mnOyiF4agA2oU4XAfnZqEWVvbheLi9wezgLfbwSqvqf7V8A O+xv3QJP435AocB0/5rSsJ2y81G0ThpWz+YOEpkK0eqA8XRlCIy70wLkhXm1nAMvXm+ZTg5F bj1vq2ycdmaAnzT5aaOw6yFMwQ3S42Cj49Mx+yB7rusmqoWY2rkOrJJwThCX6vcA15POweSS 4mW/DJfv0H3HA/gDUIcmoGdz+q75vx6i1SRHw0wlLEz6Ja2xB7gtsM1KWxPELcivIwuj6oV+ 2CNF7TRqQ4XmP7JngGGc2Fn57RsiPcYKrRcr6uKIDHPzlPqgJW9iwiM0tNVHxCmoAK/VqynA KI0pD2cowUDyxKX5VD7X5YcomXOy2I3rHLqY5m6QRtgw/PQjliKmfvKUppUmmUo+quRIooJE vYAAAAAAwTaUmu6fblcAAfYNmlQAAMRtRkGxxGf7AgAAAAAEWVo= --------------1D3426E1FC61AAA349018AAD-- --tBXA3odFv23CcpeR5Haa68OL4PbqKM9EJ-- --cPgnhJqU6cvh1UkQpXev3w9w1hJjDiMQa Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE+W0coLX0MYtnSzMK6rA8WL/cR48FAloEu79fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY5 NkQxQ0EwQjVGNDMxOEI2NzRCMzMwQUVBQjAzQzU4QkZEQzQ3OEYACgkQ6rA8WL/c R49/yg//TQI/47vJy/HTI3mWpaDfzSaC7awX7VEahrbcsmc2jf/wdiAfrlkWjaym t3qdDTuSFbZxsxfBJ/oxJ06FQ7k1ySA+hBdinN3C3u+a0frIuo360BEaOc6B9nVP MnaeC9a7IibKkHfKybGbzErX0oY+uI5G0yHDy5uFi+X5dYvj5CqmEQglOE9w+cBE yKBWxwGbsHU3LJaNFtv3p0GtkM7Iu0yXPK+BBncch+BuVlyCWgrGAEiqfnkcsDgs G361cy+6nJwTwkSpQo5QkpEANCJ9ghL1cYHTPANio7EzqRxRlN59JQZJB02lR9uA L/3TFMa18rwOAzMN8sOVaNiMJlXRxQJytUwbY9yn4AsdrmK4go+8sfH7QGu36RbY +I2G3bLQdnYLbPc6le9NJn/ZKljajHnCwo8ffWQ8klBqIspIS+OxPM6n5Zm+yP2R kqiDbmrfwtOHXNmSxUnzvcCYApaeecu6KFZQwbxhA1EEoJ+kH9TdIn62I5VDreTY TQGb9dddfcflpOKyxSSb/5j0/XFoDaJB616PSbC25LlQWMe7wNqn3/HCpdM9nIv+ JgigDj6htcOftU/0W3w7p3HOJyETuaMWObM0FvM0SwjSM5MKjejXS019VDnB7fcf J60RAUeBxPZW7sifwMHHL2w1U9fVVIcNYlsbsmHcxvyovasjt5Y= =ef+s -----END PGP SIGNATURE----- --cPgnhJqU6cvh1UkQpXev3w9w1hJjDiMQa-- From owner-freebsd-net@freebsd.org Thu Nov 9 23:35:12 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38F48E5F4EA for ; Thu, 9 Nov 2017 23:35:12 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wr0-x235.google.com (mail-wr0-x235.google.com [IPv6:2a00:1450:400c:c0c::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BCCCE7D97F; Thu, 9 Nov 2017 23:35:11 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wr0-x235.google.com with SMTP id o88so7087111wrb.6; Thu, 09 Nov 2017 15:35:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=kvz8qE13KqTh0UM2QajFoE2dhPPoWHbn+VkG7VMsjew=; b=nq7KYQiq2QPwNGyOCF0IXZ+8KxkOzLaI6YE/Ffyo3/0TjclbwXrmgdclkvWPOm4ERu 1ocEHFWh5MU5XZbRByMNODAuT9SiupVtnr1L0NviHwuI/mNwIZoagXrbhpd89uRUbPNJ dacR1w9Lz7z7bfohYAUvQuDGV4SEs3y6qGp4rnFVQyRm89TTTiH9btJEx/MIUauscbF9 S9hntUJVbpPh3sJVzlxWoybwfJMYNMNH4Q0tSEA4J/lUbDU9ncEvVGDMXsy2g5hk7wYN yJuQk1RLd8UmvcG2XYLRN+Q7yzVYIZRd0Cvyt8PL4lRRE4zZHgPg9ircgW19WmFEQ7Vh 5zsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=kvz8qE13KqTh0UM2QajFoE2dhPPoWHbn+VkG7VMsjew=; b=bAKf70VtsSjDbu31xkkPocgGNuDOpRl9QNu6yW49WBR31qNn3TWh0+z6g0wtxoYOjv sSItCny8UdmzSdjve3C5Jwc+aD6UkW28ZYBeVTxabXjvk9xky9QC3O/4oJoPvGIs/qRf cRE+Kjm5b0ZdEQ+5ZC2hhcxfYX0IX+JzimXlSww86Gvjldwkqu8kMryE/3zrxi3WV8gQ 4EibWzoMMPTIIu5SZ8LOSRJmeeIbepklK+7E8w6n8HIZvmPJ1PE+fe/+/I+05Dxyqnqp 6TaK0zJS7ossFxKblgLSeEsZ3W5OrOwkdB+tJDkWCjqYKSkII8Jmc56E+hnpLLNEwjov lr2A== X-Gm-Message-State: AJaThX5+4be1o1AZT742nOkCgQn9Opf2bOLu9thAq6f2T9dA5nmnUQvt TyY2otgAqTAQSdvKZFZWgA5qN8ig X-Google-Smtp-Source: ABhQp+TimHIh1vXe+YJiUgl3EDoywkBVNCtTu0MqSKU6hH0H8mlpiFSqNagIv2/zK0NXbhQRfqHc2Q== X-Received: by 10.223.174.142 with SMTP id y14mr1582407wrc.222.1510270509940; Thu, 09 Nov 2017 15:35:09 -0800 (PST) Received: from 2.10.20.172.rev.sfr.net (114.86.136.77.rev.sfr.net. [77.136.86.114]) by smtp.gmail.com with ESMTPSA id m26sm4812147wrb.81.2017.11.09.15.35.08 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Nov 2017 15:35:09 -0800 (PST) Content-Type: text/plain; charset=us-ascii; delsp=yes; format=flowed Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: =?utf-8?Q?Re=3A_Intel_I210_=28igb=29_sometimes_consume_all_CPU_o?= =?utf-8?Q?n_not-so-big_traffic_=E2=80=94_need_help!?= From: Ben RUBSON In-Reply-To: <5ae4bbe5-74ed-979d-f38a-fa4c440cf548@FreeBSD.org> Date: Fri, 10 Nov 2017 00:35:08 +0100 Cc: Sean Bruno , freebsd-net@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: <8590fa5d-fd06-90c6-8d3e-34c155423720@FreeBSD.org> <6ea24412-a313-4aa2-e737-eebc02027067@freebsd.org> <5ae4bbe5-74ed-979d-f38a-fa4c440cf548@FreeBSD.org> To: lev@FreeBSD.org X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2017 23:35:12 -0000 On 09 Nov 2017 21:34, Lev Serebryakov wrote: > Mea culpa, it is 11-STABLE, r324811, amd64. Sounds like you could be facing what I experienced a few weeks ago. See this thread : https://lists.freebsd.org/pipermail/freebsd-net/2017-August/048621.html https://lists.freebsd.org/pipermail/freebsd-net/2017-September/048826.html Finally you should need to apply r307551 + r324179/r324193. Ben From owner-freebsd-net@freebsd.org Fri Nov 10 12:50:19 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2CEFEE6D3DF for ; Fri, 10 Nov 2017 12:50:19 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.not-for.work (onlyone.not-for.work [IPv6:2a01:4f8:201:6350::2]) by mx1.freebsd.org (Postfix) with ESMTP id E318E7217A; Fri, 10 Nov 2017 12:50:18 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from [192.168.19.110] (unknown [89.113.128.32]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.not-for.work (Postfix) with ESMTPSA id ADBE098E; Fri, 10 Nov 2017 15:50:17 +0300 (MSK) Reply-To: lev@FreeBSD.org Subject: =?UTF-8?Q?Re:_Intel_I210_=28igb=29_sometimes_consume_all_CPU_on_not?= =?UTF-8?Q?-so-big_traffic_=e2=80=94_need_help!?= To: Ben RUBSON Cc: Sean Bruno , freebsd-net@freebsd.org References: <8590fa5d-fd06-90c6-8d3e-34c155423720@FreeBSD.org> <6ea24412-a313-4aa2-e737-eebc02027067@freebsd.org> <5ae4bbe5-74ed-979d-f38a-fa4c440cf548@FreeBSD.org> From: Lev Serebryakov Organization: FreeBSD Message-ID: <3982a4c5-c95f-4e53-7647-4498d2f91904@FreeBSD.org> Date: Fri, 10 Nov 2017 15:50:07 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="PtVrVJBeLDOt4gf2IRH90hLiXma57qWvH" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2017 12:50:19 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --PtVrVJBeLDOt4gf2IRH90hLiXma57qWvH Content-Type: multipart/mixed; boundary="rjp3x5CmBMT4Br2sdxtWvt4lFF9Oktv5Q"; protected-headers="v1" From: Lev Serebryakov Reply-To: lev@FreeBSD.org To: Ben RUBSON Cc: Sean Bruno , freebsd-net@freebsd.org Message-ID: <3982a4c5-c95f-4e53-7647-4498d2f91904@FreeBSD.org> Subject: =?UTF-8?Q?Re:_Intel_I210_=28igb=29_sometimes_consume_all_CPU_on_not?= =?UTF-8?Q?-so-big_traffic_=e2=80=94_need_help!?= References: <8590fa5d-fd06-90c6-8d3e-34c155423720@FreeBSD.org> <6ea24412-a313-4aa2-e737-eebc02027067@freebsd.org> <5ae4bbe5-74ed-979d-f38a-fa4c440cf548@FreeBSD.org> In-Reply-To: --rjp3x5CmBMT4Br2sdxtWvt4lFF9Oktv5Q Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 10.11.2017 2:35, Ben RUBSON wrote: > Sounds like you could be facing what I experienced a few weeks ago. >=20 > See this thread : > https://lists.freebsd.org/pipermail/freebsd-net/2017-August/048621.html= > https://lists.freebsd.org/pipermail/freebsd-net/2017-September/048826.h= tml >=20 > Finally you should need to apply r307551 + r324179/r324193. These fixes for situation when here is pure 100% load and it could not be fixed without reboot. My case is "near 100%" load and it heals itself after some time (hours). --=20 // Lev Serebryakov --rjp3x5CmBMT4Br2sdxtWvt4lFF9Oktv5Q-- --PtVrVJBeLDOt4gf2IRH90hLiXma57qWvH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE+W0coLX0MYtnSzMK6rA8WL/cR48FAloFoH9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY5 NkQxQ0EwQjVGNDMxOEI2NzRCMzMwQUVBQjAzQzU4QkZEQzQ3OEYACgkQ6rA8WL/c R4/B/hAA23b7fuxF/2p3clr+BmH5lOLSzYqSnDN07jcdDUzuZGQ/RHMeL672s/UY e3gB/AE/KiQioKqVBcpXcMvUGyZko8MZRE29KQiWNVL27jU7k+BVvHY4JkCmEmor j5x/NAC+P25tpVhY7730uDstZmJtY765QQUrIVpV1vmRlWfsanVrolZ+3ee9Vt/6 REHidlWVSsi/TwmUy84miT1vq0av5a8bSD3ExMPd3yoTnJM3MSPINsPdiSB4tYU3 LbIxMWASNVZ1NWTr8p4HivmJQZ5RNDpz1tU0RJTIPgUnws+HcCwebQvrNpdngT7H kMkQAllh2R81jOts6qprT7mjXnb7dvPXBRdLNjVU8u+nJpoXaFfUptZPxr/eiYuB JvF17KQpXnjmHUfsaEISZ65drxQpHTpNOSnZQgsCUs4In2+EtJUf1wVjM07Fj/p6 v4/XGZvRm8w+ax6ydw1pOXB369x7GJFnhNdeNJmRM8V1uwL9OWcMNV4M6rJQ8YgZ qBR/whPSsQwP7XR5Fa7wz/Sg6DX11NfnK0ovpjpinEHz2LTX7debKOVbx7yJzszj yO3u5912SRrdsiReN1g5MZwVM3MYpyRqz28BNoCK/t/iYe26oFhp8ki5zSCSR1CG SnYfVLADWAya4HJf9cyFIvdx7GeaPx9qEwkOd1trBRr3wK0/A1M= =qu1m -----END PGP SIGNATURE----- --PtVrVJBeLDOt4gf2IRH90hLiXma57qWvH-- From owner-freebsd-net@freebsd.org Fri Nov 10 21:16:09 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 794A1E50593 for ; Fri, 10 Nov 2017 21:16:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 67A3C3AE1 for ; Fri, 10 Nov 2017 21:16:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vAALG7ER066348 for ; Fri, 10 Nov 2017 21:16:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221146] [LAGG] Problem with second laggport Date: Fri, 10 Nov 2017 21:16:07 +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: 11.1-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? X-Bugzilla-Changed-Fields: attachments.created 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2017 21:16:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221146 --- Comment #17 from Sean Bruno --- Created attachment 187911 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D187911&action= =3Dedit Move hardware notification of driver readiness to end of attach. Current. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Nov 10 21:16:49 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCD9CE50700 for ; Fri, 10 Nov 2017 21:16:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BB16D3DAA for ; Fri, 10 Nov 2017 21:16:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vAALGni3067197 for ; Fri, 10 Nov 2017 21:16:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221146] [LAGG] Problem with second laggport Date: Fri, 10 Nov 2017 21:16:49 +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: 11.1-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? X-Bugzilla-Changed-Fields: attachments.created 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2017 21:16:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221146 --- Comment #18 from Sean Bruno --- Created attachment 187912 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D187912&action= =3Dedit Move hardware notification of driver readiness to end of attach. Stable/11. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Nov 10 21:18:02 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 58527E508CA for ; Fri, 10 Nov 2017 21:18:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A61AC632AC for ; Fri, 10 Nov 2017 21:18:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vAALHwib068706 for ; Fri, 10 Nov 2017 21:18:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221146] [LAGG] Problem with second laggport Date: Fri, 10 Nov 2017 21:17:59 +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: 11.1-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2017 21:18:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221146 --- Comment #19 from Sean Bruno --- I'm having a heck of a time reproducing this bug, as it seems like a race in the attach startup. If you are seeing this problem on Current or Stable/11, I've attached an attempt to fix this, please report back if it helps or does nothing. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Nov 10 21:18:36 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9EADBE509C6 for ; Fri, 10 Nov 2017 21:18:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 890DA633E0 for ; Fri, 10 Nov 2017 21:18:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vAALIZAt069481 for ; Fri, 10 Nov 2017 21:18:36 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 221146] [ixgbe] Problem with second laggport Date: Fri, 10 Nov 2017 21:18:36 +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: 11.1-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? X-Bugzilla-Changed-Fields: short_desc 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2017 21:18:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221146 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[LAGG] Problem with second |[ixgbe] Problem with second |laggport |laggport --=20 You are receiving this mail because: You are the assignee for the bug.=