From owner-freebsd-net@freebsd.org Sun Jul 19 17:41:20 2015 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 2A61D9A639E for ; Sun, 19 Jul 2015 17:41:20 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) by mx1.freebsd.org (Postfix) with ESMTP id 0F8621B9F for ; Sun, 19 Jul 2015 17:41:20 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by phabric-backend.isc.freebsd.org (Postfix, from userid 1346) id F3A38FC6B; Sun, 19 Jul 2015 17:41:19 +0000 (UTC) Date: Sun, 19 Jul 2015 17:41:19 +0000 To: freebsd-net@freebsd.org From: "robak (Bartek Rutkowski)" Reply-to: D1944+325+8925873bdc96dfc2@FreeBSD.org Subject: [Differential] [Commented On] D1944: PF and VIMAGE fixes Message-ID: <761fb018c6cf68e2840251bd6a4603db@localhost.localdomain> X-Priority: 3 Thread-Topic: D1944: PF and VIMAGE fixes X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: NDc2NzM0MzY4OTdiYThiNTU1MjY2ZDZmMTJiIFWr4T8= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jul 2015 17:41:20 -0000 robak added a comment. I managed to crash freshly fetched and built 10-S today, with GENERIC+VIMAGE+RACCT while stopping a jail, attaching console screenshots. F183647: Screen Shot 2015-07-19 at 17.48.26.png F183649: Screen Shot 2015-07-19 at 18.33.39.png REVISION DETAIL https://reviews.freebsd.org/D1944 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: nvass-gmx.com, bz, zec, trociny, kristof, gnn, glebius, rodrigc Cc: julian, robak, freebsd-virtualization-list, freebsd-pf-list, freebsd-net-list From owner-freebsd-net@freebsd.org Sun Jul 19 21:00:28 2015 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 99C819A5244 for ; Sun, 19 Jul 2015 21:00:28 +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 734461CE7 for ; Sun, 19 Jul 2015 21:00:28 +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 t6JL0Ssu007489 for ; Sun, 19 Jul 2015 21:00:28 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201507192100.t6JL0Ssu007489@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-net@FreeBSD.org Subject: Problem reports for freebsd-net@FreeBSD.org that need special attention X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 Date: Sun, 19 Jul 2015 21:00:28 +0000 Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 19 Jul 2015 21:00:28 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 197535 | [re] [panic] if_re (Realtek 8168) causes memory w Open | 194515 | Fatal Trap 12 Kernel with vimage Open | 199136 | [if_tap] Added down_on_close sysctl variable to t 3 problems total for which you should take action. From owner-freebsd-net@freebsd.org Sun Jul 19 21:39:43 2015 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 082FE9A5C95 for ; Sun, 19 Jul 2015 21:39:43 +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 E94111F3C for ; Sun, 19 Jul 2015 21:39:42 +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 t6JLdgZi029617 for ; Sun, 19 Jul 2015 21:39:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 200319] Bridge+CARP crashes/freezes Date: Sun, 19 Jul 2015 21:39:43 +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.1-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jason.unovitch@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 19 Jul 2015 21:39:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200319 Jason Unovitch changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason.unovitch@gmail.com --- Comment #1 from Jason Unovitch --- Is this on the radar to get put in 10.2? I've got some feedback over in the forums that the patch has resolved the issue. https://forums.freebsd.org/threads/carp-bridge-crashes-freezes-on-freebsd-10.52427 -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Sun Jul 19 22:11:48 2015 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 CE4199A44C9 for ; Sun, 19 Jul 2015 22:11:48 +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 B63F816CF for ; Sun, 19 Jul 2015 22:11:48 +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 t6JMBmxq097280 for ; Sun, 19 Jul 2015 22:11:48 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 200319] Bridge+CARP crashes/freezes Date: Sun, 19 Jul 2015 22:11:48 +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.1-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: hrs@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: hrs@FreeBSD.org X-Bugzilla-Target-Milestone: --- 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: 7bit 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.20 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, 19 Jul 2015 22:11:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200319 Hiroki Sato changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-net@FreeBSD.org |hrs@FreeBSD.org CC| |hrs@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Sun Jul 19 23:06:13 2015 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 0E72B9A6076 for ; Sun, 19 Jul 2015 23:06:13 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) by mx1.freebsd.org (Postfix) with ESMTP id EB50115A4 for ; Sun, 19 Jul 2015 23:06:12 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by phabric-backend.isc.freebsd.org (Postfix, from userid 1346) id E9238F23A; Sun, 19 Jul 2015 23:06:12 +0000 (UTC) Date: Sun, 19 Jul 2015 23:06:12 +0000 To: freebsd-net@freebsd.org From: "zec (Marko Zec)" Reply-to: D1944+325+8925873bdc96dfc2@FreeBSD.org Subject: [Differential] [Updated] D1944: PF and VIMAGE fixes Message-ID: X-Priority: 3 Thread-Topic: D1944: PF and VIMAGE fixes X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: NDc2NzM0MzY4OTdiYThiNTU1MjY2ZDZmMTJiIFWsLWQ= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jul 2015 23:06:13 -0000 zec added a comment. In https://reviews.freebsd.org/D1944#62124, @robak wrote: > I managed to crash freshly fetched and built 10-S today, with GENERIC+VIMAGE+RACCT while stopping a jail, attaching console screenshots. > > F183647: Screen Shot 2015-07-19 at 17.48.26.png > > F183649: Screen Shot 2015-07-19 at 18.33.39.png Those are just warning messages unrelated to the patchset discussed here, i.e. if your kernel really crashed, the attached screenshots do not reveal the culprit. REVISION DETAIL https://reviews.freebsd.org/D1944 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: nvass-gmx.com, bz, trociny, kristof, gnn, glebius, rodrigc, zec Cc: julian, robak, freebsd-virtualization-list, freebsd-pf-list, freebsd-net-list From owner-freebsd-net@freebsd.org Sun Jul 19 23:06:15 2015 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 95C4C9A6093 for ; Sun, 19 Jul 2015 23:06:15 +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 82A7615B4 for ; Sun, 19 Jul 2015 23:06:15 +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 t6JN6Fl4079980 for ; Sun, 19 Jul 2015 23:06:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 199174] em tx and rx hang Date: Sun, 19 Jul 2015 23:06:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: david.keller@litchis.fr X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sbruno@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: mfc-stable9? mfc-stable10? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 19 Jul 2015 23:06:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199174 --- Comment #30 from david.keller@litchis.fr --- I've only set ifp->if_hw_tsomax=65518 as other settings depend on attributes not available in releng/10.1. => It crashed after 1h movie playing over nfs. I'll wait for 10.2 to perform the full configuration test, as it's a used server I can't switch to -current :-) What about comment 10 ? -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Mon Jul 20 02:06:23 2015 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 1CC859A5C4F for ; Mon, 20 Jul 2015 02:06:23 +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 F353416AA for ; Mon, 20 Jul 2015 02:06:22 +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 t6K26Mt7008603 for ; Mon, 20 Jul 2015 02:06:22 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 199174] em tx and rx hang Date: Mon, 20 Jul 2015 02:06:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sbruno@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: mfc-stable9? mfc-stable10? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 20 Jul 2015 02:06:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199174 --- Comment #31 from Sean Bruno --- (In reply to david.keller from comment #30) I just tested an alignment of 128 and I don't see any changes to behavior. I still get a lockup with TSO enabled. @@ -3350,13 +3356,13 @@ * Setup DMA descriptor areas. */ if ((error = bus_dma_tag_create(bus_get_dma_tag(dev), - 1, 0, /* alignment, bounds */ + 128, 0, /* alignment, bounds */ BUS_SPACE_MAXADDR, /* lowaddr */ BUS_SPACE_MAXADDR, /* highaddr */ NULL, NULL, /* filter, filterarg */ -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Mon Jul 20 08:39:04 2015 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 9DF4C9A6EC9 for ; Mon, 20 Jul 2015 08:39:04 +0000 (UTC) (envelope-from wangzheng@jrq.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 87D7C1172 for ; Mon, 20 Jul 2015 08:39:04 +0000 (UTC) (envelope-from wangzheng@jrq.com) Received: by mailman.ysv.freebsd.org (Postfix) id 84CFD9A6EC8; Mon, 20 Jul 2015 08:39:04 +0000 (UTC) Delivered-To: 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 836E39A6EC7 for ; Mon, 20 Jul 2015 08:39:04 +0000 (UTC) (envelope-from wangzheng@jrq.com) Received: from smtpbgau1.qq.com (smtpbgau1.qq.com [54.206.16.166]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8FB40116F for ; Mon, 20 Jul 2015 08:39:02 +0000 (UTC) (envelope-from wangzheng@jrq.com) X-QQ-mid: bizesmtp10t1437380619t426t30 Received: from [10.1.20.49] (unknown [218.17.161.94]) by esmtp4.qq.com (ESMTP) with SMTP id 0 for ; Mon, 20 Jul 2015 16:23:38 +0800 (CST) X-QQ-SSF: 01400000010000F0F812000A0000000 X-QQ-FEAT: vusB/7NFgTuB8ARhVGGCc631YAg6RJ8zvI6ir5n0T7yqfqNMAfJOHrqHW6xaD XieIv9mywu1i6fma2QqtSaazesvCXlNTozM7SNN9ObivoRj4NBCfvg80eDKljiFMqR4OIA9 OtZJtlRGz3EkUREhGOTVlZ3ilx6vLYJScz7thWyPEC+ueNARr3ZPqgZJlrlSCgdiM0ScVt7 kqcHZ6PGkpSvtCnb3d7yHoiHoM9jeWVo= X-QQ-GoodBg: 2 From: arthurwang Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: How to join this mailing list ? Message-Id: <8714904D-22E4-4738-ABF8-C42ACACFEF3B@jrq.com> Date: Mon, 20 Jul 2015 16:23:38 +0800 To: net@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) X-Mailer: Apple Mail (2.2098) X-QQ-SENDSIZE: 520 X-QQ-Bgrelay: 1 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 20 Jul 2015 08:39:04 -0000 Excuse Me , but this is the first time I used I mailing list to have = discussions with others , could anyone help me how to subscribe this = , and how to get the historical mails ? Thanks a lot for helping a newbee ~!!= From owner-freebsd-net@freebsd.org Mon Jul 20 10:36:29 2015 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 B651E9A542B for ; Mon, 20 Jul 2015 10:36:29 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 97C1C7D7 for ; Mon, 20 Jul 2015 10:36:29 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 942339A542A; Mon, 20 Jul 2015 10:36:29 +0000 (UTC) Delivered-To: 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 78EBD9A5428 for ; Mon, 20 Jul 2015 10:36:29 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-vn0-x234.google.com (mail-vn0-x234.google.com [IPv6:2607:f8b0:400c:c0f::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 2B8D97D6 for ; Mon, 20 Jul 2015 10:36:29 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by vnaa140 with SMTP id a140so21308092vna.2 for ; Mon, 20 Jul 2015 03:36:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=GOHa/ttwKxmbedO5KZOmp93aRDaVEgrdJyX6VwfCI8c=; b=moDXubz7RrHc5gRqIHeRvlj9h4+FBhMWMwywcnKaXbPBDF5pyMO/bYIIvX8a2V5s7M evuYv1AAAE+m+KALZ39yMlelqnslp0SSoU4lNZKl558XMi5M0aTbGZSCFQ3Ox23jZPrZ mmvvnecbhp3gISomoUb9iHGhOlszW1/14K6nlMCJd9olwFm2ZnI4cKJr1rrKgKUJovCE 73Ormh86sn/TjrFwDXOouXle0B8qI4A1W2cDqZPe3hc7qUWPAjobQMceP+66BTxAnTc7 TDajCIUgT+QCzDCWIF5Usmtw0t/cx8KzFfsOCLXCa6+gA/TX2HUOaIg+SJZ93J4sTMQj 1Ejg== MIME-Version: 1.0 X-Received: by 10.52.181.167 with SMTP id dx7mr35563937vdc.91.1437388588165; Mon, 20 Jul 2015 03:36:28 -0700 (PDT) Received: by 10.31.97.4 with HTTP; Mon, 20 Jul 2015 03:36:28 -0700 (PDT) In-Reply-To: <8714904D-22E4-4738-ABF8-C42ACACFEF3B@jrq.com> References: <8714904D-22E4-4738-ABF8-C42ACACFEF3B@jrq.com> Date: Mon, 20 Jul 2015 18:36:28 +0800 Message-ID: Subject: Re: How to join this mailing list ? From: Ben Woods To: arthurwang Cc: "net@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 20 Jul 2015 10:36:29 -0000 On Monday, July 20, 2015, arthurwang wrote: > > > Excuse Me , but this is the first time I used I mailing list to have > discussions with others , could anyone help me how to subscribe this , > and how to get the historical mails ? > > > > Thanks a lot for helping a newbee ~!! > Go to https://lists.freebsd.org/ and click on the name of the list you want to join. It will take you to a web page that will allow you to subscribe to the list (after confirming your email is valid by a test mail). Unfortunately you cannot get the historical emails from the list, however you can view them by clicking on the Archive link on the page where you would subscribe to each list. You can also search the mailing lists via this web page: https://www.freebsd.org/search/ Good luck! Regards, Ben -- -- From: Benjamin Woods woodsb02@gmail.com From owner-freebsd-net@freebsd.org Mon Jul 20 12:05:28 2015 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 23DE39A6A3D for ; Mon, 20 Jul 2015 12:05:28 +0000 (UTC) (envelope-from wangzheng@jrq.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 088C211A4 for ; Mon, 20 Jul 2015 12:05:28 +0000 (UTC) (envelope-from wangzheng@jrq.com) Received: by mailman.ysv.freebsd.org (Postfix) id 075F99A6A3C; Mon, 20 Jul 2015 12:05:28 +0000 (UTC) Delivered-To: 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 E1A249A6A3B for ; Mon, 20 Jul 2015 12:05:27 +0000 (UTC) (envelope-from wangzheng@jrq.com) Received: from smtpproxy9.qq.com (smtpproxy9.qq.com [113.108.67.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ECB42119F for ; Mon, 20 Jul 2015 12:05:25 +0000 (UTC) (envelope-from wangzheng@jrq.com) X-QQ-mid: bizesmtp7t1437393841t306t066 Received: from [10.1.20.49] (unknown [218.17.161.94]) by esmtp4.qq.com (ESMTP) with id ; Mon, 20 Jul 2015 20:04:00 +0800 (CST) X-QQ-SSF: 00400000012000F0F812000A0000000 X-QQ-FEAT: Tas2jRaQZEOExdd8zjJENWNPXxOEBM/rUmfg+45/tBdUjeAQQg2pSKD97evV7 gDAB45CdWFOhlgOE/0+OBHR9nGCKA19W0H4oojYT6zdoOeK6sBkcdU6ggb6aArTdRb4FSR2 Ejo1nCLRpjwJZmq9NGjW4Ni4LtLuRUxSYz+xRT9WONXv9LUqpuJrcvoiFgnZdi41XEAZrgH pnh9pyeSE0U6Qqt1l9iTgAIb6LIXENsk9XLsS6EcAmdFbMiTo5+ThijTSoL6x264= X-QQ-GoodBg: 2 From: arthurwang Message-Id: Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Two netmap issues : 1. "protocol 0000 is buggy" , 2: network applications stuck Date: Mon, 20 Jul 2015 20:04:00 +0800 References: <8714904D-22E4-4738-ABF8-C42ACACFEF3B@jrq.com> To: net@freebsd.org, rizzo@iet.unipi.it In-Reply-To: <8714904D-22E4-4738-ABF8-C42ACACFEF3B@jrq.com> X-Mailer: Apple Mail (2.2098) X-QQ-SENDSIZE: 520 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 20 Jul 2015 12:05:28 -0000 Hi , I=E2=80=99m new to netmap , =E2=80=9Ca novel framework for fast = packet I/O=E2=80=9D accroding to = http://info.iet.unipi.it/~luigi/netmap/#85cb = , :). Im doing a test = for its bridge.c example program , which do a bridging(namely proxying , = I suppose ) job between NIC and host stack ,by running =E2=80=9C./bridge= -i net map:ethic=E2=80=9D from command line , and I have two problems = : Problem 1 :=20 It issues =E2=80=9Cprotocol 0000 is buggy=E2=80=9D once per = second , seems not running correctly, by contrast to the normal state , = under which print =E2=80=9Cpoll timeout =E2=80=9C once per 2.5 seconds . = This issue not always exist.=20 Here is the procedure to reproduce: 1> install a centOS 6.5 on vmware fusion 7( host: mbp ) =20 2> download kernel 2.6.32.67 from kernel.org = , compile & install it, reboot the guest OS.=20 3> clone netmap from https://github.com/ppLorins/netmap = , unpack & compile it , insert the = netma.ko to kernel. 4> compile the bridge.c example=20 5> run example with =E2=80=9C./bridge -i netmap:eth0=E2=80=9D Thus , it will print the error message =E2=80=9Cprotocol 0000 is = buggy=E2=80=9D , I explore it by google for quite a long time, found = nothing .=20 Environment info about the guestOS centOS6.5 , from a =E2=80=9Cn= ame -a=E2=80=9D call : =20 Linux localhost.localdomain 2.6.32.67 #1 SMP Fri Jul 17 08:41:59 = CEST 2015 i686 i686 i386 GNU/Linux As for the NIC driver , I have no idea about it but it was = simulated by vmware, sorry for this ,but if you need extra information = about it , tell me how to view it by command line , and I will reply as = soon as possible .=20 Problem 2:=20 Even though Problem 1 not exists , the program also appears to be = something wrong , Here are what I found : 1> ping request from another machine can return normally ( same as I = supposed ) =20 =20 2> new tcp connection(requested by telnet, destination port is 22 ) = can be successfully established from other machine ( same as I = supposed ) =20 3> existing session (pts/0 , pts/1 ) founded by a precede ssh call = , are stuck , cannot enter any character or get any response into/from = screen. (confusing) 4> new ssh request (represents all tcp applications ), cannot = get response and timed out. (confusing ) In my assumption, there should be no difference with or without the = bridge program running , for the upper layer network applications = .Since bridge just acts as a proxy between NIC and host stack ,and do = nothing except that . Thus all ip(ping) or tcp(ssh) layer = applications should act as normal , but unfortunately just part of them = are okay . Can anyone help ? I know there are few people using netmap , it=E2=80= =99s quite a novel technique for network application=E2=80=A6. Thanks a lot. =20 =E2=80=94 ArthurWang =E2=80=94 Best Regards From owner-freebsd-net@freebsd.org Mon Jul 20 12:27:23 2015 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 9890B9A6E82 for ; Mon, 20 Jul 2015 12:27:23 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 256081F37; Mon, 20 Jul 2015 12:27:23 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from moby.local ([79.107.36.229]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MNYxW-1ZJvJz0X2Q-007Dks; Mon, 20 Jul 2015 14:27:21 +0200 Message-ID: <55ACE900.1060603@gmx.com> Date: Mon, 20 Jul 2015 15:26:40 +0300 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: hrs@FreeBSD.org, freebsd-net@FreeBSD.org, jason.unovitch@gmail.com Subject: Re: [Bug 200319] Bridge+CARP crashes/freezes References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:u+Xyqpx74wyfETmnT9z7hG15JQ6Q8+T0bRmjy9+dUVqsUmRr9mQ rlDLP9PO22WnXffmUD8+6HBJCoeUkNiugACE0J0Cy+7gzohedCLiKklluoWrvd5ILhF8PNO WTx/GI+Ntf4ZnJbjTSnyg82J4tuxd+ThkYDzxu0tYpMjTb+GWyLaz5TYbTmuJtzyT0bjgfH xPnwxBCqvHzuI23vx9Wmw== X-UI-Out-Filterresults: notjunk:1;V01:K0:DczUkMg3lzM=:PmYrDhWWUfQaeDrcnrPwGD VGqk3GECEJHO8W6ck4l2OWWuxl814a7xJ5FSkxDBk7lRgP63auSY7fz1F0mtbuTlN2yHWrQrF Dxc89s5cZ+pKVXLvz9ixOT3MmHKSRehqb222+HXH1rjWe4TmPZeS1sDhl+aPZDRdrj/vmPstn Fw3b64mD1+hmFELJ1jRmelOI1d4pbsPKDg8sS4H+h3mfim9JK8CswTo42aCUkhLZ8aPgFBFWS Ko4nS3NYIYdoRSZeZ5eSS+3SHbDQcEk0L9u91f/YsvVi6QeaagzRJuEoHqU6e5UcZtS8o4iPl aFIrbDBikjK+cDK4/TTlASrQZXsLZ/enJ9psx8ahODJuNGgpV3YnbFQcR+gEYiRr9YqZRt2f9 v4ARVkGm0oaKPsU/L/VEgp0NEGj/JKvkFZmXKDunPbGYnUVDQMTOzV4EM7Iej3IPT309UOwmb hPQYsPTb6ajtBlzmYLaph9LBwlgDIYtXgnFQVlVkhV31t4kbz/A93x3n63s+06k0C63PMqBVc nBczb5Zo2PDlUow9mGG7RTgOZBLvy2pSvu/F0eEBjHQlnL7vM5CkeYCZmeMh32BcOKngtJMA1 pl1xHmEt8ulBFZLzEbVV+cXE/u6J/HIC1620w2SAWu/zHlRYFajBOSaGSavgz8x6Ui+d+nLIK AkRdcaxi63ODJul4jc/ymMAwzDYVruNQjpbybHLejMZDnCHEFNP4D+ISf08IrmS/67uI= X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 20 Jul 2015 12:27:23 -0000 Hi, regarding this bug... When carp information is about to be printed, it stops. All network activity has stopped by then. For example: > bridge0: flags=8943 metric 0 mtu 1280 > ether 02:48:9e:59:98:00 > inet 156.0.0.2 netmask 0xffffffc0 broadcast 156.0.0.63 > inet 156.0.0.10 netmask 0xffffffc0 broadcast 156.0.0.63 vhid 10 > nd6 options=9 > load: 1.18 cmd: ifconfig 1683 [running] 4.14r 0.00u 0.01s 35% 2268k > load: 1.18 cmd: ifconfig 1683 [running] 4.59r 0.00u 0.01s 36% 2268k > load: 1.18 cmd: ifconfig 1683 [running] 4.85r 0.00u 0.01s 39% 2268k > load: 1.18 cmd: ifconfig 1683 [running] 5.05r 0.00u 0.01s 41% 2268k > load: 1.18 cmd: ifconfig 1683 [running] 5.27r 0.00u 0.01s 39% 2268k > load: 1.18 cmd: ifconfig 1683 [running] 5.48r 0.00u 0.01s 41% 2268k > load: 1.18 cmd: ifconfig 1683 [running] 5.69r 0.00u 0.01s 43% 2268k > ^C^C^C^Z > > > > > > load: 1.86 cmd: ifconfig 1683 [*carp_if] 31.26r 0.00u 30.67s 88% 2268k > load: 1.86 cmd: ifconfig 1683 [*carp_if] 31.42r 0.00u 30.67s 88% 2268k > ^Z^Z^Z^C^C^C^C > > load: 0.22 cmd: ifconfig 1683 [*carp_if] 645.27r 0.00u 30.67s 0% 2268k > load: 0.21 cmd: ifconfig 1683 [*carp_if] 645.81r 0.00u 30.67s 0% 2268k > load: 0.21 cmd: ifconfig 1683 [*carp_if] 646.17r 0.00u 30.67s 0% 2268k Eventually the kernel will panic: > panic: deadlkres: possible deadlock detected for 0xfffff800045b44a0, blocked for 900246 ticks Is this the same bug, Jason? I could try the patch on my bhyve cluster. Thanks, Nikos From owner-freebsd-net@freebsd.org Mon Jul 20 14:18:09 2015 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 AD9CF9A5883 for ; Mon, 20 Jul 2015 14:18:09 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 96E3119E8 for ; Mon, 20 Jul 2015 14:18:09 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: by mailman.ysv.freebsd.org (Postfix) id 93C2E9A5881; Mon, 20 Jul 2015 14:18:09 +0000 (UTC) Delivered-To: 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 933D09A5880 for ; Mon, 20 Jul 2015 14:18:09 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail108.syd.optusnet.com.au (mail108.syd.optusnet.com.au [211.29.132.59]) by mx1.freebsd.org (Postfix) with ESMTP id 404E319E7 for ; Mon, 20 Jul 2015 14:18:08 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from c211-30-166-197.carlnfd1.nsw.optusnet.com.au (c211-30-166-197.carlnfd1.nsw.optusnet.com.au [211.30.166.197]) by mail108.syd.optusnet.com.au (Postfix) with ESMTPS id EC08E1A43C8 for ; Tue, 21 Jul 2015 00:17:59 +1000 (AEST) Date: Tue, 21 Jul 2015 00:17:58 +1000 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: net@freebsd.org Subject: minimizing network latency Message-ID: <20150720214422.W836@besplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.1 cv=XMDNMlVE c=1 sm=1 tr=0 a=KA6XNC2GZCFrdESI5ZmdjQ==:117 a=PO7r1zJSAAAA:8 a=JzwRw_2MAAAA:8 a=kj9zAlcOel0A:10 a=NUmM6ltgETsAr3arEogA:9 a=4pacghzLzG2N4N2B:21 a=n9iLAckVXq9NLj18:21 a=CjuIK1q_8ugA:10 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 20 Jul 2015 14:18:09 -0000 Minimizing network latency is important for minimizing build times on nfs. My main benchmark is makeworld of a version of FreeBSD-5. This currently takes about 130 seconds on an i4690K system, depending mainly on overclocking and network latency. Makeworld does about 800000 RPCs, so every microsecond of network latency costs about 0.8 seconds with -j1. -j16 reduces this to a fraction of 0.8 that is much larger than 1/16. More like 1/4 or 1/2. Untuned systems usually have very bad network latency even locally, due to interrupt moderation. On my systems, defaults give 291 microseconds as measured by ping -fq. 291 would give a makeworld -j16 time of at least 1/4 * 0.8 * 291 = 58 seconds just for the part that waits for the network. I didn't test with this misconfiguration. My network hardware is: Client, usual configuration: em0: port 0xf080-0xf09f mem 0xdfd00000-0xdfd1ffff,0xdfd3c000-0xdfd3cfff irq 20 at device 25.0 on pci0 dmesg doesn't give enough details. This is an I218V-mumble on pcie. Client, another configuration: em1: port 0xe000-0xe03f mem 0xdfc40000-0xdfc5ffff,0xdfc20000-0xdfc3ffff irq 16 at device 1.0 on pci4 This is a ~8 year old card on pci33. It has lower latency than the newer card. Server: bge0: mem 0xe3000000-0xe300ffff irq 5 at device 10.0 on pci0 This is a ~13 year old pci-x card on pci33. It is higher-end than the Intel cards and has lower latency. I use large modifications to the bge, mainly to tune its latency and throughput for small packets. It is limited by the pci33 hardware and the old 2GHz CPU to 640 kpps in my version. In versions unmodified execpt for interrupt moderation, it is limited to 300-500 kpps (faster in old versions of FreeBSD). bge's default interrupt moderation is: dev.bge.0.rx_coal_ticks: 150 dev.bge.0.tx_coal_ticks: 150 dev.bge.0.rx_max_coal_bds: 10 dev.bge.0.tx_max_coal_bds: 10 where these values are in sysctl form but are hard-coded in unmodified versions. This is very bad. The "ticks" values give a maximum latency of 150 microseconds. This is too large for short bursts of packets. The "bds" (buffer descriptors; 1 or 2 of these per packet) give a maximum latency of 10 bds. This is too small for efficiency (by a factor of about 20). It gives minimal latency for long burst of packets. But it is useless for short bursts of packets, as generated by ping -fq and probably by nfs RPCs. ping -fq doesn't actually flood, except by accidental synchronization with buffering. It tries to send bursts of length 1 and wait for the reply, except it sends an extra packet without waiting if the reply doesn't come back in 10 milliseconds. Sometimes buffering and/or interrupt moderation delays replies so that they arrive in bursts. Sometimes the burst length builds up to the length of the output buffers. Then the throughput is increased but the latency is increased. 800000 RPCs for makeworld is a lot by some measures but not by others. Over 130 seconds it is just 6 kpps in each direction. Its average inter-packet time is 162 microseconds. This is > 150, so its its average latency is about 150 microseconds. The "bds" limits are useless since 10 bds take an average of 1620 microseconds. The final ping -fq average latency of 291 is about 150 from bge, 125 from the corresponding limit in em, and a few extra for doing the non-waiting parts. My normal configuration is: dev.bge.0.tx_coal_ticks: 1000000 dev.bge.0.tx_max_coal_bds: 384 dev.bge.0.dyncoal_max_intr_freq: 10000 Here the tx limits are essentially infinity. This reduces tx interrupt load at no cost to latency. The rx limits are dynamic. dyncoal_max_intr_freq=10000 is in software. It works much like em's itr limit, but slightly better. Under light load, there is no interrupt moderation for rx. Under heavy load, it is rate-limited to the specified frequency. ping -fq should give heavy load, but actually gives light load, due to it not actually flooding and interrupt moderation on the sender. The above configuration combined with the default em configuration gives an average ping latency of 122 microseconds. 122 is from em's itr being 125 microseconds (frequency 8000). em's default interrupt moderation is: dev.em.1.itr: 488 dev.em.1.itr: interrupt delay limit in usecs/4 dev.em.1.tx_abs_int_delay: 66 dev.em.1.rx_abs_int_delay: 66 dev.em.1.tx_int_delay: 66 dev.em.1.rx_int_delay: 0 dev.em.0.itr: 125 dev.em.0.itr: interrupt delay limit in usecs dev.em.0.tx_abs_int_delay: 66 dev.em.0.rx_abs_int_delay: 66 dev.em.0.tx_int_delay: 66 dev.em.0.rx_int_delay: 0 Here the itrs differ because their sysctl is broken in -current and I only fixed this in if_em.c (em.1 uses if_lem.c). The limit on the interrupt frequency is supposed to be 8000 Hz in both. This is respresented by the hardware as a period of 125 microseconds times a scale factor of approximately 4, so the raw hardware value is approximately 500 and actually 488. The raw hardware value is exposed by the sysctl and misdescribed as being usecs/4. It is actually usecs *times* 4 scaled by (1024/1000) and rounded down = 488. The read and write sysctls work right provided you ignore the initial value and the documentation. They do the reverse conversion, so only work right with units of microseconds. So if you write back the initial value of 488, you change the setting from 125 microseconds to 488 microseconds. You don't get the initial setting of 125 microseconds, or the documented setting of 488*4 = 1952 microseconds or the mis-scaled setting of 488/4 = 122 microseconds. Other bugs in em sysctls: despite (or because of) using large code to set the values at the time of the sysctl, the settings are not made for up/down or when ifconfig is used to change an unrelated setting. The sysctls still report whatever they were set to, but the hardware has been reprogrammed to default values. (There are bogus tunables for the defaults. Supporting these and all combinations takes even larger code). My bge sysctls work better. They are just SYSCTL_INT()s. Then another sysctl or up/down is used to write the accumulated sysctl settings to the hardware. This allows changing all the settings at once. The change is a heavyweight operation, and even if individual settings can be changed one at a time such changes may require delicate ordering to avoid going through combinations that don't work. Note that rx_int_delay is already 0 for em. This matches my dynamic bge tuning (rx_coal_ticks and rx_max_coal_bds are actually 1 for that; rx_coal_ticks is a maximum corresponding to rx_abs_int_delay and rx_max_coal_bds is a maximum that only partially corresponds to rx_int_delay since that is a minimum). The code has a comments saying that rx_int_delay is set to 0 to avoid bugs, but I think this setting is needed more to allow the itr setting to work. To minimize latency, I kill all rx interrupt moderation using the sysctls: # tx moderation is left at nearly infinity for bge since that works # right for bge. sysctl dev.bge.0.rx_coal_ticks=1 sysctl dev.bge.0.tx_coal_ticks=1000000 sysctl dev.bge.0.rx_max_coal_bds=1 sysctl dev.bge.0.tx_max_coal_bds=256 # Setting itr to 0 is enough. The other settings are for variations # when setting itr to a small value. sysctl dev.em.em0.rx_int_delay=0 sysctl dev.em.em0.rx_abs_int_delay=66 sysctl dev.em.em0.tx_int_delay=66666 sysctl dev.em.em0.tx_abs_int_delay=66666 sysctl dev.em.em0.itr=0 # I didn't try so many settings for em1. sysctl dev.em.em1.rx_int_delay=0 sysctl dev.em.em1.rx_abs_int_delay=0 sysctl dev.em.em1.tx_int_delay=0 sysctl dev.em.em1.tx_abs_int_delay=0 sysctl dev.em.em1.itr=0 This tuning reduces the ping -fq latency from 122 to 50 microseconds for em1, but only from 122 to 74 microseconds for em0. These times are with a low-end switch. In previous tests with different low-end switches, the switch seemed to make a little difference. But it makes a big difference with em0. Using a direct connection reduces the latency by 24 microseconds (to 50) for em0, but only by 6 (to 44) for em1. In previous experiments, I got a latency of 30 or 36 microseconds for bge <-> em1 using DEVICE_POLLING (ick) when em1 was in a slower system. IIRC, there was a switch in between. I now get 25 microseconds for the best combination of bge <-> em1 using DEVICE_POLLING with em1 in a much faster system (but still on pci33) and no switch in between. DEVICE_POLLING must use poll_in_idle to give low latency. This almost literally burns overclocked cores. I fixed some bugs in DEVICE_POLLING so that this doesn't count in the load average, and uses cpu_spinwait(). cpu_spinwait() reduces the burning significantly and the idle polling works very well if there is a core to spare. It even works OK for makeworld since although there shouldn't be a core to spare, there is when the build stalls waiting for RPCs and then the best thing to do is burn a core waiting for them as fast as possible. em0 supports tso4. Turning it off made no difference. Questions: Why is the pcie hardware slower? Why does the switch make more difference for the pcie hardware? Why is the latency so large even in the best case? I think it is mostly in the hardware. localhost ping latency is about 2 microseconds (also very bad, but uch smaller than 25). Under load, bge achieves a throughput of 640 kpps for minimal-sized udp packets. That is 1.6 microseconds between packets. So it must be able to handle a packet in 1.6 microseconds, but it or the other side apparently takes at least 12 microseconds each to make the change visible to the OS, even when both sides are spinning polling the device for activity. Bruce From owner-freebsd-net@freebsd.org Mon Jul 20 21:41:31 2015 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 4435D9A6B1D for ; Mon, 20 Jul 2015 21:41:31 +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 279C212F1 for ; Mon, 20 Jul 2015 21:41:31 +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 t6KLfVTT056295 for ; Mon, 20 Jul 2015 21:41:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 201590] Zerowindow packets escape stateful in-kernel NAT Date: Mon, 20 Jul 2015 21:41:31 +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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 20 Jul 2015 21:41:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201590 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jul 21 02:37:20 2015 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 B5F4E9A7D4E for ; Tue, 21 Jul 2015 02:37:20 +0000 (UTC) (envelope-from jason.unovitch@gmail.com) Received: from mail-yk0-x236.google.com (mail-yk0-x236.google.com [IPv6:2607:f8b0:4002:c07::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 856161117 for ; Tue, 21 Jul 2015 02:37:20 +0000 (UTC) (envelope-from jason.unovitch@gmail.com) Received: by ykfw194 with SMTP id w194so74415912ykf.0 for ; Mon, 20 Jul 2015 19:37:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=LgMrZo12QqlRfBS/sncd9UysiLqr7JJBivWKmRPS8jE=; b=lilzhU4UH+svv0x/kW+yqBBTmVo5g5o8G15nHBmydlHntCCPZTl+XveXbzBUjLOrOa MMSK0JWx5tUEoGVKRG4tqbzJOUPKyXWZCrqyYCbu3RnX9O1lwrTD5ELzYAa9k753afCw nJtQaJRvJdGdcz7uaaTw5yWTwQcmWCYoycuVSDnw9g5Lob7Il3mMogCywo7bJNVOoRG1 GlWL3ZnuipWAkP3zzWN78OUSqJS9BQRUKTrcH64HTtSuvgfl2rkEFBbVOO8VXTlZOKXb D5Xa+L58std1A7SVcuyvzBw5huqNBra9yT0+PNz7yEScwowqsdHmsE0EPOI+YrArltI/ MPOA== X-Received: by 10.129.46.143 with SMTP id u137mr31122077ywu.92.1437446239580; Mon, 20 Jul 2015 19:37:19 -0700 (PDT) Received: from ?IPv6:2606:a000:5686:1802:be5f:f4ff:fe5d:f28? ([2606:a000:5686:1802:be5f:f4ff:fe5d:f28]) by smtp.googlemail.com with ESMTPSA id q190sm21879534ywf.52.2015.07.20.19.37.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jul 2015 19:37:19 -0700 (PDT) Message-ID: <55ADB05D.9060600@gmail.com> Date: Mon, 20 Jul 2015 22:37:17 -0400 From: Jason Unovitch User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Nikos Vassiliadis , freebsd-net@freebsd.org Subject: Re: [Bug 200319] Bridge+CARP crashes/freezes References: <55ACE900.1060603@gmx.com> In-Reply-To: <55ACE900.1060603@gmx.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 21 Jul 2015 02:37:20 -0000 On 07/20/2015 08:26, Nikos Vassiliadis wrote: > Hi, > > regarding this bug... When carp information is about to be printed, > it stops. All network activity has stopped by then. For example: > >> bridge0: flags=8943 >> metric 0 mtu 1280 >> ether 02:48:9e:59:98:00 >> inet 156.0.0.2 netmask 0xffffffc0 broadcast 156.0.0.63 >> inet 156.0.0.10 netmask 0xffffffc0 broadcast 156.0.0.63 vhid 10 >> nd6 options=9 >> load: 1.18 cmd: ifconfig 1683 [running] 4.14r 0.00u 0.01s 35% 2268k >> load: 1.18 cmd: ifconfig 1683 [running] 4.59r 0.00u 0.01s 36% 2268k >> load: 1.18 cmd: ifconfig 1683 [running] 4.85r 0.00u 0.01s 39% 2268k >> load: 1.18 cmd: ifconfig 1683 [running] 5.05r 0.00u 0.01s 41% 2268k >> load: 1.18 cmd: ifconfig 1683 [running] 5.27r 0.00u 0.01s 39% 2268k >> load: 1.18 cmd: ifconfig 1683 [running] 5.48r 0.00u 0.01s 41% 2268k >> load: 1.18 cmd: ifconfig 1683 [running] 5.69r 0.00u 0.01s 43% 2268k >> ^C^C^C^Z >> >> >> >> >> >> load: 1.86 cmd: ifconfig 1683 [*carp_if] 31.26r 0.00u 30.67s 88% 2268k >> load: 1.86 cmd: ifconfig 1683 [*carp_if] 31.42r 0.00u 30.67s 88% 2268k >> ^Z^Z^Z^C^C^C^C >> >> load: 0.22 cmd: ifconfig 1683 [*carp_if] 645.27r 0.00u 30.67s 0% 2268k >> load: 0.21 cmd: ifconfig 1683 [*carp_if] 645.81r 0.00u 30.67s 0% 2268k >> load: 0.21 cmd: ifconfig 1683 [*carp_if] 646.17r 0.00u 30.67s 0% 2268k > > > Eventually the kernel will panic: >> panic: deadlkres: possible deadlock detected for 0xfffff800045b44a0, >> blocked for 900246 ticks > > > Is this the same bug, Jason? > > I could try the patch on my bhyve cluster. > > Thanks, > Nikos Nikos, The report at https://bugs.FreeBSD.org/200319 and associated pfSense report at https://redmine.pfSense.org/issues/4607 indicate that network traffic sent to the CARP IP is causing the issue. I don't see anything that mentions printing the information. However with that said, I'm not familiar with the issue as I've never used CARP. I'm just doing my due diligence passing on a report that the patch resolved another user's issue over in the FreeBSD Forums: https://forums.FreeBSD.org/threads/carp-bridge-crashes-freezes-on-freebsd-10.52427 Hope that helps. Jason From owner-freebsd-net@freebsd.org Tue Jul 21 08:49:15 2015 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 682F79A7A1A for ; Tue, 21 Jul 2015 08:49:15 +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 549651202 for ; Tue, 21 Jul 2015 08:49:15 +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 t6L8nFdl098049 for ; Tue, 21 Jul 2015 08:49:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 146792] [flowtable] flowcleaner 100% cpu's core load Date: Tue, 21 Jul 2015 08:49:15 +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: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: wowks@ya.ru X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 21 Jul 2015 08:49:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=146792 Vladimir V Romadin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wowks@ya.ru --- Comment #11 from Vladimir V Romadin --- 9.3 same issue -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jul 21 10:01:04 2015 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 99C149A6CCD for ; Tue, 21 Jul 2015 10:01:04 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) by mx1.freebsd.org (Postfix) with ESMTP id 718D21F26 for ; Tue, 21 Jul 2015 10:01:04 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by phabric-backend.isc.freebsd.org (Postfix, from userid 1346) id A6640FF62; Tue, 21 Jul 2015 10:01:03 +0000 (UTC) Date: Tue, 21 Jul 2015 10:01:03 +0000 To: freebsd-net@freebsd.org From: "robak (Bartek Rutkowski)" Reply-to: D1944+325+8925873bdc96dfc2@FreeBSD.org Subject: [Differential] [Commented On] D1944: PF and VIMAGE fixes Message-ID: X-Priority: 3 Thread-Topic: D1944: PF and VIMAGE fixes X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: NDc2NzM0MzY4OTdiYThiNTU1MjY2ZDZmMTJiIFWuGF8= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2015 10:01:04 -0000 robak added a comment. Is there anything else I can do to provide some useful information? I've attached these screenshots only because the machine becomes unresponsive when this happens (and drops active ssh connections). I am happy to execute any test/information gathering suite you may need. REVISION DETAIL https://reviews.freebsd.org/D1944 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: nvass-gmx.com, bz, trociny, kristof, gnn, glebius, rodrigc, zec Cc: julian, robak, freebsd-virtualization-list, freebsd-pf-list, freebsd-net-list From owner-freebsd-net@freebsd.org Tue Jul 21 10:12:20 2015 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 A7C579A6FC3 for ; Tue, 21 Jul 2015 10:12:20 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) by mx1.freebsd.org (Postfix) with ESMTP id 8D3BD1AA7 for ; Tue, 21 Jul 2015 10:12:20 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by phabric-backend.isc.freebsd.org (Postfix, from userid 1346) id 8AE79F833; Tue, 21 Jul 2015 10:12:20 +0000 (UTC) Date: Tue, 21 Jul 2015 10:12:20 +0000 To: freebsd-net@freebsd.org From: "farrokhi (Babak Farrokhi)" Reply-to: D1944+325+8925873bdc96dfc2@FreeBSD.org Subject: [Differential] [Changed Subscribers] D1944: PF and VIMAGE fixes Message-ID: <1348a03a4974a1745dff2d48b55eb47f@localhost.localdomain> X-Priority: 3 Thread-Topic: D1944: PF and VIMAGE fixes X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: NDc2NzM0MzY4OTdiYThiNTU1MjY2ZDZmMTJiIFWuGwQ= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2015 10:12:20 -0000 farrokhi added a subscriber: farrokhi. REVISION DETAIL https://reviews.freebsd.org/D1944 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: nvass-gmx.com, bz, trociny, kristof, gnn, glebius, rodrigc, zec Cc: farrokhi, julian, robak, freebsd-virtualization-list, freebsd-pf-list, freebsd-net-list From owner-freebsd-net@freebsd.org Tue Jul 21 12:39:41 2015 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 9C7989A7651 for ; Tue, 21 Jul 2015 12:39:41 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 485241F26 for ; Tue, 21 Jul 2015 12:39:41 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from moby.local ([79.107.36.229]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0Le69A-1Yahi11t3k-00pwe7; Tue, 21 Jul 2015 14:39:37 +0200 Message-ID: <55AE3D53.60303@gmx.com> Date: Tue, 21 Jul 2015 15:38:43 +0300 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Jason Unovitch , freebsd-net@freebsd.org Subject: Re: [Bug 200319] Bridge+CARP crashes/freezes References: <55ACE900.1060603@gmx.com> <55ADB05D.9060600@gmail.com> In-Reply-To: <55ADB05D.9060600@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:GfdvILXigO5zcgFEfUcw4XY/+ijoJQTvHAcxAncym1OJeDJNvIy K2tr9RJJNUtrdb5D4ikXleLbsKsKsMy7Pemog1v0FuJZasXUxjy3/U7M+IkkL2QU0VYq6vP CKgclApjnqw+h+RfVG5/LdPxlhOpI5vrwE1jt10dtWDtmyy5sd+veuUgdHFmnw1zAYauKEL Nf3vzR1ZfzH52Fp5L1EtA== X-UI-Out-Filterresults: notjunk:1;V01:K0:0WsR6D+YaCU=:0KFtH1JzvTSsIzbiAPJjUG DwF2kg1lbjSLj3I2JvoiNPHstAs/1EztrNNEx77at9xxq54fmZa08D7xgrI6akWyu/f0oz5Li qnK0F2hfdKjdikGoOEtl16S/urcI4B9ofTR5Ibb0+NPygfi7NWIEtp/D7lTFdPkzfUoyO3OMo JG2xpsilQ/1G+XsbNNBP4nUj1Zg6g4Sb52GkuKym8JwZtPtieV5bFSFlFgNFJstUDB5ODFCPr FQ+xOnO9maIkL2RTphXWyUTZb4ZxKk6cppE3l4BSo6+8RIT9CdiBFd5vGLiuznfe1i1AshocK tLRZaWcGuyRlpqQuPDiD5CF4VZANLKd2MmviKK0OZNMsrIQ3WiACTuADGUcZPPy9to5kU/HYN 7MnxcNkOphWk/JYP8Jbe1toVCZiGXj1By1E9EGZ/5ZB8aK6BA0BEQmSDETfMgFXY1pWPVwBXb R0C0L2h/lA4vIFHohzMbhgsmnLkCh/FE7y5DGUz/XcgC8c77+63O895xL29WT0B5ckji5p3Zp ZxB8XtaWrAkGxQHyty4dQ7I4f11PTflSGoBHeqXHE+ymz16Sq0+kHI55maZ9NJz1Wv1f2pMh6 YdNpIPnkIxA1WpE1jhITgBZkOjG1GGlryEKwlIOqHgbQnpr9vdYLRayDOVikAzzcGDcCfN7J5 EPEE5Tae+7PlMrUws3utB4jMC5NdSEiwTbKDxRdo1Ofy5e4L9FdBb5qJhz549Cmt7zoQ= X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 21 Jul 2015 12:39:41 -0000 On 07/21/15 05:37, Jason Unovitch wrote: > On 07/20/2015 08:26, Nikos Vassiliadis wrote: >> Hi, >> >> regarding this bug... When carp information is about to be printed, >> it stops. All network activity has stopped by then. For example: >> >>> bridge0: flags=8943 >>> metric 0 mtu 1280 >>> ether 02:48:9e:59:98:00 >>> inet 156.0.0.2 netmask 0xffffffc0 broadcast 156.0.0.63 >>> inet 156.0.0.10 netmask 0xffffffc0 broadcast 156.0.0.63 vhid 10 >>> nd6 options=9 >>> load: 1.18 cmd: ifconfig 1683 [running] 4.14r 0.00u 0.01s 35% 2268k >>> load: 1.18 cmd: ifconfig 1683 [running] 4.59r 0.00u 0.01s 36% 2268k >>> load: 1.18 cmd: ifconfig 1683 [running] 4.85r 0.00u 0.01s 39% 2268k >>> load: 1.18 cmd: ifconfig 1683 [running] 5.05r 0.00u 0.01s 41% 2268k >>> load: 1.18 cmd: ifconfig 1683 [running] 5.27r 0.00u 0.01s 39% 2268k >>> load: 1.18 cmd: ifconfig 1683 [running] 5.48r 0.00u 0.01s 41% 2268k >>> load: 1.18 cmd: ifconfig 1683 [running] 5.69r 0.00u 0.01s 43% 2268k >>> ^C^C^C^Z >>> >>> >>> >>> >>> >>> load: 1.86 cmd: ifconfig 1683 [*carp_if] 31.26r 0.00u 30.67s 88% 2268k >>> load: 1.86 cmd: ifconfig 1683 [*carp_if] 31.42r 0.00u 30.67s 88% 2268k >>> ^Z^Z^Z^C^C^C^C >>> >>> load: 0.22 cmd: ifconfig 1683 [*carp_if] 645.27r 0.00u 30.67s 0% 2268k >>> load: 0.21 cmd: ifconfig 1683 [*carp_if] 645.81r 0.00u 30.67s 0% 2268k >>> load: 0.21 cmd: ifconfig 1683 [*carp_if] 646.17r 0.00u 30.67s 0% 2268k >> >> >> Eventually the kernel will panic: >>> panic: deadlkres: possible deadlock detected for 0xfffff800045b44a0, >>> blocked for 900246 ticks >> >> >> Is this the same bug, Jason? >> >> I could try the patch on my bhyve cluster. >> >> Thanks, >> Nikos > > Nikos, > The report at https://bugs.FreeBSD.org/200319 and associated pfSense > report at https://redmine.pfSense.org/issues/4607 indicate that network > traffic sent to the CARP IP is causing the issue. I don't see anything > that mentions printing the information. > > However with that said, I'm not familiar with the issue as I've never > used CARP. I'm just doing my due diligence passing on a report that the > patch resolved another user's issue over in the FreeBSD Forums: > https://forums.FreeBSD.org/threads/carp-bridge-crashes-freezes-on-freebsd-10.52427 > > > Hope that helps. > Jason Yes, it helps. Unfortunately the patch does not apply cleanly to 10-STABLE. If I manage to use it, I 'll post it here. Nikos From owner-freebsd-net@freebsd.org Tue Jul 21 12:50:06 2015 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 690EB9A7890 for ; Tue, 21 Jul 2015 12:50:06 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) by mx1.freebsd.org (Postfix) with ESMTP id 5087B18E6 for ; Tue, 21 Jul 2015 12:50:06 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by phabric-backend.isc.freebsd.org (Postfix, from userid 1346) id 4F10AFC65; Tue, 21 Jul 2015 12:50:06 +0000 (UTC) Date: Tue, 21 Jul 2015 12:50:06 +0000 To: freebsd-net@freebsd.org From: "nvass-gmx.com (Nikos Vassiliadis)" Reply-to: D1944+325+8925873bdc96dfc2@FreeBSD.org Subject: [Differential] [Commented On] D1944: PF and VIMAGE fixes Message-ID: <5ac7acf183754b3aca08fe0ea4fb2a54@localhost.localdomain> X-Priority: 3 Thread-Topic: D1944: PF and VIMAGE fixes X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: NDc2NzM0MzY4OTdiYThiNTU1MjY2ZDZmMTJiIFWuP/4= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2015 12:50:06 -0000 nvass-gmx.com added a comment. Hi, could you write an email to me and freebsd-virtualization@freebsd.org with the necessary steps to re-produce the problem? REVISION DETAIL https://reviews.freebsd.org/D1944 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: nvass-gmx.com, bz, trociny, kristof, gnn, glebius, rodrigc, zec Cc: farrokhi, julian, robak, freebsd-virtualization-list, freebsd-pf-list, freebsd-net-list From owner-freebsd-net@freebsd.org Tue Jul 21 14:45:30 2015 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 C85DD9A75C1 for ; Tue, 21 Jul 2015 14:45:30 +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 B52A51F48 for ; Tue, 21 Jul 2015 14:45:30 +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 t6LEjUDE006644 for ; Tue, 21 Jul 2015 14:45:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 201590] Zerowindow packets escape stateful in-kernel NAT Date: Tue, 21 Jul 2015 14:45:30 +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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: g_amanakis@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 21 Jul 2015 14:45:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201590 --- Comment #1 from g_amanakis@yahoo.com --- Forgot to mention that net.inet.ip.fw.one_pass=0 -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Jul 21 15:52:19 2015 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 BD5999A72F7 for ; Tue, 21 Jul 2015 15:52:19 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) by mx1.freebsd.org (Postfix) with ESMTP id A069D1C7B for ; Tue, 21 Jul 2015 15:52:19 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by phabric-backend.isc.freebsd.org (Postfix, from userid 1346) id 996D4FA56; Tue, 21 Jul 2015 15:52:19 +0000 (UTC) Date: Tue, 21 Jul 2015 15:52:19 +0000 To: freebsd-net@freebsd.org From: =?utf-8?Q?eri_=28Ermal_LU=C3=87I=29?= Reply-to: D1944+325+8925873bdc96dfc2@FreeBSD.org Subject: [Differential] [Updated] D1944: PF and VIMAGE fixes Message-ID: <326066911997c68f0d0b61a221400766@localhost.localdomain> X-Priority: 3 Thread-Topic: D1944: PF and VIMAGE fixes X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: NDc2NzM0MzY4OTdiYThiNTU1MjY2ZDZmMTJiIFWuarM= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2015 15:52:19 -0000 eri added a reviewer: eri. REVISION DETAIL https://reviews.freebsd.org/D1944 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: nvass-gmx.com, bz, trociny, kristof, gnn, zec, rodrigc, glebius, eri Cc: farrokhi, julian, robak, freebsd-virtualization-list, freebsd-pf-list, freebsd-net-list From owner-freebsd-net@freebsd.org Tue Jul 21 17:28:16 2015 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 4A5009A74C2 for ; Tue, 21 Jul 2015 17:28:16 +0000 (UTC) (envelope-from dado@mail.web-korolev.ru) Received: from mail.web-korolev.ru (mail.web-korolev.ru [89.222.185.1]) by mx1.freebsd.org (Postfix) with ESMTP id 0491912AE for ; Tue, 21 Jul 2015 17:28:15 +0000 (UTC) (envelope-from dado@mail.web-korolev.ru) Received: by mail.web-korolev.ru (Postfix, from userid 100) id E1A1B73BE81; Tue, 21 Jul 2015 20:26:37 +0300 (MSK) Date: Tue, 21 Jul 2015 20:26:37 +0300 From: Evgenii Davidov To: freebsd-net@freebsd.org Subject: routing question Message-ID: <20150721172637.GA41740@korolev-net.ru> References: <1574363412.546978.1430669849590.JavaMail.yahoo@mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <1574363412.546978.1430669849590.JavaMail.yahoo@mail.yahoo.com> User-Agent: Mutt/1.4.2.3i X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 21 Jul 2015 17:28:16 -0000 helo, i had some servers with freebsd8.0/i386 and mpd5.4 when user tried to connect pppoe twice such an error appeared: Jul 21 01:20:01 i2 mpd: [B-76] IFACE: Adding IPv4 address to ng75 failed: File exists (because the route to this static ip already was received by ospf from other server) then i added a new server with freebsd9.3/amd64 and mpd5.7 and i noticed that to this server users can connect even if they are already connected to the one of the old on mikrotik connected to the same ospf area i can see 2 routes to that ip what's the difference, and how i can tune a new server to the old behavior? thanks! -- Evgenii V Davidov From owner-freebsd-net@freebsd.org Tue Jul 21 18:02:11 2015 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 BDD349A7ABE for ; Tue, 21 Jul 2015 18:02:11 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: from mail-pd0-x22c.google.com (mail-pd0-x22c.google.com [IPv6:2607:f8b0:400e:c02::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 9180411F2 for ; Tue, 21 Jul 2015 18:02:11 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: by pdbnt7 with SMTP id nt7so53444971pdb.0 for ; Tue, 21 Jul 2015 11:02:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:subject:message-id:mime-version:content-type :content-transfer-encoding; bh=qSSxOyu9P7Mj5JR62vbxdnuRbU0MWP/kbgQth2ET2aI=; b=SOzZLq2JxVrHXvaOWacI6flRb90WSLQDCpPRu/Z7ctNwpd8NC/ZBaYomUQbCYzjodg j48clfqX38aL8dFw7p9db7AMfks195XKZhrs73tF+vx6W+UKSeZKXFh907gksfNNrKKJ ceKYbE+U8AcHFuTlNM4I7Ghk/38SThy9vWvZQt1mKP7gIHeP+205AAUeM76RnK46zLM/ AeScYXKQzI9Yi5pWONI/YXZfLreZ8pWzk55jX/Oy4Zl2HWqC+Ckfs1D7I6A1aMYu2+IG cskFlpuflrHcmfCOaEj+IFyosN7uZiqRGgqEc1vtr2IhKTFf2SDFwjm5Xw6bPgm2TpVf w03g== X-Received: by 10.70.38.136 with SMTP id g8mr34318917pdk.156.1437501731007; Tue, 21 Jul 2015 11:02:11 -0700 (PDT) Received: from rimwks ([2001:470:1f15:8e:6ef0:49ff:fe75:38e3]) by smtp.gmail.com with ESMTPSA id k5sm28705688pda.34.2015.07.21.11.02.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Jul 2015 11:02:10 -0700 (PDT) From: Rozhuk Ivan X-Google-Original-From: Rozhuk Ivan Date: Tue, 21 Jul 2015 21:02:05 +0300 To: freebsd-net@freebsd.org Subject: LAGG on netgraph + rc.d script Message-ID: <20150721210205.77c36149@rimwks> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.27; amd64-portbld-freebsd10.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 21 Jul 2015 18:02:11 -0000 Hi! if_lagg together with two multicast igb at more than 100 megabits led to 100% CPU interrupts one of the igb. The problem is not reproduced on other systems without igb adapters. So I gathered on lagg netgraph and with him there is no problem. Manual on russian: http://netlab.dhis.org/wiki/ru:software:freebsd:lagg_on_netgraph ng_lagg script http://netlab.linkpc.net/download/software/FreeBSD/ng_lagg/ng_lagg.sh Example Create: ng_lagg.sh start xxxLAGG em0 em1 igb0 Destroy: ng_lagg.sh stop ngeth0 Add network adapter: ng_lagg.sh if_add xxxLAGG igb1 Remove network adapter: ng_lagg.sh if_del em0 rc.d script http://netlab.linkpc.net/download/software/FreeBSD/ng_lagg/ng_lagg Example: ng_lagg_enable="YES" ng_lagg_interfaces="lagg0 xyzlagg" ng_lagg_lagg0="em0 em1" ng_lagg_xyzlagg="xl0 igb1" ifconfig_lagg0="inet 192.168.11.77 netmask 255.255.255.0" ifconfig_xyzlagg="inet 192.168.22.77 netmask 255.255.255.0" vlans_lagg0="vlan1234" create_args_vlan1234="vlan 1234" ifconfig_vlan1234="inet 192.168.0.77 netmask 255.255.255.0" From owner-freebsd-net@freebsd.org Tue Jul 21 19:28:48 2015 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 A0BB39A78EB for ; Tue, 21 Jul 2015 19:28:48 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7F6CA1AB7 for ; Tue, 21 Jul 2015 19:28:48 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 7ABC49A78E9; Tue, 21 Jul 2015 19:28:48 +0000 (UTC) Delivered-To: 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 79DE29A78E7; Tue, 21 Jul 2015 19:28:48 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E4ED31AB3; Tue, 21 Jul 2015 19:28:47 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id t6LJSWPb046509 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 21 Jul 2015 22:28:33 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.9.2 kib.kiev.ua t6LJSWPb046509 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id t6LJSWYC046508; Tue, 21 Jul 2015 22:28:32 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 21 Jul 2015 22:28:32 +0300 From: Konstantin Belousov To: Mark Johnston Cc: David Wolfskill , current@freebsd.org, net@freebsd.org Subject: Re: panic: witness_warn head/amd64 @r285741 on 1 of 2 machines Message-ID: <20150721192832.GB2404@kib.kiev.ua> References: <20150721125734.GF1217@albert.catwhisker.org> <20150721133907.GR2404@kib.kiev.ua> <20150721161927.GN1217@albert.catwhisker.org> <20150721191743.GA39506@muskytusk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150721191743.GA39506@muskytusk> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 21 Jul 2015 19:28:48 -0000 On Tue, Jul 21, 2015 at 07:17:43PM +0000, Mark Johnston wrote: > On Tue, Jul 21, 2015 at 09:19:27AM -0700, David Wolfskill wrote: > > On Tue, Jul 21, 2015 at 04:39:07PM +0300, Konstantin Belousov wrote: > > > On Tue, Jul 21, 2015 at 05:57:34AM -0700, David Wolfskill wrote: > > > > My laptop had no problems, but the build machine has a panic that > > > > appears quite reproducible (4 "successes" out of 4 tries); here's a bit > > > > from the core.txt file: > > > > > > There must be kernel messages before the panic string. They are crusial > > > to understand what is going on. > > > ... > > > > Sorry I wasn't able to capture those before I needed to do Other Things. > > > > The machine had a (PCI-attached) serial console that was working > > for FreeBSD (thanks mostly to sbruno's help), but Somthing seems > > to Have Happened, and that's not presently working (even in stable/10, > > where I first got it working). > > > > I will try to get it working again, but I doubt I will have time to > > focus on that until about 9 hours from now. > > It's possible to extract log messages leading up to the panic from the > vmcore. From the kgdb prompt, running > > (kgdb) printf "%s", msgbufp->msg_ptr > > should bring them up. > > And, I just noticed that you posted the core.txt, which contains this > info near the end: > http://www.catwhisker.org/~david/FreeBSD/head/core.txt.1 Indeed, thank you. ithread_loop() at ithread_loop+0xa6/frame 0xfffffe083b9c0a70 fork_exit() at fork_exit+0x84/frame 0xfffffe083b9c0ab0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe083b9c0ab0 --- trap 0, rip = 0, rsp = 0xfffffe083b9c0b70, rbp = 0 --- suspending ithread with the following locks held: shared rw udpinp (udpinp) r = 3 (0xfffff80010c7d7b0) locked @ /usr/src/sys/netinet6/in6_pcb.c:1174 panic: witness_warn cpuid = 3 So it looks like net swi, leaking some udp6 lock. From owner-freebsd-net@freebsd.org Tue Jul 21 19:35:03 2015 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 603249A7AE1 for ; Tue, 21 Jul 2015 19:35:03 +0000 (UTC) (envelope-from stevek@juniper.net) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bbn0108.outbound.protection.outlook.com [157.56.111.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 51D521EEF; Tue, 21 Jul 2015 19:35:01 +0000 (UTC) (envelope-from stevek@juniper.net) Received: from SN1PR0501CA0001.namprd05.prod.outlook.com (10.163.126.139) by BLUPR05MB708.namprd05.prod.outlook.com (10.141.207.24) with Microsoft SMTP Server (TLS) id 15.1.219.17; Tue, 21 Jul 2015 19:34:54 +0000 Received: from BN1BFFO11FD053.protection.gbl (2a01:111:f400:7c10::1:148) by SN1PR0501CA0001.outlook.office365.com (2a01:111:e400:52fe::11) with Microsoft SMTP Server (TLS) id 15.1.225.19 via Frontend Transport; Tue, 21 Jul 2015 19:34:54 +0000 Authentication-Results: spf=softfail (sender IP is 66.129.239.17) smtp.mailfrom=juniper.net; freebsd.org; dkim=none (message not signed) header.d=none; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning juniper.net discourages use of 66.129.239.17 as permitted sender) Received: from p-emfe01a-sac.jnpr.net (66.129.239.17) by BN1BFFO11FD053.mail.protection.outlook.com (10.58.145.8) with Microsoft SMTP Server (TLS) id 15.1.213.8 via Frontend Transport; Tue, 21 Jul 2015 19:34:53 +0000 Received: from stevek-ubuntu.jnpr.net (172.25.4.171) by p-emfe01a-sac.jnpr.net (172.24.192.21) with Microsoft SMTP Server id 14.3.123.3; Tue, 21 Jul 2015 12:34:52 -0700 Date: Tue, 21 Jul 2015 15:34:48 -0400 From: Steve Kiernan To: CC: Gleb Smirnoff , Simon Gerraty , Marcel Moolenaar , Julian Elischer Subject: [JNPR] Network stack as a module (RFC) Message-ID: <20150721153448.3f20d7b1@stevek-ubuntu.jnpr.net> Organization: Juniper Networks Inc. X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.27; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD053; 1:6+hRl8YoU5/f1VzTxtV7nc7NG1hinciKU3ATGDXmx92cA3PdEYYb+X+VJLWjR75QzWM9vhA9OcVMy7uCo0LYz1ZgpIiqvs7//YZZTnJ42teuI9oIHnFyTNzx0ZIQarjj5Hkx9iyp5xbqRr1slfa/lS8fNbN4rulQ9yc5TuWQjLQegjhnc19w9mYZAMgNs22vsZFYlc9CmCc/oKTvL+wf2Sv+ZPZlhRakvTdQw5O9yu+qL+olSIPXmN+pAJSq4VvfdbkQKP5KbGYK1q4QSc2ymMk5OeUjaxFrqt1bUBvLNIdXSdCKf7Z6GSAFnnW2SVm9tXN1CwPQrn8jPYWcM5WX1Z0QsLYFGL9CYpZabJ8KALkhq3hLX7iwsyWk5W8bvP1r X-Forefront-Antispam-Report: CIP:66.129.239.17; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(199003)(189002)(23726002)(229853001)(53416004)(50986999)(87936001)(46102003)(33646002)(2351001)(92566002)(104016003)(47776003)(5003600100002)(86362001)(62966003)(450100001)(77096005)(6806004)(189998001)(50226001)(5001960100002)(110136002)(106466001)(46406003)(77156002)(50466002)(105596002); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR05MB708; H:p-emfe01a-sac.jnpr.net; FPR:; SPF:SoftFail; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BLUPR05MB708; 2:I8mj8g93azbsczxKw2dXfCcHiP7fclTZDspz/3cQJU6FSavzNe8wwZ+nJJdlpJx7; 3:TURN45/DZirbjoiN/uG8t//CnyfSXSAULHxKGCxOZnmke8nJxr2/+8oEFStzghufGe52rqGuEDpeYjHH28liYDqRq7AuN9Hydpc7tkerGLAcTsvN3Ek62TNl5RePDS92EaZHamGVm4S6+QI6YmUhcfVFn+foRflwm7aXUddFaglMr2kSgtf1SwCtDJaJh2JAW3+3eyuenXNmSYB4qEZcu9DxlbZC8WGjbmnYnFEwUB0=; 25:2Rjwdm2V2ecrpk1x9bvWcqhOTz2rk6l25KDdsXTB61XU6MjUBktRQgr0FQyoQr7a5wfzfpA4iKOIY2KKqQN/G4SixKC8S4AqbEpM1looFO0cOffkYNE49wTLrf7I136h1IXaWhisXUmU9CzD7vpmbeoqLqyVOqcfXDCwV1RxAq8/lIfsCx9o7BnMy4hG12RjA+tBUp8vvjuV32MzIhRawkkizfjrMOqMg90/4vSGXCpL6Rr+dnOI8qK766hkp++mY5LJCOsdcmdb92PAJjOA0Q== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR05MB708; X-Microsoft-Exchange-Diagnostics: 1; BLUPR05MB708; 20:/enuzwoByJkGyACd5boxqP9gySM30tH79ssrTYPyIqALPX8rw6g1yoJo/oStvYKvhd2+Kq6v8ItLbnmq4BUpVkurbcxMc4mO0Ll/y5a/+RNGUPX+/AEWHiwuhYDUg1l8oWeDsm5y1M9uj78kg6s6lW5hPy//yT46UF1kNhXFY4VmupQybAMhK+A+RojZaZrnvAWYnFTCUU4R7AA2rRiQ4kjo0g986iPqHdiGwYtqfG4EAVdVC2wtZ+PNeus20q/t3Xfp3DNKX9A4iUfczT+mVyHLkYqghrNKMYjhkauJSRpN/ceGQ9iPTZMnfn2YtI0MQtYR/aIOPL+MSKzyBYPCYEcoa1xiqaOJ//yT6IstzvJE7ho/LGIfyxrs/FEAAB59uJkjBok7rUJAGxUyHXobB8+92Vys7uSEYRd14qRkRgDl0k0e3VraT0zUwthp9JysuCwkcu99jHisgYG6vmM/e+1NymsHeFWROomYdj90/OATJYZmA8mE8b1t/BVKbspv; 4:MkMkrGhHphvYu2PfMhc5RnUY8EGAXgCwZw91P9lHirQ6osNjwiq0VL0zKhIAeyiwukAh7B89rccHcJhjXILjpkiUG/ATkdkCbVxb4TQPX1MxTIAfilxSy7wXxFzmYsGvTJ3MTFfIeupontDC4uAfktpHw+qG3xs55EGZUySZ5tqzAAlM1ks2m6gZYduHAYyvtGG19LuqDxI4Mp8j+TQSRafVF2N82st+zjJWQr+I+b75zm0nLYmMG4VE0+TY8rkBUsD2flV6vUg7xlB3Dj9nvK9QYE2ekg92uRYaqkVOFfc= BLUPR05MB708: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:BLUPR05MB708; BCL:0; PCL:0; RULEID:; SRVR:BLUPR05MB708; X-Forefront-PRVS: 0644578634 X-Microsoft-Exchange-Diagnostics: 1; BLUPR05MB708; 23:xdMlZG8YEEAe7P0ljrYjZq0S1r0Uq/VfFTTvPEHnvaI1myrcYOVZEhk6XLIy4P7XYdMKpBmo2etebzDUP/wMinL+gOmN2LPmje1vgTXoST7SnVSzKBUrDmjsewbgdz8YW9SPFYVaeM7NfJHdiZHDvRPPqm3EHUEtE3tn5x5CaNSGkfBWVbEU12nJGU2jR0eEryzwg1Gh3WCrm75sRVVs92krKe8R0MBwl6Vzs/lWq0R+BCLA5SWoSGWBZOAuyskD1oBQ4xDGcOOvvw1V3OKZda1oWDQkHGHKdorjbwTQJkoGhm6bEpVHQzx43Cn0X7pKtCHLMQTilka3VhIWfNjBudikX1mrzK5rlZE9R+//3Dyd9cbjg/N9vYj+kzZrCZtt6PIPZhQX8HlMMlZS3oYYf8mJ1/Gu4BRMi0gS3QhQz8Pux2nIdaFBimb2WdWCJ5+uzrDbp6XcDiFJbdI7BaEAvD4cSXrKIwn8ekbxNvWzyE6lz1Crrh8Vb6CWCwdQAgQW7eDmuK2hFUVavY1smOS9+SpZrHAuYznUrh4OdSWq7Akd7ewuvrofZeuD5/8u5RA47ZqyKNw8UWKBSLbEWpo+PM++36d4jtqJQR1a3S4vNTe1Wm+VnS1470PW1ypeqA9nowLCFLo3RocbQ61q3cBiNkPkB1T2l08VM8loOOd88KWi3qoJJfwBn/cfKFu6nqWgIUjOZnqVVPdPeC2WnXefz95uhzlpx/z3y0vODeWdlK+2ye7BjrHd4uqz822OQixikGyNWvc+bPYpGnxHldV5HyCGrnNJ4tvFs3pDURo05EUQFKcA7/AXnu4e2xmOZNmN X-Microsoft-Exchange-Diagnostics: 1; BLUPR05MB708; 5:Msiac84gXGs2YN5yScSZYb/j1jcruHQ/aBIaAY6h6OHt2yMR2Lt2ohiXjBzEReSn6YOlZCBo6cj4lxfgUAOsLGP1U+WnyzM560x/Png3XH18I37U5NIIpiZMx3Puu7WbxNWPCPWRhzb9TLd8IXgy2A==; 24:VveDjmQia7mI+s3lUSkhlQKthIYmgQbSt15nQlbv5Gju1y6jbxVrE4HCcymMCsPo8owFeQuVu1ixkwHrR2tOtazgc5YzGxxcKKsQKHgaEmo=; 20:TplJqxBUltvtPGpTQqeLvotlgq5BH4ZbrZwdZkIcvscYDnu3SXykGXLAaKIFHV8yr1nA3EYy1xptsndtKsFTBw== X-OriginatorOrg: juniper.net X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jul 2015 19:34:53.6212 (UTC) X-MS-Exchange-CrossTenant-Id: bea78b3c-4cdb-4130-854a-1d193232e5f4 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=bea78b3c-4cdb-4130-854a-1d193232e5f4; Ip=[66.129.239.17]; Helo=[p-emfe01a-sac.jnpr.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR05MB708 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 21 Jul 2015 19:35:03 -0000 This is a follow up to the discussion the occurred at BSDCan and the previous e-mail thread back in Nov 2013. I've been getting the network stack as a module pieces prepared in my github fork and there is one review currently already out on Phabricator that needs some comments (See D2901). I will get more reviews out on Phabricator soon with the other changes. -- Steve Kiernan Principal Engineer, Core OS/Kernel Group Juniper Networks, Inc. From owner-freebsd-net@freebsd.org Tue Jul 21 20:05:21 2015 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 D5FE49A60D0 for ; Tue, 21 Jul 2015 20:05:21 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B655D1ECE for ; Tue, 21 Jul 2015 20:05:21 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.ysv.freebsd.org (Postfix) id B19739A60CD; Tue, 21 Jul 2015 20:05:21 +0000 (UTC) Delivered-To: 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 95FF69A60CB; Tue, 21 Jul 2015 20:05:21 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (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 CB6221ECC; Tue, 21 Jul 2015 20:05:20 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id t6LK5GWx028762; Tue, 21 Jul 2015 13:05:16 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id t6LK5FI6028761; Tue, 21 Jul 2015 13:05:15 -0700 (PDT) (envelope-from david) Date: Tue, 21 Jul 2015 13:05:15 -0700 From: David Wolfskill To: Konstantin Belousov Cc: current@freebsd.org, net@freebsd.org Subject: Re: panic: witness_warn head/amd64 @r285741 on 1 of 2 machines Message-ID: <20150721200515.GD27865@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , Konstantin Belousov , current@freebsd.org, net@freebsd.org References: <20150721125734.GF1217@albert.catwhisker.org> <20150721133907.GR2404@kib.kiev.ua> <20150721161927.GN1217@albert.catwhisker.org> <20150721191743.GA39506@muskytusk> <20150721192832.GB2404@kib.kiev.ua> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="iVCmgExH7+hIHJ1A" Content-Disposition: inline In-Reply-To: <20150721192832.GB2404@kib.kiev.ua> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 21 Jul 2015 20:05:22 -0000 --iVCmgExH7+hIHJ1A Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 21, 2015 at 10:28:32PM +0300, Konstantin Belousov wrote: > ... > Indeed, thank you. > ithread_loop() at ithread_loop+0xa6/frame 0xfffffe083b9c0a70 > fork_exit() at fork_exit+0x84/frame 0xfffffe083b9c0ab0 > fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe083b9c0ab0 > --- trap 0, rip =3D 0, rsp =3D 0xfffffe083b9c0b70, rbp =3D 0 --- > suspending ithread with the following locks held: > shared rw udpinp (udpinp) r =3D 3 (0xfffff80010c7d7b0) locked @ /usr/src/= sys/netinet6/in6_pcb.c:1174 > panic: witness_warn > cpuid =3D 3 >=20 > So it looks like net swi, leaking some udp6 lock. Curiouser and curiouser... While I'm not taking any special pains to avoid building IPv6, I'm not actively actually doing anything with it (IPv6), either (for both the failing machine and my laptop). Once I'm back home, I should be able to poke around in ddb after re-creating the panic, if that would be a useful thing for me to do (and given some hints as to what to poke). Naturally, I'm also happy to change bits of sources, rebuild, and smoke-test. A quick check from the SVN update output only shows r285710, r285711, and r285740 in the range from (r285685,r285741] -- as the kernel running r285685 had no known issues -- that touched sys/netinet6/*. Peace, david --=20 David H. Wolfskill david@catwhisker.org Those who murder in the name of God or prophet are blasphemous cowards. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --iVCmgExH7+hIHJ1A Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJVrqX7XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4 QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk7XpkP/3RFfMY7q3lWnnaV8/HHdo0v LwuXJvUH60spi4gxBZBIlc1Xh6kmhaPb7l48JD9U2ipW7Yx4uskw30ZFPXEyVPjV +tF6nlJCyKMOygtBSeCWaWfOW4dFMUiuRJLi3sTb0s4zvbjJPz6w3pvGXBV4Lh0E EpdED8RRASOEITclJBmq91Pp8DVJW4Ljz55SiSVk4Oq2u1qHAS+wOclWovk6ucLJ 8tzp05Dg6NY0Vl+hLdWAPjnBoDxcDv1lwV4sVVtcaTopF3zP/WkyCehBOYN/G/Ea OwC9UuoTd66jS+8Ken99TD0UxwOsQxwGNCenrIcYZewo88SBgZfnuudlbXpeFHop Clhm3L1cfA++iRpxNpyI9nQzT/NAQJDzENf8sel9gH80DR0G6mLj2iqMK7Q7EcJB 7XhJb8nTjU8F/0edGpRooj4049k3M7QzCL0ef4MyCHFWdzGg6ZeunYEd+wrh1t0Y BSaQWmWXaP6ysOnA1HVD0X+gtM3zuQjRb1tdY/ndw3kJWsfk8NkJrwwyNnx/OwSB 7S7yOLzMrnnCR9uF1yka6jKGBqPPA89HRuKiQ946lG9cgzbvesKMSBV4dMyB+Kux m3HZ1b4mIOwnxx4/UY1nfN52iRzOD1RsFnZjVuvxa+v+BNcc7PLhBjyXLx7sTRiH KXIt463vO3iw+ElaEr6i =M/Br -----END PGP SIGNATURE----- --iVCmgExH7+hIHJ1A-- From owner-freebsd-net@freebsd.org Tue Jul 21 20:21:25 2015 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 012FE9A63B5 for ; Tue, 21 Jul 2015 20:21:25 +0000 (UTC) (envelope-from eric@vangyzen.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D98401900 for ; Tue, 21 Jul 2015 20:21:24 +0000 (UTC) (envelope-from eric@vangyzen.net) Received: by mailman.ysv.freebsd.org (Postfix) id D5A929A63B3; Tue, 21 Jul 2015 20:21:24 +0000 (UTC) Delivered-To: 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 D4EE69A63B0; Tue, 21 Jul 2015 20:21:24 +0000 (UTC) (envelope-from eric@vangyzen.net) Received: from smtp.vangyzen.net (hotblack.vangyzen.net [IPv6:2607:fc50:1000:7400:216:3eff:fe72:314f]) by mx1.freebsd.org (Postfix) with ESMTP id B5E1018FC; Tue, 21 Jul 2015 20:21:24 +0000 (UTC) (envelope-from eric@vangyzen.net) Received: from marvin.beer.town (unknown [76.164.8.130]) by smtp.vangyzen.net (Postfix) with ESMTPSA id 6AE4D5647F; Tue, 21 Jul 2015 15:21:23 -0500 (CDT) Message-ID: <55AEA9BC.5070806@vangyzen.net> Date: Tue, 21 Jul 2015 15:21:16 -0500 From: Eric van Gyzen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: David Wolfskill , Konstantin Belousov , current@freebsd.org, net@freebsd.org, Randall Stewart Subject: Re: panic: witness_warn head/amd64 @r285741 on 1 of 2 machines References: <20150721125734.GF1217@albert.catwhisker.org> <20150721133907.GR2404@kib.kiev.ua> <20150721161927.GN1217@albert.catwhisker.org> <20150721191743.GA39506@muskytusk> <20150721192832.GB2404@kib.kiev.ua> <20150721200515.GD27865@albert.catwhisker.org> In-Reply-To: <20150721200515.GD27865@albert.catwhisker.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="WmEx2owTBk9dxrmBmkg69e10GMq0lEmHu" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 21 Jul 2015 20:21:25 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --WmEx2owTBk9dxrmBmkg69e10GMq0lEmHu Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 07/21/2015 15:05, David Wolfskill wrote: > On Tue, Jul 21, 2015 at 10:28:32PM +0300, Konstantin Belousov wrote: >> ... >> Indeed, thank you. >> ithread_loop() at ithread_loop+0xa6/frame 0xfffffe083b9c0a70 >> fork_exit() at fork_exit+0x84/frame 0xfffffe083b9c0ab0 >> fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe083b9c0ab0 >> --- trap 0, rip =3D 0, rsp =3D 0xfffffe083b9c0b70, rbp =3D 0 --- >> suspending ithread with the following locks held: >> shared rw udpinp (udpinp) r =3D 3 (0xfffff80010c7d7b0) locked @ /usr/s= rc/sys/netinet6/in6_pcb.c:1174 >> panic: witness_warn >> cpuid =3D 3 >> >> So it looks like net swi, leaking some udp6 lock. > Curiouser and curiouser... While I'm not taking any special pains to > avoid building IPv6, I'm not actively actually doing anything with it > (IPv6), either (for both the failing machine and my laptop). > > Once I'm back home, I should be able to poke around in ddb after > re-creating the panic, if that would be a useful thing for me to do (an= d > given some hints as to what to poke). > > Naturally, I'm also happy to change bits of sources, rebuild, and > smoke-test. > > A quick check from the SVN update output only shows r285710, r285711, a= nd > r285740 in the range from (r285685,r285741] -- as the kernel running > r285685 had no known issues -- that touched sys/netinet6/*. It's a multicast destination. Maybe something is using mDNS? Randall, does the test on line 406 of udp6_usrreq.c need to be inverted? Eric --WmEx2owTBk9dxrmBmkg69e10GMq0lEmHu Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJVrqm8XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzRTcwNEY0QTBEMTM0MUU4QkNFNEQ3M0RB RkMxMkExM0VDMjBEQUI4AAoJEK/BKhPsINq4Uj8H/3kMl7ihOq6gq5k8SgZuBa12 wH2DAxlxo1Lb16q2wO9Ec1StP2BuMOqB4WSlpHe/Zmxgn/Nfv0wtGvo4kYr+tX4u i1uJKiqC6xeeLwlEXuBTjGDDji2zF6blau6v+iG2btXfvUSihA5lmXsv61y/Xmv1 KSl1828RRl8BxbYwKsBXHbXkPDGxAPRjGm2qbuLGboFYOX8QJFiRmmNOwjKPBQsJ dxmGaSmKPQqixgvYamhOAf39jcc3CbBLl8za22Qk+yyPvcFzPwV4qxOm+cA8EZfz a5zEsq5Rb5o1yAEiqrjBvQNg5QQKJd5D7UO97CUOf5lID8e30/aXNdiFiQqXG0E= =xlKO -----END PGP SIGNATURE----- --WmEx2owTBk9dxrmBmkg69e10GMq0lEmHu-- From owner-freebsd-net@freebsd.org Tue Jul 21 20:24:40 2015 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 A1BCA9A6554 for ; Tue, 21 Jul 2015 20:24:40 +0000 (UTC) (envelope-from eric@vangyzen.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 841621B5D for ; Tue, 21 Jul 2015 20:24:40 +0000 (UTC) (envelope-from eric@vangyzen.net) Received: by mailman.ysv.freebsd.org (Postfix) id 7F5589A654E; Tue, 21 Jul 2015 20:24:40 +0000 (UTC) Delivered-To: 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 63BE19A6549; Tue, 21 Jul 2015 20:24:40 +0000 (UTC) (envelope-from eric@vangyzen.net) Received: from smtp.vangyzen.net (hotblack.vangyzen.net [IPv6:2607:fc50:1000:7400:216:3eff:fe72:314f]) by mx1.freebsd.org (Postfix) with ESMTP id 3CA6A1B55; Tue, 21 Jul 2015 20:24:40 +0000 (UTC) (envelope-from eric@vangyzen.net) Received: from marvin.beer.town (unknown [76.164.8.130]) by smtp.vangyzen.net (Postfix) with ESMTPSA id BFFB45647F; Tue, 21 Jul 2015 15:24:39 -0500 (CDT) Message-ID: <55AEAA86.1040107@vangyzen.net> Date: Tue, 21 Jul 2015 15:24:38 -0500 From: Eric van Gyzen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: David Wolfskill , Konstantin Belousov , current@freebsd.org, net@freebsd.org, Randall Stewart Subject: Re: panic: witness_warn head/amd64 @r285741 on 1 of 2 machines References: <20150721125734.GF1217@albert.catwhisker.org> <20150721133907.GR2404@kib.kiev.ua> <20150721161927.GN1217@albert.catwhisker.org> <20150721191743.GA39506@muskytusk> <20150721192832.GB2404@kib.kiev.ua> <20150721200515.GD27865@albert.catwhisker.org> <55AEA9BC.5070806@vangyzen.net> In-Reply-To: <55AEA9BC.5070806@vangyzen.net> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gNlTPBRc14NkRdkAStkUj0mBj7rtDjInQ" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 21 Jul 2015 20:24:40 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --gNlTPBRc14NkRdkAStkUj0mBj7rtDjInQ Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 07/21/2015 15:21, Eric van Gyzen wrote: > On 07/21/2015 15:05, David Wolfskill wrote: >> On Tue, Jul 21, 2015 at 10:28:32PM +0300, Konstantin Belousov wrote: >>> ... >>> Indeed, thank you. >>> ithread_loop() at ithread_loop+0xa6/frame 0xfffffe083b9c0a70 >>> fork_exit() at fork_exit+0x84/frame 0xfffffe083b9c0ab0 >>> fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe083b9c0ab0 >>> --- trap 0, rip =3D 0, rsp =3D 0xfffffe083b9c0b70, rbp =3D 0 --- >>> suspending ithread with the following locks held: >>> shared rw udpinp (udpinp) r =3D 3 (0xfffff80010c7d7b0) locked @ /usr/= src/sys/netinet6/in6_pcb.c:1174 >>> panic: witness_warn >>> cpuid =3D 3 >>> >>> So it looks like net swi, leaking some udp6 lock. >> Curiouser and curiouser... While I'm not taking any special pains to >> avoid building IPv6, I'm not actively actually doing anything with it >> (IPv6), either (for both the failing machine and my laptop). >> >> Once I'm back home, I should be able to poke around in ddb after >> re-creating the panic, if that would be a useful thing for me to do (a= nd >> given some hints as to what to poke). >> >> Naturally, I'm also happy to change bits of sources, rebuild, and >> smoke-test. >> >> A quick check from the SVN update output only shows r285710, r285711, = and >> r285740 in the range from (r285685,r285741] -- as the kernel running >> r285685 had no known issues -- that touched sys/netinet6/*. > It's a multicast destination. Maybe something is using mDNS? Blurf. "I wonder if" it's a multicast destination. (I need more chocola= te.) > Randall, does the test on line 406 of udp6_usrreq.c need to be inverted= ? > > Eric > --gNlTPBRc14NkRdkAStkUj0mBj7rtDjInQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJVrqqHXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzRTcwNEY0QTBEMTM0MUU4QkNFNEQ3M0RB RkMxMkExM0VDMjBEQUI4AAoJEK/BKhPsINq4PjsIAKzFFgOBJmKodO42DEqgC2hV hKwbK8SqrNJqwTtRWiQUMpQ7X4w27Lnh5PnVNaHsI1JgKHnRMf6leXB+cSCVQUdC OhhCkXbwn5LbUAiHqRR8zftKEdlKdStAdzVAzJX7zaOAzcr3Ot5uQrKQyY3Ecgrd ec4au6J5mv9L/mfHhY3Vd3C1WM7FwHBYME2cz4KblCu8Smi2Cul1WjUdjGGiRjoT UYt2vlRmYZvOL2nI5znTsi54cfGP5b8T3HFrUAOnCPywwoZ7HxpWaEMbN1JznTe4 uQonFs2cjWh6oGdWxrp0S+SCdPYee8mlsWBT7fRW9KDPWEFnI80jwNOXdbo9xMs= =YbDv -----END PGP SIGNATURE----- --gNlTPBRc14NkRdkAStkUj0mBj7rtDjInQ-- From owner-freebsd-net@freebsd.org Tue Jul 21 21:59:12 2015 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 365AD9A7885 for ; Tue, 21 Jul 2015 21:59:12 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 180DD1E5C for ; Tue, 21 Jul 2015 21:59:12 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.ysv.freebsd.org (Postfix) id 149AD9A7883; Tue, 21 Jul 2015 21:59:12 +0000 (UTC) Delivered-To: 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 EE10F9A7881; Tue, 21 Jul 2015 21:59:11 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (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 726D41E59; Tue, 21 Jul 2015 21:59:10 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id t6LLx7E1029936; Tue, 21 Jul 2015 14:59:07 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id t6LLx72p029935; Tue, 21 Jul 2015 14:59:07 -0700 (PDT) (envelope-from david) Date: Tue, 21 Jul 2015 14:59:07 -0700 From: David Wolfskill To: Eric van Gyzen Cc: Konstantin Belousov , current@freebsd.org, net@freebsd.org, Randall Stewart Subject: Re: panic: witness_warn head/amd64 @r285741 on 1 of 2 machines Message-ID: <20150721215907.GM27865@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , Eric van Gyzen , Konstantin Belousov , current@freebsd.org, net@freebsd.org, Randall Stewart References: <20150721125734.GF1217@albert.catwhisker.org> <20150721133907.GR2404@kib.kiev.ua> <20150721161927.GN1217@albert.catwhisker.org> <20150721191743.GA39506@muskytusk> <20150721192832.GB2404@kib.kiev.ua> <20150721200515.GD27865@albert.catwhisker.org> <55AEA9BC.5070806@vangyzen.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/TUrtqMIkCP4YtJm" Content-Disposition: inline In-Reply-To: <55AEA9BC.5070806@vangyzen.net> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 21 Jul 2015 21:59:12 -0000 --/TUrtqMIkCP4YtJm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 21, 2015 at 03:21:16PM -0500, Eric van Gyzen wrote: > ... > >> So it looks like net swi, leaking some udp6 lock. > > Curiouser and curiouser... While I'm not taking any special pains to > > avoid building IPv6, I'm not actively actually doing anything with it > > (IPv6), either (for both the failing machine and my laptop). > > > > Once I'm back home, I should be able to poke around in ddb after > > re-creating the panic, if that would be a useful thing for me to do (and > > given some hints as to what to poke). > > > > Naturally, I'm also happy to change bits of sources, rebuild, and > > smoke-test. > > > > A quick check from the SVN update output only shows r285710, r285711, a= nd > > r285740 in the range from (r285685,r285741] -- as the kernel running > > r285685 had no known issues -- that touched sys/netinet6/*. >=20 > It's a multicast destination. Maybe something is using mDNS? >=20 > Randall, does the test on line 406 of udp6_usrreq.c need to be inverted? >=20 > Eric >=20 We have a winner! FreeBSD freebeast.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #1789 r= 285741M/285741:1100077: Tue Jul 21 14:50:59 PDT 2015 root@freebeast.cat= whisker.org:/common/S3/obj/usr/src/sys/GENERIC amd64 freebeast(11.0-C)[3] cd /usr/src freebeast(11.0-C)[4] svn diff sys/netinet netinet/ netinet6/=20 freebeast(11.0-C)[4] svn diff sys/netinet* Index: sys/netinet6/udp6_usrreq.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/netinet6/udp6_usrreq.c (revision 285741) +++ sys/netinet6/udp6_usrreq.c (working copy) @@ -403,7 +403,7 @@ INP_RLOCK(last); INP_INFO_RUNLOCK(pcbinfo); UDP_PROBE(receive, NULL, last, ip6, last, uh); - if (udp6_append(last, m, off, &fromsa))=20 + if (! udp6_append(last, m, off, &fromsa))=20 INP_RUNLOCK(last); inp_lost: return (IPPROTO_DONE); freebeast(11.0-C)[5]=20 Thanks! :-) Peace, david --=20 David H. Wolfskill david@catwhisker.org Those who murder in the name of God or prophet are blasphemous cowards. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --/TUrtqMIkCP4YtJm Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJVrsCrXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4 QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk7cNwP+wTdwhcPKxKf7R93PSf7cYx9 WMB5SRTs4MM5ddz0w9mEajNSILxVqtHOcaJqDgzZiksvQAJkiX7Q1x2ruq0Qua+Z YgI2s8Y3Z+xcNucaKrMOQdClyNnqNVFlAilNgTqmp3fVNi6ANYOpQOt3JDaQojVx NrlgU/JuwXMrGic1EIXM7Q1XhHTCm56I4AnCSXezoU511TGTlR3cqKSEyyyHVsRk 3amxUiCPQzqKj1+8SNQuZeZgnXMAyiyoyStFQS5dWlS7UIVvRbZYvu0kQlBleFD9 QAgNURS56hwBnpufq8UpE9QmOj7umv8uqtDRRp8LqdmcsMUikqmGBhQr2uWwI6gy DTSq9Fy1BR+brmkklMbG5lP5rrYnOGVokif4SvZfM5HSSMiQJ1xRHzmpFYYlwHnf W89m2ZarLDoWzEWJZFUioCiMNRqs9yea8frQefNyq0Shv2iUesZYGpvjg6jiyyBr V7nYag5f7p22h0glcBSa2CML/6VYAc8DflPAT8qCXzITTZ7R144gw/pMJK0Bil7Q PJ6SixCpJS+wQjVs6/9MDzbp7u1gh3C98ZXnZDeeS1Iz8ioMnNLkfRvMHDRzLBeh +PVoS8uNWEw7LEAOSdy/v2218u0hprFj/14nV1OCSEYmf/vG8LTIfqsGgLfE9TK4 1QHMarwpud2GyApE+NH0 =iwnN -----END PGP SIGNATURE----- --/TUrtqMIkCP4YtJm-- From owner-freebsd-net@freebsd.org Tue Jul 21 22:54:50 2015 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 4CA809A7442 for ; Tue, 21 Jul 2015 22:54:50 +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 3203E19C4 for ; Tue, 21 Jul 2015 22:54:50 +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 t6LMsowo055643 for ; Tue, 21 Jul 2015 22:54:50 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 200221] em0 watchdog timeout under load Date: Tue, 21 Jul 2015 22:54: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: 10.1-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: anthony@ury.org.uk X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 21 Jul 2015 22:54:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200221 --- Comment #12 from anthony@ury.org.uk --- Had to make a couple of changes to get that patch into a 10.1-RELEASE kernel: -- Brought sys/dev/e1000 up to 10-STABLE (as previous) -- Merged r274043 and r274704 from 10-STABLE Unfortunately, it hasn't resolved the issue - see below. TSO4 is enabled. Jul 21 07:36:56 urybsod kernel: em0: Watchdog timeout Queue[0]-- resetting Jul 21 07:36:56 urybsod kernel: Interface is RUNNING and ACTIVE Jul 21 07:36:56 urybsod kernel: em0: TX Queue 0 ------ Jul 21 07:36:56 urybsod kernel: em0: hw tdh = 271, hw tdt = 814 Jul 21 07:36:56 urybsod kernel: em0: Tx Queue Status = -2147483648 Jul 21 07:36:56 urybsod kernel: em0: TX descriptors avail = 477 Jul 21 07:36:56 urybsod kernel: em0: Tx Descriptors avail failure = 0 Jul 21 07:36:56 urybsod kernel: em0: RX Queue 0 ------ Jul 21 07:36:56 urybsod kernel: em0: hw rdh = 9, hw rdt = 8 Jul 21 07:36:56 urybsod kernel: em0: RX discarded packets = 0 Jul 21 07:36:56 urybsod kernel: em0: RX Next to Check = 9 Jul 21 07:36:56 urybsod kernel: em0: RX Next to Refresh = 8 Jul 21 07:36:56 urybsod kernel: em0: Link is Down Jul 21 07:36:56 urybsod kernel: em0: link state changed to DOWN Jul 21 07:37:00 urybsod kernel: em0: Link is up 1000 Mbps Full Duplex Jul 21 07:37:00 urybsod kernel: em0: link state changed to UP Jul 21 07:37:00 urybsod devd: Executing '/etc/rc.d/dhclient quietstart em0' -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Wed Jul 22 09:28:43 2015 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 41D859A7F12 for ; Wed, 22 Jul 2015 09:28:43 +0000 (UTC) (envelope-from rrs@netflix.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 147BA198D for ; Wed, 22 Jul 2015 09:28:43 +0000 (UTC) (envelope-from rrs@netflix.com) Received: by mailman.ysv.freebsd.org (Postfix) id 115ED9A7F0F; Wed, 22 Jul 2015 09:28:43 +0000 (UTC) Delivered-To: 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 10E439A7F0C for ; Wed, 22 Jul 2015 09:28:43 +0000 (UTC) (envelope-from rrs@netflix.com) Received: from mail-pd0-x22f.google.com (mail-pd0-x22f.google.com [IPv6:2607:f8b0:400e:c02::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 C9A21198A for ; Wed, 22 Jul 2015 09:28:42 +0000 (UTC) (envelope-from rrs@netflix.com) Received: by pdrg1 with SMTP id g1so135911767pdr.2 for ; Wed, 22 Jul 2015 02:28:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netflix.com; s=google; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=+X+aU29cdQ63tQkvfYkBCvW/NdjQ9et+0HQaIR7ynYg=; b=iZsPd6IspOeeZXxgRuH87oxmtO+HMKZN1uzBbY34VuzKPbIvfKN+GE1n+Z9KXWL4ih LRvfsDGgr9RN9+/+NLMKE643iFo4hMALjNgtBqNXMdSRZPMFj6w2Xx0ROzCC64UYeSBm T/dyiHpjYb95Dn1ly10Zy16Xpulrapzh8oRXk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=+X+aU29cdQ63tQkvfYkBCvW/NdjQ9et+0HQaIR7ynYg=; b=Wpi3hx+Y9LeNtEV2QHqixbLmol2bf/OKHdfMdzd1goTLokT3VmB7LElt0y844uD+D6 tMS11HFpd6pwsFSOxfjj+/crvjJc1NPBC3Z/ugYtqD6rmZHvNB4rM/ixWD1Zv0JgqlpN Zpwnb0ItMFSP70ul0kH8mCRHxdsBMuxoRdLgITupaAr+Zb/+fzhKjeZVJ6eHGMBZtliI nxKzMidbYCeqBVhHAC9J14+IC1DwntXpNJxb0cuvP3x062wXvhqzF/s4Hf7HohYCmRxo ZdqvAXs8Q1xOysbdRGKDTsYQ4iwhmLQ4yj4ttXjR8RcVtszKRPimA0d7nEJgACuuioZP Kj4g== X-Gm-Message-State: ALoCoQlKe/vR3/y1joVqkS3aoeWkCSuU3zmaxokrmQz3wg3GmqTgYoQp4FI2OyPdVgBjM4z+n0hj X-Received: by 10.70.1.7 with SMTP id 7mr4051441pdi.38.1437557322247; Wed, 22 Jul 2015 02:28:42 -0700 (PDT) Received: from ?IPv6:2001:67c:370:160:9433:63eb:6a5e:13cb? ([2001:67c:370:160:9433:63eb:6a5e:13cb]) by smtp.gmail.com with ESMTPSA id l1sm2112419pdp.71.2015.07.22.02.28.39 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 Jul 2015 02:28:41 -0700 (PDT) Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: panic: witness_warn head/amd64 @r285741 on 1 of 2 machines From: Randall Stewart In-Reply-To: <20150721215907.GM27865@albert.catwhisker.org> Date: Wed, 22 Jul 2015 05:28:33 -0400 Cc: Eric van Gyzen , Konstantin Belousov , current@freebsd.org, net@freebsd.org, Randall Ray Stewart Message-Id: <6333F7DC-C74E-4B13-AABD-6FD8A5C49742@netflix.com> References: <20150721125734.GF1217@albert.catwhisker.org> <20150721133907.GR2404@kib.kiev.ua> <20150721161927.GN1217@albert.catwhisker.org> <20150721191743.GA39506@muskytusk> <20150721192832.GB2404@kib.kiev.ua> <20150721200515.GD27865@albert.catwhisker.org> <55AEA9BC.5070806@vangyzen.net> <20150721215907.GM27865@albert.catwhisker.org> To: David Wolfskill X-Mailer: Apple Mail (2.1878.6) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 22 Jul 2015 09:28:43 -0000 David Yep.. we got that wrong. If 1 is returned by the submit it means the PCB was lost. If 0 is returned you unlock as usual. R On Jul 21, 2015, at 5:59 PM, David Wolfskill = wrote: > On Tue, Jul 21, 2015 at 03:21:16PM -0500, Eric van Gyzen wrote: >> ... >>>> So it looks like net swi, leaking some udp6 lock. >>> Curiouser and curiouser... While I'm not taking any special pains = to >>> avoid building IPv6, I'm not actively actually doing anything with = it >>> (IPv6), either (for both the failing machine and my laptop). >>>=20 >>> Once I'm back home, I should be able to poke around in ddb after >>> re-creating the panic, if that would be a useful thing for me to do = (and >>> given some hints as to what to poke). >>>=20 >>> Naturally, I'm also happy to change bits of sources, rebuild, and >>> smoke-test. >>>=20 >>> A quick check from the SVN update output only shows r285710, = r285711, and >>> r285740 in the range from (r285685,r285741] -- as the kernel running >>> r285685 had no known issues -- that touched sys/netinet6/*. >>=20 >> It's a multicast destination. Maybe something is using mDNS? >>=20 >> Randall, does the test on line 406 of udp6_usrreq.c need to be = inverted? >>=20 >> Eric >>=20 >=20 > We have a winner! >=20 > FreeBSD freebeast.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT = #1789 r285741M/285741:1100077: Tue Jul 21 14:50:59 PDT 2015 = root@freebeast.catwhisker.org:/common/S3/obj/usr/src/sys/GENERIC amd64 >=20 > freebeast(11.0-C)[3] cd /usr/src > freebeast(11.0-C)[4] svn diff sys/netinet > netinet/ netinet6/=20 > freebeast(11.0-C)[4] svn diff sys/netinet* > Index: sys/netinet6/udp6_usrreq.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/netinet6/udp6_usrreq.c (revision 285741) > +++ sys/netinet6/udp6_usrreq.c (working copy) > @@ -403,7 +403,7 @@ > INP_RLOCK(last); > INP_INFO_RUNLOCK(pcbinfo); > UDP_PROBE(receive, NULL, last, ip6, last, uh); > - if (udp6_append(last, m, off, &fromsa))=20 > + if (! udp6_append(last, m, off, &fromsa))=20 > INP_RUNLOCK(last); > inp_lost: > return (IPPROTO_DONE); > freebeast(11.0-C)[5]=20 >=20 > Thanks! :-) >=20 > Peace, > david > --=20 > David H. Wolfskill david@catwhisker.org > Those who murder in the name of God or prophet are blasphemous = cowards. >=20 > See http://www.catwhisker.org/~david/publickey.gpg for my public key. -------- Randall Stewart rrs@netflix.com 803-317-4952 From owner-freebsd-net@freebsd.org Wed Jul 22 09:57:11 2015 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 2B3349A668C for ; Wed, 22 Jul 2015 09:57:11 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B055E1A9F for ; Wed, 22 Jul 2015 09:57:10 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from moby.local ([79.107.36.229]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0Lm3bl-1YiW1G07E1-00ZdFz for ; Wed, 22 Jul 2015 11:57:03 +0200 Message-ID: <55AF68C1.30203@gmx.com> Date: Wed, 22 Jul 2015 12:56:17 +0300 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: FreeBSD Net Subject: "downed" loopback address still active? Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:brx7z3BPxTZEBL4Hs+r1mHM4+OmBUbCJBHuRI1SrqhWTqK05SJy 4HS/PNTCPZuuCzmuzHIthknLrYaGF05QAQrHZeGN4plRkMcwE08HQ6wFKN7L5QBqwqlg1Sn TBYa/vCqRO5TxANSxqdr5rPKPUKR+iGSDqD19eUmUxCfq82T++EP4dcd5Gr6cMaAhaiKeKj fx6vOaZTk0TYWTau5P0Mg== X-UI-Out-Filterresults: notjunk:1;V01:K0:9v0h32yaL5A=:4X8k04lllEn1dGbWstJ9rn 0J3twmE7lEDUJfvjKG7eEjTZi5+4KPc1YFyP5jOqIeOGLSjb+oqSqH2pVZaCtYW00y+SAHOlQ kUdH+Xpj1gqoibGQVxKcNlctbh/KUeGbJYUMa4R6wpwRI1k7v79wsVdYRe8uf+hVYZEMNeuGC eoC2Udl1pYQTwIfFIyQXVmcmTIEC6205xD0XFsZfCW0vHZWC1FkxdFMampdJyPa2TIyqvCdzZ Onmi0iOXYcjZkJsb+8egA0a+F/BR9uXT9RC/j+DSh6cnh2iBaYTsBxHcLHclym5hxfAQYZFpr Ulpf+9kVD8DsiqqoXlVa2ekEqcuoDityLi8UCho6SmKcweZ5c9HWPRBgaVVLQbhg0EF5Z6MfX ydnEF+B54Iwqb6kc++Lk/ZKEYQZTYiDfaU6Oqlc7t8pO5Ar/KyWnBRhCiwoUWEj20PJeqw4aQ c6qc9jHVE9+GdkkfEA0Wj4fMnhwM8rcbtvFfCsU5jd6BizsJlf/vf8QhxRygy0l3HlN/PYEIX PS6F4LkeISwjmiJFsjnz0Sg3SsnFW5KtC9TKcGxRf8ZXet9JsEoGe0id60Wsu9oxTSsDIT8dT u2R7SuSnGqdsrhi2tnqg07Mffk9R39rmUwJY1igQUfV5+DiGwYNDL03Ykh3Fu3LAFcS6pnw9q tcrX+3lKQOgt6K3XwuwCMFTSMa+Gy/YU6LInIoZbLH5ZQGqIxmO92m6Cjk1fovZ+/dhw= X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 22 Jul 2015 09:57:11 -0000 Hi, I am using an IP on a loopback interface and no matter if I "down" the interface, the kernel still uses that address as a valid address, that is, still accepting traffic to the loopback address etc. Is this a bug? Thanks for any ideas, Nikos From owner-freebsd-net@freebsd.org Wed Jul 22 15:42:36 2015 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 ACC639A8B4F for ; Wed, 22 Jul 2015 15:42: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 996D915B5 for ; Wed, 22 Jul 2015 15:42: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 t6MFgaQG027380 for ; Wed, 22 Jul 2015 15:42:36 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 201590] Zerowindow packets escape stateful in-kernel NAT Date: Wed, 22 Jul 2015 15:42: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: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: woodsb02@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 22 Jul 2015 15:42:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201590 --- Comment #2 from Ben Woods --- I can confirm I am also seeing some local network addresses escape out to the Internet when using IPFW with in-kernel NAT. Indeed it appears to be the ZeroWindow packets. # tcpdump -n -e -ttt -i tun0 src net 192.168.0.0/16 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on tun0, link-type NULL (BSD loopback), capture size 262144 bytes 00:00:00.000000 AF IPv4 (2), length 44: 192.168.1.103.53186 > 216.58.220.142.443: Flags [.], ack 922876993, win 0, length 0 I am using FreeBSD 11-current r285792 which is current from today. My IPFW rules also have the inbound NAT rule before the outbound NAT rule as per the examples in the handbook. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Wed Jul 22 15:44:11 2015 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 383769A8BAA for ; Wed, 22 Jul 2015 15:44:11 +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 2564A168B for ; Wed, 22 Jul 2015 15:44:11 +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 t6MFiBwp028123 for ; Wed, 22 Jul 2015 15:44:11 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 201590] Zerowindow packets escape stateful in-kernel NAT Date: Wed, 22 Jul 2015 15:44:11 +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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: woodsb02@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 22 Jul 2015 15:44:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201590 --- Comment #3 from Ben Woods --- I also have the following in my /etc/sysctl.conf to allow packets to have more than 1 pass through the firewall (for in-kernel NAT): net.inet.ip.fw.one_pass=0 -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Wed Jul 22 19:11:15 2015 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 7CC9A9A84F9 for ; Wed, 22 Jul 2015 19:11:15 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-ob0-x22b.google.com (mail-ob0-x22b.google.com [IPv6:2607:f8b0:4003:c01::22b]) (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 424E41DC9; Wed, 22 Jul 2015 19:11:15 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by obdeg2 with SMTP id eg2so44384634obd.0; Wed, 22 Jul 2015 12:11:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=AbsOvRLhGgW40JwMuq2AQOypBxrYBzcwQLa8OMYeEjU=; b=zvVrtciODYGjFXKhaDG2Ebml10Fbxu33saCZAgHEUDANGzaj//ucy0egEDBJzpeNEY g4KVMFeXkNVeZfXUvVnsEHN3rJPdicCUacgVQpjsrVkU+OAlflMAko3kzUNWW4vPj+u7 LkBMhep3/UltXa4JIW2CCnO4wXfvLSWmKAOMWgAufQUh0p2wgrjpvgtq7h9OmqWmaTym c8O2woXEdOnTtdWTb+suUdF+5lqAEw++tlk/vmhpBrO49TnREkm7s1z+I1N2z/x+rgie DsZ2H3N3H5TIE0mHBtRHtPeFohyTHaHP+2FWo1HUAdCA5gBuw9pV9OO8EiLSOgnDKgC8 61Yg== MIME-Version: 1.0 X-Received: by 10.202.212.205 with SMTP id l196mr4019629oig.54.1437592274339; Wed, 22 Jul 2015 12:11:14 -0700 (PDT) Sender: asomers@gmail.com Received: by 10.202.80.4 with HTTP; Wed, 22 Jul 2015 12:11:14 -0700 (PDT) In-Reply-To: References: Date: Wed, 22 Jul 2015 13:11:14 -0600 X-Google-Sender-Auth: LXdzXf0nkks9LfKtjHS7OAoLZ_Y Message-ID: Subject: Re: Displaying the supported module types of a network adapter From: Alan Somers To: Eric Joyner Cc: FreeBSD Net , Navdeep Parhar , "Alexander V. Chernikov" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 22 Jul 2015 19:11:15 -0000 It sounds like at least two drivers have the ability, and at least three people have the interest. I'll put this on my list. I'm not sure if I'll get to work on it soon, though. -Alan On Fri, Jul 17, 2015 at 9:40 AM, Eric Joyner wrote: > ixl(4) will list all of the supported module types for the device if you use > ifconfig -m, but I know that isn't the intended purpose of the -m flag. I > wouldn't mind moving all of that to another function whose purpose is to > just list all supported module types. > > - Eric > > On Wed, Jul 15, 2015 at 3:26 PM Alan Somers wrote: >> >> SIOCGIFMEDIA will return the list of supported media types and the >> current media type of a network interface. But for NICs with >> pluggable modules (SFP+, QSFP, etc), it would also be useful to know >> the allowed module type. I can't find any way to determine that using >> the standard tools. cxgbe(4) is aware of the module type allowed by >> the card, but doesn't expose that information to userspace. I can add >> a simple sysctl to do so, but it would be better to add a standard >> ioctl that can be used by all network drivers. >> >> Besides cxgbe(4), can any other network drivers support this? If so, >> would anybody else be interested? If so, should I add it to the >> "ifconfig -v" output? >> >> -Alan >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Wed Jul 22 22:32:18 2015 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 E2E1A9A8AD1 for ; Wed, 22 Jul 2015 22:32:18 +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 CB18610CD for ; Wed, 22 Jul 2015 22:32:18 +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 t6MMWI4n091979 for ; Wed, 22 Jul 2015 22:32:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 201590] Zerowindow packets escape stateful in-kernel NAT Date: Wed, 22 Jul 2015 22:32:18 +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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: g_amanakis@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 22 Jul 2015 22:32:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201590 --- Comment #4 from g_amanakis@yahoo.com --- I think it has to do with the keepalives produced from ip_fw_dynamic.c. The packets go through ip_output() and this may be the reason they are not NATed. Just my impression of skimming through the code. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Wed Jul 22 22:58:06 2015 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 9BAA29A8ECB for ; Wed, 22 Jul 2015 22:58:06 +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 87E0C1F8E for ; Wed, 22 Jul 2015 22:58:06 +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 t6MMw6O3017380 for ; Wed, 22 Jul 2015 22:58:06 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 201488] dummynet appears broken in 10.0-RELEASE and onwards (can't traffic shape on bridges) Date: Wed, 22 Jul 2015 22:58:06 +0000 X-Bugzilla-Reason: CC 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 Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: luigi@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 22 Jul 2015 22:58:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201488 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |freebsd-net@FreeBSD.org --- Comment #2 from Hiren Panchasara --- + freebsd-net and https://lists.freebsd.org/pipermail/freebsd-ipfw/2015-July/005892.html where I ran into a similar issue. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Wed Jul 22 23:08:39 2015 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 6293B9A70F2 for ; Wed, 22 Jul 2015 23:08:39 +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 4589C12DC for ; Wed, 22 Jul 2015 23:08:39 +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 t6MN8dNQ060436 for ; Wed, 22 Jul 2015 23:08:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 201590] Zerowindow packets escape stateful in-kernel NAT Date: Wed, 22 Jul 2015 23:08:39 +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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: g_amanakis@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 22 Jul 2015 23:08:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201590 --- Comment #5 from g_amanakis@yahoo.com --- Setting net.inet.ip.fw.dyn_keepalive=0 resolves the problem. However the bug remains as the keepalive packets should be NATed in the first place. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Thu Jul 23 11:46:25 2015 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 8B5859A8C0D for ; Thu, 23 Jul 2015 11:46:25 +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 6FEBA10DA for ; Thu, 23 Jul 2015 11:46:25 +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 t6NBkPK1064729 for ; Thu, 23 Jul 2015 11:46:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 201590] Zerowindow packets escape stateful in-kernel NAT Date: Thu, 23 Jul 2015 11:46:25 +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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: smithi@nimnet.asn.au X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 23 Jul 2015 11:46:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201590 smithi@nimnet.asn.au changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |smithi@nimnet.asn.au --- Comment #6 from smithi@nimnet.asn.au --- > 00100 reass ip from any to any in > 00200 allow ip from any to any via lo0 > 00300 allow ip from any to any via em1 > 00400 nat 123 ip from any to any in recv em0 > 00500 check-state I think the problem here is with rule 300; this is (yet another) statement in the (now ancient) handbook ipfw examples that makes no sense, despite some good work towards cleaning it up over the last year or so. Assuming em1 is the internal interface, and that's where your keepalive packets originate, then they are allowed to pass (before NAT) on the way in. That's ok in one way, as NAT only needs to be done on the way out. The kernel routes these, then ipfw is again invoked on their way out. Because of the use of 'via' here, meaning that the receive iface is em1 on the way in, and is STILL the receive iface when on the way out, and 'via iface' is true on outbound packets if EITHER the recv OR xmit iface matches, once again these packets are allowed to pass; before NAT, and also before check-state. Hence they appear on the outside interface with their original (private) source addresses, and statelessly as well. Personally, I can't see the use for such a rule in any ruleset. The (better) examples in /etc/rc.firewall (here from 'client') are: # Allow any traffic to or from my own net. ${fwcmd} add pass all from me to ${net} ${fwcmd} add pass all from ${net} to me .. but these only refer to traffic between this host and internal net. Meanwhile, 'simple' is a better and far more thorough small-net ruleset. Alternatively, consider using explicit 'recv' and 'xmit' (or both!) on rules so it's always clear; refer to ipfw(8) "recv | xmit | via" section. It's a shame we don't have any good examples of a ruleset like 'simple' that include at least some stateful rules, to better show a) where NAT should be done and b) where check-state should be first used, especially where both are used together. No, I'm not sure about that either .. but it seems clear rule 300 is avoiding most of the ruleset, in and outbound. So yes, keepalive packets should be NAT'd .. so don't pass them before NAT! -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Thu Jul 23 12:32:14 2015 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 9F3F19A8B6D for ; Thu, 23 Jul 2015 12:32:14 +0000 (UTC) (envelope-from lakshmi.n@msystechnologies.com) Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) (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 7708B1810 for ; Thu, 23 Jul 2015 12:32:13 +0000 (UTC) (envelope-from lakshmi.n@msystechnologies.com) Received: by pachj5 with SMTP id hj5so156970162pac.3 for ; Thu, 23 Jul 2015 05:32:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:mime-version:from:to:cc:subject :importance:date:content-type; bh=JDGcMWh2T9ViNB2PQZTiO6ZLqkry3xFAumuqufrmbYQ=; b=UJOyzeQMwVADW6TQeItmkjr7Ml0RiI+yoOO7VYJGLEAuRj5fJi50XSHvvHFq6uE6KX g3ht9nO1WJt5+7LRZ7HBnuBKKx+Mf7A/va24P0dFCr0IafEB6qAHkAKE2M5U+QFwI+F7 UGhBk9zLgooh2WEjJTFSv0riYzSSgoB2+el+NfO+hN9uGE3H5hjDJWX08l2NneZr4GaL PwL+a/L3dU/I7l4Nu+6WgWl+XGCz86r2zfbqoljhG+AkbBkC+8aQS4Y80jVN18LHzXSl uUeq+jCT/9cNDj+OwgPJfL/VlHnx+QORlmpcpiDoW7d2R4BUo3KZ1ZSC/ONzNLMdWE4q OtBA== X-Gm-Message-State: ALoCoQkGLhsDiQlRVmiR75pvfu5447yiSpef1PFwSX1F3o21oodm3/s+kN9+7pbzAuSGRcl68FDc X-Received: by 10.67.5.197 with SMTP id co5mr18479845pad.68.1437654733029; Thu, 23 Jul 2015 05:32:13 -0700 (PDT) Received: from GandivaPC ([182.65.110.55]) by smtp.gmail.com with ESMTPSA id nl10sm3865845pdb.38.2015.07.23.05.32.10 (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 23 Jul 2015 05:32:12 -0700 (PDT) Message-ID: <55b0decc.2a80460a.3a90.ffffa91a@mx.google.com> MIME-Version: 1.0 From: =?utf-8?Q?Lakshmi_Narasimhan_Sundararajan?= To: "=?utf-8?Q?freebsd-net@freebsd.org?=" CC: "=?utf-8?Q?panasas-network@msystechnologies.com?=" , "=?utf-8?Q?Lewis,_Fred?=" , "=?utf-8?Q?Pokala,_Ravi?=" , "=?utf-8?Q?'Tallam,_Sreen'?=" Subject: =?utf-8?Q?FreeBSD_LAG_LACP_timeout_tunable_through_IOCTL?= Importance: Normal Date: Thu, 23 Jul 2015 12:25:23 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 23 Jul 2015 12:32:14 -0000 DQpIaSBGcmVlQlNEIHRlYW0sDQoNCkluIEZyZWVCU0QtMTAgYW5kIGluIEN1cnJlbnQsIGJ5IGRl ZmF1bHQgTEFDUCBzdXBwb3J0cyBvbmx5IGxvbmcgdGltZW91dC4gDQoNCkZyZWVCU0QgZG9lcyBu b3QgcHJvdmlkZSB0aGUgd2F5IHRvIGNvbmZpZ3VyZSBMQUNQIHRpbWVvdXQgcGVyaW9kLg0KV2Ug bWFkZSBjb2RlIGNoYW5nZXMgZm9yIExBQ1AgRmFzdC10aW1lb3V0IChVc2luZyBJT0NUTCwgYm90 aCBHRVQgLyBTRVQpIG9uIEZyZWVCU0QtMTEuIA0KDQpBbmQgd2Ugd2VyZSBhYmxlIHRvIHN1Y2Nl c3NmdWxseSB0ZXN0IHRoZSBvcGVyYXRpb24gdXNpbmcgSU9DdGwgY2FsbHMgZnJvbSB1c2VybGFu ZC4NCg0KDQpJbml0aWFsbHkgd2Ugd2FudGVkIHRvIHVzZSBzeXNjdGwsIGJ1dCBmb3VuZCBpbiBG cmVlQlNEIHJldmlzaW9uIGhpc3RvcnksIHRoYXQgc3lzY3RsIGluIExBRyByZXN1bHRzIGluIExP UiBhbmQgaGFzIHRvIGJlIGNvbnZlcnRlZCB0byBJT0NUTC4gIFBsZWFzZSBsZXQgdXMga25vdyB5 b3VyIGNvbW1lbnRzIHRvIHRha2UgdGhpcyBmb3J3YXJkLg0KDQoNCg0KRGlmZnMgaW5saW5lOg0K DQpJbmRleDogc3lzL25ldC9pZWVlODAyM2FkX2xhY3AuaA0KPT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KLS0tIHN5cy9u ZXQvaWVlZTgwMjNhZF9sYWNwLmggKHJldmlzaW9uIDI4NTE5NSkNCisrKyBzeXMvbmV0L2llZWU4 MDIzYWRfbGFjcC5oICh3b3JraW5nIGNvcHkpDQpAQCAtMjUxLDYgKzI1MSw3IEBADQogICB1X2lu dDMyX3QgbHNjX3R4X3Rlc3Q7DQogIH0gbHNjX2RlYnVnOw0KICB1X2ludDMyX3QgIGxzY19zdHJp Y3RfbW9kZTsNCisgdV9pbnQzMl90ICBsc2NfZmFzdF90aW1lb3V0OyAvKiBpZiBzZXQsIGZhc3Qg LyBzaG9ydCB0aW1lb3V0ICovDQogfTsNCiANCiAjZGVmaW5lIExBQ1BfVFlQRV9BQ1RPUklORk8g MQ0KSW5kZXg6IHN5cy9uZXQvaWZfbGFnZy5jDQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQotLS0gc3lzL25ldC9pZl9s YWdnLmMgKHJldmlzaW9uIDI4NTE5NSkNCisrKyBzeXMvbmV0L2lmX2xhZ2cuYyAod29ya2luZyBj b3B5KQ0KQEAgLTEyNTcsNiArMTI1Nyw4IEBADQogICAgIHJvLT5yb19vcHRzIHw9IExBR0dfT1BU X0xBQ1BfUlhURVNUOw0KICAgIGlmIChsc2MtPmxzY19zdHJpY3RfbW9kZSAhPSAwKQ0KICAgICBy by0+cm9fb3B0cyB8PSBMQUdHX09QVF9MQUNQX1NUUklDVDsNCisgICBpZiAobHNjLT5sc2NfZmFz dF90aW1lb3V0ICE9IDApDQorICAgIHJvLT5yb19vcHRzIHw9IExBR0dfT1BUX0xBQ1BfVElNRU9V VDsNCiANCiAgICByby0+cm9fYWN0aXZlID0gc2MtPnNjX2FjdGl2ZTsNCiAgIH0gZWxzZSB7DQpA QCAtMTI5Miw2ICsxMjk0LDggQEANCiAgIGNhc2UgLUxBR0dfT1BUX0xBQ1BfUlhURVNUOg0KICAg Y2FzZSBMQUdHX09QVF9MQUNQX1NUUklDVDoNCiAgIGNhc2UgLUxBR0dfT1BUX0xBQ1BfU1RSSUNU Og0KKyAgY2FzZSBMQUdHX09QVF9MQUNQX1RJTUVPVVQ6DQorICBjYXNlIC1MQUdHX09QVF9MQUNQ X1RJTUVPVVQ6DQogICAgdmFsaWQgPSBsYWNwID0gMTsNCiAgICBicmVhazsNCiAgIGRlZmF1bHQ6 DQpAQCAtMTMyMCw2ICsxMzI0LDcgQEANCiAgICAgc2MtPnNjX29wdHMgJj0gfnJvLT5yb19vcHRz Ow0KICAgfSBlbHNlIHsNCiAgICBzdHJ1Y3QgbGFjcF9zb2Z0YyAqbHNjOw0KKyAgIHN0cnVjdCBs YWNwX3BvcnQgKmxwOw0KIA0KICAgIGxzYyA9IChzdHJ1Y3QgbGFjcF9zb2Z0YyAqKXNjLT5zY19w c2M7DQogDQpAQCAtMTM0Miw2ICsxMzQ3LDE2IEBADQogICAgY2FzZSAtTEFHR19PUFRfTEFDUF9T VFJJQ1Q6DQogICAgIGxzYy0+bHNjX3N0cmljdF9tb2RlID0gMDsNCiAgICAgYnJlYWs7DQorICAg Y2FzZSBMQUdHX09QVF9MQUNQX1RJTUVPVVQ6DQorICAgICAgICAgICBMSVNUX0ZPUkVBQ0gobHAs ICZsc2MtPmxzY19wb3J0cywgbHBfbmV4dCkNCisgICAgICAgICAgICAgICAgICAgICAgICAgIGxw LT5scF9zdGF0ZSB8PSBMQUNQX1NUQVRFX1RJTUVPVVQ7DQorICAgIGxzYy0+bHNjX2Zhc3RfdGlt ZW91dCA9IDE7DQorICAgIGJyZWFrOw0KKyAgIGNhc2UgLUxBR0dfT1BUX0xBQ1BfVElNRU9VVDoN CisgICAgICAgICAgIExJU1RfRk9SRUFDSChscCwgJmxzYy0+bHNjX3BvcnRzLCBscF9uZXh0KQ0K KyAgICAgICAgICAgICAgICAgICAgICAgICAgbHAtPmxwX3N0YXRlICY9IH5MQUNQX1NUQVRFX1RJ TUVPVVQ7DQorICAgIGxzYy0+bHNjX2Zhc3RfdGltZW91dCA9IDA7DQorICAgIGJyZWFrOw0KICAg IH0NCiAgIH0NCiAgIExBR0dfV1VOTE9DSyhzYyk7DQpJbmRleDogc3lzL25ldC9pZl9sYWdnLmgN Cj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT0NCi0tLSBzeXMvbmV0L2lmX2xhZ2cuaCAocmV2aXNpb24gMjg1MTk1KQ0KKysr IHN5cy9uZXQvaWZfbGFnZy5oICh3b3JraW5nIGNvcHkpDQpAQCAtMTUwLDYgKzE1MCw3IEBADQog I2RlZmluZSBMQUdHX09QVF9MQUNQX1NUUklDVCAgMHgxMCAgLyogTEFDUCBzdHJpY3QgbW9kZSAq Lw0KICNkZWZpbmUgTEFHR19PUFRfTEFDUF9UWFRFU1QgIDB4MjAgIC8qIExBQ1AgZGVidWc6IHR4 dGVzdCAqLw0KICNkZWZpbmUgTEFHR19PUFRfTEFDUF9SWFRFU1QgIDB4NDAgIC8qIExBQ1AgZGVi dWc6IHJ4dGVzdCAqLw0KKyNkZWZpbmUgTEFHR19PUFRfTEFDUF9USU1FT1VUICAweDgwICAvKiBM QUNQIEZhc3QgdGltZW91dCAqLw0KICB1X2ludCAgIHJvX2NvdW50OyAgLyogbnVtYmVyIG9mIHBv cnRzICovDQogIHVfaW50ICAgcm9fYWN0aXZlOyAgLyogYWN0aXZlIHBvcnQgY291bnQgKi8NCiAg dV9pbnQgICByb19mbGFwcGluZzsgIC8qIG51bWJlciBvZiBmbGFwcGluZyAqLw0KDQoNCg0KVGhh bmtzLA0KDQpMTg0KDQoNCg0KTVNZUyBUZWNobm9sb2dpZXM= From owner-freebsd-net@freebsd.org Thu Jul 23 15:38:47 2015 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 33DAF9A84FF for ; Thu, 23 Jul 2015 15:38:47 +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 2061319F9 for ; Thu, 23 Jul 2015 15:38:47 +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 t6NFcktt035295 for ; Thu, 23 Jul 2015 15:38:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 201590] Zerowindow packets escape stateful in-kernel NAT Date: Thu, 23 Jul 2015 15:38:46 +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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: g_amanakis@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 23 Jul 2015 15:38:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201590 --- Comment #7 from g_amanakis@yahoo.com --- (In reply to smithi from comment #6) I think this has nothing to do with the local interface, simply because the keepalive packets are generated from the *gateway* through ipfw_dyn_send_ka(). Commenting out the function resolves the symptoms. The actual sending takes place in check_dyn_rules() through ip_output(). The keepalive seems to be generated from the gateway on the basis of the dynamic rule, and this is before the outgoing NAT takes place, i.e. with the IP of the LAN. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Thu Jul 23 15:43:59 2015 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 6F4B69A87B5 for ; Thu, 23 Jul 2015 15:43: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 5BE791F3D for ; Thu, 23 Jul 2015 15:43:59 +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 t6NFhxX6044146 for ; Thu, 23 Jul 2015 15:43:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 201590] Zerowindow packets escape stateful in-kernel NAT Date: Thu, 23 Jul 2015 15:43:58 +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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: g_amanakis@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 23 Jul 2015 15:43:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201590 --- Comment #8 from g_amanakis@yahoo.com --- Perhaps the culprit is the subfunction ipfw_send_pkt() in ipfw_dyn_send_ka(). Here the following happens: m->m_flags |= M_SKIP_FIREWALL; I will try commenting out the line and see if this resolves it. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Thu Jul 23 15:56:53 2015 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 7B90F9A8AFE for ; Thu, 23 Jul 2015 15:56:53 +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 65CF91B81 for ; Thu, 23 Jul 2015 15:56:53 +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 t6NFuriq054541 for ; Thu, 23 Jul 2015 15:56:53 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 201590] Zerowindow packets escape stateful in-kernel NAT Date: Thu, 23 Jul 2015 15:56:53 +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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: g_amanakis@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 23 Jul 2015 15:56:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201590 --- Comment #9 from g_amanakis@yahoo.com --- (In reply to g_amanakis from comment #8) This poses another problem. Probably, commenting out the line will lead to these packets being rejected from the LAN, as they originated at the gateway. Which leads to the question whether net.inet.ip.fw.dyn_keepalive should be enabled on a gateway at the first place. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Thu Jul 23 16:44:42 2015 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 DC4D99A9339 for ; Thu, 23 Jul 2015 16:44:42 +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 C8D211248 for ; Thu, 23 Jul 2015 16:44:42 +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 t6NGigEb035156 for ; Thu, 23 Jul 2015 16:44:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 168246] [em] Multiple legacy em(4) not working with qemu Date: Thu, 23 Jul 2015 16:44:43 +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: 9.0-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 23 Jul 2015 16:44:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=168246 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |re@FreeBSD.org --- Comment #3 from Sean Bruno --- If re@ has the time, can a short regression for this be run? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Thu Jul 23 16:57:16 2015 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 740869A94A8 for ; Thu, 23 Jul 2015 16:57: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 6052318F4 for ; Thu, 23 Jul 2015 16:57: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 t6NGvGWT045937 for ; Thu, 23 Jul 2015 16:57:16 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 152828] [em] poor performance on 8.1, 8.2-PRE Date: Thu, 23 Jul 2015 16:57:16 +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: 8.2-PRERELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 23 Jul 2015 16:57:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=152828 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Overcome By Events Status|In Progress |Closed --- Comment #4 from Sean Bruno --- Timing out 2 year old ticket. If possible please take a look at 10.2r and see what your performance is. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Thu Jul 23 19:29:22 2015 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 15CCF9A9D85 for ; Thu, 23 Jul 2015 19:29:22 +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 023D316E2 for ; Thu, 23 Jul 2015 19:29:22 +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 t6NJTLUt062519 for ; Thu, 23 Jul 2015 19:29:21 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 25986] Socket would hang at LAST_ACK forever. Date: Thu, 23 Jul 2015 19:29:21 +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: 5.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: delphij@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: delphij@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to bug_status resolution cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 23 Jul 2015 19:29:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=25986 Xin LI changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-net@FreeBSD.org |delphij@FreeBSD.org Status|In Progress |Closed Resolution|--- |FIXED CC| |delphij@FreeBSD.org --- Comment #18 from Xin LI --- This should be fixed by FreeBSD-SA-15:13.tcp. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Fri Jul 24 00:32:31 2015 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 DD2DF9A9728 for ; Fri, 24 Jul 2015 00:32:31 +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 C4B54165F for ; Fri, 24 Jul 2015 00:32:31 +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 t6O0WVfN081466 for ; Fri, 24 Jul 2015 00:32:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 168246] [em] Multiple legacy em(4) not working with qemu Date: Fri, 24 Jul 2015 00:32:32 +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: 9.0-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gjb@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 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, 24 Jul 2015 00:32:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=168246 --- Comment #4 from Glen Barber --- We do not test with every knob turned and button pushed for testing. To the OP: Can you please confirm if this is still an issue with 10.2-BETA2 and later? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Fri Jul 24 06:40:18 2015 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 39E599A9CB9 for ; Fri, 24 Jul 2015 06:40:18 +0000 (UTC) (envelope-from julia@n-orion.com) Received: from out2130-229.mail.aliyun.com (out2130-229.mail.aliyun.com [42.156.130.229]) by mx1.freebsd.org (Postfix) with ESMTP id 31530167A for ; Fri, 24 Jul 2015 06:40:12 +0000 (UTC) (envelope-from julia@n-orion.com) X-Alimail-AntiSpam: AC=AD; BC=0.9206409|0.3699408; BR=01201311R111b1; FP=5556962417895718813|114|1|42|0|-1|-1|-1; HT=e02c03288; MF=julia@n-orion.com; NM=1; PH=DS; RN=1; RT=1; SR=0; Received: from julia@n-orion.com(mailfrom:julia@n-orion.com ip:183.45.47.146) by smtp.aliyun-inc.com(10.147.15.105); Fri, 24 Jul 2015 14:38:57 +0800 From: "julia@n-orion.com" To: "freebsd-net" Subject: ZEBRA ZXP series 3, series1, P110i, P330i compatibles Message-ID: <5b382fff2d397f4c83cfac2e7c4e04cf@julia@n-orion.com> Date: Fri, 24 Jul 2015 14:37:56 +0800 MIME-Version: 1.0 X-Priority: 1 X-Mailer: Email Sender 2.0 Content-Type: multipart/mixed; boundary="------_=_NextPart_001_9EF84DE7.0E436B4B" X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 24 Jul 2015 06:40:18 -0000 --------_=_NextPart_001_9EF84DE7.0E436B4B Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello,=0D=0A=0D=0AWe are a Korean company manufacturing Compatible = ID card printer ribbons MADE IN KOREA.=0D=0AOur product is best = quality with reasonable price range.=0D=0AWe can supply ZEBRA = ZXP series 3, series1, P110i, P330i compatibles and FARGO HDP50000, = DATACARD, IDP smart series, XID8300, Holograms, UV Ribbons, = Government project etc.=0D=0APlease see here attached our catalog.=0D=0A= =0D=0AI hope we can have business opportunity.=0D=0A=0D=0AThanks,=0D=0A= =0D=0Ajulia@n-orion.com=0D=0Askype: norion-ribbons=0D=0AHomepage = : http://www.n-orion.com/ --------_=_NextPart_001_9EF84DE7.0E436B4B Content-Type: ; name="" Content-Disposition: attachment; filename="" Content-Transfer-Encoding: base64 --------_=_NextPart_001_9EF84DE7.0E436B4B-- From owner-freebsd-net@freebsd.org Fri Jul 24 10:04:26 2015 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 B1C8A9A893C for ; Fri, 24 Jul 2015 10:04:26 +0000 (UTC) (envelope-from julia@n-orion.com) Received: from out2130-189.mail.aliyun.com (out2130-189.mail.aliyun.com [42.156.130.189]) by mx1.freebsd.org (Postfix) with ESMTP id 4C3C71A0A for ; Fri, 24 Jul 2015 10:04:25 +0000 (UTC) (envelope-from julia@n-orion.com) X-Alimail-AntiSpam: AC=AD; BC=0.9206409|0.3699408; BR=01201311R151b1; FP=5556962417895718813|198|1|55|0|-1|-1|-1; HT=e02c03290; MF=julia@n-orion.com; NM=1; PH=DS; RN=1; RT=1; SR=0; Received: from julia@n-orion.com(mailfrom:julia@n-orion.com ip:183.45.47.146) by smtp.aliyun-inc.com(10.147.14.99); Fri, 24 Jul 2015 17:02:31 +0800 From: "julia@n-orion.com" To: "freebsd-net" Subject: ZEBRA ZXP series 3, series1, P110i, P330i compatibles Message-ID: Date: Fri, 24 Jul 2015 17:01:31 +0800 MIME-Version: 1.0 X-Priority: 1 X-Mailer: Email Sender 2.0 Content-Type: multipart/mixed; boundary="------_=_NextPart_001_47AF771D.90619D42" X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 24 Jul 2015 10:04:26 -0000 --------_=_NextPart_001_47AF771D.90619D42 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello,=0D=0A=0D=0AWe are a Korean company manufacturing Compatible = ID card printer ribbons MADE IN KOREA.=0D=0AOur product is best = quality with reasonable price range.=0D=0AWe can supply ZEBRA = ZXP series 3, series1, P110i, P330i compatibles and FARGO HDP50000, = DATACARD, IDP smart series, XID8300, Holograms, UV Ribbons, = Government project etc.=0D=0APlease see here attached our catalog.=0D=0A= =0D=0AI hope we can have business opportunity.=0D=0A=0D=0AThanks,=0D=0A= =0D=0Ajulia@n-orion.com=0D=0Askype: norion-ribbons=0D=0AHomepage = : http://www.n-orion.com/ --------_=_NextPart_001_47AF771D.90619D42 Content-Type: ; name="" Content-Disposition: attachment; filename="" Content-Transfer-Encoding: base64 --------_=_NextPart_001_47AF771D.90619D42-- From owner-freebsd-net@freebsd.org Fri Jul 24 19:38:22 2015 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 3E64B9A9E32 for ; Fri, 24 Jul 2015 19:38:22 +0000 (UTC) (envelope-from rpokala@panasas.com) Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0092.outbound.protection.outlook.com [65.55.169.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CF71D1532 for ; Fri, 24 Jul 2015 19:38:20 +0000 (UTC) (envelope-from rpokala@panasas.com) Received: from CY1PR08MB1803.namprd08.prod.outlook.com (10.162.218.25) by SN2PR0801MB0765.namprd08.prod.outlook.com (10.160.58.140) with Microsoft SMTP Server (TLS) id 15.1.225.19; Fri, 24 Jul 2015 19:23:00 +0000 Received: from CY1PR08MB1803.namprd08.prod.outlook.com ([10.162.218.25]) by CY1PR08MB1803.namprd08.prod.outlook.com ([10.162.218.25]) with mapi id 15.01.0225.018; Fri, 24 Jul 2015 19:23:00 +0000 From: "Pokala, Ravi" To: "Sundararajan, Lakshmi" , "freebsd-net@freebsd.org" CC: "panasas-network@msystechnologies.com" , "Lewis, Fred" , "Tallam, Sreen" Subject: Re: FreeBSD LAG LACP timeout tunable through IOCTL Thread-Topic: FreeBSD LAG LACP timeout tunable through IOCTL Thread-Index: AQHQxUOd4kytvOwYpUeJ3Hwdx+cXh53qjGiA Date: Fri, 24 Jul 2015 19:23:00 +0000 Message-ID: References: <55b0decc.2a80460a.3a90.ffffa91a@mx.google.com> In-Reply-To: <55b0decc.2a80460a.3a90.ffffa91a@mx.google.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.5.3.150624 authentication-results: msystechnologies.com; dkim=none (message not signed) header.d=none; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [64.80.217.3] x-microsoft-exchange-diagnostics: 1; SN2PR0801MB0765; 5:EB02wJDcaghNoVz5GRWxMeTTfzPwaJ2Xg7A9Rk5UZc2WjXyViV16EkhR/i7xk9si29iFZ+S16TIILUNiO5AMj5ct+csz/Sxfw3os5G03TK5cu99tJMOIp9QEcw+h8ZRoOLG+0F8ZISpnaaZR9O32jQ==; 24:JvQcHJZWxRtRGvcfp1CXCRdY2H/RLBVf7L5yXw1CWXACc2ch0+21/uCz5JGA7qcYmm+0EgKsgs6fxBGZLMAeJ7vOP7C1Kca6gL62B7wMFVQ=; 20:oBnQ5yBnq2GeldTx6KdoTm43OZx3/gGYJK5xbo60fEXyKE9RzDo1GaQQyd9cN8E25hFTv2HbuPjzHDzS9Q9qpA== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN2PR0801MB0765; sn2pr0801mb0765: X-MS-Exchange-Organization-RulesExecuted x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:SN2PR0801MB0765; BCL:0; PCL:0; RULEID:; SRVR:SN2PR0801MB0765; x-forefront-prvs: 0647963F84 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(377424004)(13464003)(164054003)(106116001)(107886002)(122556002)(99286002)(5001960100002)(40100003)(2501003)(2656002)(66066001)(77156002)(62966003)(5001770100001)(2900100001)(87936001)(54356999)(19580405001)(5002640100001)(77096005)(2950100001)(76176999)(36756003)(102836002)(46102003)(189998001)(83506001)(86362001)(4001350100001)(92566002)(50986999)(19580395003)(4001430100001)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR0801MB0765; H:CY1PR08MB1803.namprd08.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: panasas.com X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jul 2015 19:23:00.1179 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: acf01c9d-c699-42af-bdbb-44bf582e60b0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR0801MB0765 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 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, 24 Jul 2015 19:38:22 -0000 Hi LN, You also need to teach `ifconfig' how to toggle this new setting. See sbin/ifconfig/iflagg.c:lagg_cmds[] and how the other LACP options are handled. (Thanks to Genesys on #bsdcode for pointing that out.) Also, please confirm that you don't need to do any locking to walk the list or modify any of the list elements. Thanks, Ravi -----Original Message----- From: Lakshmi Narasimhan Sundararajan Date: 2015-07-23, Thursday at 05:25 To: "freebsd-net@freebsd.org" Cc: "panasas-network@msystechnologies.com" , "Lewis, Fred" , Ravi Pokala , "Tallam, Sreen" Subject: FreeBSD LAG LACP timeout tunable through IOCTL >Hi FreeBSD team, >In FreeBSD-10 and in Current, by default LACP supports only long timeout. >FreeBSD does not provide the way to configure LACP timeout period. >We made code changes for LACP Fast-timeout (Using IOCTL, both GET / SET) >on FreeBSD-11. > >And we were able to successfully test the operation using IOCtl calls >from userland. > > >Initially we wanted to use sysctl, but found in FreeBSD revision history, >that sysctl in LAG results in LOR and has to be converted to IOCTL. >Please let us know your comments to take this forward. > > > > >Diffs inline: >Index: sys/net/ieee8023ad_lacp.h >=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/net/ieee8023ad_lacp.h (revision 285195) >+++ sys/net/ieee8023ad_lacp.h (working copy) >@@ -251,6 +251,7 @@ > u_int32_t lsc_tx_test; > } lsc_debug; > u_int32_t lsc_strict_mode; >+ u_int32_t lsc_fast_timeout; /* if set, fast / short timeout */ > }; >=20 > #define LACP_TYPE_ACTORINFO 1 >Index: sys/net/if_lagg.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/net/if_lagg.c (revision 285195) >+++ sys/net/if_lagg.c (working copy) >@@ -1257,6 +1257,8 @@ > ro->ro_opts |=3D LAGG_OPT_LACP_RXTEST; > if (lsc->lsc_strict_mode !=3D 0) > ro->ro_opts |=3D LAGG_OPT_LACP_STRICT; >+ if (lsc->lsc_fast_timeout !=3D 0) >+ ro->ro_opts |=3D LAGG_OPT_LACP_TIMEOUT; >=20 > ro->ro_active =3D sc->sc_active; > } else { >@@ -1292,6 +1294,8 @@ > case -LAGG_OPT_LACP_RXTEST: > case LAGG_OPT_LACP_STRICT: > case -LAGG_OPT_LACP_STRICT: >+ case LAGG_OPT_LACP_TIMEOUT: >+ case -LAGG_OPT_LACP_TIMEOUT: > valid =3D lacp =3D 1; > break; > default: >@@ -1320,6 +1324,7 @@ > sc->sc_opts &=3D ~ro->ro_opts; > } else { > struct lacp_softc *lsc; >+ struct lacp_port *lp; >=20 > lsc =3D (struct lacp_softc *)sc->sc_psc; >=20 >@@ -1342,6 +1347,16 @@ > case -LAGG_OPT_LACP_STRICT: > lsc->lsc_strict_mode =3D 0; > break; >+ case LAGG_OPT_LACP_TIMEOUT: >+ LIST_FOREACH(lp, &lsc->lsc_ports, lp_next) >+ lp->lp_state |=3D LACP_STATE_TIMEOUT; >+ lsc->lsc_fast_timeout =3D 1; >+ break; >+ case -LAGG_OPT_LACP_TIMEOUT: >+ LIST_FOREACH(lp, &lsc->lsc_ports, lp_next) >+ lp->lp_state &=3D ~LACP_STATE_TIMEOUT; >+ lsc->lsc_fast_timeout =3D 0; >+ break; > } > } > LAGG_WUNLOCK(sc); >Index: sys/net/if_lagg.h >=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/net/if_lagg.h (revision 285195) >+++ sys/net/if_lagg.h (working copy) >@@ -150,6 +150,7 @@ > #define LAGG_OPT_LACP_STRICT 0x10 /* LACP strict mode */ > #define LAGG_OPT_LACP_TXTEST 0x20 /* LACP debug: txtest */ > #define LAGG_OPT_LACP_RXTEST 0x40 /* LACP debug: rxtest */ >+#define LAGG_OPT_LACP_TIMEOUT 0x80 /* LACP Fast timeout */ > u_int ro_count; /* number of ports */ > u_int ro_active; /* active port count */ > u_int ro_flapping; /* number of flapping */ > > >Thanks, >LN > > >MSYS Technologies > > > From owner-freebsd-net@freebsd.org Sat Jul 25 22:28:29 2015 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 85DFC9ABDCB for ; Sat, 25 Jul 2015 22:28:29 +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 71B1C19D for ; Sat, 25 Jul 2015 22:28:29 +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 t6PMSTuH043107 for ; Sat, 25 Jul 2015 22:28:29 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 185427] [igb] [panic] freebsd 8.4, 9.1 and 9.2 panic Double-Fault with intel 82576 igb driver Date: Sat, 25 Jul 2015 22:28:29 +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: unspecified X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2015 22:28:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=185427 --- Comment #2 from Sean Bruno --- (In reply to napTu from comment #0) crash text URL's no longer resolve. The doublefault seems to indicate that something is happening with memory access causing the cpu's to crash. Does this still happen on 10.1 and 10.2r beta? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Sat Jul 25 22:30:18 2015 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 8A6309ABE1C for ; Sat, 25 Jul 2015 22:30:18 +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 763F328A for ; Sat, 25 Jul 2015 22:30:18 +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 t6PMUIpI046550 for ; Sat, 25 Jul 2015 22:30:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 153816] [ixgbe] ixgbe doesn't work properly with the Intel 10gigabit CX4 Dual Port network card Date: Sat, 25 Jul 2015 22:30:18 +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: unspecified X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2015 22:30:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=153816 --- Comment #2 from Sean Bruno --- This should no longer be happening with FreeBSD 10.1 and 10.2r. If you can retest, we'd appreciate it. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Sat Jul 25 22:33:21 2015 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 B70479ABF23 for ; Sat, 25 Jul 2015 22:33:21 +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 A2B7681D for ; Sat, 25 Jul 2015 22:33:21 +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 t6PMXL52051386 for ; Sat, 25 Jul 2015 22:33:21 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 150920] [ixgbe][igb] Panic when packets are dropped with header split disabled Date: Sat, 25 Jul 2015 22:33:21 +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: unspecified X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- 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: 7bit 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.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2015 22:33:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=150920 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |FIXED --- Comment #3 from Sean Bruno --- igb was fixed here: r213234 | jfv | 2010-09-27 17:13:15 -0700 (Mon, 27 Sep 2010) | 13 lines Update code from Intel: - Sync shared code with Intel internal - New client chipset support added - em driver - fixes to 82574, limit queues to 1 but use MSIX - em driver - large changes in TX checksum offload and tso code, thanks to yongari. - some small changes for watchdog issues. - igb driver - local timer watchdog code was missing locking this and a couple other watchdog related fixes. - bug in rx discard found by Andrew Boyer, check for null pointer MFC: a week em was fixed here: r216172 | jfv | 2010-12-03 17:59:58 -0800 (Fri, 03 Dec 2010) | 7 lines Small cut and paste bug in flow control string fixed. Second, correct the discard/refresh_mbufs code to behave more like igb, there have been panics due to discards and this should fix them. MFC after: 3 days -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Sat Jul 25 22:36:09 2015 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 D98539ABF69 for ; Sat, 25 Jul 2015 22:36: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 C51FB8C7 for ; Sat, 25 Jul 2015 22:36: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 t6PMa98m052952 for ; Sat, 25 Jul 2015 22:36:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 193673] [ixgbe] flowid / rss field should only be set if the packettype field says it has a flowid Date: Sat, 25 Jul 2015 22:36:10 +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.0-CURRENT X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2015 22:36:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193673 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hiren@FreeBSD.org --- Comment #2 from Sean Bruno --- I don't think that this one has been resolved yet. -- You are receiving this mail because: You are the assignee for the bug.