From owner-freebsd-net@freebsd.org Sun Nov 15 22:14: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 0FBCEA300F9 for ; Sun, 15 Nov 2015 22:14: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 EEB9D12E2 for ; Sun, 15 Nov 2015 22:14:10 +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 tAFMEA5f051238 for ; Sun, 15 Nov 2015 22:14:10 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 188899] [cas] cas ethernet driver seems to have issues with some multiport card and mother board combinations Date: Sun, 15 Nov 2015 22:14: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: 10.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marius@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: Sun, 15 Nov 2015 22:14:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188899 Marius Strobl changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marius@FreeBSD.org --- Comment #6 from Marius Strobl --- (In reply to Ron from comment #5) Do these Atom- and Pentium-3-based boards also run into PR 188897, i. e. agp0 getting a resource assigned that conflicts with the memory I/O windows of a PCI-PCI bridge in turn causing failure to use disjoint windows, like above? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Mon Nov 16 00:42:05 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 52EB7A30BE3 for ; Mon, 16 Nov 2015 00:42:05 +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 256BD1DB1 for ; Mon, 16 Nov 2015 00:42:05 +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 tAG0g5Gt063186 for ; Mon, 16 Nov 2015 00:42:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204340] [panic] nfsd, em, msix, fatal trap 9 Date: Mon, 16 Nov 2015 00:42:04 +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.2-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rmacklem@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rmacklem@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc assigned_to attachments.created 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, 16 Nov 2015 00:42:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204340 Rick Macklem changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress CC| |rmacklem@FreeBSD.org Assignee|freebsd-bugs@FreeBSD.org |rmacklem@FreeBSD.org --- Comment #2 from Rick Macklem --- Created attachment 163160 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=163160&action=edit patch that might fix this problem I think this crash might have been caused by a race between svcpool_destroy() and the socket upcall. The code in svcpool_destroy() assumes that SVC_RELEASE(xprt) drops the ref cnt to 0, so that SVC_DESTROY() is called. -->SVC_DESTROY() shuts down the socket upcall. --> If the ref cnt doesn't go to 0, svcpool_destroy() will mtx_destroy() the mutexes prematurely. I am not sure, but the race might have been introduced by r267228 since, prior to this there was a single mutex for the pool, held while all xprt's are unregistered. After r267228, there is a group of mutexes, where the code only held one at a time, so I think an xprt might get re-registered on another group after that group has had all de-registered. The attached little patch moves the mtx_lock() calls to a separate loop before the xprt_unregister loops, so that all locks are held while all are de-registered. I've added mav@ to the cc list, since he might be the guy that actually understands this. Anyhow, if you could test the attached patch with msi interrupts re-enabled and see if the crashes go away, that would be great. (I don't think that this indicates that the em(4) driver is broken. I suspect that it just affects timing of the interrupts that tripped over this race.) -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Mon Nov 16 09:24: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 B023AA30DB9 for ; Mon, 16 Nov 2015 09:24:03 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (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 77DDB1621 for ; Mon, 16 Nov 2015 09:24:03 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 759B21FE023 for ; Mon, 16 Nov 2015 10:24:00 +0100 (CET) To: "freebsd-net@freebsd.org" From: Hans Petter Selasky Subject: Question about multicast groups in FreeBSD Message-ID: <5649A117.7060504@selasky.org> Date: Mon, 16 Nov 2015 10:25:43 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; 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: Mon, 16 Nov 2015 09:24:03 -0000 Hi, Does FreeBSD have any IGMP APIs similar to Linux's "include/linux/igmp.h" ? To join a multicast group, you would in Linux do: > + struct netdev *in_dev; > + if (join) > + ip_mc_inc_group(in_dev, > + *(__be32 *)(mgid->raw+12)); > + else > + ip_mc_dec_group(in_dev, > + *(__be32 *)(mgid->raw+12)); Is there any equivalent to this in FreeBSD? Thank you! --HPS From owner-freebsd-net@freebsd.org Mon Nov 16 16:29: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 06D5DA30D12 for ; Mon, 16 Nov 2015 16:29: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 E846C18C0 for ; Mon, 16 Nov 2015 16:29: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 tAGGTU1h022017 for ; Mon, 16 Nov 2015 16:29:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204438] setsockopt() handling of kern.ipc.maxsockbuf limit Date: Mon, 16 Nov 2015 16:29: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: 11.0-CURRENT X-Bugzilla-Keywords: needs-qa, patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: cameronsparr@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@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, 16 Nov 2015 16:29:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204438 --- Comment #18 from Cameron Sparr --- @Alfred, I guess on Linux there is no way to warn about that, users would have to check the buffer size limits themselves. In conclusion, should I change my patch to do what you originally suggested? Which is to have kern.ipc.maxsockbuf represent that maximum amount of DATA that the socket can handle? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Mon Nov 16 16:37: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 1817AA30F41 for ; Mon, 16 Nov 2015 16:37: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 043D01C17 for ; Mon, 16 Nov 2015 16:37: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 tAGGbA1j038258 for ; Mon, 16 Nov 2015 16:37:10 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204340] [panic] nfsd, em, msix, fatal trap 9 Date: Mon, 16 Nov 2015 16:37:10 +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.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rmacklem@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: mfc-stable9? mfc-stable10? X-Bugzilla-Changed-Fields: flagtypes.name keywords 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, 16 Nov 2015 16:37:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204340 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |mfc-stable9?, mfc-stable10? Keywords| |crash -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Mon Nov 16 17:16:02 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 3BB42A30D29 for ; Mon, 16 Nov 2015 17:16:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 28E9D13B2 for ; Mon, 16 Nov 2015 17:16:02 +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 tAGHG2fd048152 for ; Mon, 16 Nov 2015 17:16:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204437] 10.2 STABLE Crashing with IPSec Support Date: Mon, 16 Nov 2015 17:16:01 +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.2-STABLE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emeric.poupon@stormshield.eu X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@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, 16 Nov 2015 17:16:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204437 --- Comment #12 from emeric.poupon@stormshield.eu --- I found this commit : http://svnweb.freebsd.org/base?view=revision&revision=241129. The comment says the issue is located in_pcbrele_rlocked function, but I think the issue we see here may be related to the very same problem in the in_pcbrele_wlocked function. Maybe someone can explain me more about this problem? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Mon Nov 16 18:18:01 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 A4BCFA30F40 for ; Mon, 16 Nov 2015 18:18:01 +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 915D11CBA for ; Mon, 16 Nov 2015 18:18:01 +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 tAGII1FY044467 for ; Mon, 16 Nov 2015 18:18:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204568] gif(4) interface remembers configuration after being destroyed Date: Mon, 16 Nov 2015 18:18:01 +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.2-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, 16 Nov 2015 18:18:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204568 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 Mon Nov 16 18:53:01 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 A60C8A30720 for ; Mon, 16 Nov 2015 18:53:01 +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 89EF81D5F for ; Mon, 16 Nov 2015 18:53:01 +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 tAGIr1a2013608 for ; Mon, 16 Nov 2015 18:53:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204340] [panic] nfsd, em, msix, fatal trap 9 Date: Mon, 16 Nov 2015 18:53:01 +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.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: g_amanakis@yahoo.com X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rmacklem@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, 16 Nov 2015 18:53:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204340 --- Comment #3 from g_amanakis@yahoo.com --- (In reply to Rick Macklem from comment #2) Thanks for the insight. However, I just tried the patch proposed and it still crashes. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Tue Nov 17 00:48:37 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 2CCD5A316FD for ; Tue, 17 Nov 2015 00:48:37 +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 1ABB31DB8 for ; Tue, 17 Nov 2015 00:48:37 +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 tAH0maaB094589 for ; Tue, 17 Nov 2015 00:48:36 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204593] Add a sysctl to enable display of IPv4 ICMP handling in the kernel Date: Tue, 17 Nov 2015 00:48: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.2-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ae@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: Tue, 17 Nov 2015 00:48:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204593 Andrey V. Elsukov 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 Nov 17 01:29: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 EDD7CA30134 for ; Tue, 17 Nov 2015 01:29: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 C02AC1A81 for ; Tue, 17 Nov 2015 01:29: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 tAH1TVOZ008919 for ; Tue, 17 Nov 2015 01:29:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204340] [panic] nfsd, em, msix, fatal trap 9 Date: Tue, 17 Nov 2015 01:29:31 +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.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rmacklem@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rmacklem@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: mfc-stable9? mfc-stable10? X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created 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, 17 Nov 2015 01:29:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204340 Rick Macklem changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #163160|0 |1 is obsolete| | --- Comment #4 from Rick Macklem --- Created attachment 163217 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=163217&action=edit Patch to fix sg_threadcount++ so the mutex is held when done I took a closer look at svc.c and the only way that the race I think might have happened can occur is if svc_run() doesn't wait for all threads to terminate. I also can now see that the first patch wouldn't have fixed anything, so I'm not surprised it didn't work. The only thing I can see that is broken in the code and might allow svc_run() to return before all threads have terminated is: - The thread count sg_threadcount is incremented when the sg_lock mutex isn't held. --> This could conceivably result in a corrupted sg_threadcount, which would allow svc_run() to return before all threads have terminated. This second patch fixes the code so that sg_threadcount++ is always done when the sg_lock mutex is held. If you can test this one instead of the last one, that would be appreciated. I do know this patch fixes the above problem, but I don't know if this is the cause of your crashes. Also, this bug seems to have existed in the code forever and all that r267228 did was switch from not holding the pool mutex to not holding the group mutex. So Alexander, you are off the hook, I think.;-) I've left you on the cc, since you probably know this code better than anyone else and might have some insight w.r.t. this crash. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Tue Nov 17 02:00:05 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 35F1FA30891 for ; Tue, 17 Nov 2015 02:00:05 +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 2262B1BB9 for ; Tue, 17 Nov 2015 02:00:05 +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 tAH205Es031494 for ; Tue, 17 Nov 2015 02:00:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204438] setsockopt() handling of kern.ipc.maxsockbuf limit Date: Tue, 17 Nov 2015 02:00:04 +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: needs-qa, patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: alfred@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@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: Tue, 17 Nov 2015 02:00:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204438 --- Comment #19 from Alfred Perlstein --- For now it makes sense to implement the sysctls as described in comment #15. changing the behavior at this point seems a bad idea. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Tue Nov 17 18:21: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 E86B9A311B4 for ; Tue, 17 Nov 2015 18:21:38 +0000 (UTC) (envelope-from flewis@panasas.com) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0056.outbound.protection.outlook.com [157.56.111.56]) (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 7F3A81FA4 for ; Tue, 17 Nov 2015 18:21:37 +0000 (UTC) (envelope-from flewis@panasas.com) Received: from CY1PR0801MB1563.namprd08.prod.outlook.com (10.163.143.139) by BY2PR08MB1797.namprd08.prod.outlook.com (10.163.46.23) with Microsoft SMTP Server (TLS) id 15.1.325.17; Tue, 17 Nov 2015 18:05:52 +0000 Received: from CY1PR0801MB1563.namprd08.prod.outlook.com ([10.163.143.139]) by CY1PR0801MB1563.namprd08.prod.outlook.com ([10.163.143.139]) with mapi id 15.01.0318.003; Tue, 17 Nov 2015 18:05:52 +0000 From: "Lewis, Fred" To: "freebsd-net@freebsd.org" CC: "Pokala, Ravi" Subject: Multipath Routing (RADIX_MPATH)in stable/10 Thread-Topic: Multipath Routing (RADIX_MPATH)in stable/10 Thread-Index: AQHRIWKYw9ySyanZIESv/LmoUVxqZw== Date: Tue, 17 Nov 2015 18:05:52 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=flewis@panasas.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [66.31.107.140] x-microsoft-exchange-diagnostics: 1; BY2PR08MB1797; 5:+pVBcbYzy2Va2nTyHslsGxIhIAsIk3ULiblss+NczIo0QUt3sqboP4Vdy3ZkN5j+kKfRal2UHWXU7MMcrlW5j8iZIQP5nqXZ7S46DhcoPI8PkEwPNV35CQn9hN7nzcxkcDTdPeHxzuZr4zSy921L+A==; 24:SeFpnoUjNrOZ9LTt5L6MuKV/LaNMmHYnVBXPwJFG8dx8g0bPcJeSckKh/3PuEKn8QEOOq5Km3ja7ODuKGN6PZNa17PS56aebpxkmtvrSR0k=; 20:8qOAkNf+/c5CCSNRbt88PwcN8tOaypKKWAx/SQuQ41AYIQAZ1ymO3kI8SFkIh4tGJYw1o5id2fBIB3ZuRyfbfw== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR08MB1797; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(520078)(5005006)(3002001)(10201501046); SRVR:BY2PR08MB1797; BCL:0; PCL:0; RULEID:; SRVR:BY2PR08MB1797; x-forefront-prvs: 07630F72AD x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(164054003)(189002)(199003)(586003)(102836002)(2501003)(81156007)(107886002)(5001960100002)(5008740100001)(97736004)(2900100001)(4001430100002)(77096005)(5007970100001)(92566002)(110136002)(5004730100002)(450100001)(106356001)(5002640100001)(558084003)(54356999)(122556002)(106116001)(66066001)(2351001)(229853001)(16236675004)(40100003)(11100500001)(105586002)(36756003)(50986999)(101416001)(10400500002)(86362001)(87936001)(189998001)(99286002); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR08MB1797; H:CY1PR0801MB1563.namprd08.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: panasas.com does not designate permitted sender hosts) MIME-Version: 1.0 X-OriginatorOrg: panasas.com X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Nov 2015 18:05:52.5877 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: acf01c9d-c699-42af-bdbb-44bf582e60b0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR08MB1797 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: Tue, 17 Nov 2015 18:21:39 -0000 Hello freebsd-net folks, I'm in the process of doing a build with the RADIX_MPATH option set to turn= on multi-path routing and I was wondering how stable the feature is and if= any there are any know issues with it. Any information will be appreciated. Thanks, -Fred From owner-freebsd-net@freebsd.org Tue Nov 17 20:40: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 816D7A31166 for ; Tue, 17 Nov 2015 20:40:13 +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 6D7D41BA4 for ; Tue, 17 Nov 2015 20:40:13 +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 tAHKeDnh034905 for ; Tue, 17 Nov 2015 20:40:13 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204340] [panic] nfsd, em, msix, fatal trap 9 Date: Tue, 17 Nov 2015 20:40:13 +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.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: g_amanakis@yahoo.com X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rmacklem@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: Tue, 17 Nov 2015 20:40:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204340 --- Comment #5 from g_amanakis@yahoo.com --- (In reply to Rick Macklem from comment #4) I am testing it, so far it seems ok. Give me a couple of days to test it thoroughly. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Wed Nov 18 03:00: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 E6574A306E6 for ; Wed, 18 Nov 2015 03:00: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 D4508108B for ; Wed, 18 Nov 2015 03:00: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 tAI30gCE000783 for ; Wed, 18 Nov 2015 03:00:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204340] [panic] nfsd, em, msix, fatal trap 9 Date: Wed, 18 Nov 2015 03:00:42 +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.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: g_amanakis@yahoo.com X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rmacklem@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: Wed, 18 Nov 2015 03:00:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204340 --- Comment #6 from g_amanakis@yahoo.com --- (In reply to Rick Macklem from comment #4) It still crashes. I am going to get a dump tomorrow. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Wed Nov 18 05:17: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 4B21FA314D8 for ; Wed, 18 Nov 2015 05:17:20 +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 367FF18E4 for ; Wed, 18 Nov 2015 05:17:20 +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 tAI5HKds051288 for ; Wed, 18 Nov 2015 05:17:20 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 188899] [cas] cas ethernet driver seems to have issues with some multiport card and mother board combinations Date: Wed, 18 Nov 2015 05:17:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ron@buzznbee.net 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: attachments.created 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, 18 Nov 2015 05:17:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188899 --- Comment #7 from Ron --- Created attachment 163275 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=163275&action=edit Diagnostic info from Pentium 3 system -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Wed Nov 18 05:23:27 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 B0F6DA316DB for ; Wed, 18 Nov 2015 05:23:27 +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 9C76D1C40 for ; Wed, 18 Nov 2015 05:23:27 +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 tAI5NRlh066027 for ; Wed, 18 Nov 2015 05:23:27 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 188899] [cas] cas ethernet driver seems to have issues with some multiport card and mother board combinations Date: Wed, 18 Nov 2015 05:23:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ron@buzznbee.net 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: Wed, 18 Nov 2015 05:23:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188899 --- Comment #8 from Ron --- I uploaded the Diagnostic info from Pentium 3 system zip file. I don't know that I could tell you. I've reassembled the pentium 3 system and I've uploaded verbose dmesg and devinfo for the pentium 3 with the Quad Port Sun Gigabit card (model QGEXPCI, cas driver). I've also uploaded a verbose dmesg when a Sun Quad Port 10/100 card is installed (model QFEPCI, hme driver) in case it is of any use. The 10/100 card works fine. Additionally the system will crash after a couple minutes with the gigabit card installed if I have it hooked up to a live network connection. I've included the crash dumps from that as well. If I do not have the system plugged in to a live network connection then it will run apparently without issue. Please let me know if there's anything further I can do to assist, I'm glad to help if I can. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Wed Nov 18 07:18:51 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 B8E2FA31E9F for ; Wed, 18 Nov 2015 07:18:51 +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 9D2E11D9E for ; Wed, 18 Nov 2015 07:18:51 +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 tAI7Ip9B020809 for ; Wed, 18 Nov 2015 07:18:51 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204340] [panic] nfsd, em, msix, fatal trap 9 Date: Wed, 18 Nov 2015 07:18:51 +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.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: g_amanakis@yahoo.com X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rmacklem@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: Wed, 18 Nov 2015 07:18:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204340 --- Comment #7 from g_amanakis@yahoo.com --- This a fresh dump with the second patch applied, it seems the same. The problem seems to occur in xprt_active(). Unread portion of the kernel message buffer: stack pointer = 0x28:0xfffffe01ee7ee430 frame pointer = 0x28:0xfffffe01ee7ee4b0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 12 (irq266: em1:rx0) trap number = 9 panic: general protection fault cpuid = 0 KDB: stack backtrace: #0 0xffffffff80984e30 at kdb_backtrace+0x60 #1 0xffffffff809489e6 at vpanic+0x126 #2 0xffffffff809488b3 at panic+0x43 #3 0xffffffff80d4ab6b at trap_fatal+0x36b #4 0xffffffff80d4a7ec at trap+0x75c #5 0xffffffff80d30882 at calltrap+0x8 #6 0xffffffff80b4a725 at xprt_active+0x45 #7 0xffffffff80b4e185 at svc_vc_soupcall+0x35 #8 0xffffffff809bcc52 at sowakeup+0x82 #9 0xffffffff80aea942 at tcp_do_segment+0x2b22 #10 0xffffffff80ae7720 at tcp_input+0x12b0 #11 0xffffffff80a77f57 at ip_input+0x97 #12 0xffffffff80a177d2 at netisr_dispatch_src+0x62 #13 0xffffffff80a0eb76 at ether_demux+0x126 #14 0xffffffff80a0f81e at ether_nh_input+0x35e #15 0xffffffff80a177d2 at netisr_dispatch_src+0x62 #16 0xffffffff804e121b at em_rxeof+0x2eb #17 0xffffffff804e1663 at em_msix_rx+0x33 Uptime: 10h5m21s Dumping 3079 out of 8134 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91% Reading symbols from /boot/kernel/zfs.ko.symbols...done. Loaded symbols for /boot/kernel/zfs.ko.symbols Reading symbols from /boot/kernel/opensolaris.ko.symbols...done. Loaded symbols for /boot/kernel/opensolaris.ko.symbols Reading symbols from /boot/kernel/if_tap.ko.symbols...done. Loaded symbols for /boot/kernel/if_tap.ko.symbols Reading symbols from /boot/kernel/if_bridge.ko.symbols...done. Loaded symbols for /boot/kernel/if_bridge.ko.symbols Reading symbols from /boot/kernel/bridgestp.ko.symbols...done. Loaded symbols for /boot/kernel/bridgestp.ko.symbols Reading symbols from /boot/kernel/aio.ko.symbols...done. Loaded symbols for /boot/kernel/aio.ko.symbols Reading symbols from /boot/kernel/coretemp.ko.symbols...done. Loaded symbols for /boot/kernel/coretemp.ko.symbols Reading symbols from /boot/kernel/ipmi.ko.symbols...done. Loaded symbols for /boot/kernel/ipmi.ko.symbols Reading symbols from /boot/kernel/smbus.ko.symbols...done. Loaded symbols for /boot/kernel/smbus.ko.symbols Reading symbols from /boot/kernel/aesni.ko.symbols...done. Loaded symbols for /boot/kernel/aesni.ko.symbols Reading symbols from /boot/kernel/crypto.ko.symbols...done. Loaded symbols for /boot/kernel/crypto.ko.symbols Reading symbols from /boot/kernel/mps.ko.symbols...done. Loaded symbols for /boot/kernel/mps.ko.symbols Reading symbols from /boot/kernel/vmm.ko.symbols...done. Loaded symbols for /boot/kernel/vmm.ko.symbols Reading symbols from /boot/kernel/nmdm.ko.symbols...done. Loaded symbols for /boot/kernel/nmdm.ko.symbols Reading symbols from /boot/kernel/geom_eli.ko.symbols...done. Loaded symbols for /boot/kernel/geom_eli.ko.symbols Reading symbols from /boot/kernel/ums.ko.symbols...done. Loaded symbols for /boot/kernel/ums.ko.symbols Reading symbols from /boot/kernel/ipfw.ko.symbols...done. Loaded symbols for /boot/kernel/ipfw.ko.symbols Reading symbols from /boot/kernel/dummynet.ko.symbols...done. Loaded symbols for /boot/kernel/dummynet.ko.symbols Reading symbols from /boot/kernel/ipfw_nat.ko.symbols...done. Loaded symbols for /boot/kernel/ipfw_nat.ko.symbols Reading symbols from /boot/kernel/libalias.ko.symbols...done. Loaded symbols for /boot/kernel/libalias.ko.symbols Reading symbols from /boot/kernel/ctl.ko.symbols...done. Loaded symbols for /boot/kernel/ctl.ko.symbols Reading symbols from /boot/kernel/iscsi.ko.symbols...done. Loaded symbols for /boot/kernel/iscsi.ko.symbols Reading symbols from /boot/kernel/nullfs.ko.symbols...done. Loaded symbols for /boot/kernel/nullfs.ko.symbols Reading symbols from /boot/kernel/fdescfs.ko.symbols...done. Loaded symbols for /boot/kernel/fdescfs.ko.symbols #0 doadump (textdump=) at pcpu.h:219 219 pcpu.h: No such file or directory. in pcpu.h (kgdb) list *0xfffffe01ee7ee430 No source file for address 0xfffffe01ee7ee430. (kgdb) backtrace #0 doadump (textdump=) at pcpu.h:219 #1 0xffffffff80948642 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:451 #2 0xffffffff80948a25 in vpanic (fmt=, ap=) at /usr/src/sys/kern/kern_shutdown.c:758 #3 0xffffffff809488b3 in panic (fmt=0x0) at /usr/src/sys/kern/kern_shutdown.c:687 #4 0xffffffff80d4ab6b in trap_fatal (frame=, eva=) at /usr/src/sys/amd64/amd64/trap.c:851 #5 0xffffffff80d4a7ec in trap (frame=) at /usr/src/sys/amd64/amd64/trap.c:203 #6 0xffffffff80d30882 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:236 #7 0xffffffff8092e980 in __mtx_lock_sleep (c=0xfffffe0000e09198, tid=18446735277688524800, opts=0, file=0x0, line=0) at /usr/src/sys/kern/kern_mutex.c:437 #8 0xffffffff80b4a725 in xprt_active (xprt=0xfffff80043c93800) at /usr/src/sys/rpc/svc.c:394 #9 0xffffffff80b4e185 in svc_vc_soupcall (so=0xfffffe0000e09180, arg=, waitflag=0) at /usr/src/sys/rpc/svc_vc.c:953 #10 0xffffffff809bcc52 in sowakeup (so=0xfffff80167289570, sb=0xfffff80167289600) at /usr/src/sys/kern/uipc_sockbuf.c:191 #11 0xffffffff80aea942 in tcp_do_segment (m=, th=, so=0xfffff80167289570, tp=0xfffff80167e15000, drop_hdrlen=, tlen=236, iptos=, ti_locked=Cannot access memory at address 0x1 ) at /usr/src/sys/netinet/tcp_input.c:1842 off0=) at /usr/src/sys/netinet/tcp_input.c:1376 #13 0xffffffff80a77f57 in ip_input (m=0xfffff80043661e00) at /usr/src/sys/netinet/ip_input.c:734 #14 0xffffffff80a177d2 in netisr_dispatch_src (proto=, source=, m=0xce444773859b4170) at /usr/src/sys/net/netisr.c:976 #15 0xffffffff80a0eb76 in ether_demux (ifp=, m=0xfffff80043661e00) at /usr/src/sys/net/if_ethersubr.c:851 #16 0xffffffff80a0f81e in ether_nh_input (m=) at /usr/src/sys/net/if_ethersubr.c:646 #17 0xffffffff80a177d2 in netisr_dispatch_src (proto=, source=, m=0xce444773859b4170) at /usr/src/sys/net/netisr.c:976 #18 0xffffffff804e121b in em_rxeof (count=99) at /usr/src/sys/dev/e1000/if_em.c:4711 #19 0xffffffff804e1663 in em_msix_rx (arg=0xfffff8000449ca00) at /usr/src/sys/dev/e1000/if_em.c:1639 ---Type to continue, or q to quit--- #20 0xffffffff8091482b in intr_event_execute_handlers (p=, ie=0xfffff8000446fd00) at /usr/src/sys/kern/kern_intr.c:1264 #21 0xffffffff80914c76 in ithread_loop (arg=0xfffff800044d40a0) at /usr/src/sys/kern/kern_intr.c:1277 #22 0xffffffff8091244a in fork_exit (callout=0xffffffff80914be0 , arg=0xfffff800044d40a0, frame=0xfffffe01ee7eeac0) at /usr/src/sys/kern/kern_fork.c:1018 #23 0xffffffff80d30dbe in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:611 #24 0x0000000000000000 in ?? () Current language: auto; currently minimal (kgdb) (kgdb) list *0xffffffff80b4a725 0xffffffff80b4a725 is in xprt_active (/usr/src/sys/rpc/svc.c:396). 391 { 392 SVCGROUP *grp = xprt->xp_group; 393 394 mtx_lock(&grp->sg_lock); 395 396 if (!xprt->xp_registered) { 397 /* 398 * Race with xprt_unregister - we lose. 399 */ 400 mtx_unlock(&grp->sg_lock); (kgdb) -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Wed Nov 18 07:53: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 4D769A32743 for ; Wed, 18 Nov 2015 07:53:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 33CA01BAE for ; Wed, 18 Nov 2015 07:53:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tAI7rQi9090815 for ; Wed, 18 Nov 2015 07:53:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 188899] [cas] cas ethernet driver seems to have issues with some multiport card and mother board combinations Date: Wed, 18 Nov 2015 07:53: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.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: yongari@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: Wed, 18 Nov 2015 07:53:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188899 Pyun YongHyeon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yongari@FreeBSD.org --- Comment #9 from Pyun YongHyeon --- (In reply to Marius Strobl from comment #6) Marius, I was able to see 'cannot disable RX MAC' message in the attachment so I vaguely guess it could be related with incomplete controller reset. It seems Linux sets soft_bit_0 of CAS_BIM_LDEV_OEN register to force a PCI reset for old Cassini before resetting other blocks. Another thing to try is to bypass MAC/DMA stop and directly issue reset in device attach phase. I guess some of those blocks may not be in sane state before the reset so relying on some bits of CAS_RX_CONF register shall trigger other issues. I was not able to find old cas(4) controller so I couldn't test above approach though. Marius do you other clue? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Wed Nov 18 15:22: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 494E5A2B0EB for ; Wed, 18 Nov 2015 15:22: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 34BFF1242 for ; Wed, 18 Nov 2015 15:22: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 tAIFMd98092497 for ; Wed, 18 Nov 2015 15:22:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 203630] [Hyper-V] [nat] [tcp] 10.2 NAT bug in TCP stack or hyperv netsvc driver Date: Wed, 18 Nov 2015 15:22:38 +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.2-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emulation@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? mfc-stable9? mfc-stable10? 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: Wed, 18 Nov 2015 15:22:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203630 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |emulation@FreeBSD.org -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Wed Nov 18 16:40: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 E780AA325B5 for ; Wed, 18 Nov 2015 16:40: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 C9F7910A8 for ; Wed, 18 Nov 2015 16:40: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 tAIGe9R7080776 for ; Wed, 18 Nov 2015 16:40:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204453] panic: vnic0: Received packet fragment with NULL mbuf from ThunderX VNIC driver Date: Wed, 18 Nov 2015 16:40: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: ThunderX X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@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: keywords 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, 18 Nov 2015 16:40:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204453 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ThunderX -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Wed Nov 18 22:30:02 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 7BE06A32CFC for ; Wed, 18 Nov 2015 22:30:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 67F151CEC for ; Wed, 18 Nov 2015 22:30:02 +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 tAIMU2td081270 for ; Wed, 18 Nov 2015 22:30:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204340] [panic] nfsd, em, msix, fatal trap 9 Date: Wed, 18 Nov 2015 22:30:02 +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.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rmacklem@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rmacklem@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: mfc-stable9? mfc-stable10? X-Bugzilla-Changed-Fields: attachments.created 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, 18 Nov 2015 22:30:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204340 --- Comment #8 from Rick Macklem --- Created attachment 163299 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=163299&action=edit patch that locks mutex when request queue is updated This patch fixes the only other issue I can spot in the kernel server RPC. There was a case where the request queue was being updated, but the st_lock mutex was not held. This bug could have conceivably resulted in a corrupted request queue. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Wed Nov 18 22:32: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 CA0E0A32E54 for ; Wed, 18 Nov 2015 22:32: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 B62D41FF7 for ; Wed, 18 Nov 2015 22:32: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 tAIMWdpT090416 for ; Wed, 18 Nov 2015 22:32:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204340] [panic] nfsd, em, msix, fatal trap 9 Date: Wed, 18 Nov 2015 22:32:39 +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.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rmacklem@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rmacklem@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: mfc-stable9? mfc-stable10? X-Bugzilla-Changed-Fields: attachments.created 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, 18 Nov 2015 22:32:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204340 --- Comment #9 from Rick Macklem --- Created attachment 163300 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=163300&action=edit patch that makes NFSv4.1 server release the backchannel xprt This patch fixes the NFSv4.1 server so that it SVC_RELEASE()s the backchannel xprt when the nfsd threads are terminated. This patch only affects NFSv4.1, so it doesn't matter unless you are running NFSv4.1 client mounts. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Wed Nov 18 22:44: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 5ADAEA3227F for ; Wed, 18 Nov 2015 22:44: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 2D007180A for ; Wed, 18 Nov 2015 22:44: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 tAIMixQM012387 for ; Wed, 18 Nov 2015 22:44:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204340] [panic] nfsd, em, msix, fatal trap 9 Date: Wed, 18 Nov 2015 22:44:59 +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.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rmacklem@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rmacklem@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: Wed, 18 Nov 2015 22:44:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204340 --- Comment #10 from Rick Macklem --- I have just added 2 more patches that might be relevant to the crashes. When the nfsd threads are terminated, this is what is supposed to happen: - All nfsd threads running in svc_run_internal() return to svc_run(). - svc_run() waits for all these threads to return. - After svc_run returns, the nfsd calls svcpool_destroy(). - svcpool_destroy() unregisters all the xprts (which represent the TCP sockets) - at this point, the reference count should be 1 for all xprts --> Then svcpool_destroy() calls SVC_RELEASE(xprt) for all of them, which drops the reference count to 0 and calls SVC_DESTROY() --> This actually calls svc_vc_destroy(), which shuts down the socket upcall and after that, destroys the mutexes. My best guess w.r.t. the crashes is that the reference count gets messed up on an xprt, so it doesn't get SVC_DESTROY()'d. Then a socket upcall calls xprt_active() after the mutex has been destroyed and BOOM. The two patched should be applied along with the first one. The second patch fixes the one other place that I can spot where the server side krpc code isn't quite SMP safe. Although unlikely, it is conceivable that this could cause the crashes. The third patch makes sure that the backchannel xprt is dereferenced before the call to svcpool_destroy(). The one seems a more likely culprit, but only if you have clients doing NFSv4.1 mounts against the server. If you could try the second patch (and the third if you have NFSv4.1 mounts), that would be appreciated. One final comment: I am assuming that you are terminating the nfsd threads by sending a SIGUSR1 to the nfsd master. This is the only way the nfsd threads should be terminated. (If you are using /etc/rc.d/nfsd, it should be doing that, but you might try using "kill -USR1 " directly, just in case the shell script is busted. This pretty well exhausts what I can see that might cause the crashes and I can't reproduce a crash here, so hopefully you can make some progress from here. Good luck with it, rick -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Thu Nov 19 15:22:05 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 BDE2EA330D2 for ; Thu, 19 Nov 2015 15:22:05 +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 A96501EA5 for ; Thu, 19 Nov 2015 15:22:05 +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 tAJFM5IQ024070 for ; Thu, 19 Nov 2015 15:22:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204340] [panic] nfsd, em, msix, fatal trap 9 Date: Thu, 19 Nov 2015 15:22:05 +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.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, crash, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rmacklem@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: mfc-stable9? mfc-stable10? X-Bugzilla-Changed-Fields: keywords 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, 19 Nov 2015 15:22:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204340 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Thu Nov 19 16:41:57 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 E8A3EA33EBD for ; Thu, 19 Nov 2015 16:41:57 +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 D3EE01906 for ; Thu, 19 Nov 2015 16:41:57 +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 tAJGfvHc020172 for ; Thu, 19 Nov 2015 16:41:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 202983] ixv driver in 11.0-CURRENT(10.1 & 10.2 RELEASE) doesn't pass traffic using XEN hypervisor(AWS EC2) Date: Thu, 19 Nov 2015 16:41: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: 11.0-CURRENT X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jeffrey.e.pieper@intel.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, 19 Nov 2015 16:41:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202983 --- Comment #3 from Jeff Pieper --- After some additional testing using KVM, I've found that if the MTU on the PF is set to 9000 BEFORE the VF is created, ixv behaves as expected. If the MTU is changed AFTER the VF is created and then attached to ixv, then the issue is reproducible. We are continuing to investigate. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Thu Nov 19 16:45: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 8C4C8A33FC1 for ; Thu, 19 Nov 2015 16:45:12 +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 6FD5E1A31 for ; Thu, 19 Nov 2015 16:45:12 +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 tAJGjCYU027090 for ; Thu, 19 Nov 2015 16:45:12 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 202875] ixv driver in 11.0-CURRENT doesn't pass traffic using KVM hypervisor Date: Thu, 19 Nov 2015 16:45:12 +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 Many People X-Bugzilla-Who: jeffrey.e.pieper@intel.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, 19 Nov 2015 16:45:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202875 --- Comment #10 from Jeff Pieper --- This should be fixed in the series of patches currently under review in Phabricator: https://reviews.freebsd.org/D4186. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Thu Nov 19 19:04:00 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 8F15DA33DB2 for ; Thu, 19 Nov 2015 19:04:00 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 75978131F for ; Thu, 19 Nov 2015 19:04:00 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [192.168.200.208] (unknown [50.136.155.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id AC6331928D7 for ; Thu, 19 Nov 2015 19:03:58 +0000 (UTC) To: "freebsd-net@freebsd.org" From: Sean Bruno Subject: [CFT] Updates to ixgbe(4) Message-ID: <564E1D1D.9070007@freebsd.org> Date: Thu, 19 Nov 2015 11:03:57 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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: Thu, 19 Nov 2015 19:04:00 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Intel has posted a phabricator review for -current that enables support for X552 SFP+ 10 GbE, and the single port version of X550T. At this point we are looking to ensure there are no breakages on existing installs. Please give this a test at your earliest possible convenience. https://reviews.freebsd.org/D4186 sean -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJWTh0bXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kWkUIAMoZSrjCQiHLBDtuKdZyAINx ZTW99dQ84tY9QLyvb/Z4giNzV1HtCFyraTtwgGyWGeiIxK2LyZs+9p8UCJ13334u YQMyjWVsJPvYuiLaxDoB6swU971gEskMbM3sLKxBmPijTSzz7nBg2dm40+EU3PSP 6Tpcl4HaQv6WrAHOrHNbDZtbQUEm2DYP3yuS8/VYX2VDRKHosm4vzeG44mGf4pGh eKR+8UZIh6hm8sblOpT5LaXpah5Zc8EHvQUnNVvJ+U98LSc5hubM3mEAdnKBx/14 4XRExGTJrqM0ainqpEiZiJVddh1g0RL//DANeHHZJ8t0FFeMr05H12TVZrDOD2o= =R7Ql -----END PGP SIGNATURE----- From owner-freebsd-net@freebsd.org Thu Nov 19 19:15:10 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 E5FD5A33F49 for ; Thu, 19 Nov 2015 19:15:10 +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 D197118E4 for ; Thu, 19 Nov 2015 19:15:10 +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 tAJJFAVb075353 for ; Thu, 19 Nov 2015 19:15:10 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204340] [panic] nfsd, em, msix, fatal trap 9 Date: Thu, 19 Nov 2015 19:15:10 +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.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, crash, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: g_amanakis@yahoo.com X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rmacklem@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: Thu, 19 Nov 2015 19:15:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204340 --- Comment #11 from g_amanakis@yahoo.com --- I am currently testing with the three last patches applied as I do have NFSv4.1 clients running on Linux. Give me a couple of days and I will provide feedback. Thank you for the insight. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Thu Nov 19 20:35:37 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 D827BA33278 for ; Thu, 19 Nov 2015 20:35:37 +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 C4EB018CA for ; Thu, 19 Nov 2015 20:35:37 +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 tAJKZbgE070281 for ; Thu, 19 Nov 2015 20:35:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 202680] Silent data corruption on em(4) interfaces Date: Thu, 19 Nov 2015 20:35:38 +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.2-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: KOT@MATPOCKuH.Ru X-Bugzilla-Status: In Progress 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, 19 Nov 2015 20:35:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202680 --- Comment #23 from Dmitry Afanasiev --- (In reply to Yaniv Kunda from comment #22) Yaniv, is PF(4) used on your system with em interfaces? I tested another Sun X4200 with em(4) interfaces and I have *NO* problem with data corruption! On this system I checked: 10.1-STABLE r280356 with uptime 231 days 10.2-STABLE r290385 with uptime 8 days Sun X4200 have same to X4100 motherboard, BIOS patch level and network interfaces. Only ONE difference - on X4200 PF functionality was disabled. After a week I can enable PF on my X4200 and recheck. Also, on X4100 I got data corruption several times immediately after system's boot. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Thu Nov 19 20:58: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 6EAC5A339A7 for ; Thu, 19 Nov 2015 20:58: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 5AEF91EF3 for ; Thu, 19 Nov 2015 20:58: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 tAJKwl3L014275 for ; Thu, 19 Nov 2015 20:58:47 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 202875] ixv driver in 11.0-CURRENT doesn't pass traffic using KVM hypervisor Date: Thu, 19 Nov 2015 20:58: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: 11.0-CURRENT X-Bugzilla-Keywords: IntelNetworking, needs-qa, patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: koobs@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: bug_file_loc keywords 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, 19 Nov 2015 20:58:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202875 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://reviews.freebsd.org | |/D4186 Keywords| |needs-qa, patch -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Thu Nov 19 23:14: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 9C610A327C2; Thu, 19 Nov 2015 23:14:42 +0000 (UTC) (envelope-from hiren@strugglingcoder.info) Received: from mail.strugglingcoder.info (strugglingcoder.info [65.19.130.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.strugglingcoder.info", Issuer "mail.strugglingcoder.info" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8B1611553; Thu, 19 Nov 2015 23:14:41 +0000 (UTC) (envelope-from hiren@strugglingcoder.info) Received: from localhost (unknown [10.1.1.3]) (Authenticated sender: hiren@strugglingcoder.info) by mail.strugglingcoder.info (Postfix) with ESMTPA id 7DB56C4946; Thu, 19 Nov 2015 15:14:40 -0800 (PST) Date: Thu, 19 Nov 2015 15:14:40 -0800 From: hiren panchasara To: Randall Stewart Cc: FreeBSD Transports , freebsd-net@FreeBSD.org Subject: dupack counter processing Message-ID: <20151119231440.GE98283@strugglingcoder.info> References: <20151018003740.GE87252@strugglingcoder.info> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8TaQrIeukR7mmbKf" Content-Disposition: inline In-Reply-To: <20151018003740.GE87252@strugglingcoder.info> 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: Thu, 19 Nov 2015 23:14:42 -0000 --8TaQrIeukR7mmbKf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable + freebsd-net as this deserves more eyeballs, imo. On 10/17/15 at 05:37P, hiren panchasara wrote: > On 10/07/15 at 12:17P, Randall Stewart via freebsd-transport wrote: > >=20 > > 2) When we recognize a dup-ack we *will not* recognize it if for exampl= e if the rwnd changes even > > if new SACK information is reported in the sack blocks. This is due= to the fact that in non-SACK you don?t > > (on purpose) recognize ACK?s where the window changed (since you ca= n?t really tell if its a > > plain window update or a dup-ack).. This means we occasionally mis= s out > > on stroking the dup-ack counter and getting out of recovery.... After a lot of discussion with Randall and colleagues at Limelight, here is the patch for review: https://reviews.freebsd.org/D4225 This changes the default behavior of how we detect loss. I'd appreciate review/comments. Cheers, Hiren --8TaQrIeukR7mmbKf Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAABCgBmBQJWTlfcXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNEUyMEZBMUQ4Nzg4RjNGMTdFNjZGMDI4 QjkyNTBFMTU2M0VERkU1AAoJEIuSUOFWPt/l7tgIAKfxmxuhg/qh1TFQsb2fVk8m UYTHkQkeFmr7hGkyDVt4196D9yPzp8Xvdk7L5d5N3jKyErEBzBPlh9rHWVHsijA2 7v1H4KmNf9w8gYVTVSh727DcdWODJtJJEPDCn1bygaRV0UmaVxMjrbOUcub1fU+e EegM/n0eQlbDN2FD/GjLJu8HFw6M25Grwf2r56XO4/l7NvUqZGFxKYaa+mvcIZWe 7XJPsRtIpgKZJ2ZQ51BDzgpUSCl76bEJ9MjipJ6CbsF+Av5HBC7Bm5gu7TZKlCn6 EPWjPr+4AS8BDVTa6Ju92yD5q4SOQmRBjWB0dnr8a8w1vLhSGD1AEz4IJUmoCD8= =WsbP -----END PGP SIGNATURE----- --8TaQrIeukR7mmbKf-- From owner-freebsd-net@freebsd.org Fri Nov 20 01:40:46 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 0768BA3248C for ; Fri, 20 Nov 2015 01:40:46 +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 E686C1EB3 for ; Fri, 20 Nov 2015 01:40:45 +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 tAK1ejnt004962 for ; Fri, 20 Nov 2015 01:40:45 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 188899] [cas] cas ethernet driver seems to have issues with some multiport card and mother board combinations Date: Fri, 20 Nov 2015 01:40:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marius@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, 20 Nov 2015 01:40:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188899 --- Comment #10 from Marius Strobl --- (In reply to Pyun YongHyeon from comment #9) The MACs in question are Saturn ones rather than old Cassinis. Some of these former fail to disable the RX part on the first try, which isn't fatal and subsequent attempts succeed. That's why that message is under bootverbose. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Fri Nov 20 02:23:24 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 EA294A32B3F for ; Fri, 20 Nov 2015 02:23:24 +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 D53661DF1 for ; Fri, 20 Nov 2015 02:23:24 +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 tAK2NOYQ049987 for ; Fri, 20 Nov 2015 02:23:24 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 188899] [cas] cas ethernet driver seems to have issues with some multiport card and mother board combinations Date: Fri, 20 Nov 2015 02:23: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.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marius@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, 20 Nov 2015 02:23:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188899 --- Comment #11 from Marius Strobl --- (In reply to Ron from comment #8) Thanks, that helped. However, what you are seeing is an entirely different problem than what this PR is about and as the original one actually not related to cas(4) either. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Fri Nov 20 02:24: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 16EDDA32BED for ; Fri, 20 Nov 2015 02:24: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 0245F1FEF for ; Fri, 20 Nov 2015 02:24: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 tAK2OHlZ086694 for ; Fri, 20 Nov 2015 02:24:17 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 188899] [cas] cas ethernet driver seems to have issues with some multiport card and mother board combinations Date: Fri, 20 Nov 2015 02:24:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@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, 20 Nov 2015 02:24:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188899 --- Comment #12 from commit-hook@freebsd.org --- A commit references this bug: Author: marius Date: Fri Nov 20 02:23:36 UTC 2015 New revision: 291088 URL: https://svnweb.freebsd.org/changeset/base/291088 Log: Avoid a NULL pointer dereference in bounce_bus_dmamap_sync() when the map has been created via bounce_bus_dmamem_alloc(). Even for coherent DMA - which bus_dmamem_alloc(9) typically is used for -, calling of bus_dmamap_sync(9) isn't optional. PR: 188899 (non-original problem) MFC after: 3 days Changes: head/sys/arm64/arm64/busdma_bounce.c head/sys/x86/x86/busdma_bounce.c -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Fri Nov 20 02:26:32 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 90647A32C84 for ; Fri, 20 Nov 2015 02:26:32 +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 7C1D710B6 for ; Fri, 20 Nov 2015 02:26:32 +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 tAK2QWWM062377 for ; Fri, 20 Nov 2015 02:26:32 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 188897] [dc] dc ethernet driver seems to prevent the detection of other NIC chipsets Date: Fri, 20 Nov 2015 02:26: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: 10.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marius@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, 20 Nov 2015 02:26:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188897 --- Comment #11 from Marius Strobl --- *** Bug 188899 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Fri Nov 20 02:26:32 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 612F6A32C7F for ; Fri, 20 Nov 2015 02:26:32 +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 4C81310B5 for ; Fri, 20 Nov 2015 02:26:32 +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 tAK2QWmG062262 for ; Fri, 20 Nov 2015 02:26:32 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 188899] [cas] cas ethernet driver seems to have issues with some multiport card and mother board combinations Date: Fri, 20 Nov 2015 02:26: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: 10.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marius@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: Fri, 20 Nov 2015 02:26:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188899 Marius Strobl changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|In Progress |Closed --- Comment #13 from Marius Strobl --- *** This bug has been marked as a duplicate of bug 188897 *** -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Fri Nov 20 09:42: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 58AF5A33354 for ; Fri, 20 Nov 2015 09:42:03 +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 3EF991785 for ; Fri, 20 Nov 2015 09:42:03 +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 tAK9g3c9045664 for ; Fri, 20 Nov 2015 09:42:03 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204437] 10.2 STABLE Crashing with IPSec Support Date: Fri, 20 Nov 2015 09:42:02 +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.2-STABLE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emeric.poupon@stormshield.eu X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: mfc-stable9? mfc-stable10? X-Bugzilla-Changed-Fields: attachments.created 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, 20 Nov 2015 09:42:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204437 --- Comment #13 from emeric.poupon@stormshield.eu --- Created attachment 163350 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=163350&action=edit Fix race in in_pcbrele_wlocked We are now sure there is a race in in_pcbrele_wlocked: the returned inp may have been freed (problem spotted on a test machine) Please try the attached patch. Additionally, we would need to check every caller to make sure they check the inp once they unlock/relock the inp -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Fri Nov 20 12:16: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 21F73A32454 for ; Fri, 20 Nov 2015 12:16:40 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B1B7C1BD8; Fri, 20 Nov 2015 12:16:39 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221]) by hz.grosbein.net (8.14.9/8.14.9) with ESMTP id tAKCGQLW045505 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 20 Nov 2015 13:16:28 +0100 (CET) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: freebsd-net@FreeBSD.org Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTP id tAKCGHwl002319; Fri, 20 Nov 2015 19:16:18 +0700 (KRAT) (envelope-from eugen@grosbein.net) To: freebsd-net@FreeBSD.org Cc: hrs@freebsd.org From: Eugene Grosbein Subject: Broken gif configuration compatibity Message-ID: <564F0F11.5010405@grosbein.net> Date: Fri, 20 Nov 2015 19:16:17 +0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM autolearn=no version=3.3.2 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hz.grosbein.net 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, 20 Nov 2015 12:16:40 -0000 Hi! I've just upgraded my 9.3-STABLE system to 10.2-STABLE and found that my gif-interfaces no longer have "inet" IP addresses after boot. "tunnel" addresses are still assigned. I've digged this and found small bug in the commint https://svnweb.freebsd.org/base?view=revision&revision=253924 that broken this. It overrides ifconfig_${ifn} with tunnel settings instead of adding them to this variable. One-line trivial fix restores compatibility: --- src/network.subr.orig 2015-11-19 16:53:25.509440000 +0700 +++ src/network.subr 2015-11-20 18:47:36.914275000 +0700 @@ -1330,7 +1330,7 @@ _list="$_list $ifn" fi tmpargs=$(get_if_var $ifn gifconfig_IF) - eval ifconfig_${ifn}=\"tunnel \$tmpargs\" + eval ifconfig_${ifn}=\"\$ifconfig_${ifn} tunnel \$tmpargs\" done if [ -n "${_list# }" ]; then echo "Created clone interfaces: ${_list# }." I've just filled PR https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204700 Please consider fixing this. Eugene Grosbein From owner-freebsd-net@freebsd.org Fri Nov 20 14:20: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 8C14EA33E7E for ; Fri, 20 Nov 2015 14:20:20 +0000 (UTC) (envelope-from gibheer@zero-knowledge.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 7A1E319E6 for ; Fri, 20 Nov 2015 14:20:20 +0000 (UTC) (envelope-from gibheer@zero-knowledge.org) Received: by mailman.ysv.freebsd.org (Postfix) id 76939A33E7D; Fri, 20 Nov 2015 14:20:20 +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 75396A33E7C for ; Fri, 20 Nov 2015 14:20:20 +0000 (UTC) (envelope-from gibheer@zero-knowledge.org) Received: from zero-knowledge.org (zero-knowledge.org [IPv6:2a01:4f8:190:50d1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 37B3519E5 for ; Fri, 20 Nov 2015 14:20:20 +0000 (UTC) (envelope-from gibheer@zero-knowledge.org) Received: from sodium.zero (213-146-235-56.skytron.de [213.146.235.56]) by zero-knowledge.org (Postfix) with ESMTPSA id 0C68413A2F for ; Fri, 20 Nov 2015 15:20:12 +0100 (CET) Date: Fri, 20 Nov 2015 15:21:39 +0100 From: Gibheer To: net@freebsd.org Subject: porting of dladm Message-ID: <20151120152139.1634d0fd@sodium.zero> X-Mailer: Claws Mail 3.13.0 (GTK+ 2.24.28; x86_64-unknown-linux-gnu) 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: Fri, 20 Nov 2015 14:20:20 -0000 Hi FreeBSD networker, for some years now, I'm using FreeBSD coming from OpenSolaris and later OmniOS. The one thing I'm missing after all this time is the network handling. VIMAGE was a big step forward around 2010/2011, but it is still not at the point where crossbow on Illumos already is. Also ifconfig was deprecated shortly before the closing of opensolaris. Yes, the stuff left behind was broken, but I think the idea behind splitting up ifconfig into separate tools was a very good idea. After all that time waiting for things to get better in FreeBSD, I want to help make things better. For that, the first step I want to do is to port dladm and ipadm to FreeBSD. These tools split the hardware configuration from the protocol configuration, where dladm configures all kind of network devices and ipadm concentrates on ip configuration. For people who have never seen dladm, I can recommend the man page http://illumos.org/man/1M/dladm dladm is implemented as a client/server program, where the server runs in the background and handles the network interface configuration. The command line client sends messages to the server on what the user wants it to do. As I am not that good to decide if that is a good approach or not, I will start porting it to freebsd and on the way figure out, what might be good to change to make it work in a better way. In the long term, I want to use dladm as a platform to get other features into FreeBSD like the virtual switch or wifi configuration wihtout the need to install additional tools (maybe we can have something without wpa_supplicant?). Is there interest in this project at all or does anyone know if someone else is working on a similar project? Thank you, Gibheer From owner-freebsd-net@freebsd.org Fri Nov 20 15:08: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 1D62BA3467B for ; Fri, 20 Nov 2015 15:08:11 +0000 (UTC) (envelope-from ddb@neosystem.org) Received: from mail.neosystem.cz (mail.neosystem.cz [IPv6:2001:41d0:2:5ab8::10:15]) (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 C7E8A1388 for ; Fri, 20 Nov 2015 15:08:10 +0000 (UTC) (envelope-from ddb@neosystem.org) Received: from mail.neosystem.cz (unknown [127.0.10.15]) by mail.neosystem.cz (Postfix) with ESMTP id 6F20EB803 for ; Fri, 20 Nov 2015 16:08:00 +0100 (CET) X-Virus-Scanned: amavisd-new at mail.neosystem.cz Received: from iron.sn.neosystem.cz (unknown [IPv6:2001:41d0:2:5ab8::100:107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.neosystem.cz (Postfix) with ESMTPSA id 4E31AB7FD for ; Fri, 20 Nov 2015 16:07:55 +0100 (CET) Date: Fri, 20 Nov 2015 15:55:11 +0100 From: Daniel Bilik To: freebsd-net@freebsd.org Subject: Outgoing packets being sent via wrong interface Message-Id: <20151120155511.5fb0f3b07228a0c829fa223f@neosystem.org> X-Mailer: Sylpheed 3.4.3 (GTK+ 2.24.28; amd64-portbld-freebsd10.2) 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: Fri, 20 Nov 2015 15:08:11 -0000 Hi. (Please keep me in CC as I'm not subscribed to freebsd-net@.) A router running recent 10-stable configured like this... re0: flags=8843 metric 0 mtu 1500 options=8209b ether 90:2b:34:bb:b2:e7 inet 82.x.y.50 netmask 0xfffffff0 broadcast 82.x.y.255 nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active re1: flags=8843 metric 0 mtu 1500 options=8209b ether b8:a3:86:7b:e9:9c inet 192.168.2.8 netmask 0xffffff00 broadcast 192.168.2.255 inet 192.168.2.5 netmask 0xffffff00 broadcast 192.168.2.255 inet 192.168.2.15 netmask 0xffffff00 broadcast 192.168.2.255 inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255 nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active ... exhibits a very weird behaviour. When rebooted, it runs (= routes traffic) with no problem. After some time (or maybe after some event, see below), it starts to think that some hosts from 192.168.2.x subnet are "outside" and sends _some_ packets destined to 192.168.2.x via re0 interface. The most absurd is the case when a jail @ 192.168.2.5 makes a tcp connection to jail @ 192.168.2.15, and the system tries to push this via re0. There is pf nat rule on re0 that updates the sender address, and packets are then dropped by firewall rules that prohibit sending packets to private subnets via public interface. This is a capture from pflog... 00:00:00.151624 rule 53..16777216/0(match): block out on re0: 82.x.y.50.59615 > 192.168.2.15.3306: Flags [.], ack 3421441707, win 1275, options [nop,nop,TS val 250304266 ecr 1531964207], length 0 00:00:00.000226 rule 53..16777216/0(match): block out on re0: 82.x.y.50.55539 > 192.168.2.15.3306: Flags [.], ack 3421441707, win 1275, options [nop,nop,TS val 250304266 ecr 1531964207], length 0 00:00:00.000143 rule 53..16777216/0(match): block out on re0: 82.x.y.50.50682 > 192.168.2.15.3306: Flags [P.], seq 2828804971:2828805095, ack 3421441707, win 1275, options [nop,nop,TS val 250304266 ecr 1531964207], length 124 ... and this is the case when jail @ 192.168.2.15 makes request to DNS server running @ 192.168.2.1... 00:00:01.784024 rule 53..16777216/0(match): block out on re0: 82.x.y.50.57878 > 192.168.2.15.12269: UDP, length 104 00:00:00.001487 rule 53..16777216/0(match): block out on re0: 82.x.y.50.65204 > 192.168.2.15.12269: UDP, length 178 00:00:00.002425 rule 53..16777216/0(match): block out on re0: 82.x.y.50.59323 > 192.168.2.15.12269: UDP, length 229 00:00:00.026260 rule 53..16777216/0(match): block out on re0: 82.x.y.50.55382 > 192.168.2.15.12269: UDP, length 120 In both cases, response packets, originally from 192.168.2.5 and 192.168.2.1, are natted to sender 82.x.y.50 and pushed out via re0. Weird is also ping result for affected address... PING 192.168.2.15 (192.168.2.15): 56 data bytes ping: sendto: Operation not permitted ping: sendto: Operation not permitted 64 bytes from 192.168.2.15: icmp_seq=2 ttl=64 time=0.027 ms ping: sendto: Operation not permitted 64 bytes from 192.168.2.15: icmp_seq=4 ttl=64 time=0.102 ms It seems like some packets go the right way, some go wrong (and are dropped by pf -> "not permitted"). Routing and ARP table entries are correct... 82.x.y.0/24 link#2 U re0 82.x.y.50 link#2 UHS lo0 192.168.2.0/24 link#3 U re1 192.168.2.1 link#3 UHS lo0 192.168.2.5 link#3 UHS lo0 192.168.2.8 link#3 UHS lo0 192.168.2.15 link#3 UHS lo0 ? (192.168.2.15) at b8:a3:86:7b:e9:9c on re1 permanent [ethernet] ? (192.168.2.5) at b8:a3:86:7b:e9:9c on re1 permanent [ethernet] ? (82.x.y.50) at 90:2b:34:bb:b2:e7 on re0 permanent [ethernet] Refreshing ARP entries (by removing them) and/or manually adding specific host routes does not help. Only reboot cures the problem. May be related: the host has a cron task that changes default route based on a connectivity check. On another host (identical software- and hardware-wise), that serves the same purpose in another locality, just without default route mangling, we've never observed this weird behaviour. Note: the host was previously running 9-stable, same configuration, including the cron task to update default route. But problems described above started just after upgrading it to 10-stable. Has anybody observed such behaviour on any 10.x system? Any hints on how to debug and/or solve the problem, when it happens? Thanks for your attention. -- Dan From owner-freebsd-net@freebsd.org Fri Nov 20 15:18: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 D4890A3484E for ; Fri, 20 Nov 2015 15:18:13 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from venus.codepro.be (venus.codepro.be [IPv6:2a01:4f8:162:1127::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.codepro.be", Issuer "Gandi Standard SSL CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9655419EA for ; Fri, 20 Nov 2015 15:18:13 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from [IPv6:::1] (vega.codepro.be [IPv6:2a01:4f8:162:1127::3]) by venus.codepro.be (Postfix) with ESMTPSA id 4445C26B34; Fri, 20 Nov 2015 16:18:10 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Subject: Re: Outgoing packets being sent via wrong interface From: Kristof Provost In-Reply-To: <20151120155511.5fb0f3b07228a0c829fa223f@neosystem.org> Date: Fri, 20 Nov 2015 16:18:10 +0100 Cc: freebsd-net@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: <20151120155511.5fb0f3b07228a0c829fa223f@neosystem.org> To: Daniel Bilik X-Mailer: Apple Mail (2.3112) 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, 20 Nov 2015 15:18:13 -0000 > On 20 Nov 2015, at 15:55, Daniel Bilik wrote: > Any hints on how to debug and/or solve the problem, when it happens? Can you post your pf rules too? Thanks, Kristof From owner-freebsd-net@freebsd.org Fri Nov 20 15:18: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 4BCE7A34884 for ; Fri, 20 Nov 2015 15:18:48 +0000 (UTC) (envelope-from dan_partelly@rdsor.ro) 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 395051A90 for ; Fri, 20 Nov 2015 15:18:48 +0000 (UTC) (envelope-from dan_partelly@rdsor.ro) Received: by mailman.ysv.freebsd.org (Postfix) id 36358A34883; Fri, 20 Nov 2015 15:18: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 35C7BA34882 for ; Fri, 20 Nov 2015 15:18:48 +0000 (UTC) (envelope-from dan_partelly@rdsor.ro) Received: from mail.rdsor.ro (mail.rdsor.ro [193.231.238.10]) by mx1.freebsd.org (Postfix) with ESMTP id C76F71A8F for ; Fri, 20 Nov 2015 15:18:47 +0000 (UTC) (envelope-from dan_partelly@rdsor.ro) Received: from email.rdsor.ro (ftp.rdsor.ro [193.231.238.4]) by mail.rdsor.ro (Postfix) with ESMTP id 57AA81FADB; Fri, 20 Nov 2015 17:18:46 +0200 (EET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Date: Fri, 20 Nov 2015 17:18:58 +0200 From: dan_partelly To: Gibheer Cc: Subject: Re: porting of dladm In-Reply-To: <20151120152139.1634d0fd@sodium.zero> References: <20151120152139.1634d0fd@sodium.zero> Message-ID: <9efd50c39b12413be95f0d8b7731c293@rdsor.ro> X-Sender: dan_partelly@rdsor.ro User-Agent: RoundCube Webmail/0.4-beta 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, 20 Nov 2015 15:18:48 -0000 As I am not that good to decide if that is a good approach or not, I > will start porting it to freebsd and on the way figure out, what might > be good to change to make it work in a better way. > > http://illumos.org/man/1M/dladm > > dladm is implemented as a client/server program, where the server runs > in the background and handles the network interface configuration. The > command line client sends messages to the server on what the user wants > it to do. > It is a good approach. From multiple reasons such as : -ability to separate privileges (for ex keep config file parser in a separate process, parsers are notoriously troublesome components. - ability to run clients in capabilities modes. -possibility to delegate administration to other users (requires additional fine grained permission mechanism in FreeBSD) -server presents a central IPC point which can be called by multiple components. Solaris uses a synchronous fast IPC mechanism called doors in many of their administrative daemons, at the present time FreEBSD doesn't have a similar one, but you can use unix domain just OK It is my opinion that you would be well served by: 1. abstract FreeBSD specific code libraries (not for portability reasons. But to enable others to reuse those very important entry points easily) 2. use a transactional database model for the files where you will keep your settings 3. look at capabilities mode in FreeBSD capsicum to implement the protection model in clients and co-processes. 4. look at nvlist library which will apear in FreEBSD 11 to help you design your IPC entry points 5. design with the possibility for delegated administration in mind, although most likely you would have to add it later. 6. think to other candiates which can be assimilated in same control daemon (or in separate, but similar ones ) most obvious candidates: dhcp, rtsol .. in adition to ifconfig and wpa this is the way of the future in enterprise OSes. Efforts like this are part, or will be soon, of the plans in many operating systems today. Solaris has wonderful Enterprise features. It will not be easy to design this to fit cleanly with FreeBSD as it is now, but it is possible. It is a great project, in my opinion. From owner-freebsd-net@freebsd.org Fri Nov 20 15:40: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 14446A34DA2 for ; Fri, 20 Nov 2015 15:40:11 +0000 (UTC) (envelope-from ddb@neosystem.org) Received: from mail.neosystem.cz (mail.neosystem.cz [94.23.169.88]) (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 C59371A6F; Fri, 20 Nov 2015 15:40:10 +0000 (UTC) (envelope-from ddb@neosystem.org) Received: from mail.neosystem.cz (unknown [127.0.10.15]) by mail.neosystem.cz (Postfix) with ESMTP id 34DD8B8CB; Fri, 20 Nov 2015 16:40:08 +0100 (CET) X-Virus-Scanned: amavisd-new at mail.neosystem.cz Received: from iron.sn.neosystem.cz (unknown [IPv6:2001:41d0:2:5ab8::100:107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.neosystem.cz (Postfix) with ESMTPSA id 54683B8C1; Fri, 20 Nov 2015 16:40:07 +0100 (CET) Date: Fri, 20 Nov 2015 16:34:31 +0100 From: Daniel Bilik To: Kristof Provost Cc: freebsd-net@freebsd.org Subject: Re: Outgoing packets being sent via wrong interface Message-Id: <20151120163431.3449a473db9de23576d3a4b4@neosystem.org> In-Reply-To: References: <20151120155511.5fb0f3b07228a0c829fa223f@neosystem.org> X-Mailer: Sylpheed 3.4.3 (GTK+ 2.24.28; amd64-portbld-freebsd10.2) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Fri__20_Nov_2015_16_34_31_+0100_mPjLYuNwZBB1dD9q" 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, 20 Nov 2015 15:40:11 -0000 This is a multi-part message in MIME format. --Multipart=_Fri__20_Nov_2015_16_34_31_+0100_mPjLYuNwZBB1dD9q Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 20 Nov 2015 16:18:10 +0100 Kristof Provost wrote: > Can you post your pf rules too? Sure, pf.conf attached. -- Dan --Multipart=_Fri__20_Nov_2015_16_34_31_+0100_mPjLYuNwZBB1dD9q Content-Type: text/plain; name="pf.conf" Content-Disposition: attachment; filename="pf.conf" Content-Transfer-Encoding: base64 aW50X2lmPSJyZTEiDQpleHRfaWY9InJlMCINCnZwbl9pZj0idGFwMCINCmV4dF9hZGRyPSI4Mi54 LnkuNTAiDQppbnRfbmV0PSIxOTIuMTY4LjIuMC8yNCINCnZwbl9uZXQ9InsgMTkyLjE2OC4xLjAv MjQsIDE5Mi4xNjguNC4wLzI0LCAxOTIuMTY4LjEyMy4wLzI0IH0iDQpwcml2X25ldD0ieyAxMC4w LjAuMC84LCAxNzIuMTYuMC4wLzEyLCAxOTIuMTY4LjAuMC8xNiwgMjI0LjAuMC4xLCAyMjQuMC4w LjIsIDIyNC4wLjAuNCwgMjI0LjAuMC41LCAyMjQuMC4wLjYsIDIyNC4wLjAuOSwgMjI0LjAuMC4x MywgMjI0LjAuMC4xNSB9Ig0Kd2VibWFpbD0iMTkyLjE2OC4yLjUiDQptYWlsc2VydmVyPSIxOTIu MTY4LjIuMTUiDQpkbnNzZXJ2ZXI9InsgMTkyLjE2OC4yLjAvMjgsIDE5Mi4xNjguMS4wLzI4IH0i DQpzd2l0Y2hib2FyZD0iMTkyLjE2OC4yLjE2Ig0KY2FtZXJhPSIxOTIuMTY4LjIuMjIxIg0KDQpz ZXQgc2tpcCBvbiB7IGxvMCwgJHZwbl9pZiB9DQoNCnNjcnViIGluIG9uICRleHRfaWYgYWxsIGZy YWdtZW50IHJlYXNzZW1ibGUNCnNjcnViIG91dCBvbiAkZXh0X2lmIHJhbmRvbS1pZA0KDQojIHRy YWZmaWMgY29udHJvbA0KDQphbHRxIG9uICRleHRfaWYgYmFuZHdpZHRoIDhNYiBjYnEgcXVldWUg eyBzc2gsIHZwbiwgbWFpbCwgd2ViLCBkZWZhdWx0IH0NCg0KcXVldWUgdnBuIGJhbmR3aWR0aCAy TWIgcHJpb3JpdHkgNSBjYnEoYm9ycm93KQ0KcXVldWUgc3NoIGJhbmR3aWR0aCAxTWIgcHJpb3Jp dHkgNCBjYnEoYm9ycm93KQ0KcXVldWUgd2ViIGJhbmR3aWR0aCAxTWIgcHJpb3JpdHkgMyBjYnEo Ym9ycm93KQ0KcXVldWUgbWFpbCBiYW5kd2lkdGggMU1iIHByaW9yaXR5IDIgY2JxKGJvcnJvdykN CnF1ZXVlIGRlZmF1bHQgYmFuZHdpZHRoIDJNYiBwcmlvcml0eSAxIGNicShkZWZhdWx0LCBib3Jy b3cpDQoNCiMgbmF0DQoNCiMgbm90ZTogZG8gbm90IGNoYW5nZSBzb3VyY2UgcG9ydCBmb3IgdGhp cyBzcGVjaWZpYyBzaXAgY29tbXVuaWNhdGlvbg0KbmF0IG9uICRleHRfaWYgcHJvdG8gdWRwIGZy b20gJHN3aXRjaGJvYXJkIHRvIDE4OC54LnkuMC8yNCAtPiAkZXh0X2FkZHIgc3RhdGljLXBvcnQN Cg0KbmF0IG9uICRleHRfaWYgZnJvbSAkaW50X25ldCB0byBhbnkgLT4gJGV4dF9hZGRyDQoNCnJk ciBvbiAkZXh0X2lmIHByb3RvIHRjcCBmcm9tIGFueSB0byAkZXh0X2FkZHIgcG9ydCB7IDI1LCA0 NjUsIDU4NywgOTk1IH0gLT4gJG1haWxzZXJ2ZXINCnJkciBvbiAkZXh0X2lmIHByb3RvIHRjcCBm cm9tIGFueSB0byAkZXh0X2FkZHIgcG9ydCB7IDQ0MywgNzc3LCA1MTQ1IH0gLT4gJHdlYm1haWwN CnJkciBvbiAkZXh0X2lmIHByb3RvIHRjcCBmcm9tIGFueSB0byAkZXh0X2FkZHIgcG9ydCB7IDU1 NCwgNjAzNiB9IC0+ICRjYW1lcmENCnJkciBvbiAkZXh0X2lmIHByb3RvIHRjcCBmcm9tIGFueSB0 byAkZXh0X2FkZHIgcG9ydCA2NTQzIC0+ICRzd2l0Y2hib2FyZA0KcmRyIG9uICRleHRfaWYgcHJv dG8gdGNwIGZyb20gYW55IHRvICRleHRfYWRkciBwb3J0IDY5OTIgLT4gJHN3aXRjaGJvYXJkDQoN Cm5hdC1hbmNob3IgImZ0cC1wcm94eS8qIg0KcmRyLWFuY2hvciAiZnRwLXByb3h5LyoiDQpyZHIg cGFzcyBvbiAkaW50X2lmIHByb3RvIHRjcCBmcm9tICRpbnRfbmV0IHRvIGFueSBwb3J0IDIxIC0+ IDEyNy4wLjAuMSBwb3J0IDgwMjENCg0KIyBmaXJld2FsbA0KDQpibG9jayBpbiBsb2cgYWxsDQoN CnBhc3MgaW4gcXVpY2sgb24gJGludF9pZiBpbmV0IHByb3RvIGNhcnANCg0KcGFzcyBpbiBxdWlj ayBvbiAkaW50X2lmIGluZXQgcHJvdG8gdGNwIGZyb20gYW55IHRvICRtYWlsc2VydmVyIHBvcnQg eyAyNSwgNDY1LCA1ODcsIDEwMDI0IH0ga2VlcCBzdGF0ZQ0KYmxvY2sgaW4gbG9nIHF1aWNrIG9u ICRpbnRfaWYgaW5ldCBwcm90byB0Y3AgZnJvbSBhbnkgdG8gYW55IHBvcnQgeyAyNSwgNDY1LCA1 ODcgfQ0KDQpwYXNzIGluIHF1aWNrIG9uICRpbnRfaWYgaW5ldCBwcm90byB7IHRjcCwgdWRwIH0g ZnJvbSBhbnkgdG8gJGRuc3NlcnZlciBwb3J0IDUzIGtlZXAgc3RhdGUNCnBhc3MgaW4gcXVpY2sg b24gJGludF9pZiBpbmV0IHByb3RvIHsgdGNwLCB1ZHAgfSBmcm9tICRkbnNzZXJ2ZXIgdG8gYW55 IHBvcnQgNTMga2VlcCBzdGF0ZQ0KYmxvY2sgaW4gbG9nIHF1aWNrIG9uICRpbnRfaWYgaW5ldCBw cm90byB7IHRjcCwgdWRwIH0gZnJvbSBhbnkgdG8gYW55IHBvcnQgNTMNCg0KcGFzcyBpbiBxdWlj ayBvbiAkaW50X2lmIGluZXQgZnJvbSAkaW50X25ldCB0byBhbnkga2VlcCBzdGF0ZQ0KcGFzcyBp biBxdWljayBvbiAkaW50X2lmIGluZXQgZnJvbSAkdnBuX25ldCB0byAkaW50X25ldCBrZWVwIHN0 YXRlDQoNCnBhc3MgaW4gcXVpY2sgb24gJGludF9pZiBwcm90byBncmUgZnJvbSAkaW50X25ldCB0 byA4Mi54LnkuMjIga2VlcCBzdGF0ZQ0KDQpibG9jayBpbiBsb2cgcXVpY2sgb24gJGV4dF9pZiBm cm9tICRwcml2X25ldCB0byBhbnkNCg0KcGFzcyBpbiBxdWljayBvbiAkZXh0X2lmIGluZXQgcHJv dG8gaWNtcCBmcm9tIGFueSB0byAkZXh0X2FkZHINCnBhc3MgaW4gcXVpY2sgb24gJGV4dF9pZiBp bmV0IHByb3RvIHVkcCBmcm9tIDgyLngueS42MiB0byAkZXh0X2FkZHIgcG9ydCAxMTk0IGtlZXAg c3RhdGUgcXVldWUgdnBuDQpwYXNzIGluIHF1aWNrIG9uICRleHRfaWYgaW5ldCBwcm90byB0Y3Ag ZnJvbSBhbnkgdG8gJGV4dF9hZGRyIHBvcnQgMjIga2VlcCBzdGF0ZSBxdWV1ZSBzc2gNCnBhc3Mg aW4gcXVpY2sgb24gJGV4dF9pZiBpbmV0IHByb3RvIHRjcCBmcm9tIGFueSB0byAkbWFpbHNlcnZl ciBwb3J0IHsgMjUsIDQ2NSwgNTg3LCA5OTUgfSBrZWVwIHN0YXRlIChzb3VyY2UtdHJhY2sgcnVs ZSwgbWF4LXNyYy1jb25uIDUwKSBxdWV1ZSBtYWlsDQpwYXNzIGluIHF1aWNrIG9uICRleHRfaWYg aW5ldCBwcm90byB0Y3AgZnJvbSBhbnkgdG8gJHdlYm1haWwgcG9ydCB7IDQ0MywgNzc3LCA1MTQ1 IH0ga2VlcCBzdGF0ZSAoc291cmNlLXRyYWNrIHJ1bGUsIG1heC1zcmMtY29ubiA1MCkgcXVldWUg d2ViDQpwYXNzIGluIHF1aWNrIG9uICRleHRfaWYgaW5ldCBwcm90byB0Y3AgZnJvbSBhbnkgdG8g JGNhbWVyYSBwb3J0IHsgNTU0LCA2MDM2IH0ga2VlcCBzdGF0ZQ0KcGFzcyBpbiBxdWljayBvbiAk ZXh0X2lmIGluZXQgcHJvdG8gdGNwIGZyb20gYW55IHRvICRzd2l0Y2hib2FyZCBwb3J0IHsgNjU0 MywgNjk5MiB9IGtlZXAgc3RhdGUNCg0KYmxvY2sgb3V0IGxvZyBhbGwNCg0KYmxvY2sgb3V0IGxv ZyBxdWljayBvbiAkZXh0X2lmIGZyb20gYW55IHRvICRwcml2X25ldA0KYmxvY2sgb3V0IGxvZyBx dWljayBvbiAkZXh0X2lmIGluZXQgcHJvdG8geyB0Y3AsIHVkcCB9IGZyb20gYW55IHRvIGFueSBw b3J0IDEzNzoxMzkNCg0KYW5jaG9yICJmdHAtcHJveHkvKiINCg0KcGFzcyBvdXQgcXVpY2sgb24g JGV4dF9pZiBpbmV0IHByb3RvIHRjcCBmcm9tICRtYWlsc2VydmVyIHRvIGFueSBrZWVwIHN0YXRl IHF1ZXVlIG1haWwNCnBhc3Mgb3V0IHF1aWNrIG9uICRleHRfaWYgaW5ldCBwcm90byB1ZHAgZnJv bSAkZXh0X2FkZHIgdG8gODIueC55LjYyIHBvcnQgMTE5NCBrZWVwIHN0YXRlIHF1ZXVlIHZwbg0K cGFzcyBvdXQgcXVpY2sgb24geyAkZXh0X2lmLCAkaW50X2lmIH0gaW5ldCBmcm9tIGFueSB0byBh bnkga2VlcCBzdGF0ZQ0K --Multipart=_Fri__20_Nov_2015_16_34_31_+0100_mPjLYuNwZBB1dD9q-- From owner-freebsd-net@freebsd.org Fri Nov 20 16:36:00 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 9AF3AA31C22 for ; Fri, 20 Nov 2015 16:36:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 851EE1BEA for ; Fri, 20 Nov 2015 16:36:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tAKGa0SU063156 for ; Fri, 20 Nov 2015 16:36:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204437] 10.2 STABLE Crashing with IPSec Support Date: Fri, 20 Nov 2015 16:36:00 +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.2-STABLE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixotocassiano@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@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: Fri, 20 Nov 2015 16:36:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204437 --- Comment #14 from Cassiano Peixoto --- (In reply to emeric.poupon from comment #13) Hi emeric, Did you check my debug? are you sure we are talking about the same issue? Should i test this patch? Have i just recompile kernel or buidworld too? Thanks. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Fri Nov 20 16:41: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 89BBBA31DD7 for ; Fri, 20 Nov 2015 16:41: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 7287F1E82 for ; Fri, 20 Nov 2015 16:41: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 tAKGfxwq075579 for ; Fri, 20 Nov 2015 16:41:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204437] 10.2 STABLE Crashing with IPSec Support Date: Fri, 20 Nov 2015 16:41:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-STABLE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emeric.poupon@stormshield.eu X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@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: Fri, 20 Nov 2015 16:41:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204437 --- Comment #15 from emeric.poupon@stormshield.eu --- Hi, Yes I am talking about the same issue. Just rebuild the kernel with this patch, and please let me know the results. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Fri Nov 20 20:24: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 8CE82A33100 for ; Fri, 20 Nov 2015 20:24: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 79B311437 for ; Fri, 20 Nov 2015 20:24: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 tAKKO93F086553 for ; Fri, 20 Nov 2015 20:24:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204453] panic: vnic0: Received packet fragment with NULL mbuf from ThunderX VNIC driver Date: Fri, 20 Nov 2015 20:24:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: ThunderX X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: zbb@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: Fri, 20 Nov 2015 20:24:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204453 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-net@FreeBSD.org |zbb@freebsd.org --- Comment #1 from Ed Maste --- Workaround in review at https://reviews.freebsd.org/D4234 -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Sat Nov 21 14:49:33 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 5A356A34376 for ; Sat, 21 Nov 2015 14:49:33 +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 461791FBA for ; Sat, 21 Nov 2015 14:49:33 +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 tALEnXIQ099373 for ; Sat, 21 Nov 2015 14:49:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204340] [panic] nfsd, em, msix, fatal trap 9 Date: Sat, 21 Nov 2015 14:49:33 +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.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, crash, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: g_amanakis@yahoo.com X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rmacklem@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: Sat, 21 Nov 2015 14:49:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204340 --- Comment #12 from g_amanakis@yahoo.com --- The three last patches resolve the bug. @rick thank you. @koobs MFC? -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Sat Nov 21 18:34: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 DCC36A34D6A for ; Sat, 21 Nov 2015 18:34: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 C41081149 for ; Sat, 21 Nov 2015 18:34: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 tALIYF3v061092 for ; Sat, 21 Nov 2015 18:34:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 202680] Silent data corruption on em(4) interfaces Date: Sat, 21 Nov 2015 18:34: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: 10.2-STABLE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: yaniv@kundas.net X-Bugzilla-Status: In Progress 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: Sat, 21 Nov 2015 18:34:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202680 --- Comment #24 from Yaniv Kunda --- (In reply to Dmitry Afanasiev from comment #23) I don't even have PF loaded... :-( -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-net@freebsd.org Sat Nov 21 21:20: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 050D6A34089 for ; Sat, 21 Nov 2015 21:20:47 +0000 (UTC) (envelope-from kp@vega.codepro.be) Received: from venus.codepro.be (venus.codepro.be [IPv6:2a01:4f8:162:1127::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.codepro.be", Issuer "Gandi Standard SSL CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C13B919B6 for ; Sat, 21 Nov 2015 21:20:46 +0000 (UTC) (envelope-from kp@vega.codepro.be) Received: from vega.codepro.be (unknown [172.16.1.3]) by venus.codepro.be (Postfix) with ESMTP id 519DF7661; Sat, 21 Nov 2015 22:20:43 +0100 (CET) Received: by vega.codepro.be (Postfix, from userid 1001) id 4B7757FC6F; Sat, 21 Nov 2015 22:20:43 +0100 (CET) Date: Sat, 21 Nov 2015 22:20:43 +0100 From: Kristof Provost To: Daniel Bilik Cc: freebsd-net@freebsd.org Subject: Re: Outgoing packets being sent via wrong interface Message-ID: <20151121212043.GC2307@vega.codepro.be> References: <20151120155511.5fb0f3b07228a0c829fa223f@neosystem.org> <20151120163431.3449a473db9de23576d3a4b4@neosystem.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20151120163431.3449a473db9de23576d3a4b4@neosystem.org> X-Checked-By-NSA: Probably User-Agent: Mutt/1.5.24 (2015-08-30) 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, 21 Nov 2015 21:20:47 -0000 On 2015-11-20 16:34:31 (+0100), Daniel Bilik wrote: > On Fri, 20 Nov 2015 16:18:10 +0100 > Kristof Provost wrote: > > > Can you post your pf rules too? > > Sure, pf.conf attached. > Thanks. As a first guess, I think the origin of the problem might be related to the double nat rule you've got. nat on $ext_if proto udp from $switchboard to 188.x.y.0/24 -> $ext_addr static-port nat on $ext_if from $int_net to any -> $ext_addr Packets that hit the first rule would also match the second one. In principle the last match should win and everything should be fine, but NAT is handled differently from 'normal' rules, so perhaps there's a bug there. I don't have the time to dig into this right away. Could you create a PR and cc me to it? Thanks, Kristof From owner-freebsd-net@freebsd.org Sat Nov 21 21:53:02 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 2D01FA3481E for ; Sat, 21 Nov 2015 21:53:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 115981AD4 for ; Sat, 21 Nov 2015 21:53:02 +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 tALLr1B1005826 for ; Sat, 21 Nov 2015 21:53:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204340] [panic] nfsd, em, msix, fatal trap 9 Date: Sat, 21 Nov 2015 21:53:02 +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.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, crash, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rmacklem@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rmacklem@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: mfc-stable9- mfc-stable10? X-Bugzilla-Changed-Fields: flagtypes.name 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, 21 Nov 2015 21:53:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204340 Rick Macklem changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|mfc-stable9? |mfc-stable9- --- Comment #13 from Rick Macklem --- A variant of the first patch has already been committed to head by mav@. He also noted to me that the second patch isn't needed. The "else" case doesn't have any other thread manipulating the list, so the thread mutex isn't needed. Since you are using NFSv4.1, I'm pretty sure that the third patch is the one that fixes the problem. I will commit this to head soon and MFC it before closing this PR. (Oh, and the NFSv4.1 server stuff isn't in stable/9, so the fix only applies to 10 and head.) Thanks for doing the testing, so this could get resolved. rick -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Sat Nov 21 21:55: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 0D6A8A348B7 for ; Sat, 21 Nov 2015 21:55:13 +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 EE7771BF4 for ; Sat, 21 Nov 2015 21:55:12 +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 tALLtC0E009020 for ; Sat, 21 Nov 2015 21:55:12 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204340] [panic] nfsd, em, msix, fatal trap 9 Date: Sat, 21 Nov 2015 21:55:12 +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.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, crash, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rmacklem@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rmacklem@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: Sat, 21 Nov 2015 21:55:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204340 --- Comment #14 from Rick Macklem --- Also, although it was good to get this crash resolved, I would recommend trying to avoid doing nfsd thread restarts. (If by any chance you were doing this to avoid access problems during export/mount updates, the "-S" option on mount suspends/resumes the nfsd threads, which should be preferable to killing them off and restarting them.) rick -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-net@freebsd.org Sat Nov 21 23:55:54 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 1EA15A3449D for ; Sat, 21 Nov 2015 23:55:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E6CA01010 for ; Sat, 21 Nov 2015 23:55: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 tALNtrYo022166 for ; Sat, 21 Nov 2015 23:55:53 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204340] [panic] nfsd, em, msix, fatal trap 9 Date: Sat, 21 Nov 2015 23:55:53 +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.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, crash, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rmacklem@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: Sat, 21 Nov 2015 23:55:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204340 --- Comment #15 from commit-hook@freebsd.org --- A commit references this bug: Author: rmacklem Date: Sat Nov 21 23:55:46 UTC 2015 New revision: 291150 URL: https://svnweb.freebsd.org/changeset/base/291150 Log: When the nfsd threads are terminated, the NFSv4 server state (opens, locks, etc) is retained, which I believe is correct behaviour. However, for NFSv4.1, the server also retained a reference to the xprt (RPC transport socket structure) for the backchannel. This caused svcpool_destroy() to not call SVC_DESTROY() for the xprt and allowed a socket upcall to occur after the mutexes in the svcpool were destroyed, causing a crash. This patch fixes the code so that the backchannel xprt structure is dereferenced just before svcpool_destroy() is called, so the code does do an SVC_DESTROY() on the xprt, which shuts down the socket upcall. Tested by: g_amanakis@yahoo.com PR: 204340 MFC after: 2 weeks Changes: head/sys/fs/nfs/nfs_var.h head/sys/fs/nfsserver/nfs_nfsdkrpc.c head/sys/fs/nfsserver/nfs_nfsdstate.c -- You are receiving this mail because: You are on the CC list for the bug.