From owner-freebsd-net@freebsd.org Sun Jun 11 07:51:17 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1AD88C3107C for ; Sun, 11 Jun 2017 07:51:17 +0000 (UTC) (envelope-from damjan.jov@gmail.com) Received: from mail-lf0-x231.google.com (mail-lf0-x231.google.com [IPv6:2a00:1450:4010:c07::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9502E7E576 for ; Sun, 11 Jun 2017 07:51:16 +0000 (UTC) (envelope-from damjan.jov@gmail.com) Received: by mail-lf0-x231.google.com with SMTP id v20so41567606lfa.1 for ; Sun, 11 Jun 2017 00:51:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=y5g3fBEUNwXvlk/Z3ciVZk4q5wc7+fqLaTKBv5+IjH4=; b=SR1fMPUY32HzZGW5yuktNE5I3SzMfD6X+7prj4nkjh/6aep+fum4trobETsrzoHiOR /7Zng4XFtRrX0OZ+tqvFclhz+1UVeebbJMWc1SRzTGMcRLjDfqd4PTEOnL+zjpCpl9xF OPoAMneGFmIJN+Ci8A0KFUWIJKvmoh2on2dLohgUYzyqv2wHP2I0Q6TKhJzX6qGiJhQB rKWpkfW3KPOuKqNdaayiWj7d6TWnGn6SpUPZl7gnhvFmi3DfV3dacwXu3SaqJYB80tNQ r2waVvRlJ1g6wDBZfF11CLqrPb3+CRsWe9ZJH7jvwpVYSmhcgiKtZNxUjZTcGqJV7C28 1gRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=y5g3fBEUNwXvlk/Z3ciVZk4q5wc7+fqLaTKBv5+IjH4=; b=bPWlRYbH/YuT6/IPgQOXIXILAZ1L5alhspk0rNIgVC9y+qx0xQSLaQ7pQB7uBuoDL5 NIdpJ2oVrslQWZ1O0lytVhEbocIqDB98QeJM5p/KixBM/794nFkHDwlv1b/05v51n5W+ mLxhO6SMAwlGj6lk8aKDBDcMiCDD4wQ6ZUzwmO7tPkcNrjuaX+Sq429hH+kZGRnF005C AmIzOWZEBpv6MydVLMERa8Pz8QM0y2CfPaef7pfVdmlzE7w3lS6GWfWmfvM53eIlyzIs CdKwjUhbJAxdP5K0Yw5z+/TXv8RazG7Y1B6prKw+bFjFwOuCtV8UU3SGAvKAvVWv/v/P 7v9g== X-Gm-Message-State: AODbwcC+WT8+bGkrwboYLX0Gr6doHYZamxEP4UBjEUzgcT7Rj/uCJVvz Ti8FsuoNWq9kDrI/MS5UqlPGeMr9rUeS X-Received: by 10.25.233.90 with SMTP id g87mr16727409lfh.161.1497167474072; Sun, 11 Jun 2017 00:51:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.46.8.2 with HTTP; Sun, 11 Jun 2017 00:50:53 -0700 (PDT) From: Damjan Jovanovic Date: Sun, 11 Jun 2017 09:50:53 +0200 Message-ID: Subject: [patch] NAT hole punching, RFC 4787, and PF/LibAlias/IPFILTER To: freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 07:51:17 -0000 Hi Gaming, VoIP, WebRTC, peer to peer, and many other UDP applications, require the ability to send to and receive from multiple peers through a single UDP socket, and/or communicate the address of this socket to others so they know where to transmit to. Historically NAT usually got in the way, but many applications are NAT-friendly these days, and can establish connections using NAT hole punching, which is the best available technique of NAT traversal, able to work through any number of layers of NAT (eg. both SOHO NAT and carrier grade NAT), requires no special configuration, allows applications to discover the external IP:port that the NAT gave them, and even allows clients to connect to each other when both are NATed. What NAT hole punching needs to work most of all, is what RFC 4787 calls an endpoint-independent mapping NAT, also called a "full cone" NAT: all UDP packets from the internal IP:port pair X:x, go through the same external Y:y no matter the Z:z, and nothing but X:x uses Y:y: Internal External X:x -----> NAT Y:y ----> Z:z This allows X:x to discover the Y:y that the NAT gives it by querying an external server (eg. a STUN server), and rely on packets sent to any Z:z to have Y:y as the source. It can communicate Y:y to a Z:z somehow, and have that Z:z send to it (possibly after first sending to Z:z). This is a mandatory requirement in RFC 4787. Sadly, of FreeBSD's firewalls/NATs, only IPFILTER supports this desirable property (as does "iptables" on Linux). PF's NAT and the LibAlias-based NATs (IPFW, and presumably natd and pppd) are "symmetric" NATs, the worst kind, randomly choosing a different Y:y for each Z:z from the same X:x, which makes it impossible for X:x to predict its Y:y, which makes it impossible for Z:z to learn about Y:y and reach it, especially if Z:z is itself also behind a symmetric NAT. Connections will either fail, or applications will resort to relaying data through other servers (eg. TURN), often compromising bandwidth, latency, security, and/or privacy, and increasing cost. So I've written patches to change NAT port selection in PF and LibAlias to endpoint-independent mapping. Please see here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219803 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219918 Currently neither are "full cone" NATs: Z:z can only send to X:x through Y:y if X:x previously sent to Z:z, so they are "address- and port-restricted cone" NATs, or rather an endpoint-independent mapping NAT with address and port-dependent filtering. But applications can discover this using a protocol such as STUN, and can still connect to known peers by sending them a packet first. There's more work to do. RFC 4787 lists several requirements, of which we still fail on at least timeouts and hairpinning. Hairpinning is particularly difficult: on IPFW the hairpinned packet doesn't even reach LibAlias, and on PF there's a whole new path through the code. It may also be desirable to implement a full-cone NAT, at least as an optional extra due to the lower security, but that requires a different traversal of the firewall rules, as unsolicited packets from Z:z to Y:y will match a NAT rule backwards. Would anyone like to help? Thank you Damjan Jovanovic References: [1] http://alumnus.caltech.edu/~dank/peer-nat.html [2] http://www.brynosaurus.com/pub/net/p2pnat [3] https://tools.ietf.org/html/rfc4787 [4] https://tools.ietf.org/html/rfc5128 From owner-freebsd-net@freebsd.org Sun Jun 11 13:55:49 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 469C4D878BC for ; Sun, 11 Jun 2017 13:55:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 354E5664E8 for ; Sun, 11 Jun 2017 13:55:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5BDtnce028617 for ; Sun, 11 Jun 2017 13:55:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 146037] [panic] mpd + CoA = kernel panic Date: Sun, 11 Jun 2017 13:55:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 8.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 13:55:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D146037 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Open CC| |eugen@freebsd.org --- Comment #2 from Eugene Grosbein --- 8.0 had multiple issues in the NETGRAPH kernel subsystem utilized by mpd. Is this problem still relevant for FreeBSD 11? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Jun 11 14:28:52 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1B556D8823D for ; Sun, 11 Jun 2017 14:28:52 +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 EFD2267353 for ; Sun, 11 Jun 2017 14:28: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 v5BESpm7020640 for ; Sun, 11 Jun 2017 14:28:51 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Sun, 11 Jun 2017 14:28:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 14:28:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #20 from Eugene Grosbein --- (In reply to Cassiano Peixoto from comment #19) I've performed heavy stress-test of mpd-5.8 under FreeBSD 11.0-STABLE witho= ut usage of RADIUS and found no problems. Can you try 11.0-BETA1? --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Sun Jun 11 15:46:59 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 633BBD895F5 for ; Sun, 11 Jun 2017 15:46: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 43E136AA98 for ; Sun, 11 Jun 2017 15:46: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 v5BFkw6u035476 for ; Sun, 11 Jun 2017 15:46:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 199096] Kernel panic after some time using mpd (netgraph) and ipfw Date: Sun, 11 Jun 2017 15:46: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: 9.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 15:46:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D199096 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open CC| |eugen@freebsd.org --- Comment #3 from Eugene Grosbein --- (In reply to dblais from comment #0) Is this problem still relevant to you? If so, do you use some kind of BPF-based ip accounting software like trafd = or similar? The trace you presented shows some kind of BFP-related problem. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Jun 11 15:48:35 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3CC0BD8969B for ; Sun, 11 Jun 2017 15:48:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.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 24C4D6AB72 for ; Sun, 11 Jun 2017 15:48:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 20DC7D8969A; Sun, 11 Jun 2017 15:48:35 +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 2045FD89699 for ; Sun, 11 Jun 2017 15:48:35 +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 0E1406AB71 for ; Sun, 11 Jun 2017 15:48:35 +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 v5BFmYRv037363 for ; Sun, 11 Jun 2017 15:48:34 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 200382] Loading netgraph via bsnmpd, etc can cause domain to be registered after domain_finalize has been called Date: Sun, 11 Jun 2017 15:48:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 15:48:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D200382 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eugen@freebsd.org --- Comment #2 from Eugene Grosbein --- (In reply to Ngie Cooper from comment #1) Have you considered loading netgraph early by means of loader.conf? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Jun 11 18:42:03 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9B85FD8C7EA for ; Sun, 11 Jun 2017 18: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 895AC728BD for ; Sun, 11 Jun 2017 18: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 v5BIfwIJ012345 for ; Sun, 11 Jun 2017 18:42:03 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211219] NIC status does not pass into a state of "no carrier" after disconnecting the cable. Date: Sun, 11 Jun 2017 18:41:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 18:42:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211219 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |In Progress --- Comment #25 from Sean Bruno --- (In reply to Eric Joyner from comment #24) I think more dead than busy ... but perhaps both. This definitely should be committed now that I know what Franco was trying = to get me to do. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Jun 11 19:23:52 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2DA64D8D3B5 for ; Sun, 11 Jun 2017 19:23:52 +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 0DE9C7407F for ; Sun, 11 Jun 2017 19:23:52 +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 v5BJNmFu034487 for ; Sun, 11 Jun 2017 19:23:51 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211219] NIC status does not pass into a state of "no carrier" after disconnecting the cable. Date: Sun, 11 Jun 2017 19:23:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: erj@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 19:23:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211219 --- Comment #26 from Eric Joyner --- I don't think the posted patch applies as-is to HEAD, but I think the chang= e is still straightforward. I can commit it. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Jun 11 19:43:25 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 71CA4D8D870 for ; Sun, 11 Jun 2017 19:43:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 59B5A7499B for ; Sun, 11 Jun 2017 19:43:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5BJhMQw080990 for ; Sun, 11 Jun 2017 19:43:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211219] NIC status does not pass into a state of "no carrier" after disconnecting the cable. Date: Sun, 11 Jun 2017 19:43:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: erj@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 19:43:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211219 --- Comment #27 from Eric Joyner --- Actually, looking at em_if_enable_intr() in CURRENT, do we need to have the IMS_ENABLE_MASK in 82574 in MSI-X mode? I think all of the causes that 82574 needs are covered in the Tx0/Rx0/Tx1/Rx1/Other causes that are only in 8257= 4. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Jun 11 20:00:18 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4E83FD8DB15 for ; Sun, 11 Jun 2017 20:00:18 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay115.isp.belgacom.be (mailrelay115.isp.belgacom.be [195.238.20.142]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign Organization Validation CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9512A74E41 for ; Sun, 11 Jun 2017 20:00:17 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes IronPort-PHdr: =?us-ascii?q?9a23=3AhQE8xRaovWeF1Q/FtgahIG//LSx+4OfEezUN459i?= =?us-ascii?q?sYplN5qZoMm5bnLW6fgltlLVR4KTs6sC0LuJ9fi4EUU7or+5+EgYd5JNUxJXwe?= =?us-ascii?q?43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRp?= =?us-ascii?q?OOv1BpTSj8Oq3Oyu5pHfeQtFiT6/bL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+?= =?us-ascii?q?RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPC?= =?us-ascii?q?TQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjmk8qxlSgLniD?= =?us-ascii?q?0fOjA38G/ZlNF+gqFUrx29qBJy2JLUbYOJOPZiYq/RYc0WSGxcVchRTSxBBYa8?= =?us-ascii?q?YpMRAeoAP+ZYq5T2qkUJrRu5HgmjGubvxSVOhn/twKY31PghEQDE3AwkBN8AsG?= =?us-ascii?q?7Uo8vrO6oPTO67wrPEzTLZb/NZwDrw7pXDfB4mofGJR71wcMzRxFEhFwPfkFqf?= =?us-ascii?q?t5fqPyiI2egXtGib9eVgWOSygGAkswF8ujuiy8U2hoTIho8Z0E3I+CF9zYovON?= =?us-ascii?q?G1SEh2asO+HpRKrSGVLY52T9snQ2FvpSk11KULuYW+fCgW0JQnwAPfa+Cff4iI?= =?us-ascii?q?/B3jUOGRLC97hH1/fLK/hhOy/la6yu37TMW0zFdKrihBktXWqn8N0BvT6tOZRf?= =?us-ascii?q?t45Eih3y2P2xrU6uFeLkA4javbK5g/zb4sjpceskbOEjX3lUj2lqOaa0Ep9+yy?= =?us-ascii?q?5+j6YrjqvpqcOJV1igH6PKQugMu/AeEgPwgSXmib++C82abt/U3jXrpFkOY5kr?= =?us-ascii?q?LEv5zAIsQbvKG5DxdP0ok/8xa/Eyum0NMAkHkJNlJKZgyIgJPyO17TOfz4C+mw?= =?us-ascii?q?g0i3nTdl3fDJIKPuDY7WLnfeirvheqx960EPgDY0mN5F6p9eEb1EJv/vcmHrud?= =?us-ascii?q?HyNTN/NBa7kMj9D9Ao6oIcXSqkBaiCPabbt0TAsv4uIe2kSpUYtRzGB74i/fG4?= =?us-ascii?q?3ixxokMUYaT8hchfU3u/BPkze0g=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2D/EwC1oD1Z/w/HQVddHQEFAQsBGAEFA?= =?us-ascii?q?QsBgy1SEHsSjn+PFoIQAYI7lS0hC4VyBIMERBQBAQEBAQEBAQEBAWoogjMigks?= =?us-ascii?q?5HF80GRGKZwyyNYwRBZEXhScFnj+HK4Y1hVx5gQKQGJRsNiE/S1EwCIdYPjYBh?= =?us-ascii?q?1wqghUBAQE?= X-IPAS-Result: =?us-ascii?q?A2D/EwC1oD1Z/w/HQVddHQEFAQsBGAEFAQsBgy1SEHsSjn+?= =?us-ascii?q?PFoIQAYI7lS0hC4VyBIMERBQBAQEBAQEBAQEBAWoogjMigks5HF80GRGKZwyyN?= =?us-ascii?q?YwRBZEXhScFnj+HK4Y1hVx5gQKQGJRsNiE/S1EwCIdYPjYBh1wqghUBAQE?= Received: from 15.199-65-87.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([87.65.199.15]) by relay.skynet.be with ESMTP; 11 Jun 2017 21:59:05 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id v5BJx47Z067870 for ; Sun, 11 Jun 2017 21:59:04 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Sun, 11 Jun 2017 21:59:04 +0200 From: Tijl Coosemans To: freebsd-net@FreeBSD.org Subject: Enable IPv6 Privacy Extensions by default Message-ID: <20170611215904.4612ee41@kalimero.tijl.coosemans.org> 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 20:00:18 -0000 Hi, I recently got a new modem/router from my ISP that supports IPv6. Added ifconfig_em0_ipv6="inet6 accept_rtadv" and rtsold_enable="YES" to /etc/rc.conf like the handbook says and now all my FreeBSD systems have an IPv6 address. \o/ I also added these lines to /etc/sysctl.conf to enable temporary addresses: net.inet6.ip6.use_tempaddr=1 net.inet6.ip6.prefer_tempaddr=1 Shouldn't these be enabled by default? There was a proposal 9 years ago that didn't get any objections but it seems it wasn't committed: https://lists.freebsd.org/pipermail/freebsd-net/2008-June/018381.html If there are no objections, I'll make the change in a week or so. From owner-freebsd-net@freebsd.org Sun Jun 11 20:04:40 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90086D8DCC2 for ; Sun, 11 Jun 2017 20:04:40 +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 735FF7516E for ; Sun, 11 Jun 2017 20:04:40 +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 v5BK4dhk045366 for ; Sun, 11 Jun 2017 20:04:40 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211219] NIC status does not pass into a state of "no carrier" after disconnecting the cable. Date: Sun, 11 Jun 2017 20:04:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: erj@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 20:04:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211219 --- Comment #28 from Eric Joyner --- And sorry about the comment spam, but I think a better fix (at least on CURRENT), is to set bit 24 in adapter->ims in em_if_msix_intr_assign. It lo= oks like that doesn't get set in IMS, so the "other" cause (that includes link state changes) never fires. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Jun 11 20:05:59 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93C6ED8DD46 for ; Sun, 11 Jun 2017 20:05: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 81D2775230 for ; Sun, 11 Jun 2017 20:05: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 v5BK5x3s047030 for ; Sun, 11 Jun 2017 20:05:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211219] NIC status does not pass into a state of "no carrier" after disconnecting the cable. Date: Sun, 11 Jun 2017 20:05:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: erj@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 20:05:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211219 --- Comment #29 from Eric Joyner --- (I think this is the bit that EM_MSIX_MASK has that adapter->ims in the cur= rent version does not.) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Jun 11 21:00:29 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2D818B94B13 for ; Sun, 11 Jun 2017 21:00:29 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2136A7671B for ; Sun, 11 Jun 2017 21:00:29 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5BL011F064872 for ; Sun, 11 Jun 2017 21:00:28 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201706112100.v5BL011F064872@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-net@FreeBSD.org Subject: Problem reports for freebsd-net@FreeBSD.org that need special attention Date: Sun, 11 Jun 2017 21:00:28 +0000 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 21:00:29 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 165622 | [ndis][panic][patch] Unregistered use of FPU in k In Progress | 206581 | bxe_ioctl_nvram handler is faulty New | 204438 | setsockopt() handling of kern.ipc.maxsockbuf limi New | 205592 | TCP processing in IPSec causes kernel panic New | 206053 | kqueue support code of netmap causes panic New | 213410 | [carp] service netif restart causes hang only whe New | 215874 | [patch] [icmp] [mbuf_tags] teach icmp_error() opt New | 217748 | sys/dev/ixgbe/if_ix.c: PVS-Studio: Assignment to Open | 173444 | socket: IPV6_USE_MIN_MTU and TCP is broken Open | 193452 | Dell PowerEdge 210 II -- Kernel panic bce (broadc Open | 194485 | Userland cannot add IPv6 prefix routes Open | 194515 | Fatal Trap 12 Kernel with vimage Open | 199136 | [if_tap] Added down_on_close sysctl variable to t Open | 202510 | [CARP] advertisements sourced from CARP IP cause Open | 206544 | sendmsg(2) (sendto(2) too?) can fail with EINVAL; Open | 211031 | [panic] in ng_uncallout when argument is NULL Open | 211962 | bxe driver queue soft hangs and flooding tx_soft_ Open | 218653 | Intel e1000 network link drops under high network 18 problems total for which you should take action. From owner-freebsd-net@freebsd.org Sun Jun 11 21:04:43 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17C68B9532C for ; Sun, 11 Jun 2017 21:04:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 04CB277217 for ; Sun, 11 Jun 2017 21:04:43 +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 v5BL4gVl082370 for ; Sun, 11 Jun 2017 21:04:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211219] NIC status does not pass into a state of "no carrier" after disconnecting the cable. Date: Sun, 11 Jun 2017 21:04:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 21:04:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211219 --- Comment #30 from Sean Bruno --- (In reply to Eric Joyner from comment #29) Franco is specifically requesting an update to stable/11 and the release. Specifically, look at Comment #20 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Jun 11 22:13:32 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D39EBEE50C for ; Sun, 11 Jun 2017 22:13:32 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:130:3ffc::401:25]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C64E178E62; Sun, 11 Jun 2017 22:13:31 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 19A2C25D385E; Sun, 11 Jun 2017 22:13:20 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 7D3D3D1F909; Sun, 11 Jun 2017 22:13:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id Ug2Y2m03_wk2; Sun, 11 Jun 2017 22:13:18 +0000 (UTC) Received: from [10.82.3.139] (unknown [IPv6:fde9:577b:c1a9:f001::2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 7ED2CD1F908; Sun, 11 Jun 2017 22:13:17 +0000 (UTC) From: "Bjoern A. Zeeb" To: "Tijl Coosemans" Cc: freebsd-net@FreeBSD.org Subject: Re: Enable IPv6 Privacy Extensions by default Date: Sun, 11 Jun 2017 22:13:14 +0000 Message-ID: In-Reply-To: <20170611215904.4612ee41@kalimero.tijl.coosemans.org> References: <20170611215904.4612ee41@kalimero.tijl.coosemans.org> MIME-Version: 1.0 X-Mailer: MailMate (2.0BETAr6082) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 22:13:32 -0000 On 11 Jun 2017, at 19:59, Tijl Coosemans wrote: > Hi, > > I recently got a new modem/router from my ISP that supports IPv6. Added > ifconfig_em0_ipv6="inet6 accept_rtadv" and rtsold_enable="YES" to > /etc/rc.conf like the handbook says and now all my FreeBSD systems have > an IPv6 address. \o/ > > I also added these lines to /etc/sysctl.conf to enable temporary > addresses: > > net.inet6.ip6.use_tempaddr=1 > net.inet6.ip6.prefer_tempaddr=1 > > Shouldn't these be enabled by default? There was a proposal 9 years ago > that didn't get any objections but it seems it wasn't committed: > https://lists.freebsd.org/pipermail/freebsd-net/2008-June/018381.html > > If there are no objections, I'll make the change in a week or so. Object :) Check the rc.conf ipv6_privacy option rather than setting the sysctl manually. /bz From owner-freebsd-net@freebsd.org Mon Jun 12 11:19:29 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD901BFA3A5 for ; Mon, 12 Jun 2017 11:19:29 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay103.isp.belgacom.be (mailrelay103.isp.belgacom.be [195.238.20.130]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign Organization Validation CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 396296809A for ; Mon, 12 Jun 2017 11:19:28 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes IronPort-PHdr: =?us-ascii?q?9a23=3AQ1G92xZVuLGd8BL2sg9JZGb/LSx+4OfEezUN459i?= =?us-ascii?q?sYplN5qZoMS5bnLW6fgltlLVR4KTs6sC0LuJ9fi4EUU7or+5+EgYd5JNUxJXwe?= =?us-ascii?q?43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRp?= =?us-ascii?q?OOv1BpTSj8Oq3Oyu5pHfeQtFiT6/bL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+?= =?us-ascii?q?RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPC?= =?us-ascii?q?TQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjmk8qxlSgLniD?= =?us-ascii?q?0fOjA38G/ZlNF+gqFZrxKvqBNw34HabZqJNPd8Yq/RYc8WSXZfUstXSidPApm8?= =?us-ascii?q?b4wKD+cZI+hYrov9p18TphagAgmsA/jvxSFNhnDs2606yPkqHAba3AwhHdIOtG?= =?us-ascii?q?/ZotXvNKgMT++40bTGwzvZY/NRwzf955HFfxY8qv+CWrJwdNDeyUgpFw7dgFWQ?= =?us-ascii?q?s5LqMC2O2eQWrmeX9e1gVfigi2Mhtgp/oSCvy98vh4TLnI4Yy1DJ+T9kzIsxId?= =?us-ascii?q?C0UlN3bN6iHZBNrS+VLZF2TdknQ2xwvSY6zaAJtoCjcSgRzZQn2wbfa/uac4iU?= =?us-ascii?q?+h7jVPieITN/hH99e7KwnRKy8UmlyuLiTMm010xGrjZEktnOsnABzQDc6s+ASv?= =?us-ascii?q?tm4Eih3CyA1wbI6u1eJkA0j6XbJ4Ygwr42iJUTrVzOEyz0lUnsjaKbdl8o9vWs?= =?us-ascii?q?5unjeLnqu5+RO5dxig7kM6QunsK/Af4/MggLR2Wb5eW81L/n/UDiTrVKlOM5nb?= =?us-ascii?q?fCv5DBOMsXvKm5AxVa0oo78RawEy+m0MgEnXkANF9FdgiHgJb3NF7VO/D3EO6z?= =?us-ascii?q?g1Kynzd33P3GMKfhDYvTIXfYi7fuYKxx60lGyAo8nphj4MceILMGLej1Ema3/O?= =?us-ascii?q?7VAxVze1i+0evqApB515gCQkqLA7SFK+XAuFWC7+4oMa+KaZND6xjnLP1w2//s?= =?us-ascii?q?iTcSnlgGcKyg24BfPGy5HPBODV+UbFDXrpEGC2hc7Vl2d/DjlFDXCW0bXH21Ra?= =?us-ascii?q?9pvjw=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2BjBgC7dz5Z/w/HQVdcGgEBAQECAQEBA?= =?us-ascii?q?QgBAQEBFQEBAQECAQEBAQgBAQEBgy1SEIENjn+PFoFlKwGXaCELhXgCgmhDFQE?= =?us-ascii?q?BAQEBAQEBAQEBaihCDIFlIoJEAQEBAwE5HCMQCxgJJQ8ZER4GE4owDLF2i2QBA?= =?us-ascii?q?QEBAQEBAwEBAQEBAR0Fi2GKXQWeP4crhjWFXHmRGpRsNSKBClEwCIdYPjYBgW+?= =?us-ascii?q?FLyqCFQEBAQ?= X-IPAS-Result: =?us-ascii?q?A2BjBgC7dz5Z/w/HQVdcGgEBAQECAQEBAQgBAQEBFQEBAQE?= =?us-ascii?q?CAQEBAQgBAQEBgy1SEIENjn+PFoFlKwGXaCELhXgCgmhDFQEBAQEBAQEBAQEBa?= =?us-ascii?q?ihCDIFlIoJEAQEBAwE5HCMQCxgJJQ8ZER4GE4owDLF2i2QBAQEBAQEBAwEBAQE?= =?us-ascii?q?BAR0Fi2GKXQWeP4crhjWFXHmRGpRsNSKBClEwCIdYPjYBgW+FLyqCFQEBAQ?= Received: from 15.199-65-87.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([87.65.199.15]) by relay.skynet.be with ESMTP; 12 Jun 2017 13:19:15 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id v5CBJCWr073620; Mon, 12 Jun 2017 13:19:15 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Mon, 12 Jun 2017 13:19:12 +0200 From: Tijl Coosemans To: "Bjoern A. Zeeb" Cc: freebsd-net@FreeBSD.org Subject: Re: Enable IPv6 Privacy Extensions by default Message-ID: <20170612131912.42537b13@kalimero.tijl.coosemans.org> In-Reply-To: References: <20170611215904.4612ee41@kalimero.tijl.coosemans.org> 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 11:19:30 -0000 On Sun, 11 Jun 2017 22:13:14 +0000 "Bjoern A. Zeeb" wrote: > On 11 Jun 2017, at 19:59, Tijl Coosemans wrote: >> I recently got a new modem/router from my ISP that supports IPv6. Added >> ifconfig_em0_ipv6="inet6 accept_rtadv" and rtsold_enable="YES" to >> /etc/rc.conf like the handbook says and now all my FreeBSD systems have >> an IPv6 address. \o/ >> >> I also added these lines to /etc/sysctl.conf to enable temporary >> addresses: >> >> net.inet6.ip6.use_tempaddr=1 >> net.inet6.ip6.prefer_tempaddr=1 >> >> Shouldn't these be enabled by default? There was a proposal 9 years ago >> that didn't get any objections but it seems it wasn't committed: >> https://lists.freebsd.org/pipermail/freebsd-net/2008-June/018381.html >> >> If there are no objections, I'll make the change in a week or so. > > Object :) > > Check the rc.conf ipv6_privacy option rather than setting the sysctl > manually. Ah, thanks. I see that RFC 4941 also recommends it be disabled by default. From owner-freebsd-net@freebsd.org Mon Jun 12 11:42:27 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 75B01BFAC14 for ; Mon, 12 Jun 2017 11:42: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 6361A68B47 for ; Mon, 12 Jun 2017 11:42: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 v5CBgQMO085044 for ; Mon, 12 Jun 2017 11:42:27 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Mon, 12 Jun 2017 11:42:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 11:42:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #21 from Cassiano Peixoto --- Hi Eugene, I've been using 11.0-p1 for many months. I've about 1k users connected, and after some days (or weeks) i run into on the following issue: PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMM= AND 55180 root 2 52 0 338M 85204K uwrlck 2 2:28 0.00% mp= d5 The process stuck on uwrlck state. Do you have any idea? My last try was set a cpu affinity on process. After this it's running 9 da= ys and counting. But i gonna need more days to make sure it really worked. Anyway, how have you made the test? how many users connected? Thanks. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Jun 12 14:10:03 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B4FC2BFD5E0 for ; Mon, 12 Jun 2017 14:10: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 A11B170C0B for ; Mon, 12 Jun 2017 14:10: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 v5CEA1Zp011974 for ; Mon, 12 Jun 2017 14:10:03 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Mon, 12 Jun 2017 14:10:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 14:10:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #22 from Eugene Grosbein --- (In reply to Cassiano Peixoto from comment #21) I repeatedly created/destroyed hundreds of PPPoE sessions for long time. Bu= t my test was incomplete in a sense, as it does not involve RADIUS, so mpd was running in single-thread mode and lockups are believed due to multi-threadi= ng issues. I'm going to re-do my tests. Also, please take a look at this and try to test patches: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214482#c33 --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Jun 12 14:30:30 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17C37BFD951 for ; Mon, 12 Jun 2017 14:30:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ECFA07135D for ; Mon, 12 Jun 2017 14:30:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5CEUPI7056768 for ; Mon, 12 Jun 2017 14:30:29 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Mon, 12 Jun 2017 14:30:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 14:30:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #23 from Cassiano Peixoto --- Hi Eugene, You can count me in to help with any test. I think just creating/destroying PPPoE sessions will not make the issues happen. Another think i forgot to tell, i disabled syslog in mpd5 Makefile: # Set syslog logging facility. Change LOG_DAEMON to whatever you like. # Comment this line disable syslog (3) support #SYSLOG_FACILITY=3D LOG_DAEMON But even with syslog disabled i ran into with uwrlck issue. Then my last try was to set cpu affinity as i told before. I read the link you sent. Looks like an issue with vsyslog(). So my questio= ns is: even with syslog facility disabled on mpd should i expected this kind of behaviour (stuck)?=20 Thanks. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Jun 12 14:41:00 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 64DAFBFDDA0 for ; Mon, 12 Jun 2017 14:41: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 4BBC271BC9 for ; Mon, 12 Jun 2017 14:41: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 v5CEewlE082925 for ; Mon, 12 Jun 2017 14:41:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Mon, 12 Jun 2017 14:40:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 14:41:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #24 from Eugene Grosbein --- (In reply to Cassiano Peixoto from comment #23) I've passed some ftp traffic over PPPoE sessions too. Please enable SYSLOG_FACILITY back while testing. As for uwrlck problem, it seems this one is similar but distinct problem. It may happen if you repeatedly use mpd console or http server, for example. Please describe how do you use them. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Jun 12 14:50:48 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56368BFE046 for ; Mon, 12 Jun 2017 14:50:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4411B71FED for ; Mon, 12 Jun 2017 14:50:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5CEok9G008535 for ; Mon, 12 Jun 2017 14:50:48 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Mon, 12 Jun 2017 14:50:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 14:50:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #25 from Cassiano Peixoto --- Ok, i'll apply your patches and back with syslog facility. Do i need to reb= uild the world (userland)? Regarding uwrlck I am using mpd5 web to collect some connections statistics each 60 minutes (it's a cron job). I'm using the following quite simple she= ll script: OUTPUT=3D"/usr/local/etc/tmp/bras.txt" TMP=3D"/tmp/sessions.tmp" TMP2=3D"/tmp/veloc.tmp" TMP3=3D"/tmp/result.tmp" if [ -e $TMP ]; then rm $TMP fi if [ -e $TMP2 ]; then rm $TMP2 fi if [ -e $TMP3 ]; then rm $TMP3 fi SESSIONS=3D`/usr/local/bin/curl -k -l --user admin:xxx http://127.0.0.1:5006/bincmd\?show%20sessions 2>&1 > $TMP` while read session; do if [ "`echo $session |grep -v 'RESULT'`" !=3D "" ]; then #echo $session INTERFACE=3D`echo $session |awk '{print $1}'` IP=3D`echo $session |awk '{print $2}'` USER=3D`echo $session |awk '{print $8}'` MAC=3D`echo $session |awk '{print $9}'` VLAN=3D`echo $session |awk '{print $3}' | awk -F '-' '{print $1}'` DESC=3D`ifconfig ${VLAN} |grep description |awk '{print $2}= '` VELOC=3D`/usr/local/bin/curl -k -l --user admin:xxx http://127.0.0.1:5006/bincmd\?iface%20${INTERFACE}\&show%20customer 2>&1 | egrep 'in#|out#|seconds' > $TMP2` TRAF=3D`/usr/bin/netstat -nbf link -I ${INTERFACE}` TRAF=3D`echo $TRAF| awk '{print $19" "$16" "$22" "$20}' | t= r ' ' ';'` BLOCK=3D`ipfw table 1 list |grep ${IP}` if [ "$BLOCK" =3D "" ]; then BLOCK=3D"0" else BLOCK=3D"1" fi BLOCK2=3D`ipfw table 2 list |grep ${IP}` if [ "$BLOCK2" =3D "" ]; then BLOCK2=3D"0" else BLOCK=3D"1" fi BLOCK2=3D`ipfw table 2 list |grep ${IP}` if [ "$BLOCK2" =3D "" ]; then BLOCK2=3D"0" else BLOCK2=3D"1" fi while read veloc; do if [ "`echo $veloc | grep in`" !=3D "" ]; then BTI=3D$(echo $veloc |awk '{print $5}') fi if [ "`echo $veloc | grep out`" !=3D "" ]; then BTO=3D$(echo $veloc |awk '{print $5}') fi if [ "`echo $veloc | grep 'seconds'`" !=3D "" ]; th= en TIME=3D$(echo $veloc|awk '{print $4}') fi done < $TMP2 echo "${USER};${IP};${TIME};${VLAN};${DESC};${BTI};${BTO};${INTERFACE};${TRAF};$= {BLOCK};${BLOCK2};${MAC}" >> $TMP3 fi done < $TMP cp $TMP3 $OUTPUT --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Jun 12 15:34:54 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B11F7BFEC80 for ; Mon, 12 Jun 2017 15:34: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 9EFC97376C for ; Mon, 12 Jun 2017 15:34:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5CFYqed051912 for ; Mon, 12 Jun 2017 15:34:54 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Mon, 12 Jun 2017 15:34:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 15:34:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #26 from Eugene Grosbein --- (In reply to Cassiano Peixoto from comment #25) You need not rebuild world if you choose to test the patch for mpd itself. = You need to rebuild and reinstall libc only if you choose to test the patch for syslog. Please apply only one of patches at the same time, not both. As for web server, I've looked into the code and I'm afraid it would not be= so easy to patch it. For now, I suggest to disable your statistics collection during the test period or switch to another method not involving web. For example, you could use "set iface description" conversion specification= s: http://mpd.sourceforge.net/doc5/mpd28.html#28 Like this: set iface description "%I: Login %U, IP %A, MAC %M, Link %l" Then use /sbin/ifconfig to get data. Otherwise, you may try to use mpd's CLI console instead of web console. I've just updated that patch for mpd to include workaround for console lock poss= ible issues, so make sure you use latest patch version. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Jun 12 16:46:23 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AFD7EBFFF4F for ; Mon, 12 Jun 2017 16:46:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9D8B475D6E for ; Mon, 12 Jun 2017 16:46:23 +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 v5CGkLlv036888 for ; Mon, 12 Jun 2017 16:46:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Mon, 12 Jun 2017 16:46:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 16:46:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #27 from Cassiano Peixoto --- Ok let's begin with mpd patch (without libc patch). Can i enable with syslog facility after patch applied? Do you think would be possible to provide a web patch as well? Because it's easier to get data output from there. Thanks. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Jun 12 16:56:59 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A8586C08398 for ; Mon, 12 Jun 2017 16:56: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 95DF2762EB for ; Mon, 12 Jun 2017 16:56: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 v5CGuwDj059347 for ; Mon, 12 Jun 2017 16:56:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Mon, 12 Jun 2017 16:56:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 16:56:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #28 from Eugene Grosbein --- (In reply to Cassiano Peixoto from comment #27) You should enable syslog facility. As for web, it is more complex and may require other developers assistance. With time it definitly can be solved b= ut first we need to ensure that root of problems is correctly determined, so testing is needed first. Also, you'll better compile mpd with debugging symbols enabled: make WITH_DEBUG=3Dyes clean all deinstall install And if hang occurs again, use "killall -QUIT mpd" to generate crashdump to analyze. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Jun 12 17:09:00 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B0FD5C0882F for ; Mon, 12 Jun 2017 17:09: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 9EF2A7682A for ; Mon, 12 Jun 2017 17:09: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 v5CH8w4m004243 for ; Mon, 12 Jun 2017 17:09:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Mon, 12 Jun 2017 17:08:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 17:09:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #29 from Cassiano Peixoto --- Ok got it. Patch applied and working. As you know this kind of problem takes time to happen. But i'll keep you posted about the progress. Let's keep wor= king at least one week. Thanks. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Jun 12 17:34:44 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2DD90C08E9E for ; Mon, 12 Jun 2017 17:34:44 +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 1124377667 for ; Mon, 12 Jun 2017 17:34:44 +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 v5CHYgEY067292 for ; Mon, 12 Jun 2017 17:34:43 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Mon, 12 Jun 2017 17:34:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 17:34:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #30 from Eugene Grosbein --- (In reply to Cassiano Peixoto from comment #29) Please verify with "file /usr/local/sbin/mpd5" command that the binary is "= not stripped". --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Jun 12 17:38:01 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56448C08FCD for ; Mon, 12 Jun 2017 17:38: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 44135778F5 for ; Mon, 12 Jun 2017 17:38: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 v5CHc0hL071379 for ; Mon, 12 Jun 2017 17:38:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Mon, 12 Jun 2017 17:38:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 17:38:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #31 from Cassiano Peixoto --- (In reply to Eugene Grosbein from comment #30) Yes, not stripped :) (root@B-ras)~# file /usr/local/sbin/mpd5 /usr/local/sbin/mpd5: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD= ), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 11.0 (1100122), FreeBSD-style, not stripped --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Jun 12 19:40:55 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF27FC315C1 for ; Mon, 12 Jun 2017 19:40:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BD7EB7BAFD for ; Mon, 12 Jun 2017 19:40:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5CJetJ5007398 for ; Mon, 12 Jun 2017 19:40:55 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 219901] [Panic] [VIMAGE] [if_bridge] panic when destroying interface on bridge over time Date: Mon, 12 Jun 2017 19:40:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 19:40:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219901 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Jun 12 21:03:16 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E48FDC7835B for ; Mon, 12 Jun 2017 21:03:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D22ED7F2C3 for ; Mon, 12 Jun 2017 21:03:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5CL3Caf042998 for ; Mon, 12 Jun 2017 21:03:16 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Mon, 12 Jun 2017 21:03:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 21:03:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #32 from Cassiano Peixoto --- (In reply to Cassiano Peixoto from comment #31) Eugene, I just tried on another machine to compile mpd5 with debug enabled and then= ran a killall -QUIT to generate a crashdump. But nothing happens, i looked on /var/crash but there is nothing there. Am i missing something? Thanks. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Jun 13 08:25:12 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 392DBB95A6F for ; Tue, 13 Jun 2017 08:25: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 26AB072AC8 for ; Tue, 13 Jun 2017 08:25: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 v5D8P84n008715 for ; Tue, 13 Jun 2017 08:25:12 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Tue, 13 Jun 2017 08:25:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 08:25:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #33 from Eugene Grosbein --- (In reply to Cassiano Peixoto from comment #32) I'd better say "corefile" instead of "crashdump" as crashdump is generated = for kernel panic and core file for userland process crashed or killed with a signal. Use something like sysctl kern.corefile=3D'/var/tmp/%N.core' to specify loc= ation for corefiles. By default, its' written to process current directory. Take a look at /usr/local/etc/mpd5/ for mpd.core --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Jun 13 11:30:46 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 42073BF1526 for ; Tue, 13 Jun 2017 11:30: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 2E32777DE2 for ; Tue, 13 Jun 2017 11:30:46 +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 v5DBUi4q015292 for ; Tue, 13 Jun 2017 11:30:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Tue, 13 Jun 2017 11:30:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 11:30:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #34 from Cassiano Peixoto --- (In reply to Eugene Grosbein from comment #33) I tried like you said, but didn't work, look: # sysctl kern.corefile=3D'/var/tmp/%N.core' # ps ax | grep mpd5 31784 - Ss 0:00.01 /usr/local/sbin/mpd5 -p /var/run/mpd5.pid -b # killall -QUIT mpd5 # ls /var/tmp/ nginx/ vi.recover/ Shouldn't i run the process with gdb? --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Jun 13 14:58:11 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CE184BF6C27 for ; Tue, 13 Jun 2017 14:58: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 BC1737EFB6 for ; Tue, 13 Jun 2017 14:58: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 v5DEw7rP090209 for ; Tue, 13 Jun 2017 14:58:11 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Tue, 13 Jun 2017 14:58:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 14:58:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #35 from Eugene Grosbein --- (In reply to Cassiano Peixoto from comment #34) Does "killall" really terminate the process or does it continue to run? Perhaps, the signal is blocked for some reason. There are several ways to s= tart mpd5 from the beginning. How do you start it? --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Jun 13 17:09:59 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D4D4EBF9E30 for ; Tue, 13 Jun 2017 17:09: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 C2D7A84287 for ; Tue, 13 Jun 2017 17:09: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 v5DH9sFk082392 for ; Tue, 13 Jun 2017 17:09:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Tue, 13 Jun 2017 17:09:54 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 17:09:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #36 from Cassiano Peixoto --- (In reply to Eugene Grosbein from comment #35) it's not running anymore, look: # ps ax | grep mpd5 52264 1 S+ 0:00.00 grep mpd5 # /usr/local/etc/rc.d/mpd5 forcestart Starting mpd5. # ps ax | grep mpd5 52275 - Ss 0:00.01 /usr/local/sbin/mpd5 -p /var/run/mpd5.pid -b 52286 1 S+ 0:00.00 grep mpd5 # killall -QUIT mpd5 # ps ax | grep mpd5 52293 1 S+ 0:00.00 grep mpd5 # sysctl kern.corefile kern.corefile: /var/tmp/%N.core # ls /var/tmp/ nginx vi.recover As you can see above i'm using rc.d script to mpd5 startup. It always start with: -p /var/run/mpd5.pid -b --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Jun 13 17:24:02 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E98E8BFA234 for ; Tue, 13 Jun 2017 17:24: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 D6AFF849A5 for ; Tue, 13 Jun 2017 17:24: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 v5DHO139030084 for ; Tue, 13 Jun 2017 17:24:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Tue, 13 Jun 2017 17:24:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 17:24:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #37 from Eugene Grosbein --- (In reply to Cassiano Peixoto from comment #36) Do you use tcsh for your login shell? Anyway, try starting mpd using direct command "/usr/local/sbin/mpd5 -p /var/run/mpd5.pid -b" for a test instead of "service" to verify if it will = be any difference with signal handling. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Jun 13 17:26:49 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72652BFA326 for ; Tue, 13 Jun 2017 17:26:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 602E184B86 for ; Tue, 13 Jun 2017 17:26:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5DHQlOL034280 for ; Tue, 13 Jun 2017 17:26:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Tue, 13 Jun 2017 17:26:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 17:26:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #38 from Cassiano Peixoto --- (In reply to Eugene Grosbein from comment #37) Same behaviour: # ps ax | grep mpd5 53396 1 R+ 0:00.00 grep mpd5 # /usr/local/sbin/mpd5 -p /var/run/mpd5.pid -b # ps ax | grep mpd5 53402 - Ss 0:00.01 /usr/local/sbin/mpd5 -p /var/run/mpd5.pid -b 53409 1 S+ 0:00.00 grep mpd5 # killall -QUIT mpd5 # ps ax | grep mpd5 53413 1 S+ 0:00.00 grep mpd5 # ls /var/tmp/ nginx vi.recover --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Jun 13 18:02:02 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AEF2DBFAFA6 for ; Tue, 13 Jun 2017 18:02: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 9CBAA111B for ; Tue, 13 Jun 2017 18:02: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 v5DI22xk035263 for ; Tue, 13 Jun 2017 18:02:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Tue, 13 Jun 2017 18:02:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 18:02:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #39 from Eugene Grosbein --- (In reply to Cassiano Peixoto from comment #38) Please show output of the command: dmesg | grep mpd5 --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Jun 13 18:03:48 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B9966BFB041 for ; Tue, 13 Jun 2017 18:03:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A746B12CD for ; Tue, 13 Jun 2017 18:03:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5DI3l8d043178 for ; Tue, 13 Jun 2017 18:03:48 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Tue, 13 Jun 2017 18:03:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 18:03:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #40 from Cassiano Peixoto --- (In reply to Eugene Grosbein from comment #39) # dmesg | grep mpd5 pid 53402 (mpd5), uid 0: exited on signal 3 pid 53441 (mpd5), uid 0: exited on signal 3 pid 53758 (mpd5), uid 0: exited on signal 3 --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Jun 13 19:40:57 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2A0C3BFD108 for ; Tue, 13 Jun 2017 19:40: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 17D1B6513E for ; Tue, 13 Jun 2017 19:40: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 v5DJetND004327 for ; Tue, 13 Jun 2017 19:40:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Tue, 13 Jun 2017 19:40:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 19:40:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #41 from Eugene Grosbein --- (In reply to Cassiano Peixoto from comment #40) The signal is delivered but core generation is disabled for some reason. To find it, please show output of commands: sysctl kern.coredump proccontrol -q -m trace -p $(cat /var/run/mpd5.pid) limits -c --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Jun 13 20:05:37 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D1EF4BFD9A8 for ; Tue, 13 Jun 2017 20:05: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 BE6EC665A8 for ; Tue, 13 Jun 2017 20:05: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 v5DK5aZe087568 for ; Tue, 13 Jun 2017 20:05:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Tue, 13 Jun 2017 20:05:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 20:05:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #42 from Cassiano Peixoto --- (In reply to Eugene Grosbein from comment #41) I've just found out. My coredumpsize limit has been configured to 0Kb :( Now it worked fine. Thanks for your help. I'll keep you posted. Until now i= t's running fine with patch applied. Thanks. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Jun 14 02:51:15 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A8456C77F3C for ; Wed, 14 Jun 2017 02:51:15 +0000 (UTC) (envelope-from rpaulo@me.com) Received: from mr11p00im-asmtp001.me.com (mr11p00im-asmtp001.me.com [17.110.69.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8C7AF76123; Wed, 14 Jun 2017 02:51:15 +0000 (UTC) (envelope-from rpaulo@me.com) Received: from process-dkim-sign-daemon.mr11p00im-asmtp001.me.com by mr11p00im-asmtp001.me.com (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016)) id <0ORI00C00N8QIC00@mr11p00im-asmtp001.me.com>; Wed, 14 Jun 2017 02:51:09 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=04042017; t=1497408669; bh=IMOLJaFgp0MeT2VPT2K7TD/o24WpZXjL1t4q5LrD3mI=; h=MIME-version:Content-type:Message-id:Subject:From:To:Date; b=K2GJ52CgJzDgWf29Rz2MHsFbp46VbPAt44ciVycNDU1LSPMNMY7fDiq5KlDeFTIBw GX43IMyQgVogflb37/c8BHETKSrtHdrAxySvLv7VKYHau4ctu/cGUtFrwq9rzLsT5p 2/pp765iJCkfbx5VmqjYRfOYt/fjpzliS/+KmZB4x9nDaZ7ludJJOwmpuGYClrcYoS F7o9Q41W9EQZ3i/Yu4MmQnUoLtK1oGPNIzRyCLiF5A40AaXsAeVGkNv8Od+YTkK/TE uMUNhCFjFpy8I1igrgMZJBQn9zQ52TUFkRveFFszCyLoNsMSjRHpJd2SytPBCx+LHO O8wL8PsAFgsQQ== MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=UTF-8 Received: from icloud.com ([127.0.0.1]) by mr11p00im-asmtp001.me.com (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016)) with ESMTPSA id <0ORI00KZPNX7F510@mr11p00im-asmtp001.me.com>; Wed, 14 Jun 2017 02:51:08 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-06-14_01:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1034 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1701120000 definitions=main-1706140052 Message-id: <1497408664.2220.3.camel@me.com> Subject: Re: Enable IPv6 Privacy Extensions by default From: Rui Paulo To: Tijl Coosemans , "Bjoern A. Zeeb" Cc: freebsd-net@FreeBSD.org Date: Tue, 13 Jun 2017 19:51:04 -0700 In-reply-to: <20170612131912.42537b13@kalimero.tijl.coosemans.org> References: <20170611215904.4612ee41@kalimero.tijl.coosemans.org> <20170612131912.42537b13@kalimero.tijl.coosemans.org> X-Mailer: Evolution 3.22.6-1 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 02:51:15 -0000 On Mon, 2017-06-12 at 13:19 +0200, Tijl Coosemans wrote: > On Sun, 11 Jun 2017 22:13:14 +0000 "Bjoern A. Zeeb" s.zabbadoz.net> wrote: > > On 11 Jun 2017, at 19:59, Tijl Coosemans wrote: > > > I recently got a new modem/router from my ISP that supports > > > IPv6.  Added > > > ifconfig_em0_ipv6="inet6 accept_rtadv" and rtsold_enable="YES" to > > > /etc/rc.conf like the handbook says and now all my FreeBSD > > > systems have > > > an IPv6 address. \o/ > > > > > > I also added these lines to /etc/sysctl.conf to enable temporary > > > addresses: > > > > > > net.inet6.ip6.use_tempaddr=1 > > > net.inet6.ip6.prefer_tempaddr=1 > > > > > > Shouldn't these be enabled by default?  There was a proposal 9 > > > years ago > > > that didn't get any objections but it seems it wasn't committed: > > > https://lists.freebsd.org/pipermail/freebsd-net/2008-June/018381. > > > html > > > > > > If there are no objections, I'll make the change in a week or > > > so.   > > > > Object :) > > > > Check the rc.conf ipv6_privacy option rather than setting the > > sysctl > > manually. > > Ah, thanks.  I see that RFC 4941 also recommends it be disabled by > default. RFC 4941 was written in a time where MAC address privacy was not a concern, but now we know better. I don't see any reason why we shouldn't have privacy addresses enabled by default. In fact, back in 2008 no one voiced their concerns. -- Rui Paulo From owner-freebsd-net@freebsd.org Wed Jun 14 02:57:29 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F018AC782BA for ; Wed, 14 Jun 2017 02:57:29 +0000 (UTC) (envelope-from wollman@hergotha.csail.mit.edu) Received: from hergotha.csail.mit.edu (wollman-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:ccb::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 B86C47651B for ; Wed, 14 Jun 2017 02:57:29 +0000 (UTC) (envelope-from wollman@hergotha.csail.mit.edu) Received: from hergotha.csail.mit.edu (localhost [127.0.0.1]) by hergotha.csail.mit.edu (8.15.2/8.15.2) with ESMTP id v5E2vRLK029174; Tue, 13 Jun 2017 22:57:27 -0400 (EDT) (envelope-from wollman@hergotha.csail.mit.edu) Received: (from wollman@localhost) by hergotha.csail.mit.edu (8.15.2/8.14.4/Submit) id v5E2vRDE029173; Tue, 13 Jun 2017 22:57:27 -0400 (EDT) (envelope-from wollman) Date: Tue, 13 Jun 2017 22:57:27 -0400 (EDT) From: Garrett Wollman Message-Id: <201706140257.v5E2vRDE029173@hergotha.csail.mit.edu> To: rpaulo@me.com Cc: freebsd-net@freebsd.org Subject: Re: Enable IPv6 Privacy Extensions by default References: <20170611215904.4612ee41@kalimero.tijl.coosemans.org> <20170612131912.42537b13@kalimero.tijl.coosemans.org> <1497408664.2220.3.camel@me.com> Organization: none Cc: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (hergotha.csail.mit.edu [127.0.0.1]); Tue, 13 Jun 2017 22:57:27 -0400 (EDT) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hergotha.csail.mit.edu X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 02:57:30 -0000 In article <1497408664.2220.3.camel@me.com>, rpaulo@me.com writes: >I don't see any reason why we shouldn't have privacy addresses enabled >by default. In fact, back in 2008 no one voiced their concerns. Back in 2008 most people hadn't had their networks fall over as a result of MLD listener report implosions when a thousand machines report (via multicast, natch) their eight[1] single-member solicited-node multicast groups in the space of a few seconds. -GAWollman [1] Assuming the vendor actually implemented the thing correctly. Some of us have seen what happens when one machine reports eight hundred single-member solicited-node multicast groups in the space of a few milliseconds. From owner-freebsd-net@freebsd.org Wed Jun 14 06:14:44 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 73CB2D86DA5 for ; Wed, 14 Jun 2017 06:14:44 +0000 (UTC) (envelope-from rpaulo@me.com) Received: from mr11p00im-asmtp002.me.com (mr11p00im-asmtp002.me.com [17.110.69.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4A1097B7DE for ; Wed, 14 Jun 2017 06:14:44 +0000 (UTC) (envelope-from rpaulo@me.com) Received: from process-dkim-sign-daemon.mr11p00im-asmtp002.me.com by mr11p00im-asmtp002.me.com (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016)) id <0ORI00200TXC5B00@mr11p00im-asmtp002.me.com> for freebsd-net@freebsd.org; Wed, 14 Jun 2017 05:14:23 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=04042017; t=1497417263; bh=yyV6z/6UzquFoUWfdT1r/LhREYXSboTuz0H4Q4Fz9HU=; h=MIME-version:Content-type:Message-id:Subject:From:To:Date; b=HHxxRlrx37VH0bXWrd3PO1lET0Eje0PXniaKPlxW+18pcumd7/+2r9JLeHfmrbL8O /Fd/2fGFSiXOaBL5jPdLr3UI5t8f1iw0OUpXHhAKsnHQBlEtzJzYxYxPkEGClkASgu hckGT4qL11ZrDECTeAz2Ns08NaRGSpQszPnwjlSE6D7Gyhjm6SK/OWpeAzbf25CqDa kLwc3r1M4ifq37nQrw8XeWSBlnf4MKAI+Y0RLRkxg6RB8HKb6IPiVBI6bZKpbEurnb Vc5JB5+Hcv2cv4ZrLyqRb2Em/6krNbBH73LoiYkD/7foAQPHqQcv7ruTx+pXQDK5Al 9kcVbClb8Rzdw== MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=UTF-8 Received: from icloud.com ([127.0.0.1]) by mr11p00im-asmtp002.me.com (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016)) with ESMTPSA id <0ORI00BFRUJXWY10@mr11p00im-asmtp002.me.com>; Wed, 14 Jun 2017 05:14:22 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-06-14_01:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1034 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1701120000 definitions=main-1706140095 Message-id: <1497417261.2220.5.camel@me.com> Subject: Re: Enable IPv6 Privacy Extensions by default From: Rui Paulo To: Garrett Wollman Cc: freebsd-net@freebsd.org Date: Tue, 13 Jun 2017 22:14:21 -0700 In-reply-to: <201706140257.v5E2vRDE029173@hergotha.csail.mit.edu> References: <20170611215904.4612ee41@kalimero.tijl.coosemans.org> <20170612131912.42537b13@kalimero.tijl.coosemans.org> <1497408664.2220.3.camel@me.com> <201706140257.v5E2vRDE029173@hergotha.csail.mit.edu> X-Mailer: Evolution 3.22.6-1 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 06:14:44 -0000 On Tue, 2017-06-13 at 22:57 -0400, Garrett Wollman wrote: > In article <1497408664.2220.3.camel@me.com>, rpaulo@me.com writes: > > > I don't see any reason why we shouldn't have privacy addresses > > enabled > > by default.  In fact, back in 2008 no one voiced their concerns. > > Back in 2008 most people hadn't had their networks fall over as a > result of MLD listener report implosions when a thousand machines > report (via multicast, natch) their eight[1] single-member > solicited-node multicast groups in the space of a few seconds. > > -GAWollman > > [1] Assuming the vendor actually implemented the thing correctly. > Some of us have seen what happens when one machine reports eight > hundred single-member solicited-node multicast groups in the space of > a few milliseconds. Pretty sure these problems have been addressed by now, given the amount of computers, smart phones, tablets, etc. running with privacy extensions enabled. If you still think this is a big problem, then FreeBSD could simply implement CGA . -- Rui Paulo From owner-freebsd-net@freebsd.org Wed Jun 14 12:34:34 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7E6D2D8D041 for ; Wed, 14 Jun 2017 12:34:34 +0000 (UTC) (envelope-from Mark.Martinec+freebsd@ijs.si) Received: from mail.ijs.si (mail.ijs.si [IPv6:2001:1470:ff80::25]) (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 1C70C1674 for ; Wed, 14 Jun 2017 12:34:34 +0000 (UTC) (envelope-from Mark.Martinec+freebsd@ijs.si) Received: from amavis-ori.ijs.si (localhost [IPv6:::1]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.ijs.si (Postfix) with ESMTPS id 3wnmKf2Jz9zRn; Wed, 14 Jun 2017 14:34:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ijs.si; h= user-agent:message-id:references:in-reply-to:organization :subject:subject:from:from:date:date:content-transfer-encoding :content-type:content-type:mime-version:received:received :received:received; s=jakla4; t=1497443665; x=1500035666; bh=nSF opMqJjETNrA7hhoLxlZ7mnSplTV9CD/wrBQBvmKE=; b=ainqbTiOI6F/+CzfJmF SBTOEb9nDvCIVrhPmdmEQCS8NrkYY0zp6b3hkv7vOnaLxNSt18EYZwBdo0OJb60o pxmegSHfOZbwxZ7VXeKD7EpI3+WX/F6sEv857JxOzsCSifhVnJnmeiXe/8+fH/mc gMpY2Kl/XduZaOMQ390GBZq0= X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([IPv6:::1]) by amavis-ori.ijs.si (mail.ijs.si [IPv6:::1]) (amavisd-new, port 10026) with LMTP id DIHZiPj3IaD3; Wed, 14 Jun 2017 14:34:25 +0200 (CEST) Received: from mildred.ijs.si (mailbox.ijs.si [IPv6:2001:1470:ff80::143:1]) by mail.ijs.si (Postfix) with ESMTP id 3wnmKY3HFjzRj; Wed, 14 Jun 2017 14:34:25 +0200 (CEST) Received: from nabiralnik.ijs.si (nabiralnik.ijs.si [IPv6:2001:1470:ff80::80:16]) by mildred.ijs.si (Postfix) with ESMTP id 3wnmKY31dLznC; Wed, 14 Jun 2017 14:34:25 +0200 (CEST) Received: from neli.ijs.si (2001:1470:ff80:88:21c:c0ff:feb1:8c91) by nabiralnik.ijs.si with HTTP (HTTP/1.1 POST); Wed, 14 Jun 2017 14:34:25 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Wed, 14 Jun 2017 14:34:25 +0200 From: Mark Martinec To: freebsd-net@freebsd.org Cc: Garrett Wollman , Rui Paulo Subject: Re: Enable IPv6 Privacy Extensions by default Organization: Jozef Stefan Institute In-Reply-To: <1497417261.2220.5.camel@me.com> References: <20170611215904.4612ee41@kalimero.tijl.coosemans.org> <20170612131912.42537b13@kalimero.tijl.coosemans.org> <1497408664.2220.3.camel@me.com> <201706140257.v5E2vRDE029173@hergotha.csail.mit.edu> <1497417261.2220.5.camel@me.com> Message-ID: X-Sender: Mark.Martinec+freebsd@ijs.si User-Agent: Roundcube Webmail/1.2.4 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 12:34:34 -0000 The temporary (i.e. "privacy addresses", RFC4941) address use is a no-no for enterprise environments, which require address (user) accountability and stability. It is also inappropriate for servers. Add to this the nightmare of multicast caches overflowing in routers (as mentioned by others). The common advocacy for temporary addresses is hiding the MAC address and preventing location tracking for mobile computers. Both of these problems are addresses/solved by "Stable, Semantically Opaque IIDs": [RFC7217] "A Method for Generating Semantically Opaque Interface Identifiers with IPv6 Stateless Address Autoconfiguration (SLAAC)", which retains the benefits of SLAAC, hides MAC addresses and ensures the IID changes when a computer moves to another network - without disadvantages of temporary ("privacy") addresses. Please do not enable classical RFC 4941 temporary addresses by default! I think it is a about time that FreeBSD makes it possible to configure "Stable, semantically opaque" address with a simple rc.conf setting, as some other™ operating systems have done by now! The RFC 7721 (IPv6 Address Generation Privacy) summarizes the "Stable, semantically opaque" address selection mechanism as follows: 4.5. Stable, Semantically Opaque IIDs [RFC7217] specifies an algorithm that generates, for each network interface, a unique random IID per IPv6 link. The aforementioned algorithm is employed not only for global unicast addresses, but also for unique local unicast addresses and link-local unicast addresses since these addresses may leak out via application protocols (e.g., IPv6 addresses embedded in email headers). A host that stays connected to the same IPv6 link could therefore be tracked at length, whereas a mobile host's activities could only be correlated for the duration of each network connection. Location tracking is not possible with these addresses. They also do not allow device-specific exploitation or address-scanning attacks. To repeat what I have recently written elsewhere: | I wish FreeBSD would adopt the dhcpcd daemon from the NetBSD project | (2-clause BSD license) as a standard DHCP client for IPv4 and IPv6, | as some other OSes have done by now. It is currently available in | FreeBSD ports as net/dhcpcd. | | Among other features it supports RFC 7217, i.e. stable privacy address, | which should be as easy to configure in FreeBSD as is now the | (mostly undesirable) ipv6_privacy="YES", but is currently much | too complicated for an average user. Mark 2017-06-14 07:14, Rui Paulo wrote: > On Tue, 2017-06-13 at 22:57 -0400, Garrett Wollman wrote: >> In article <1497408664.2220.3.camel@me.com>, rpaulo@me.com writes: >> >> > I don't see any reason why we shouldn't have privacy addresses >> > enabled >> > by default.  In fact, back in 2008 no one voiced their concerns. >> >> Back in 2008 most people hadn't had their networks fall over as a >> result of MLD listener report implosions when a thousand machines >> report (via multicast, natch) their eight[1] single-member >> solicited-node multicast groups in the space of a few seconds. >> >> -GAWollman >> >> [1] Assuming the vendor actually implemented the thing correctly. >> Some of us have seen what happens when one machine reports eight >> hundred single-member solicited-node multicast groups in the space of >> a few milliseconds. > > Pretty sure these problems have been addressed by now, given the amount > of computers, smart phones, tablets, etc. running with privacy > extensions enabled. > > If you still think this is a big problem, then FreeBSD could simply > implement CGA . From owner-freebsd-net@freebsd.org Wed Jun 14 12:36:58 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5758AD8D18A for ; Wed, 14 Jun 2017 12:36:58 +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 4607E186D for ; Wed, 14 Jun 2017 12:36:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5ECavlq099423 for ; Wed, 14 Jun 2017 12:36:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 208205] re0 watchdog timeout Date: Wed, 14 Jun 2017 12:36:57 +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.3-BETA2 X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ml@netfence.it X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 12:36:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208205 --- Comment #15 from ml@netfence.it --- Hello. Just to say that I have a new box which is showing this behaviour: re0 (on motherboard) locks, while re1 (PCI-X card) is still working. # pciconf -lv ... re0@pci0:1:0:0: class=3D0x020000 card=3D0x79821462 chip=3D0x816810ec rev=3D= 0x15 hdr=3D0x00 vendor =3D 'Realtek Semiconductor Co., Ltd.' device =3D 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controll= er' class =3D network subclass =3D ethernet re1@pci0:2:0:0: class=3D0x020000 card=3D0x34687470 chip=3D0x816810ec rev=3D= 0x06 hdr=3D0x00 vendor =3D 'Realtek Semiconductor Co., Ltd.' device =3D 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controll= er' class =3D network subclass =3D ethernet Those are the same cards as in my previous comment, but the box is a differ= ent one. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Jun 14 14:05:11 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A86FD8E8B6 for ; Wed, 14 Jun 2017 14:05: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 6833E6484B for ; Wed, 14 Jun 2017 14:05: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 v5EE5B1i030589 for ; Wed, 14 Jun 2017 14:05:11 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Wed, 14 Jun 2017 14:05:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 14:05:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #43 from Eugene Grosbein --- (In reply to Cassiano Peixoto from comment #42) I've repeated my stress test for mpd5 and without RADIUS it runs just fine = but with RADIUS I'm able to reliably reproduce this problem in a minute using unpatched mpd5 and libc. This the patch for mpd5, the problem goes away. Note however, that I did not use mpd's web server and the patch is not complete. The patch for libc seems to non-functional and incomplete too. I've raised = this issue to freebsd-stable@ mailing list trying to get more attention to the problem from developers. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Jun 14 14:15:00 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1AF51D8EC2C for ; Wed, 14 Jun 2017 14:15: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 085CD64F8B for ; Wed, 14 Jun 2017 14:15: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 v5EEExcl052071 for ; Wed, 14 Jun 2017 14:14:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Wed, 14 Jun 2017 14:15:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 14:15:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #44 from Cassiano Peixoto --- (In reply to Eugene Grosbein from comment #43) Hi Eugene, Thank you very much for your support. I stopped using mpd5 web, i replaced = my script with mpd5 console to collect statistics. Let's see if it keeps stabl= e. Is there a way to reproduce your tests with radius? As i'm using mpd5+radius would be interesting to try after mpd5 patch applied. If you don't mind I'd like to suggest two things: 1) Attach the patches on this PR, it will be helpful to someone who is following it. 2) Assign this PR to you, because clearly Ermal Lu=C3=A7i is not working on= this anymore. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Jun 14 14:48:50 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2AC0AD8FAD1 for ; Wed, 14 Jun 2017 14:48:50 +0000 (UTC) (envelope-from jjasen@gmail.com) Received: from mail-oi0-x22b.google.com (mail-oi0-x22b.google.com [IPv6:2607:f8b0:4003:c06::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E45F366B86 for ; Wed, 14 Jun 2017 14:48:49 +0000 (UTC) (envelope-from jjasen@gmail.com) Received: by mail-oi0-x22b.google.com with SMTP id k145so1817429oih.3 for ; Wed, 14 Jun 2017 07:48:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=qcM3K5ELZa0+J6m2bfaO+adwJx6plELG3/lKxxn69rE=; b=UmOzddT6IhRYt5AbyRqSjYANl0p9lH50s/bny0+Z+4v97TnMt0fRXMxW5dPJR7Z8Bt +P6NDwbuSx/EyJR+9SrFnzXlk7R3qe0zWmeyBCZmt/Dpt9CQ/GLINWwIPWU1G2UUX8Mq A+QNkNHpfsPrrd1OcNNCDVWz7rNCreL5HM+8qix3+PCIY2xoRkLsQrs9O9U3NloMQQPi vJrj5bUo0c4KS8k7+Rl1wGffTkwYyIlZlCMCZTh+VEhfdAgoiu74j3oCsRYhxSrjvaQp lmflXaOzNvHBKR2/LSnZD5LWt3I68ZxGSMThArQFNCqU31EjzWLEluhYluBza0+tA0Jk vTxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=qcM3K5ELZa0+J6m2bfaO+adwJx6plELG3/lKxxn69rE=; b=O8zqiA4sg19sBkJlRM7nP1ipHz2l0CGNCjwAOcYUhPoU55uOEqY68AK1F45n3wb/Ru gFcoGMZHUeqW9Mq0YLuM7Hh7UcjO7VFr7BZvu6TKjR66iAyF+A3rgzi8fPa/is1nWdR6 wYEdKDPK1f4Bt6E1+hS8z9hVvIWYzaAg66ulkndhUUZ5Nk0LNwTYYqsFUiOO2pQShu1m nyiukkvH0jhTdZuHgC7jKfOXtKq7X6Ty8X6J4x4WYpMtn7iIoBjojJot+CTgcxVLGY13 sLSdK4TI3HrmkiSVASeLU0jf5TFXH+FNLQkNQU3GjiM/NYw1XhOpFVPdYO04CJf3lHsC 1HxA== X-Gm-Message-State: AKS2vOxjDegUdJvYRWgNi8LN1yB3EPv8AE13YjHDpujzv+9rQjyG7tNN JlHbrqsA84MQ4+pgVXvl0MYLpeZBdkDZ X-Received: by 10.202.74.15 with SMTP id x15mr401111oia.96.1497451728889; Wed, 14 Jun 2017 07:48:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.63.100 with HTTP; Wed, 14 Jun 2017 07:48:48 -0700 (PDT) From: John Jasen Date: Wed, 14 Jun 2017 10:48:48 -0400 Message-ID: Subject: state of packet forwarding in FreeBSD? To: FreeBSD Net Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 14:48:50 -0000 Our goal was to test whether or not FreeBSD currently is viable, as the operating system platform for high speed routers and firewalls, in the 40 to 100 GbE range. In our investigations, we tested 10.3, 11.0/-STABLE, -CURRENT, and a USB stick from BSDRP using the FreeBSD routing improvements project enhancements (https://wiki.freebsd.org/ProjectsRoutingProposal). We've tried stock and netmap-fwd, have played around a little with netmap itself and dpdk, with the results summarized below. The current testing platform is a Dell PowerEdge R530 with a Chelsio T580-LP-CR dual port 40GbE card. Suggestions, examples for using netmap, etc, all warmly welcomed. Further questions cheerfully answered to the best of our abilities. a) On the positive side, it appears that 11.0 is much faster than 10.0, which we tested several years ago. With appropriate cpuset tuning, 5.5 mpps is achievable using modern hardware. Using slightly older hardware, (such as a Dell R720 with v3 xeons), around 5.2-5.3 mpps can be obtained. b) On the negative side, between the various releases, netmap appeared to be unstable with the Chelsio cards -- sometimes supported, sometimes broken. Also, we're still trying to figure out netmap utilities, such as vale-ctl and bridge, so any advice would be appreciated. b.1) netmap-fwd is admittedly single-threaded and does not support IPv6. These clearly showed in our tests, as we were unable to achieve over 2.5 mpps, saturating a single CPU and letting the others fall asleep. However, bumping a single CPU queue from around 0.6 mpps to 2.5 mpps is nothing to ignore, so it could be useful in some cases. c) The routing improvement project USB stick performed incredibly, achieving 8.5 mpps out of the box. However, it appears (https://wiki.freebsd.org/ProjectsRoutingProposal/ConversionStatus), that many of the changes are still pending review, and that things have not moved much in the last 18 months (https://svnweb.freebsd.org/base/projects/routing/) d) We've not figured out dpdk (dpdk.org) yet. Our first foray into the test examples, and we're stuck trying to get the interfaces online. -- John Jasen (jjasen@gmail.com) From owner-freebsd-net@freebsd.org Wed Jun 14 15:03:53 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ABE1CD8FE8C for ; Wed, 14 Jun 2017 15:03:53 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-ot0-x22a.google.com (mail-ot0-x22a.google.com [IPv6:2607:f8b0:4003:c0f::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6E087673AE for ; Wed, 14 Jun 2017 15:03:53 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-ot0-x22a.google.com with SMTP id s7so2497290otb.3 for ; Wed, 14 Jun 2017 08:03:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=i1wzkDDWcDKa8BQkrEHDPcijN04qLAPC/LIIP3YnZrQ=; b=Ijm7ZjlEkrBySa20dwgFWe0r4mDsBLySxKXKPVcnA38Qoiyf+Rt8aY0yVgjR4FDQM4 R7wLAuC7bUl/iKtFEmZdShItWvJ716gjELOGCqwwf/kyONkt1AKoGRGPatyo1iUCYU2k lwTtIC4gMQYI6VI5S6lty4E6IN9YCB2DaMK0T1uivff2GMtLtuekLdFHBL1IGl5iYPCD oJlog0hF24+1lRdsyz+GWUQAvC2f59RfXZLIfZyBjz3nLqOhLqNiCfwilFxksR9J70ts qZiUc0Vv1wz+b3UBpgyPzlJLzeKeM+4PbUTyYxbMZRMnWmv64+VlSKfTZ+HNthaGE9d6 B9GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=i1wzkDDWcDKa8BQkrEHDPcijN04qLAPC/LIIP3YnZrQ=; b=dxB+dRMVuZOvY0L073APaCCTIJQ6w3GO23ScEhrcXiHgBy8VCxC6qngdzVlVM07MVU fnmsLlprpFNaxsK6gAydlQfDJLG+yw51TAphXi4Ycr5El4HRgHAK9SS9RJFO6pOXyQ69 K96xZRp69rgBxU3eTIZ6bEZOo2Edto5Tqhqr6UYt2jwMroqyg/dICIO17Pz9ZbxHX6pj CqQoIyCoyxXyOUqy2W++zhWb8sP61XwID1zPsVmO+6ZF0lspZ1H25pD0oQKVECsA6oVN m+wI5nYfpyJVEGTrnCNWIwlAFPL+WGtCsR62N1o92u+1um8qQcPkAGbMkRALdBYB2Do/ IaRA== X-Gm-Message-State: AKS2vOzbgNP0L8UXySKYjSAEL130f59e17UadbgUPAxYV5i1yscQPTqg 9K3NkhxNAc/LRenCxgUFyfKmXizZpA== X-Received: by 10.157.45.169 with SMTP id g38mr430357otb.73.1497452632630; Wed, 14 Jun 2017 08:03:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.17.49 with HTTP; Wed, 14 Jun 2017 08:03:52 -0700 (PDT) Received: by 10.157.17.49 with HTTP; Wed, 14 Jun 2017 08:03:52 -0700 (PDT) In-Reply-To: References: From: Vincenzo Maffione Date: Wed, 14 Jun 2017 17:03:52 +0200 Message-ID: Subject: Re: state of packet forwarding in FreeBSD? To: John Jasen Cc: FreeBSD Net Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 15:03:53 -0000 Hi, To test netmap raw forwarding performance using just one core, use the bridge program between two netmap supported NICs, like ix or ixl # ./bridge ix0 ix1 You could implement your own multicore software router by extending the bridge example to implement the protocols you need. Vale-ctl it's a different story, you can use it to attach netmap enabled NICs to the VALE software bridge. See the VALE paper for details. Cheers, Vincenzo Il 14 giu 2017 4:48 PM, "John Jasen" ha scritto: > Our goal was to test whether or not FreeBSD currently is viable, as the > operating system platform for high speed routers and firewalls, in the > 40 to 100 GbE range. > > In our investigations, we tested 10.3, 11.0/-STABLE, -CURRENT, and a USB > stick from BSDRP using the FreeBSD routing improvements project > enhancements (https://wiki.freebsd.org/ProjectsRoutingProposal). > > We've tried stock and netmap-fwd, have played around a little with > netmap itself and dpdk, with the results summarized below. The current > testing platform is a Dell PowerEdge R530 with a Chelsio T580-LP-CR dual > port 40GbE card. > > Suggestions, examples for using netmap, etc, all warmly welcomed. > > Further questions cheerfully answered to the best of our abilities. > > a) On the positive side, it appears that 11.0 is much faster than 10.0, > which we tested several years ago. With appropriate cpuset tuning, 5.5 > mpps is achievable using modern hardware. Using slightly older hardware, > (such as a Dell R720 with v3 xeons), around 5.2-5.3 mpps can be obtained. > > b) On the negative side, between the various releases, netmap appeared > to be unstable with the Chelsio cards -- sometimes supported, sometimes > broken. Also, we're still trying to figure out netmap utilities, such as > vale-ctl and bridge, so any advice would be appreciated. > > b.1) netmap-fwd is admittedly single-threaded and does not support IPv6. > These clearly showed in our tests, as we were unable to achieve over 2.5 > mpps, saturating a single CPU and letting the others fall asleep. > However, bumping a single CPU queue from around 0.6 mpps to 2.5 mpps is > nothing to ignore, so it could be useful in some cases. > > c) The routing improvement project USB stick performed incredibly, > achieving 8.5 mpps out of the box. However, it appears > (https://wiki.freebsd.org/ProjectsRoutingProposal/ConversionStatus), > that many of the changes are still pending review, and that things have > not moved much in the last 18 months > (https://svnweb.freebsd.org/base/projects/routing/) > > d) We've not figured out dpdk (dpdk.org) yet. Our first foray into the > test examples, and we're stuck trying to get the interfaces online. > > -- John Jasen (jjasen@gmail.com) > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@freebsd.org Wed Jun 14 15:21:41 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 23DFBB945B9 for ; Wed, 14 Jun 2017 15:21:41 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: from smtp.smtpout.orange.fr (smtp01.smtpout.orange.fr [80.12.242.123]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 646FF68024 for ; Wed, 14 Jun 2017 15:21:39 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: from mail-yw0-f172.google.com ([209.85.161.172]) by mwinf5d53 with ME id YfMV1v00V3jUb6x03fMWeR; Wed, 14 Jun 2017 17:21:31 +0200 X-ME-Helo: mail-yw0-f172.google.com X-ME-Auth: Y29jaGFyZC1sYWJiZS5vbGl2aWVyQG9yYW5nZS5mcg== X-ME-Date: Wed, 14 Jun 2017 17:21:31 +0200 X-ME-IP: 209.85.161.172 Received: by mail-yw0-f172.google.com with SMTP id v7so1746546ywc.2 for ; Wed, 14 Jun 2017 08:21:30 -0700 (PDT) X-Gm-Message-State: AKS2vOy4RR3QQzMUhQUl/pVwiwP6GCtrhIfepjZgQCLCA6xBjABhwNCZ UdCKfYsL7e1VWfznFPLjpv2oHhyHXA== X-Received: by 10.129.107.69 with SMTP id g66mr550937ywc.121.1497453689354; Wed, 14 Jun 2017 08:21:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.52.78 with HTTP; Wed, 14 Jun 2017 08:21:08 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= Date: Wed, 14 Jun 2017 17:21:08 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: state of packet forwarding in FreeBSD? To: John Jasen Cc: FreeBSD Net Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 15:21:41 -0000 On Wed, Jun 14, 2017 at 4:48 PM, John Jasen wrote: > > b) On the negative side, between the various releases, netmap appeared > to be unstable with the Chelsio cards -- sometimes supported, sometimes > broken. Also, we're still trying to figure out netmap utilities, such as > vale-ctl and bridge, so any advice would be appreciated. > I confirm that mixing netmap and Chelsio is broken on -current since about= =E2=80=8B =E2=80=8B6 month. We can't start 2 netmap's pkt-gen simultaneously as example. cf my report: https://lists.freebsd.org/pipermail/svn-src-head/2016-December/094418.html =E2=80=8B > > b.1) netmap-fwd is admittedly single-threaded and does not support IPv6. > These clearly showed in our tests, as we were unable to achieve over 2.5 > mpps, saturating a single CPU and letting the others fall asleep. > However, bumping a single CPU queue from around 0.6 mpps to 2.5 mpps is > nothing to ignore, so it could be useful in some cases. > =E2=80=8BSoftwares using netmap are not easy to use: - netmap-ipfw (https://github.com/Netgate/netmap-fwd) was not updated since dec 2015. - And I don't reach to compile netmap-ipfw too ( https://github.com/luigirizzo/netmap-ipfw). =E2=80=8B > c) The routing improvement project USB stick performed incredibly, > achieving 8.5 mpps out of the box. However, it appears > (https://wiki.freebsd.org/ProjectsRoutingProposal/ConversionStatus), > that many of the changes are still pending review, and that things have > not moved much in the last 18 months > (https://svnweb.freebsd.org/base/projects/routing/) > =E2=80=8B Yes, this projects/routing still give the best performance after 18 months, but the maintainer didn't have time to works on FreeBSD since. Then for resuming: there are 3 alpha-stage but very promising projects, but they seems stuck because not enough manpower for finishing them. Regards, From owner-freebsd-net@freebsd.org Wed Jun 14 15:37:58 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7113BB94A5F for ; Wed, 14 Jun 2017 15:37:58 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2A8E568A33; Wed, 14 Jun 2017 15:37:54 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (lava.sentex.ca [IPv6:2607:f3e0:0:5::11]) by smarthost2.sentex.ca (8.15.2/8.15.2) with ESMTPS id v5EFKB8x060645 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 14 Jun 2017 11:20:11 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [192.168.43.26] (saphire3.sentex.ca [192.168.43.26]) by lava.sentex.ca (8.15.2/8.15.2) with ESMTP id v5EFK923085164; Wed, 14 Jun 2017 11:20:10 -0400 (EDT) (envelope-from mike@sentex.net) Subject: Re: state of packet forwarding in FreeBSD? To: John Jasen , FreeBSD Net References: From: Mike Tancsa Organization: Sentex Communications Message-ID: <5f2a5097-2fe5-7a21-6446-6018b55f0a68@sentex.net> Date: Wed, 14 Jun 2017 11:20:08 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.78 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 15:37:58 -0000 On 6/14/2017 10:48 AM, John Jasen wrote: > Our goal was to test whether or not FreeBSD currently is viable, as the > operating system platform for high speed routers and firewalls, in the > 40 to 100 GbE range. > > In our investigations, we tested 10.3, 11.0/-STABLE, -CURRENT, and a USB > stick from BSDRP using the FreeBSD routing improvements project > enhancements (https://wiki.freebsd.org/ProjectsRoutingProposal). Hi John, I am interested in your findings / test setups. I have a couple of boxes in the field running r317611 (around April 30) and r316678 (April 4) and found that r316678 does a higher PPS with zero drops and r317611 does less work, but will get random overruns on dev.cxl.0.stats.rx_ovflow0 and dev.cxl.0.stats.rx_trunc0. Same hardware, same cxl cards, both running frr as the routing daemon. Whats odd is that the errors are not anywhere peak load. Sometimes in the middle of the night when traffic is much lower. The missed packets dont seem to correlate to load-- that I can see anyways based on utilization graphs. When you were doing your tests, did you measure peak as what the box could forward without dropping packets or dropping some ? ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-net@freebsd.org Wed Jun 14 15:40:47 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F2E29B94B2F for ; Wed, 14 Jun 2017 15:40:47 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-ot0-x230.google.com (mail-ot0-x230.google.com [IPv6:2607:f8b0:4003:c0f::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B8E3E68B6D; Wed, 14 Jun 2017 15:40:47 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-ot0-x230.google.com with SMTP id k4so3430016otd.0; Wed, 14 Jun 2017 08:40:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=XwDi/awBAtaQYpQahcOFICsiBlfSQTsnt0iBnYRCdTM=; b=r1EFGJNlySoYwKp+vTXNDzqoQRhDkCGhAOBzIRaN2OtSw1hGl1ifKtj2If7pWHOGYD zTMNAeBO9Z4j0wBcuFQlnBBvdz8pRvMgJWPl7Ip86bd5JGXCFGacV7nDpaejrhYf2xyI Z7jQJVpv8W2MWEAcwbrs7cZU8IWgzS38iCzBKb1uqsiwk9HODiZGoTKVHZHqeQ+GrclT NBTKLVIwnH7HOrJo94c5WdMt+UeN+Og9CYTq4pJCGL3rk3njyJLdnKABfpQMezvkQFvd iTNseWNtAO8M9f9yQpvOO7UsqQnwTN0E09dTzpyjV/y07xYGauYHDMBdHgGQFMrS2+7D mtpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=XwDi/awBAtaQYpQahcOFICsiBlfSQTsnt0iBnYRCdTM=; b=KRQvIMw1LYKpa7cf3YaDSW+6GS4KGQA2IrwfM00bLguVC5olKvLyaVMKeCQ6Oq/1Cr BBwn2eeTfreULKlfY2QymacWzemrO9IZQOot4viOnDbZTXR93XlAt0wbVsOD5cUi88Fi h3ovPZOXMVvb5FFOD36rqIrFgzMwfx9fp2+mecwACH9p1wg/hpX1TUQtusOHQopb3jKs r/vf3u8DiBKxQ5maaxlSuZcM/2oFkr5t0LtVY4q4Xa4mSpRxh//JsyfpwCRYHFxjzVWY 3E76/4Z/bNqgxmjnIRKmHyptEAhDEFVROO+jNdBc8EDEyV1rEIFcpqfyeoC9DNbMm34w rMSA== X-Gm-Message-State: AKS2vOxFkafrT78lPUHy+z2Q5r1PEQI92xIdpLlj73kDWErLczlBvic8 ZP9rzx7p0g0ko6vNJ9RA7dpy2z4NMw== X-Received: by 10.157.21.74 with SMTP id z10mr619265otz.102.1497454846651; Wed, 14 Jun 2017 08:40:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.17.49 with HTTP; Wed, 14 Jun 2017 08:40:46 -0700 (PDT) Received: by 10.157.17.49 with HTTP; Wed, 14 Jun 2017 08:40:46 -0700 (PDT) In-Reply-To: References: From: Vincenzo Maffione Date: Wed, 14 Jun 2017 17:40:46 +0200 Message-ID: Subject: Re: state of packet forwarding in FreeBSD? To: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= Cc: John Jasen , FreeBSD Net Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 15:40:48 -0000 Il 14 giu 2017 5:21 PM, "Olivier Cochard-Labb=C3=A9" = ha scritto: On Wed, Jun 14, 2017 at 4:48 PM, John Jasen wrote: > > b) On the negative side, between the various releases, netmap appeared > to be unstable with the Chelsio cards -- sometimes supported, sometimes > broken. Also, we're still trying to figure out netmap utilities, such as > vale-ctl and bridge, so any advice would be appreciated. > I confirm that mixing netmap and Chelsio is broken on -current since about= =E2=80=8B =E2=80=8B6 month. We can't start 2 netmap's pkt-gen simultaneously as example. cf my report: https://lists.freebsd.org/pipermail/svn-src-head/2016-December/094418.html =E2=80=8B > > b.1) netmap-fwd is admittedly single-threaded and does not support IPv6. > These clearly showed in our tests, as we were unable to achieve over 2.5 > mpps, saturating a single CPU and letting the others fall asleep. > However, bumping a single CPU queue from around 0.6 mpps to 2.5 mpps is > nothing to ignore, so it could be useful in some cases. > =E2=80=8BSoftwares using netmap are not easy to use: - netmap-ipfw (https://github.com/Netgate/netmap-fwd) was not updated since dec 2015. - And I don't reach to compile netmap-ipfw too ( https://github.com/luigirizzo/netmap-ipfw). Yes, these two ones are unmantained afaik. =E2=80=8B > c) The routing improvement project USB stick performed incredibly, > achieving 8.5 mpps out of the box. However, it appears > (https://wiki.freebsd.org/ProjectsRoutingProposal/ConversionStatus), > that many of the changes are still pending review, and that things have > not moved much in the last 18 months > (https://svnweb.freebsd.org/base/projects/routing/) > =E2=80=8B Yes, this projects/routing still give the best performance after 18 months, but the maintainer didn't have time to works on FreeBSD since. Then for resuming: there are 3 alpha-stage but very promising projects, but they seems stuck because not enough manpower for finishing them. Regards, _______________________________________________ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Wed Jun 14 15:42:44 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E6995B94D28 for ; Wed, 14 Jun 2017 15:42:44 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::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 B08F168E7E; Wed, 14 Jun 2017 15:42:44 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.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 5516A260858; Wed, 14 Jun 2017 17:42:42 +0200 (CEST) Subject: Re: axge0 and AX88179 To: syrinx@freebsd.org, Tom Huerlimann Cc: "freebsd-net@FreeBSD.org" References: <008701d2d585$f1977f90$d4c67eb0$@thuinformatik.ch> <2248eb55-c402-cdb9-2648-986a0ed9663a@selasky.org> <00f201d2d593$734c6160$59e52420$@thuinformatik.ch> From: Hans Petter Selasky Message-ID: <43b6b5de-1c36-bc16-1472-001e48184fdc@selasky.org> Date: Wed, 14 Jun 2017 17:40:38 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 15:42:45 -0000 Hi Tom, Thanks for shipping me your device. I've now done some basic tests and your device shows varying results. When connecting it to a GBit capable ethernet port using a short cable, it ends up negotiating 10MBit link speed, whilst connecting to another other port, 1Gbit link speed. When connecting another such device using the same chip and phy and everything, only a different PCB layout, 1GBit/s is always negotiated. Running a simple back2back iperf test gives me: iperf -i 1 -P4 -c 1.1.1.1 ------------------------------------------------------------ Client connecting to 1.1.1.1, TCP port 5001 TCP window size: 32.8 KByte (default) ------------------------------------------------------------ [ 3] local 1.1.1.2 port 20458 connected with 1.1.1.1 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0- 1.0 sec 81.4 MBytes 683 Mbits/sec [ 3] 1.0- 2.0 sec 86.2 MBytes 724 Mbits/sec [ 3] 2.0- 3.0 sec 86.2 MBytes 724 Mbits/sec [ 3] 3.0- 4.0 sec 86.4 MBytes 725 Mbits/sec [ 3] 4.0- 5.0 sec 86.2 MBytes 724 Mbits/sec [ 3] 5.0- 6.0 sec 86.4 MBytes 725 Mbits/sec [ 3] 6.0- 7.0 sec 86.0 MBytes 721 Mbits/sec [ 3] 7.0- 8.0 sec 86.4 MBytes 725 Mbits/sec [ 3] 8.0- 9.0 sec 86.1 MBytes 722 Mbits/sec [ 3] 9.0-10.0 sec 86.1 MBytes 722 Mbits/sec [ 3] 0.0-10.0 sec 858 MBytes 719 Mbits/sec 1) Can you try to override the link speed negotiated: ifconfig ueX media 100baseTX mediaopt full-duplex 2) Can you try to enable flowcontrol: ifconfig ueX media autoselect mediaopt flowcontrol 3) The full list of medias accepted is available by entering: ifconfig -m ueX If none of the above helps, I'm afraid your device might suffer from an electrical design problem. --HPS From owner-freebsd-net@freebsd.org Wed Jun 14 16:44:39 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EEC81BEF212 for ; Wed, 14 Jun 2017 16:44:39 +0000 (UTC) (envelope-from jim@netgate.com) Received: from mail-oi0-x22a.google.com (mail-oi0-x22a.google.com [IPv6:2607:f8b0:4003:c06::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BCD35709EC for ; Wed, 14 Jun 2017 16:44:39 +0000 (UTC) (envelope-from jim@netgate.com) Received: by mail-oi0-x22a.google.com with SMTP id k145so3863711oih.3 for ; Wed, 14 Jun 2017 09:44:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netgate.com; s=google; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=g4igfzHqJeOEqCfuaAjt1VmpVJPCLU6TV3BGOOm2I4c=; b=IWlPZ9ZDtO0oLi1UDYqcNh43dXna2NFckznVr5x8prbenIIfjUBK3ZNaDW9obLFRW3 w4MfrUJLb5wHLEuTEzkkTy/PAQiU9jKyVS4Kj+1U6j6bEctOHW+nC6Vy2mS3RN4CFoM5 LkQVcjzz7CYvuRTeXpUyCls04zzyXlT1Sqryg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=g4igfzHqJeOEqCfuaAjt1VmpVJPCLU6TV3BGOOm2I4c=; b=U9Bo8b1XkaJbZshOew1CndaU5N1/YkSwByaHizTiQGvc9gFbhZScMm/PP7/+qOYhTw FLF4Pius6B+YCfdT94uJRDjqmhhwRRE3aT9OeXQDEDj7YT9NorGnEIl3Hh3TWv6k4FYI moFWAbtnNSaoU7KJZNnWAeGNiL9n6kluwIUod0b0I4+kJili8BV9Yb2yS6bXKhSUUDXS S9iRry3p8guoOnyYX6eFQiiemgNDJBaN5S6A3ETSMXBkaV7oFiMCEKAbDBPqQQz8O+AW 7+HtwqY9d1a1pTfLPtCCIyz/fkSVVyUXNq+9vDu4jkVvCyKRr7U67RfhwHNNaEbgVaxg sR4g== X-Gm-Message-State: AKS2vOzdapGLdbZO5znRfDEgQnnijW2qjp7vy8fAVbJp3xYHz0KHYH0n jk5xxaGXnZIaNDYl7xyA0g== X-Received: by 10.202.58.136 with SMTP id h130mr745735oia.62.1497458678905; Wed, 14 Jun 2017 09:44:38 -0700 (PDT) Received: from [172.27.33.51] ([208.123.73.28]) by smtp.gmail.com with ESMTPSA id 67sm260410ott.40.2017.06.14.09.44.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Jun 2017 09:44:38 -0700 (PDT) From: Jim Thompson Message-Id: <64C72460-54F3-481B-9A2C-044822F6F52B@netgate.com> Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: state of packet forwarding in FreeBSD? Date: Wed, 14 Jun 2017 11:44:35 -0500 In-Reply-To: Cc: FreeBSD Net To: John Jasen References: X-Mailer: Apple Mail (2.3273) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 16:44:40 -0000 > On Jun 14, 2017, at 9:48 AM, John Jasen wrote: >=20 > Our goal was to test whether or not FreeBSD currently is viable, as = the > operating system platform for high speed routers and firewalls, in the > 40 to 100 GbE range. We recently showed IPsec running at 36.32Gbps (8 streams, 32.68Gbps = single stream). =20 At 36.32Gbps, we were limited by the 40Gbps cards we used. (Framing overheads take up about 10% of the bandwidth.) = https://conferences.oreilly.com/oscon/oscon-tx/public/schedule/detail/5672= 7 = We can send 64 byte tiny grams through the tunnel at 10.45 Mpps with = AES-128-CBC + HMAC-SHA1. AES-128-GCM performance is 32.98Gbps (4 = streams, 32.72Gbps single-stream). Hardware used was essentially an =E2=80=9Cultimate white box router=E2=80=9D= : https://www.netgate.com/blog/building-a-behemoth-router.html = with = Intel xl710 NICs and 8955 CPIC QAT cards. The same hardware will l3 forward 42.6Mpps (64 byte packets). It can = forward 14.05Mpps on a single core. No tuning was done in the above, = just bringing up VPP configuring the interfaces and SPDs, and running = iperf3 or (DPDK=E2=80=99s) pkggen on a pair of outside =E2=80=98hosts=E2=80= =99. It=E2=80=99s likely that we can get the 42.6Mpps figure higher. In other tests on smaller (Atom 8 core) hardware we=E2=80=99ve achieved = 12Mpps l3 forwarding with a full BGP routing table. Likely that we can = achieve even higher PPS results with a bit more tuning work. Using Olivier Couchard-Labb=C3=A9=E2=80=99s =E2=80=9Cestimated IMIX=E2=80=9D= (PPS * ( 7*(40+14) + 4*(576+14) + (1500+14) )/12*8), one only needs = 27Mpps to fill a 100Gbps interface. We have a couple larger machines with unreleased Xeons in them, 4 = 100gbps NICs, and some =E2=80=9Cnext generation=E2=80=9D QAT cards that = Intel says are good for 100Gbps encryption offload. We plan to re-run = the tests at 100Gbps sometime this summer. These results are all on Linux, using VPP over DPDK, but nothing really = restricts that work from moving back to FreeBSD. VPP also supports = netmap, but we=E2=80=99ve not attempted any performance work using the = netmap interfaces as yet. = https://fd.io/news/announcement/2017/06/fast-data-fdio-project-issues-four= th-release-furthers-position-universal = gnn@ was working on such a port for us, but other things took over his = time. https://github.com/gvnn3/vpp . = I=E2=80=99m sure we=E2=80=99ll get back to it. (This is all the basel for our =E2=80=9Cnext generation pfSense=E2=80=9D, = btw.) > In our investigations, we tested 10.3, 11.0/-STABLE, -CURRENT, and a = USB > stick from BSDRP using the FreeBSD routing improvements project > enhancements (https://wiki.freebsd.org/ProjectsRoutingProposal). >=20 > We've tried stock and netmap-fwd, have played around a little with > netmap itself and dpdk, with the results summarized below. The current > testing platform is a Dell PowerEdge R530 with a Chelsio T580-LP-CR = dual > port 40GbE card. >=20 > Suggestions, examples for using netmap, etc, all warmly welcomed. >=20 > Further questions cheerfully answered to the best of our abilities. >=20 > a) On the positive side, it appears that 11.0 is much faster than = 10.0, > which we tested several years ago. With appropriate cpuset tuning, 5.5 > mpps is achievable using modern hardware. Using slightly older = hardware, > (such as a Dell R720 with v3 xeons), around 5.2-5.3 mpps can be = obtained. >=20 > b) On the negative side, between the various releases, netmap appeared > to be unstable with the Chelsio cards -- sometimes supported, = sometimes > broken. Also, we're still trying to figure out netmap utilities, such = as > vale-ctl and bridge, so any advice would be appreciated. >=20 > b.1) netmap-fwd is admittedly single-threaded and does not support = IPv6. There is a version of netmap-fwd (not on GitHub) that supports IPv6, and = has some early work on threading. Unfortunately netmap bugs stopped the threading work. The developer (loos@) recently updated netmap in -CURRENT based on a = patch from Vincenzo Maffione. BTW, we=E2=80=99ve seen over 5mpps using netmap-fwd using a (single core = of a) E3-1275. See around 17:07 = https://www.youtube.com/watch?v=3DcAVgvzivzII > These clearly showed in our tests, as we were unable to achieve over = 2.5 > mpps, saturating a single CPU and letting the others fall asleep. > However, bumping a single CPU queue from around 0.6 mpps to 2.5 mpps = is > nothing to ignore, so it could be useful in some cases. >=20 > c) The routing improvement project USB stick performed incredibly, > achieving 8.5 mpps out of the box. However, it appears > (https://wiki.freebsd.org/ProjectsRoutingProposal/ConversionStatus), > that many of the changes are still pending review, and that things = have > not moved much in the last 18 months > (https://svnweb.freebsd.org/base/projects/routing/) >=20 > d) We've not figured out dpdk (dpdk.org) yet. Our first foray into = the > test examples, and we're stuck trying to get the interfaces online. DPDK on FreeBSD is a bit of a mess. Jim =20= From owner-freebsd-net@freebsd.org Wed Jun 14 17:36:09 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 18395BF0328 for ; Wed, 14 Jun 2017 17:36:09 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-pg0-x22a.google.com (mail-pg0-x22a.google.com [IPv6:2607:f8b0:400e:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DCC5B728D2; Wed, 14 Jun 2017 17:36:08 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: by mail-pg0-x22a.google.com with SMTP id v18so3189651pgb.1; Wed, 14 Jun 2017 10:36:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=v468FuII0B8hibAP9Rxe7lI4bTOgQ59ZKVw+nfqjA80=; b=O2imomAgsiwpN9qrjHzz/fJQwBjjJ+2/MZg/uYVWzSp8u+O8BzjPWdp6/eJS0dlXg7 90v/xMcAeF5eGhvSclxsnqm+xaB7Ivp16w3Cal3wDx6jYoHM3RhYrpVESLbWMYoh+JrX Fq0XvfxFyg9r0sE2nLcL+FP+fp9CmwX+ob+pcVm9jB3qrQb+KkX4ID5Z2DBUwOm7qZEK SIYEY03d8qEmaS7eN2KfGcP5yfKgVPpOLlVOFIwgiUGJDy7DRESq7IhSQWxNRvntL1Ut o1ufDJ1ng4c6rWLoj5BJAsqlQvvQeSOApklzg0vbQbKnIALifQaxQNjKjIt0mKdREe7T Qgrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=v468FuII0B8hibAP9Rxe7lI4bTOgQ59ZKVw+nfqjA80=; b=e6xvsgrBx7Qx9elCqCawtxfmvr+fOoNNsPZvMlceH0Jjm3Sn40cv3r1SOta7yXvMmC 7SwYPfDsEqvbnoqdyNO1iRQ705OzmCrFTgdIyW2OmAh2XBohwwxOKkMn9w+cRJeSkkgq QcwyRDrnTiOLVgcANeCUrvGhBdIOhvBnY/VRn6/agrtg4sCg+T7Oymg7UfybP+dnHESa 0IRfUAPeXmkTqlxNMCutjv9tJYLbZhF/hJPcEvYmkYMaQqBdnCb1WVHRmv2u2J66DNQu J8uyWyRYVoFYW8MppZFspz7k+WlAu4nilrU5D0ml6rZTID56pZrxY9GhLz5emt3KSdjq FaKg== X-Gm-Message-State: AKS2vOzS2Jf22yWQUG4yogbkbrFSwyXzUA7rz8Kfu6b01D+Xo48OmyUA fCimecem0uUhJNQa794sryAmevIUwg== X-Received: by 10.98.7.204 with SMTP id 73mr1084011pfh.175.1497461768321; Wed, 14 Jun 2017 10:36:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.178.13 with HTTP; Wed, 14 Jun 2017 10:36:07 -0700 (PDT) In-Reply-To: References: From: Navdeep Parhar Date: Wed, 14 Jun 2017 10:36:07 -0700 Message-ID: Subject: Re: state of packet forwarding in FreeBSD? To: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= Cc: John Jasen , FreeBSD Net Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 17:36:09 -0000 On Wed, Jun 14, 2017 at 8:21 AM, Olivier Cochard-Labb=C3=A9 wrote: > On Wed, Jun 14, 2017 at 4:48 PM, John Jasen wrote: > >> >> b) On the negative side, between the various releases, netmap appeared >> to be unstable with the Chelsio cards -- sometimes supported, sometimes >> broken. Also, we're still trying to figure out netmap utilities, such as >> vale-ctl and bridge, so any advice would be appreciated. >> > > I confirm that mixing netmap and Chelsio is broken on -current since abou= t > > 6 month. > We can't start 2 netmap's pkt-gen simultaneously as example. > > cf my report: > https://lists.freebsd.org/pipermail/svn-src-head/2016-December/094418.htm= l I think I fixed this a long time back. Have you tried recently? We moved the netmap functionality to the vcxl interfaces and it should just work. Regards, Navdeep From owner-freebsd-net@freebsd.org Wed Jun 14 17:42:42 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F08E8BF0680 for ; Wed, 14 Jun 2017 17:42:42 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: from smtp.smtpout.orange.fr (smtp01.smtpout.orange.fr [80.12.242.123]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6153072DE1 for ; Wed, 14 Jun 2017 17:42:41 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: from mail-yw0-f172.google.com ([209.85.161.172]) by mwinf5d53 with ME id Yhie1v0063jUb6x03hiev3; Wed, 14 Jun 2017 19:42:39 +0200 X-ME-Helo: mail-yw0-f172.google.com X-ME-Auth: Y29jaGFyZC1sYWJiZS5vbGl2aWVyQG9yYW5nZS5mcg== X-ME-Date: Wed, 14 Jun 2017 19:42:39 +0200 X-ME-IP: 209.85.161.172 Received: by mail-yw0-f172.google.com with SMTP id 63so4798471ywr.0 for ; Wed, 14 Jun 2017 10:42:38 -0700 (PDT) X-Gm-Message-State: AKS2vOwNDOZVzMHEsIyJe0OugQBoFNa2b5HnxGwOF+o17X/bu3KDYgJP 7KbFxsMgtjBRDgNBYWdJNPe/CiA3wQ== X-Received: by 10.129.107.69 with SMTP id g66mr1128964ywc.121.1497462157680; Wed, 14 Jun 2017 10:42:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.52.78 with HTTP; Wed, 14 Jun 2017 10:42:17 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= Date: Wed, 14 Jun 2017 19:42:17 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: state of packet forwarding in FreeBSD? To: Navdeep Parhar Cc: John Jasen , FreeBSD Net Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 17:42:43 -0000 On Wed, Jun 14, 2017 at 7:36 PM, Navdeep Parhar wrote: > > I think I fixed this a long time back. Have you tried recently? We > moved the netmap functionality to the vcxl interfaces and it should > just work. > > =E2=80=8B It stills panic with an -head build today. From owner-freebsd-net@freebsd.org Wed Jun 14 17:47:32 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0F5D9BF07AE for ; Wed, 14 Jun 2017 17:47:32 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-pg0-x235.google.com (mail-pg0-x235.google.com [IPv6:2607:f8b0:400e:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D322672F36; Wed, 14 Jun 2017 17:47:31 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: by mail-pg0-x235.google.com with SMTP id f185so3338324pgc.0; Wed, 14 Jun 2017 10:47:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=rFC8FZzLJx3CVwMof2fFx+zxFFXvkOy1JXvcNXU4Avs=; b=TrfCWBmAaQhrGDsEnNxnGpVIn2lOK7Abq3zKhNCOwv6koZUdIllLkrkPwLp4ez/6YE 4SjlO+HEV3X7OaybmOfh+uKBbCtRpMQFtTbB93LiFkj6fqxVLPfFLFL0HC1594cZ67b5 7AN6oU9Pi4aYPzp+LgdkPvC5NNXoxOl6i2+6ciYJzYHrI3GGchz96SJFRUTW2XfVZVHp 72WbpNmMf68VsztGWdkww2nmpTaxMKYuxydlcb+eCreavYf8EdX2Qil9M3PMtmrQj+ld NkcyJbzgPLqFcF0Ul4WDFk5M9L5ebExgJZpxDUA9hAjv6OSWoXSSSvgjs1MInhigGUYq PZZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=rFC8FZzLJx3CVwMof2fFx+zxFFXvkOy1JXvcNXU4Avs=; b=JfSvpvwlbPJhhKs5vi/3FJ7du386h28kpNEdSadykVL0022O8qkIXJBwKs5GWe4eLn h8y3f4OdRzK1mFLU32Q/Gh1BYFc1i4gZ3BEYrg/IhniXo87fUU95tBfxEz2ggwkTIg8C H/w/BBivxCIjZQT81NgDA1huX55504Yesy4Wr9fsaqU7YPSCg61lI12G6Y9A4xBo2S3J ++G+qriooUl2nCjopmQgtpkADQexlJq7KifCIstmiAX33F2xXVk8FDN7GmSFmoVqUVwq 4QtCgfdyFECe17NnXMydXVBQNpa5l4WccAjv/jS/2Od3BDe8wmZKqg6H/hZJg91XqKjv 1YGA== X-Gm-Message-State: AKS2vOxRLubqocUi0eb+Sp/+PldqULk/BshL3BtBIrQAjbX2EpqHojUS 97ZDF8U2y0Mzfn4erpTLAOT8/1+szA== X-Received: by 10.84.171.193 with SMTP id l59mr1356873plb.139.1497462451295; Wed, 14 Jun 2017 10:47:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.178.13 with HTTP; Wed, 14 Jun 2017 10:47:30 -0700 (PDT) In-Reply-To: References: From: Navdeep Parhar Date: Wed, 14 Jun 2017 10:47:30 -0700 Message-ID: Subject: Re: state of packet forwarding in FreeBSD? To: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= Cc: John Jasen , FreeBSD Net Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 17:47:32 -0000 Do you mean it works with one pkt-gen but panics when the second one is sta= rted? On Wed, Jun 14, 2017 at 10:42 AM, Olivier Cochard-Labb=C3=A9 wrote: > On Wed, Jun 14, 2017 at 7:36 PM, Navdeep Parhar wrote= : >> >> >> I think I fixed this a long time back. Have you tried recently? We >> moved the netmap functionality to the vcxl interfaces and it should >> just work. >> > > It stills panic with an -head build today. > From owner-freebsd-net@freebsd.org Wed Jun 14 21:22:43 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8158BBF4264 for ; Wed, 14 Jun 2017 21:22:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6F7927944F for ; Wed, 14 Jun 2017 21:22:43 +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 v5ELMg8I031544 for ; Wed, 14 Jun 2017 21:22:43 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 219991] [PATCH] TCP process bogus packets with too large ACK Date: Wed, 14 Jun 2017 21:22:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 21:22:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219991 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Jun 15 00:27:42 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 645BFBF718F for ; Thu, 15 Jun 2017 00:27:42 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail.karels.net (mail.karels.net [63.231.190.5]) by mx1.freebsd.org (Postfix) with ESMTP id 2451D7E5A9 for ; Thu, 15 Jun 2017 00:27:41 +0000 (UTC) (envelope-from mike@karels.net) Received: from [10.0.2.11] (mjk-mac2.karels.net [10.0.2.11]) by mail.karels.net (8.15.2/8.15.2) with ESMTP id v5F0RZrq053869; Wed, 14 Jun 2017 19:27:35 -0500 (CDT) (envelope-from mike@karels.net) From: "Mike Karels" To: "John Jasen" Cc: "FreeBSD Net" Subject: Re: state of packet forwarding in FreeBSD? Date: Wed, 14 Jun 2017 19:27:29 -0500 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Mailer: MailMate (1.9.6r5347) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2017 00:27:42 -0000 Responding to the thread as a whole: another alternative is the FLOWTABLE kernel option. I added route and link-layer caching for endpoints (TCP a= nd UDP), which makes the FLOWTABLE option less useful (or undesirable) there= , but FLOWTABLE adds route caching for packet forwarding as well. I=E2=80=99= d suggest testing that also. Mike From owner-freebsd-net@freebsd.org Thu Jun 15 02:09:09 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C69CCBFB571 for ; Thu, 15 Jun 2017 02:09:09 +0000 (UTC) (envelope-from wollman@hergotha.csail.mit.edu) Received: from hergotha.csail.mit.edu (wollman-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:ccb::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 89690823DF for ; Thu, 15 Jun 2017 02:09:09 +0000 (UTC) (envelope-from wollman@hergotha.csail.mit.edu) Received: from hergotha.csail.mit.edu (localhost [127.0.0.1]) by hergotha.csail.mit.edu (8.15.2/8.15.2) with ESMTP id v5F297JV048084; Wed, 14 Jun 2017 22:09:07 -0400 (EDT) (envelope-from wollman@hergotha.csail.mit.edu) Received: (from wollman@localhost) by hergotha.csail.mit.edu (8.15.2/8.14.4/Submit) id v5F297tx048083; Wed, 14 Jun 2017 22:09:07 -0400 (EDT) (envelope-from wollman) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <22849.60482.848811.80144@hergotha.csail.mit.edu> Date: Wed, 14 Jun 2017 22:09:06 -0400 From: Garrett Wollman To: Rui Paulo Cc: freebsd-net@freebsd.org Subject: Re: Enable IPv6 Privacy Extensions by default In-Reply-To: <1497417261.2220.5.camel@me.com> References: <20170611215904.4612ee41@kalimero.tijl.coosemans.org> <20170612131912.42537b13@kalimero.tijl.coosemans.org> <1497408664.2220.3.camel@me.com> <201706140257.v5E2vRDE029173@hergotha.csail.mit.edu> <1497417261.2220.5.camel@me.com> X-Mailer: VM 8.2.0b under 25.1.1 (amd64-portbld-freebsd10.3) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (hergotha.csail.mit.edu [127.0.0.1]); Wed, 14 Jun 2017 22:09:07 -0400 (EDT) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED, HEADER_FROM_DIFFERENT_DOMAINS autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hergotha.csail.mit.edu X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2017 02:09:09 -0000 < said: > Pretty sure these problems have been addressed by now, given the amount > of computers, smart phones, tablets, etc. running with privacy > extensions enabled. They've been "fixed" mostly by hiding big networks behind NATs and leaving them IPv4-only. And in some enterprises by implementing DHCPv6. (We haven't done the latter but expect to if I can ever get the time.) There have been no fixes to the NDP or MLD protocols that would make "privacy" addresses as specified safe to use in large networks, and it's highly unlikely that there ever will be, given that fixing the protocols would set back IPv6 adoption even further. When I first ran into this, people seriously said things to me like "duh, obviously every office in your building should have its own separate /64". I kid you not. That was the recommended "solution": broadcast domains with two or three machines on them. That's fine for your home network hanging off a cable modem, not OK for an office building with a thousand people and twice that many computers in it. -GAWollman From owner-freebsd-net@freebsd.org Thu Jun 15 03:12:36 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D94E2BFE2E1 for ; Thu, 15 Jun 2017 03:12:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C81F484EB3 for ; Thu, 15 Jun 2017 03:12:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5F3CaZ1086062 for ; Thu, 15 Jun 2017 03:12:36 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 210417] Reproducible igb related panic 11.0-ALPHA4 Date: Thu, 15 Jun 2017 03:12: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: CURRENT X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rpp@ci.com.au X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2017 03:12:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210417 --- Comment #4 from rpp@ci.com.au --- (In reply to Kevin Bowling from comment #3) Sorry for delay, never saw this comment. I've just re-tested the same hardw= are using Current at r308389 with no change to results/symptoms. I'll retry with something more recent. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Jun 15 06:33:31 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 57EF8C31674 for ; Thu, 15 Jun 2017 06:33: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 469E466417 for ; Thu, 15 Jun 2017 06:33: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 v5F6XUW4036121 for ; Thu, 15 Jun 2017 06:33:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 210417] Reproducible igb related panic 11.0-ALPHA4 Date: Thu, 15 Jun 2017 06:33:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rpp@ci.com.au X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2017 06:33:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210417 --- Comment #5 from rpp@ci.com.au --- (In reply to rpp from comment #4) Tested with today's head at r319962, and can't reproduce problem, so appears its fixed. Can this be MFC'd to 11? If not, any idea where/what the change would be so we can create a local patch? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Jun 15 08:22:14 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2D103C7862C for ; Thu, 15 Jun 2017 08:22:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1B4906A238 for ; Thu, 15 Jun 2017 08:22:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5F8MDMD033748 for ; Thu, 15 Jun 2017 08:22:13 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 219428] em network driver broken in current Date: Thu, 15 Jun 2017 08:22:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ohartmann@walstatt.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: blocked Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2017 08:22:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219428 O. Hartmann changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |220004 Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220004 [Bug 220004] nfsv4: vflush failure/nfsv4 client/server error (IFLIB) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Jun 15 15:59:31 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6C9BED8D118 for ; Thu, 15 Jun 2017 15:59: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 59B2F79F37 for ; Thu, 15 Jun 2017 15:59: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 v5FFxV2t064505 for ; Thu, 15 Jun 2017 15:59:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213814] AWS/EC2: no egress traffic stats on ixv(4) xn(4) Date: Thu, 15 Jun 2017 15:59:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: IntelNetworking, needs-qa, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jeffrey.e.pieper@intel.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2017 15:59:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213814 Jeff Pieper changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeffrey.e.pieper@intel.com --- Comment #12 from Jeff Pieper --- This is fixed in https://reviews.freebsd.org/D11058 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Jun 15 18:31:43 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 01AA3D8FC8E for ; Thu, 15 Jun 2017 18:31:43 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::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 BA77F7F496; Thu, 15 Jun 2017 18:31:42 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.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 63942260858; Thu, 15 Jun 2017 20:31:39 +0200 (CEST) Subject: Re: AW: axge0 and AX88179 To: Tom Huerlimann , syrinx@freebsd.org Cc: freebsd-net@freebsd.org References: <008701d2d585$f1977f90$d4c67eb0$@thuinformatik.ch> <2248eb55-c402-cdb9-2648-986a0ed9663a@selasky.org> <00f201d2d593$734c6160$59e52420$@thuinformatik.ch> <43b6b5de-1c36-bc16-1472-001e48184fdc@selasky.org> <018f01d2e605$609f4000$21ddc000$@thuinformatik.ch> From: Hans Petter Selasky Message-ID: <3e3481a5-3953-442a-8ca5-8b0073bca03c@selasky.org> Date: Thu, 15 Jun 2017 20:29:34 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <018f01d2e605$609f4000$21ddc000$@thuinformatik.ch> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2017 18:31:43 -0000 On 06/15/17 20:29, Tom Huerlimann wrote: > Hello HPS > > Thank you for your help and your investigation on this. > > I start a couple of additional test in the next few days and let you know if I can find additional details. > > Just to be sure: > What was the FreeBSD version you have tested with? > > Best regards > Tom FreeBSD-12-current. --HPS From owner-freebsd-net@freebsd.org Thu Jun 15 18:35:21 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 55743D8FD56 for ; Thu, 15 Jun 2017 18:35:21 +0000 (UTC) (envelope-from office@thuinformatik.ch) Received: from mail.netcult.ch (mail.netcult.ch [46.140.84.236]) (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 B1AE87F666; Thu, 15 Jun 2017 18:35:18 +0000 (UTC) (envelope-from office@thuinformatik.ch) Received: from TomTheOne (217-162-146-119.dynamic.hispeed.ch [217.162.146.119]) (authenticated bits=0) by mail.netcult.ch (8.14.7/8.14.7) with ESMTP id v5FITmTk012442 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 15 Jun 2017 20:29:51 +0200 From: "Tom Huerlimann" To: "'Hans Petter Selasky'" , Cc: References: <008701d2d585$f1977f90$d4c67eb0$@thuinformatik.ch> <2248eb55-c402-cdb9-2648-986a0ed9663a@selasky.org> <00f201d2d593$734c6160$59e52420$@thuinformatik.ch> <43b6b5de-1c36-bc16-1472-001e48184fdc@selasky.org> In-Reply-To: <43b6b5de-1c36-bc16-1472-001e48184fdc@selasky.org> Subject: AW: axge0 and AX88179 Date: Thu, 15 Jun 2017 20:29:46 +0200 Message-ID: <018f01d2e605$609f4000$21ddc000$@thuinformatik.ch> X-Mailer: Microsoft Outlook 16.0 MIME-Version: 1.0 Thread-Index: AQJdH3nE5dyHkJndVbel4ZEpsnb59wITsuhlAoViI88BT+twRQJPupZooNAD8VA= Content-Language: de-ch Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=2.16.840.1.101.3.4.2.1; boundary="----=_NextPart_000_017E_01D2E616.2109B900" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2017 18:35:21 -0000 This is a multipart message in MIME format. ------=_NextPart_000_017E_01D2E616.2109B900 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello HPS Thank you for your help and your investigation on this. I start a couple of additional test in the next few days and let you = know if I can find additional details. Just to be sure: What was the FreeBSD version you have tested with? Best regards Tom -----Urspr=C3=BCngliche Nachricht----- Von: Hans Petter Selasky [mailto:hps@selasky.org]=20 Gesendet: Mittwoch, 14. Juni 2017 17:41 An: syrinx@freebsd.org; Tom Huerlimann Cc: freebsd-net@freebsd.org Betreff: Re: axge0 and AX88179 Hi Tom, Thanks for shipping me your device. I've now done some basic tests and your device shows varying results. When connecting it to a GBit capable ethernet port using a short cable, = it ends up negotiating 10MBit link speed, whilst connecting to another = other port, 1Gbit link speed. When connecting another such device using = the same chip and phy and everything, only a different PCB layout, = 1GBit/s is always negotiated. Running a simple back2back iperf test gives me: iperf -i 1 -P4 -c 1.1.1.1 ------------------------------------------------------------ Client connecting to 1.1.1.1, TCP port 5001 TCP window size: 32.8 KByte = (default) ------------------------------------------------------------ [ 3] local 1.1.1.2 port 20458 connected with 1.1.1.1 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0- 1.0 sec 81.4 MBytes 683 Mbits/sec [ 3] 1.0- 2.0 sec 86.2 MBytes 724 Mbits/sec [ 3] 2.0- 3.0 sec 86.2 MBytes 724 Mbits/sec [ 3] 3.0- 4.0 sec 86.4 MBytes 725 Mbits/sec [ 3] 4.0- 5.0 sec 86.2 MBytes 724 Mbits/sec [ 3] 5.0- 6.0 sec 86.4 MBytes 725 Mbits/sec [ 3] 6.0- 7.0 sec 86.0 MBytes 721 Mbits/sec [ 3] 7.0- 8.0 sec 86.4 MBytes 725 Mbits/sec [ 3] 8.0- 9.0 sec 86.1 MBytes 722 Mbits/sec [ 3] 9.0-10.0 sec 86.1 MBytes 722 Mbits/sec [ 3] 0.0-10.0 sec 858 MBytes 719 Mbits/sec 1) Can you try to override the link speed negotiated: ifconfig ueX media 100baseTX mediaopt full-duplex 2) Can you try to enable flowcontrol: ifconfig ueX media autoselect mediaopt flowcontrol 3) The full list of medias accepted is available by entering: ifconfig -m ueX If none of the above helps, I'm afraid your device might suffer from an = electrical design problem. --HPS ------=_NextPart_000_017E_01D2E616.2109B900 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCGMgw ggVjMIIDS6ADAgECAgE7MA0GCSqGSIb3DQEBCwUAMFMxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T dGFydENvbSBMdGQuMSwwKgYDVQQDEyNTdGFydENvbSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSBH MjAeFw0xMDAxMDEwMTAwMDFaFw0zOTEyMzEyMzU5MDFaMFMxCzAJBgNVBAYTAklMMRYwFAYDVQQK Ew1TdGFydENvbSBMdGQuMSwwKgYDVQQDEyNTdGFydENvbSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0 eSBHMjCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBALaJNlsHtyA2vYK74RYgA5V6rw6j VcklmUrF0FZBh5BNIWCkFIc7zf2yPrRnA2rt4Q9LwJGFcEXgQp7eKSPUAQ2gEHm42wO986kv0cbg D8ueihQKuL32VmLxxXK2MiXZsvO9ZcUNLG7Vkm8YiwBBFIJvQCAmeigP9R5/J/eUsTc9t8eR9+IB 7P2UieHMbtM21goZea7XNIJl/3xCu7bdC6Y0r0tg/n9DSQaLjEO4VvLZfyFDF+qnSJUBdXXqK6VD leoVhJ0IjSZuVZur3NI50jEdYOKszFZFJPUcVKvuht2WMoX4TE/olXa2Bd02I2e8/xXiyjvmpuw7 7CYRNEiN9oArGiMC64ocOnYqe1YWHHIqs6rjYKUAnwSb4m8eFFhbpWyLWDzDuk46XPfhlis+7we8 pOVdzE2fDeHcqrvhbhrsj+G2TE15cl0XNQsd18FH2pYk4NByqFpfZi0Q3C8qE64m/gocGczQPguc yAku+VuWekec6XrzBVB0lXOeMAnzl4Je5o85CB5Z5TUUQhP/AJz3vqpQz+JRSNe4b6/4Tn4zmJIU Yjp1Y897+t6CO6m7OeLEvSwADsgXrBPvTSWO2LOQL6naKX0dr3Q6sifAwR4+daMWqa96Il2fExrP p6Dr44YK0/3mlpXXI8g33cR8qjasmBoSseBO6LE79dZv8TDXAgMBAAGjQjBAMA8GA1UdEwEB/wQF MAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBRLxbRAa60cs6UcZW5GNomHBQwOtjANBgkq hkiG9w0BAQsFAAOCAgEAc1c/LNWVMn4325aS6xleflPnQewRtkfvtd7tdFzF8Y5J4PxumRPNn4ra zToK2DpaCT9fNNAvA9JmHRq9nJA3yAyOB1qURUYq5r562qGppGkSkrB9NtREh9dR8Slj1nXNFuQn iR34wjJI/duZ0I9fVHTMrGc0EWLZDAo3h9GjF0iO0hcd9tf922Xr/ajU9dZPpFt16MXSYLLbCX4l i3u6UpKePujFd6E84Epza2HPhtxD//8h/iNdJEr1020PYgQFV4LabqQzJXlLLlQZi8wsPTDp0Qb/ 6DJGvrUzdneoAV2WwcHVvq4lwMkeCgkgiKEOyfNvTYJUACCn0o/kOVQXLo0euBu7G72aTjsQNNyc iFPvojFbWE+RYsjCmprNFV04qda++BO1nxJp8lBirPsXN/TuuHVnYBD7g1D5RLV1nEAXsv79eV1u WFhfMPwArq8zwQ5ObLqnpqF/Mts44LFyFworkexqYybtidR4zHQeBfhr/oxqdjkprmUjEpUIIhyX zlsG7gziu7wfRJP22DhFBSHt5K2rErYDpEIuLcQJOgNnaYSa4VmQiiiF1V10sdEOIFibE6WwY6bt e0f9RVUwpO6a1Obih++YyTKCESkivAAKMV4tD8CO6Wuyjy4G2NGRx8YS9Ez9MBfDwdo4W+Op6uah unnvc9i2U1ct9tDh10gwggXiMIIDyqADAgECAhA2eVJUyxNVnjAm0isuSxDrMA0GCSqGSIb3DQEB CwUAMH0xCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1 cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMSkwJwYDVQQDEyBTdGFydENvbSBDZXJ0aWZp Y2F0aW9uIEF1dGhvcml0eTAeFw0xNTEyMTYwMTAwMDVaFw0zMDEyMTYwMTAwMDVaMHUxCzAJBgNV BAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSkwJwYDVQQLEyBTdGFydENvbSBDZXJ0aWZp Y2F0aW9uIEF1dGhvcml0eTEjMCEGA1UEAxMaU3RhcnRDb20gQ2xhc3MgMyBDbGllbnQgQ0EwggEi MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDWI3Dhc1YzFXpon6ivFWEQ748VMRHObKBQX2nd 2NXu22bn8ym9f8k2pTF1uonqWoYkQbWvfovZ39PUbdAhIzUZZFFU1Y3UMVIzVhnLwP+2xqixTgeQ 7XOnOuqHYTH4nxL6xUXOqFwxOvAor6NfbJmhSaHuz85NA18uZfn/PvC3kpCtrAnmE0ilHnDNZLer /eeYYFkFinoaluF0rOYjiTqls6a1uE8Z0C0E3pqEBFDGiDtlAX6Hl0wnnJQvQ4A70pekwNA6iYiw VgOgRQTOCgppTjrNVn9090Mt0t7QLsNoJZNFcQ6mygv92TzE61PZrM+FIbrYJ9RzWjhj3A/dwPiv AgMBAAGjggFkMIIBYDAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUF BwMEMBIGA1UdEwEB/wQIMAYBAf8CAQAwMgYDVR0fBCswKTAnoCWgI4YhaHR0cDovL2NybC5zdGFy dHNzbC5jb20vc2ZzY2EuY3JsMGYGCCsGAQUFBwEBBFowWDAkBggrBgEFBQcwAYYYaHR0cDovL29j c3Auc3RhcnRzc2wuY29tMDAGCCsGAQUFBzAChiRodHRwOi8vYWlhLnN0YXJ0c3NsLmNvbS9jZXJ0 cy9jYS5jcnQwHQYDVR0OBBYEFDRac8Qfq3FjZ7NPwJstIKed5skfMB8GA1UdIwQYMBaAFE4L7xqk QFulF2mHMMo0aEPQQa7yMD8GA1UdIAQ4MDYwNAYEVR0gADAsMCoGCCsGAQUFBwIBFh5odHRwOi8v d3d3LnN0YXJ0c3NsLmNvbS9wb2xpY3kwDQYJKoZIhvcNAQELBQADggIBALRr03t8tLqOvoZ4EkTn x+Asy9xpl30A7bdXr6bf37OxbFYAk9YTs7jVgUJ/SlwkJc35MZuTAQqhlFs993Po3Yk4pyM5+AcM mhHbP2xlgAUgoN2ru0K+TQBupeuUQ/sUWvicqwknL7dZQiJQJg9KCOQlQntGJNLXlmtmUkWRn/tU tnspsxioek2lNKtqGBT48H+02bA3A9Ec5Ja3dx7IxmctVlAd88OXk4OR5zQUNdOyO3vfMZ44bMyF KeMpmEaAq+PEp6jomwm1KWlXbU5T7PLcYKUQ+Ig9+wwMjrJW+0xXBfnrTjD7Q+mJvt4on1KR/AJv OUrlLFNtdgdLddL7Bk+2Uw9s1naaWzpBe53DlEGKUArFwjTuNFNuVJW1T6Fm9Kwf3Kny07bE929p gg7fT0o340uQIGUbpmlqyT8qZodVUyJrolRxQOzP/vlV58T9GA/tGDs5A/L9T70Ufb3Ow/heRBPI LVcjDuDSYGYrVTnWDUqxVGKq6f3RWkVrg73YeRW5SQuoJMXqOLpbYLo7oPqq/0YLexTVGobzQFw/ LJzKSH+XPr0iAFNl26uzhEbZyXmle9k9bNPS4D2T8Som7V6AznwgIeK+LU/2a1uy3sabeJYBeeD2 O9XYxhKkz7XDY4CAvzSI6iABBHk+tdZSAfDxU96t/bo6dWLkgEkUBKxhMIIGnzCCBIegAwIBAgIB PTANBgkqhkiG9w0BAQsFADBTMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjEs MCoGA1UEAxMjU3RhcnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgRzIwHhcNMDYwOTE3MTk0 NjM3WhcNMzYwOTE3MTk0NjM3WjB9MQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRk LjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzEpMCcGA1UEAxMg U3RhcnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAw ggIKAoICAQDBiNsJvGxGfHiflXu1M5DycmLWwTYgIiRezul38kMKogZkpMyONvg45iPwbm2xPN1y o4UcodM9tDMr0y+v/uqwQVlntsQGfQqedIXWeUyAN3rfOQVSWff0G0ZDpNKFhdLDcfN1YjS6LIp/ Ho/u7TTQEceWzVI9ujPW3U3eCztKS5/CJi/6tRYccjV3yjxd5srhJosaNnZcAdt0FCX+7bWgiA/d eMotHweXMAEtcnn6RtYTKqi5pquDSR3l8u/d5AGOGAqPY1MWhWKpDhk6zLVmpsJrdAfkK+F2PrRt 2PZE4XNiHzvEvqBTViVsUQn3qqvKv3b9bZvzndu/PWa8DFaqr5hIlTpL36dYUNk4dalb6kMMAv+Z 6+hsTXBbKWWc3apdzK8BMewM69KN6Oqce+Zu9ydmDBpI125C4z/eIT574Q1w+2OqqGwaVLRcJXrJ osmLFqa7LH4XXgVNWG4SHQHuEhANxjJ/GP/89PrNbpHoNkm+Gkhpi8KWTRoSsmkXwQqQ1vp5Iki/ untp+HDH+no32NgN0nZPV/+Qt+OR0t3vwmC3Zzrd/qqc8NSLf3Iizsafl7b4r4qgEKjZ+xjGtrVc UjyJthkqcwEKDwOzEmDyei+B26Nu/yYwl/WL3YlXtq09s68rxbd2AvCl1iuahhQqcvbjM4xdCUsT 37uMdBNSSwIDAQABo4IBUjCCAU4wEgYDVR0TAQH/BAgwBgEB/wIBAjAOBgNVHQ8BAf8EBAMCAQYw HQYDVR0OBBYEFE4L7xqkQFulF2mHMMo0aEPQQa7yMB8GA1UdIwQYMBaAFEvFtEBrrRyzpRxlbkY2 iYcFDA62MG8GCCsGAQUFBwEBBGMwYTAqBggrBgEFBQcwAYYeaHR0cDovL29jc3Auc3RhcnRzc2wu Y29tL2NhLWcyMDMGCCsGAQUFBzAChidodHRwOi8vYWlhLnN0YXJ0c3NsLmNvbS9jZXJ0cy9jYS1n Mi5jZXIwMgYDVR0fBCswKTAnoCWgI4YhaHR0cDovL2NybC5zdGFydHNzbC5jb20vY2EtZzIuY3Js MEMGA1UdIAQ8MDowOAYEVR0gADAwMC4GCCsGAQUFBwIBFiJodHRwOi8vd3d3LnN0YXJ0c3NsLmNv bS9wb2xpY3kucGRmMA0GCSqGSIb3DQEBCwUAA4ICAQAznlPLrlQsAomwlVYGgrRHeXCXSA8K0E03 a1VfCE8uhgRZg7cK3N2oEojBMoeL4VqLOeuqcd3z+xSq85uxnzPc+cABbiRb4guyQvK/dqzWjjmD cEYVk0ozCqWiBk+ec4W4HmgykQHdvhY+8zgJSCQdfqGkhAUc1/U/iE5jAIvc3M77nFeJ6KIe3Van EBDstFzlQhJSo8pSzhL8pEYBWpudHanbFogZDJwG+GC6pE8PSnIEAHmLKXwoReSr6xoHpUDrMdwC hth00gRYCz45AOrkTylIrIl8ElzzXbtjBrCFMKIctmcxXE0sVc2YT9OCCUL+m7/LKPNdXopGbe8D WL6HmFUwGLwdt8t5WzXVSxS3xAA7F6DMz05wNT68Jfdf8BlJyQ3HRiTv/T20BbNSqSVsOWspIyua PhLR1/Sv2m4PerB5lJYA6/U/eFZ1ot8ge53XOIoPfD99LG9Sed4nF822o/dHSXAZ8X+ootoBX5ti A+9hfGqfV/JusYcv+hc7SqRdzYTbcs6si+EhRs1hKWLiufNoQMHP+lcopOUlt3Ip/p6WDZNJOJq4 6LgvDFj7cQ/WSkMuzA5fp6NPvjQnVmojjUTsadpRN4hbnajrO7rjJhOJBN3kcd41za7ZQ9lh429y 8y5TbJWYJ4EblH4riQVKEQgyg4mqmCOllyMYS7CGGTCCBtQwggW8oAMCAQICEGDxBB8oVVZGnH+9 S9P6zyowDQYJKoZIhvcNAQELBQAwdTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0 ZC4xKTAnBgNVBAsTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSMwIQYDVQQDExpT dGFydENvbSBDbGFzcyAzIENsaWVudCBDQTAeFw0xNjA3MjkxMjA2NTBaFw0xOTA3MjkxMjA2NTBa MIGSMQswCQYDVQQGEwJDSDEPMA0GA1UECAwGWnVyaWNoMRAwDgYDVQQHDAdCw7xsYWNoMRswGQYD VQQKDBJ0aHVpbmZvcm1hdGlrIEdtYkgxGzAZBgNVBAMMEnRodWluZm9ybWF0aWsgR21iSDEmMCQG CSqGSIb3DQEJARYXdGhvbWFzQHRodWluZm9ybWF0aWsuY2gwggIiMA0GCSqGSIb3DQEBAQUAA4IC DwAwggIKAoICAQC3iBIWTNHQ77Bo83LhjFsDIsIWZ4g0oGowPtx9Z6CH0k35bz3UNF40cL+3xiGX cC7CFyePSPqbVRQRXjT/O0SqnY/37lXkkgwiMU4878nEdLBLjec8qZV0n1M/CdNoQm49Ao2/bsgP 5x2S8SJZqOPCjbsFqULnnz3GlSCShJAj9Myx4TN/4rLNZ50iYi0Jn4o5VjPYX2xDFb/RNFO3frR8 Z7u7mnqfVFL36qL/Y7ip2cnp0kbfkuolbthMRV4lGWqMRtrNuCFxgUkx03Q1SkZ2xNisxLTD31BN EvldtqOc2Hj8d3dx0Ce+QVG+pjnse3CHq0Us2/LXhHha7dIOP8sx4nvkVvGwNuJw0L97QfkkkoyK dHwx3uK4M1y2z1YBNnn2+OiWRb/F0pqSujNb1325l8Ot8DeyzoVGlhF3JVHdCcmglm91Ml7S4a5w MSBkGlJ3Kg5mnqNHQY51tqGUS3hHEXbZE5IzcDh+IcULlPCzwpr70tkP4BqNPv4OBCuyiDkKkrvr qp3sb/3iQ2x6H+IiOneNvlalWF+drvOLbg6qzQgjDRFunuYWhXS/B2Bjy+fo1HiNXw7jEmOdg/RX FPzWH+V3dahFk9Z5YFuZM+Fh32GcD3gg2aMgMkXCINHrGKc+Qz8+AV8RvweQtdeILCtrQymIZNIj anJhANR0b9E1eQIDAQABo4ICQDCCAjwwDgYDVR0PAQH/BAQDAgSwMB0GA1UdJQQWMBQGCCsGAQUF BwMCBggrBgEFBQcDBDAJBgNVHRMEAjAAMB0GA1UdDgQWBBQVTfur5ENRUj4J4q+RRc4Jq8xHMzAf BgNVHSMEGDAWgBQ0WnPEH6txY2ezT8CbLSCnnebJHzBvBggrBgEFBQcBAQRjMGEwJAYIKwYBBQUH MAGGGGh0dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbTA5BggrBgEFBQcwAoYtaHR0cDovL2FpYS5zdGFy dHNzbC5jb20vY2VydHMvc2NhLmNsaWVudDMuY3J0MDgGA1UdHwQxMC8wLaAroCmGJ2h0dHA6Ly9j cmwuc3RhcnRzc2wuY29tL3NjYS1jbGllbnQzLmNybDCBmAYDVR0RBIGQMIGNgRd0aG9tYXNAdGh1 aW5mb3JtYXRpay5jaIEXb2ZmaWNlQHRodWluZm9ybWF0aWsuY2iBG3Bvc3RtYXN0ZXJAdGh1aW5m b3JtYXRpay5jaIESc3VwcG9ydEBuZXRjdWx0LmNogRF0aG9tYXNAbmV0Y3VsdC5jaIEVcG9zdG1h c3RlckBuZXRjdWx0LmNoMCMGA1UdEgQcMBqGGGh0dHA6Ly93d3cuc3RhcnRzc2wuY29tLzBVBgNV HSAETjBMMAwGCisGAQQBgbU3BgEwPAYLKwYBBAGBtTcBAgUwLTArBggrBgEFBQcCARYfaHR0cHM6 Ly93d3cuc3RhcnRzc2wuY29tL3BvbGljeTANBgkqhkiG9w0BAQsFAAOCAQEAHGrx/otx79QFhMFV y7FBF8IXqnfwmnQQRAtDAhD0jDTtVPKdWK6jg9OSaDJPQ+HB8Bud2GTp5xTPz4ELouvqJSJaSoJN UhI2EcyT8x/0/OUsbW7Ewo8ERgCH2qNPQaahjqY2qOLlJonBvxIicLYlJ90tH8/h65esoVAxZVEn h7o1vKCUFklZA14M92XFUAboXAJYKI922bmA/wVpeyZwUFb8BPiP9EhK97P5AMk+wtJCuppDUo2t oVnJ9VE+eh2eKHvEsLZE5DF4AX39eHWyo+K0Q21ObJnfjy0Ne9IiN9fARM53gptdSaEYZ6Udzin0 a52giLzjvYfOSI9Yu8hpuzGCBPQwggTwAgEBMIGJMHUxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T dGFydENvbSBMdGQuMSkwJwYDVQQLEyBTdGFydENvbSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEj MCEGA1UEAxMaU3RhcnRDb20gQ2xhc3MgMyBDbGllbnQgQ0ECEGDxBB8oVVZGnH+9S9P6zyowDQYJ YIZIAWUDBAIBBQCgggI7MBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8X DTE3MDYxNTE4Mjk0NlowLwYJKoZIhvcNAQkEMSIEIAWdK82zhFRJfOlH2QSu2qp/qwOjAXifWrRx R8HFsz9WMIGTBgkqhkiG9w0BCQ8xgYUwgYIwCwYJYIZIAWUDBAEqMAsGCWCGSAFlAwQBFjAKBggq hkiG9w0DBzALBglghkgBZQMEAQIwDgYIKoZIhvcNAwICAgCAMA0GCCqGSIb3DQMCAgFAMAsGCWCG SAFlAwQCATALBglghkgBZQMEAgMwCwYJYIZIAWUDBAICMAcGBSsOAwIaMIGaBgkrBgEEAYI3EAQx gYwwgYkwdTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKTAnBgNVBAsTIFN0 YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSMwIQYDVQQDExpTdGFydENvbSBDbGFzcyAz IENsaWVudCBDQQIQYPEEHyhVVkacf71L0/rPKjCBnAYLKoZIhvcNAQkQAgsxgYyggYkwdTELMAkG A1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKTAnBgNVBAsTIFN0YXJ0Q29tIENlcnRp ZmljYXRpb24gQXV0aG9yaXR5MSMwIQYDVQQDExpTdGFydENvbSBDbGFzcyAzIENsaWVudCBDQQIQ YPEEHyhVVkacf71L0/rPKjANBgkqhkiG9w0BAQEFAASCAgCr1i7xMCD5yAiZebUQBdZ8UoWdLt4B nmFiaUs9i5v+B9ABwv4eXb8MmB2LSFDAJsHEytvf+No5EXlOi4gL8i59CJvytpGizIFpk8O1tTdR 4uTB8H28Daofm9PjXgiXlL9BhxAV/Ym9x7c5GWFp80WU7k0QkXf60IK7gUrICzGJ1OGcpfjRaDXP A7TWpFpLoTsy613emSd6CFP7/k4H4faJIR3QOiKU1TCgdcMDUCS9/dd08nhvnpabY9Am/e/vzvYt NYrZyDL4M/O8aRLNhKoZcgR19RkgAIC34oLpQ1o5Q70UMBoG5g+AbPOzoTQq4yQ9qPirwSAVInzm uM6Vd0bf+qEcnh4jxJJYhIpE6Z27WYtO1gHrCrEN1K7/7Prw0p22w9ko3MVSiXd4PIjKqQCqVn4I QVdpGLsFbb9a8AsPWut2rPN2cNGgV2TJvHo0NYPHwuFsUSC9jUbbyjnhZTuXoXD855n5TLWfK6FT VO8cqGLztw8FSZTyZ5MReOyKSd35vS2zgH7ukWYZxRA/qljKcfp3ydMK/ZGhAVZrWpuHd3y8Uhq2 ITXRmB/rRFwJvv4HPmHvC0TzNk7DUYDQkhvp7BF12OwCqkyFhnFqC4qIKybWK53HNcS5sk3XhePe Y7J2NHHANhhCj8mUF15LlL8nHsqwHl6uOyVvO8BsTWxVCQAAAAAAAA== ------=_NextPart_000_017E_01D2E616.2109B900-- From owner-freebsd-net@freebsd.org Thu Jun 15 21:15:24 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B302BBEF184 for ; Thu, 15 Jun 2017 21:15:24 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-pf0-x243.google.com (mail-pf0-x243.google.com [IPv6:2607:f8b0:400e:c00::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7E98484BF2; Thu, 15 Jun 2017 21:15:24 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: by mail-pf0-x243.google.com with SMTP id s66so2959312pfs.2; Thu, 15 Jun 2017 14:15:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=SohKs5GHOEl8ob30TJmtb8kSu+kuGto6+latFfjZUCU=; b=R4CNBGcMjFGpD2f0g6bu9D2fwFga/hmMgDqaQSocdyMT7pxqgpK/Q0c8l3UzYu/HjR LnXZc6vYQOE84t5NbUZjZwLQkJUJuo+lwZkfZxdMOBhgbCL94qh+VD7gz+FqnyT8Z2AG xIbCLx1qQd+t+gyppvzS0cYF0l9Cep20otnXO55qwGQ4pX3xVU2DlKHHqYM0RTwD1kYd u2j3bedyK/sPDqXWA7uaW6/UVNPD21PamWsCYcs8ybavo9lDVnr/yR4veOttKaFO7xy5 hVIAGDfkA3fvcIODsaq4eBEyFl4epq50ynTHW4M9w/eJLSOvHdQUfKHntIaVLQ6bFjqt 7Orw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=SohKs5GHOEl8ob30TJmtb8kSu+kuGto6+latFfjZUCU=; b=EFH1Y4O8ZzmxJRmYFBd1nY1dcXymCtpXYCoNS6EuW03eu2SlDO+PGff/wLB+rGhjkz XNP2+NVrAlnZAdadL/biNlUvC0ZNgYORD4jZt55pElob/QkrEVj50VIUS2M/ZrIEobjX /g20GKn5bN0GPnqbRIXXijElylBtW/2ni3n4XWXNXFgJjovOJKOWzU16pJL01MOYsKRE 8acEfw/w0ORsboxNBrAii2SeMpZ9v0kHPuSHXy6wmk26M5X4+WRxFOfqkkkz7McS9RSp c/4/7z/RvGQL3HzOxE/cS3Cpayxev0tiX+TFtFlIqt7/rkH5X7ej00tKYMw2yJBzpmav VxtA== X-Gm-Message-State: AKS2vOyKSAX7K6svzeFq89JkaeHKzAHM4+gJQDTDutx0Dq8FWwYleRll eWn2UCK0jzPyI/ei X-Received: by 10.84.232.197 with SMTP id x5mr8494783plm.248.1497561323947; Thu, 15 Jun 2017 14:15:23 -0700 (PDT) Received: from [10.192.166.0] (stargate.chelsio.com. [12.32.117.8]) by smtp.googlemail.com with ESMTPSA id e124sm356088pgc.17.2017.06.15.14.15.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Jun 2017 14:15:23 -0700 (PDT) Subject: Re: state of packet forwarding in FreeBSD? To: =?UTF-8?Q?Olivier_Cochard-Labb=c3=a9?= Cc: John Jasen , FreeBSD Net References: From: Navdeep Parhar Message-ID: <3b3ecffa-36e5-75b1-2b25-db9e9dcd45ba@gmail.com> Date: Thu, 15 Jun 2017 14:15:22 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2017 21:15:24 -0000 On 06/14/2017 10:42, Olivier Cochard-Labb=C3=A9 wrote: > On Wed, Jun 14, 2017 at 7:36 PM, Navdeep Parhar > wrote: >=20 >=20 > I think I fixed this a long time back. Have you tried recently? W= e > moved the netmap functionality to the vcxl interfaces and it should= > just work. >=20 > =E2=80=8B > It stills panic with an -head build today. >=20 Fixed in r319986. From owner-freebsd-net@freebsd.org Fri Jun 16 01:50:31 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 02B89BF3960 for ; Fri, 16 Jun 2017 01:50: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 D9A0567AAD for ; Fri, 16 Jun 2017 01:50: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 v5G1oUHW051267 for ; Fri, 16 Jun 2017 01:50:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213814] AWS/EC2: no egress traffic stats on ixv(4) xn(4) Date: Fri, 16 Jun 2017 01:50:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: IntelNetworking, needs-qa, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? X-Bugzilla-Changed-Fields: bug_file_loc cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 01:50:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213814 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://reviews.freebsd.org | |/D11058 CC| |re@FreeBSD.org --- Comment #13 from Kubilay Kocak --- CC release engineering for 11.1-RELEASE --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Jun 16 09:03:55 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F3ADFBFB7E4; Fri, 16 Jun 2017 09:03:54 +0000 (UTC) (envelope-from baijiaju1990@163.com) Received: from m12-18.163.com (m12-18.163.com [220.181.12.18]) by mx1.freebsd.org (Postfix) with ESMTP id 2F369772F9; Fri, 16 Jun 2017 09:03:53 +0000 (UTC) (envelope-from baijiaju1990@163.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Message-ID:Date:MIME-Version; bh=FzeDY NBQjRxFdhEBSF9/lL4iz+nzdmMsnDa++ZYKbFo=; b=BasdRqUXKbsxB8BCIyy5A XUYUsNR+4pX5BiIKU+2VfnPihfK2Ko4PQctyjjxFceanPbod3Cs1pm2VdUmMxg1a eeKYODD/dPU17SpMuW0AKIY6ek5QZ3YpzLDwQICoQSLdzessEQaFlAnZnW/jmkHi 92NgXFUo8juuzFq4yqArgg= Received: from [166.111.70.34] (unknown [166.111.70.34]) by smtp14 (Coremail) with SMTP id EsCowACH1Rn3nkNZZ99uNA--.27125S2; Fri, 16 Jun 2017 17:03:51 +0800 (CST) To: freebsd-drivers@freebsd.org, freebsd-net@freebsd.org From: Jia-Ju Bai Subject: [Bug 220032] [if_alc] sys/dev/alc/if_alc.c: sleep-under-mutex bugs Message-ID: <7cc5abf5-f90c-c554-e54e-6f9534ef22ef@163.com> Date: Fri, 16 Jun 2017 17:03:51 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 Content-Language: en-US X-CM-TRANSID: EsCowACH1Rn3nkNZZ99uNA--.27125S2 X-Coremail-Antispam: 1Uf129KBjvdXoW7GF45Xw4fJFy5Jr1kZw18Krg_yoWfZwcE9F yrtry7Xw1xCFW2qa17AFWxuFW5WFW8Wa48ur4ruan8t34xXFs5tr4vvr13urZ3JayIvFnr Wr1Yg3y3CwnFvjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IU0yrW5UUUUU== X-Originating-IP: [166.111.70.34] X-CM-SenderInfo: xedlyx5dmximizq6il2tof0z/1tbiGBf4elXlaGaGGgAAsv Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 09:03:55 -0000 The alc driver may sleep under a mutex, and the function call paths in file "sys/dev/alc/if_alc.c" in FreeBSD 11.0 is: alc_resume [line 2648: acquire the mutex] alc_init_locked [line 2664] alc_init_rx_ring [line 3911] alc_newbuf [line 4469] bus_dmamap_load_mbuf_sg(BUS_DMA_WAITOK) [line 3472] --> may sleep alc_int_task [line 3330: acquire the mutex] alc_start_locked [line 3372] alc_encap [line 2942] bus_dmamap_load_mbuf_sg(BUS_DMA_WAITOK) [line 2780] --> may sleep The possible fix of these bugs is to set the last parameter in bus_dmamap_load_mbuf_sg to "BUS_DMA_NOWAIT". This bug is found by a static analysis tool written by myself, and it is checked by my review of the FreeBSD code. By the way, I am a freshman in developing FreeBSD drivers, and I am willing to submit a patch. But I do not know how to write and submit a patch, and where to submit, so I am looking forward to useful advice :) Jia-Ju Bai From owner-freebsd-net@freebsd.org Fri Jun 16 09:16:57 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83EE3BFBC3D; Fri, 16 Jun 2017 09:16:57 +0000 (UTC) (envelope-from baijiaju1990@163.com) Received: from m12-18.163.com (m12-18.163.com [220.181.12.18]) by mx1.freebsd.org (Postfix) with ESMTP id BE5F677998; Fri, 16 Jun 2017 09:16:56 +0000 (UTC) (envelope-from baijiaju1990@163.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Message-ID:Date:MIME-Version; bh=yKLFn 01hX4duwPXV7AfqMAxpTXHOTXvVK0oZo/z+Wp0=; b=TWuM0rtpT7cHsIWnHog+V lxwV4EK+P1YX2gaQLjaOcGeY8CkTPVibbEkty7VdbqcMt1nquo1cJ9CKimvxWNrj JATaMeREptRNzPaMhh+/7bBkIYD/DkHrvLE/QK3nWTSFg9+aojYtT190U13qBXKX HLh1ZrVma3UHBSkVlSeGeY= Received: from [166.111.70.34] (unknown [166.111.70.34]) by smtp14 (Coremail) with SMTP id EsCowACnVa52nkNZ8rluNA--.63932S2; Fri, 16 Jun 2017 17:01:43 +0800 (CST) To: freebsd-drivers@freebsd.org, freebsd-net@freebsd.org From: Jia-Ju Bai Subject: [Bug 220033] [if_ixgb] sys/dev/ixgb/if_ixgb.c: a sleep-under-mutex bug in ixge_get_buf Message-ID: <4f7481c7-f70b-a76d-2169-8e57f9ba3cb8@163.com> Date: Fri, 16 Jun 2017 17:01:42 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 Content-Language: en-US X-CM-TRANSID: EsCowACnVa52nkNZ8rluNA--.63932S2 X-Coremail-Antispam: 1Uf129KBjvdXoW7GF4rAr1kKF4fXw1UGrWDXFb_yoW3ZFgE9F 1IvryUAw13WFW2ga13Cr48uFWF9FWfuFy8Wr4rXws0yFyxXFn5trsa9rWa9rWxG3yxuFn7 Zr1aq3y7C3ZrXjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUnldgJUUUUU== X-Originating-IP: [166.111.70.34] X-CM-SenderInfo: xedlyx5dmximizq6il2tof0z/xtbBRRf4elO-7oHhLAAAse Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 09:16:57 -0000 The ixgb driver may sleep under a mutex, and the function call path in file "sys/dev/ixgb/if_ixgb.c" in FreeBSD 11.0 is: ixgb_init [line 750: acquire the mutex] ixgb_init_locked [line 751] ixgb_setup_receive_structures [line 699] ixgb_allocate_receive_structures [line 1913] ixgb_get_buf [line 1885] bus_dmamap_load(BUS_DMA_WAITOK) [line 1812] --> may sleep The possible fix of these bugs is to set the last parameter in bus_dmamap_load to "BUS_DMA_NOWAIT". This bug is found by a static analysis tool written by myself, and it is checked by my review of the FreeBSD code. By the way, I am a freshman in developing FreeBSD drivers, and I am willing to submit a patch. But I do not know how to write and submit a patch, and where to submit, so I am looking forward to useful advice :) Jia-Ju Bai From owner-freebsd-net@freebsd.org Fri Jun 16 11:39:33 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BB0E3BFE26A for ; Fri, 16 Jun 2017 11:39:33 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7727BA70 for ; Fri, 16 Jun 2017 11:39:32 +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.15.2/8.15.2) with ESMTPS id v5GBdKM8010695 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 16 Jun 2017 13:39:21 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: 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 v5GBdG3C088414 for ; Fri, 16 Jun 2017 18:39:16 +0700 (+07) (envelope-from eugen@grosbein.net) To: freebsd-net@FreeBSD.org From: Eugene Grosbein Subject: stable/11: repeatable panic due to a race X-Enigmail-Draft-Status: N1110 Message-ID: <5943C364.9030001@grosbein.net> Date: Fri, 16 Jun 2017 18:39:16 +0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=3.1 required=5.0 tests=BAYES_00, DATE_IN_FUTURE_96_Q, LOCAL_FROM autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * 2.8 DATE_IN_FUTURE_96_Q Date: is 4 days to 4 months after Received: date * -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.4.1 (2015-04-28) on hz.grosbein.net X-Spam-Level: *** X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 11:39:33 -0000 Hi! I observe repeatable panics at netgraph level while doing stress test for net/mpd5 daemon under stable/11 r317184. It connects, uses and disconnects lots of ngXX interfaces and corresponding netgraph nodes and hooks. I have good crashdump for INVARIANTS-enabled custom kernel built with debugging symbols and COPFTFLAGS=-O0. It seems that netgraph ng_iface's node hook may get disconnected and removed in parallel with ng_iface_send(). I see no locking to prevent this in the source. Here is kgdb script. Note that netgraph node's "hook" points to memory area filled with "0xdeadc0de" pattern that means it has already been freed by UMA. The machine has two physical CPU cores. Command: kgdb kernel.debug /var/crash/vmcore.1 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Unread portion of the kernel message buffer: Fatal trap 9: general protection fault while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x20:0xffffffff8097f249 stack pointer = 0x28:0xfffffe0239542ec0 frame pointer = 0x28:0xfffffe0239542f00 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 = 28999 (ftpd) trap number = 9 panic: general protection fault cpuid = 0 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2c/frame 0xfffffe0239542840 kdb_backtrace() at kdb_backtrace+0x53/frame 0xfffffe0239542910 vpanic() at vpanic+0x249/frame 0xfffffe02395429e0 kproc_shutdown() at kproc_shutdown/frame 0xfffffe0239542a40 trap_fatal() at trap_fatal+0x60a/frame 0xfffffe0239542b70 trap() at trap+0x97c/frame 0xfffffe0239542dd0 trap_check() at trap_check+0x15/frame 0xfffffe0239542df0 calltrap() at calltrap+0x8/frame 0xfffffe0239542df0 --- trap 0x9, rip = 0xffffffff8097f249, rsp = 0xfffffe0239542ec0, rbp = 0xfffffe0239542f00 --- ng_address_hook() at ng_address_hook+0x59/frame 0xfffffe0239542f00 ng_iface_send() at ng_iface_send+0x108/frame 0xfffffe0239542f90 ng_iface_output() at ng_iface_output+0x447/frame 0xfffffe0239543060 ip_output() at ip_output+0x1864/frame 0xfffffe0239543300 tcp_output() at tcp_output+0x2602/frame 0xfffffe02395436a0 tcp_disconnect() at tcp_disconnect+0x18e/frame 0xfffffe02395436e0 tcp_usr_disconnect() at tcp_usr_disconnect+0xe6/frame 0xfffffe0239543710 sodisconnect() at sodisconnect+0x62/frame 0xfffffe0239543740 soclose() at soclose+0x95/frame 0xfffffe02395437b0 soo_close() at soo_close+0x4d/frame 0xfffffe02395437e0 fo_close() at fo_close+0x31/frame 0xfffffe0239543810 _fdrop() at _fdrop+0x46/frame 0xfffffe0239543840 closef() at closef+0x2d7/frame 0xfffffe02395438f0 closefp() at closefp+0xde/frame 0xfffffe0239543940 kern_close() at kern_close+0xe7/frame 0xfffffe0239543990 sys_close() at sys_close+0x1f/frame 0xfffffe02395439b0 syscallenter() at syscallenter+0x4ff/frame 0xfffffe0239543a80 amd64_syscall() at amd64_syscall+0x2a/frame 0xfffffe0239543bb0 Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe0239543bb0 --- syscall (6, FreeBSD ELF64, sys_close), rip = 0x801a4033a, rsp = 0x7fffffffd0a8, rbp = 0x7fffffffd0d0 --- Uptime: 2h11m5s Dumping 544 out of 8156 MB:..3%..12%..21%..33%..42%..53%..62%..71%..83%..92% Reading symbols from /boot/modules/geom_mirror.ko...done. Loaded symbols for /boot/modules/geom_mirror.ko Reading symbols from /boot/modules/accf_http.ko...done. Loaded symbols for /boot/modules/accf_http.ko Reading symbols from /boot/modules/nvidia.ko...done. Loaded symbols for /boot/modules/nvidia.ko Reading symbols from /boot/modules/vboxdrv.ko...done. Loaded symbols for /boot/modules/vboxdrv.ko Reading symbols from /boot/modules/mmc.ko...done. Loaded symbols for /boot/modules/mmc.ko Reading symbols from /boot/modules/mmcsd.ko...done. Loaded symbols for /boot/modules/mmcsd.ko Reading symbols from /boot/modules/sdhci.ko...done. Loaded symbols for /boot/modules/sdhci.ko Reading symbols from /boot/modules/h_ertt.ko...done. Loaded symbols for /boot/modules/h_ertt.ko Reading symbols from /boot/modules/cc_chd.ko...done. Loaded symbols for /boot/modules/cc_chd.ko Reading symbols from /boot/modules/geom_sched.ko...done. Loaded symbols for /boot/modules/geom_sched.ko Reading symbols from /boot/modules/gsched_rr.ko...done. Loaded symbols for /boot/modules/gsched_rr.ko Reading symbols from /boot/modules/vboxnetflt.ko...done. Loaded symbols for /boot/modules/vboxnetflt.ko Reading symbols from /boot/modules/vboxnetadp.ko...done. Loaded symbols for /boot/modules/vboxnetadp.ko Reading symbols from /boot/modules/nullfs.ko...done. Loaded symbols for /boot/modules/nullfs.ko Reading symbols from /usr/local/modules/rtc.ko...done. Loaded symbols for /usr/local/modules/rtc.ko #0 doadump (textdump=1) at /data2/src/sys/kern/kern_shutdown.c:298 298 dumptid = curthread->td_tid; (kgdb) bt #0 doadump (textdump=1) at /data2/src/sys/kern/kern_shutdown.c:298 #1 0xffffffff807a0828 in kern_reboot (howto=260) at /data2/src/sys/kern/kern_shutdown.c:366 #2 0xffffffff807a125f in vpanic (fmt=0xffffffff80cf5311 "%s", ap=0xfffffe0239542a20) at /data2/src/sys/kern/kern_shutdown.c:759 #3 0xffffffff807a12d0 in panic (fmt=0xffffffff80cf5311 "%s") at /data2/src/sys/kern/kern_shutdown.c:690 #4 0xffffffff80c06a0a in trap_fatal (frame=0xfffffe0239542e00, eva=0) at /data2/src/sys/amd64/amd64/trap.c:801 #5 0xffffffff80c0604c in trap (frame=0xfffffe0239542e00) at /data2/src/sys/amd64/amd64/trap.c:549 #6 0xffffffff80c07085 in trap_check (frame=0xfffffe0239542e00) at /data2/src/sys/amd64/amd64/trap.c:602 #7 0xffffffff80bdeba3 in calltrap () at /data2/src/sys/amd64/amd64/exception.S:236 #8 0xffffffff8097f249 in ng_address_hook (here=0x0, item=0xfffff8011ddd1f00, hook=0xfffff801f8232300, retaddr=0) at /data2/src/sys/netgraph/ng_base.c:3586 #9 0xffffffff80986548 in ng_iface_send (ifp=0xfffff801f8ef2800, m=0xfffff801f8526100, sa=2 '\002') at /data2/src/sys/netgraph/ng_iface.c:451 #10 0xffffffff80985c97 in ng_iface_output (ifp=0xfffff801f8ef2800, m=0xfffff801f8526100, dst=0xfffff8011db98720, ro=0xfffff8011db98700) at /data2/src/sys/netgraph/ng_iface.c:386 #11 0xffffffff809cae14 in ip_output (m=0xfffff801f8526100, opt=0x0, ro=0xfffff8011db98700, flags=0, imo=0x0, inp=0xfffff8011db98570) at /data2/src/sys/netinet/ip_output.c:655 #12 0xffffffff809e08d2 in tcp_output (tp=0xfffff801f8258410) at /data2/src/sys/netinet/tcp_output.c:1446 #13 0xffffffff809f5f4e in tcp_disconnect (tp=0xfffff801f8258410) at /data2/src/sys/netinet/tcp_usrreq.c:1946 #14 0xffffffff809f29a6 in tcp_usr_disconnect (so=0xfffff8011d8de360) at /data2/src/sys/netinet/tcp_usrreq.c:674 #15 0xffffffff80884072 in sodisconnect (so=0xfffff8011d8de360) at /data2/src/sys/kern/uipc_socket.c:1051 #16 0xffffffff808839b5 in soclose (so=0xfffff8011d8de360) at /data2/src/sys/kern/uipc_socket.c:869 #17 0xffffffff8084d67d in soo_close (fp=0xfffff8011df23b40, td=0xfffff801f8c5d000) at /data2/src/sys/kern/sys_socket.c:334 #18 0xffffffff8072bee1 in fo_close (fp=0xfffff8011df23b40, td=0xfffff801f8c5d000) at file.h:346 #19 0xffffffff80726b86 in _fdrop (fp=0xfffff8011df23b40, td=0xfffff801f8c5d000) at /data2/src/sys/kern/kern_descrip.c:2849 #20 0xffffffff8072b1f7 in closef (fp=0xfffff8011df23b40, td=0xfffff801f8c5d000) at /data2/src/sys/kern/kern_descrip.c:2430 #21 0xffffffff8072768e in closefp (fdp=0xfffff80007104000, fd=6, fp=0xfffff8011df23b40, td=0xfffff801f8c5d000, holdleaders=0) at /data2/src/sys/kern/kern_descrip.c:1191 #22 0xffffffff80728417 in kern_close (td=0xfffff801f8c5d000, fd=6) at /data2/src/sys/kern/kern_descrip.c:1239 #23 0xffffffff8072831f in sys_close (td=0xfffff801f8c5d000, uap=0xfffffe0239543b58) at /data2/src/sys/kern/kern_descrip.c:1218 #24 0xffffffff80c07b7f in syscallenter (td=0xfffff801f8c5d000, sa=0xfffffe0239543b48) at subr_syscall.c:135 #25 0xffffffff80c0741a in amd64_syscall (td=0xfffff801f8c5d000, traced=0) at /data2/src/sys/amd64/amd64/trap.c:902 #26 0xffffffff80bdee8b in Xfast_syscall () at /data2/src/sys/amd64/amd64/exception.S:396 #27 0x0000000801a4033a in ?? () Previous frame inner to this frame (corrupt stack?) Current language: auto; currently minimal (kgdb) frame 8 #8 0xffffffff8097f249 in ng_address_hook (here=0x0, item=0xfffff8011ddd1f00, hook=0xfffff801f8232300, retaddr=0) at /data2/src/sys/netgraph/ng_base.c:3586 3586 NG_HOOK_NOT_VALID(peer = NG_HOOK_PEER(hook)) || (kgdb) l 3581 * that the peer is still connected (even if invalid,) we know 3582 * that the peer node is present, though maybe invalid. 3583 */ 3584 TOPOLOGY_RLOCK(); 3585 if ((hook == NULL) || NG_HOOK_NOT_VALID(hook) || 3586 NG_HOOK_NOT_VALID(peer = NG_HOOK_PEER(hook)) || 3587 NG_NODE_NOT_VALID(peernode = NG_PEER_NODE(hook))) { 3588 NG_FREE_ITEM(item); 3589 TRAP_ERROR(); 3590 TOPOLOGY_RUNLOCK(); (kgdb) p *hook $1 = { hk_name = 0xfffff801f8232300 "ÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞP¯\003\201ÿÿÿÿÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­ÞÞÀ­Þ"..., hk_private = 0xdeadc0dedeadc0de, hk_flags = -559038242, hk_type = -559038242, hk_peer = 0xdeadc0dedeadc0de, hk_node = 0xdeadc0dedeadc0de, hk_hooks = {le_next = 0xdeadc0dedeadc0de, le_prev = 0xdeadc0dedeadc0de}, hk_rcvmsg = 0xdeadc0dedeadc0de, hk_rcvdata = 0xdeadc0dedeadc0de, hk_refs = -559038242} (kgdb) From owner-freebsd-net@freebsd.org Fri Jun 16 11:54:07 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CB57FBFE719 for ; Fri, 16 Jun 2017 11:54:07 +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 B934B7C2D1 for ; Fri, 16 Jun 2017 11:54:07 +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 v5GBs6jr046480 for ; Fri, 16 Jun 2017 11:54:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Fri, 16 Jun 2017 11:54:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 11:54:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #45 from Cassiano Peixoto --- (In reply to Eugene Grosbein from comment #43) Hi Eugene, I just got a stuck process this morning with uwrlck state. As i said before= i'm not using mpd web anymore. Here is the bt result after it hangs: #0 0x000000080248567c in _umtx_op_err () from /lib/libthr.so.3 #1 0x0000000802479c81 in __thr_rwlock_wrlock (rwlock=3D0x802694500, tsp=3D= ) at /usr/src/lib/libthr/thread/thr_umtx.c:325 #2 0x00000008024829f3 in _thr_rtld_wlock_acquire (lock=3D) at thr_umtx.h:239 #3 0x0000000800703c72 in wlock_acquire (lock=3D0x800918960, lockstate=3D0x7fffdfffda58) at /usr/src/libexec/rtld-elf/rtld_lock.c:217 #4 0x00000008006fff4f in _rtld_allocate_tls (oldtls=3D0x0, tcbsize=3D32, tcbalign=3D16) at /usr/src/libexec/rtld-elf/rtld.c:4802 #5 0x0000000802481b69 in _tcb_ctor (thread=3D0x807c7ba00, initial=3D) at /usr/src/lib/libthr/thread/thr_ctrdtr.c:45 #6 0x0000000802481110 in _thr_alloc (curthread=3D) at /usr/src/lib/libthr/thread/thr_list.c:170 #7 0x00000008024772a6 in _pthread_create (thread=3D0x80342fd78, attr=3D0x0, start_routine=3D0x4b17c0 , arg=3D) at /usr/src/lib/libthr/thread/thr_create.c:78 #8 0x00000000004b1744 in paction_start (actionp=3D0x80cf7f3b8, mutex=3D0x7= bee08, handler=3D0x442f40 , finish=3D0x4430c0 , arg=3D0x807c20010) at contrib/libpdel/util/paction.c:115 #9 0x0000000000442eaa in AuthAccountStart (l=3D0x80cf7f010, type=3D3) at auth.c:927 #10 0x0000000000442f31 in AuthAccountTimeout (arg=3D0x80cf7f010) at auth.c:= 949 #11 0x00000000004a0344 in TimerExpires (type=3D3, cookie=3D0x80cf7f120) at timer.c:99 #12 0x0000000000462ed7 in EventHandler (arg=3D0x80cf7f120) at event.c:146 #13 0x00000000004b154e in pevent_ctx_execute (arg=3D0x807db6f08) at contrib/libpdel/util/pevent.c:885 #14 0x00000000004b112f in pevent_ctx_service (ev=3D0x807db6f08) at contrib/libpdel/util/pevent.c:774 #15 0x00000000004b0baf in pevent_ctx_main (arg=3D0x80322c008) at contrib/libpdel/util/pevent.c:720 #16 0x0000000802477b55 in thread_start (curthread=3D) = at /usr/src/lib/libthr/thread/thr_create.c:289 --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Jun 16 12:13:11 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6C395BFF3BF for ; Fri, 16 Jun 2017 12:13:11 +0000 (UTC) (envelope-from jordancaraballo87@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ED6867CD9A; Fri, 16 Jun 2017 12:13:10 +0000 (UTC) (envelope-from jordancaraballo87@gmail.com) Received: by mail-wm0-x22f.google.com with SMTP id d73so22294244wma.0; Fri, 16 Jun 2017 05:13:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=o/9xP3IKWywAaodZcwzUhQIM660VIMC3vhlWVkPxWrI=; b=kNUUSOr3P6ATCV+fpohUqL3kH456K6L3DPC6ItlziTkF0rxpFl+6zgrfnedLsRilyg tDnUnoxIkKVaD+pTQUEJUoVB3F7cAMx0P+xdNStTOkBOoBlpZcOd6ijl48Gsf+mSGFa5 XppjAD9EHKMouqwAKBK5TPcflehLptD/SPNY6rG+tTndJ9RwLcU7J1G86WU4KeSirgtX xOWtycdpJa0gmMZopOXnEDlOynxpQFdBZgCwlTSW47cKErbucp8qhvCUAe7Av+X8lKIj x9cSCSBDd1xEXOZw/6QR3L4ISmb5zYyP/W3cLDkVworvnmGbvKVqTbD/Ms5Qxl7PzXTm XLbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=o/9xP3IKWywAaodZcwzUhQIM660VIMC3vhlWVkPxWrI=; b=esPeKcLLlJBXxZFxrB512Hl/VlE3a8oci0ISsJW75HTNWaH/rPrntDKlWh2T9GPjX+ NjsOBGJjqPuz+KXsLJJx7KQuY7g8JQHpLML4/tAddDrMd+sFAINhWrI+BVkHdxzIJQia DzXT4jegU3EoL+ckg6zn5rq2CPJlpnkt1rlLjbCjXa6HoRMyhH51plH4bYaBQ0GV84Rs 013vUzFcRxwouj/1/rh6FhsR8tJD8R04bzr0jOqN8hSnen77gfbMZVtslRz9TDq0xkqX uDJ8G4RIe2ZddhsV0D0e8uLwY+WkbK6l63aK6+9c1ZRHR0sVfkoibf1cQasajAu+pKVX Z2LA== X-Gm-Message-State: AKS2vOwkZT9XVl434fo+6GuZhJwfXJ81ue2nhjBQ5mzH09G8FVXIVxKw 7kpGEmTfKs9Bnb7cRF21xJpLCE2iJg== X-Received: by 10.80.206.22 with SMTP id y22mr7339515edi.20.1497615189044; Fri, 16 Jun 2017 05:13:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.136.230 with HTTP; Fri, 16 Jun 2017 05:13:08 -0700 (PDT) In-Reply-To: <3b3ecffa-36e5-75b1-2b25-db9e9dcd45ba@gmail.com> References: <3b3ecffa-36e5-75b1-2b25-db9e9dcd45ba@gmail.com> From: Jordan Caraballo Date: Fri, 16 Jun 2017 08:13:08 -0400 Message-ID: Subject: Re: state of packet forwarding in FreeBSD? To: Navdeep Parhar Cc: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= , FreeBSD Net , John Jasen Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 12:13:11 -0000 Hi guys, We tried multiple attempts to implement netmap vale-ctl and bridge in chelsio vcxl* interfaces. The most interesting attempts, are mentioned below. First Attempt: Ran "./bridge vcxl0 vcxl1"; but it would complain about having a 0 burst size. Added "-b 1024" to the command as recommended by the log from the script, but the issue was still present. Second Attempt: Tried to combine vale-ctl and bridge by: # ./vale -h vale0:vcxl0 # ./vale -h vale0:vcxl1 # ./bridge vale0:1 vale0:3 There was no error, however, traffic did not flow at the time of shooting packets to the interfaces. Third Attempt: By following this email threadhttps://lists.openinfosecfoundation.org/pipermail/oisf-users/2015-Oct= ober/005310.html; we ran: # ./vale-ctl -n b0 # ./vale-ctl -n b1 # ./vale-ctl -a vale0:b0 # ./vale-ctl -a vale0:vcxl0 # ./vale-ctl -a vale1:b1 # ./vale-ctl -a vale1:vcxl1 # ./bridge -i netmap:vcxl0 -i netmap:vcxl1 Same result as before, no errors, yet no traffic in the interfaces. Any feedback or advice on why traffic is not flowing? We would like to note that throwing packets to the vcxl interfaces without any netmap aware application ranges from 1.1M to 1.2M pps. Is this supposed to happen? (We consider that still, the number is quite lo= w) - Jordan 2017-06-15 17:15 GMT-04:00 Navdeep Parhar : > On 06/14/2017 10:42, Olivier Cochard-Labb=C3=A9 wrote: > >> On Wed, Jun 14, 2017 at 7:36 PM, Navdeep Parhar > > wrote: >> >> >> I think I fixed this a long time back. Have you tried recently? We >> moved the netmap functionality to the vcxl interfaces and it should >> just work. >> >> =E2=80=8B >> It stills panic with an -head build today. >> >> > Fixed in r319986. > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > --=20 Jordan From owner-freebsd-net@freebsd.org Fri Jun 16 12:47:37 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3DDA5BFFD36 for ; Fri, 16 Jun 2017 12:47:37 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-ot0-x230.google.com (mail-ot0-x230.google.com [IPv6:2607:f8b0:4003:c0f::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F10D27DC64; Fri, 16 Jun 2017 12:47:36 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-ot0-x230.google.com with SMTP id y47so7045380oty.0; Fri, 16 Jun 2017 05:47:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Ge+ybK8b2En4Mb04MM1iuUjKYshXAy6sDqIzKM6vvxI=; b=IwdW9Nf87gbjp1+TxoVFn0Yq+tUJaFk/OKr1quI17xogfmGn0AbB7ZOzZcq7T6N3Sq GOqojQxcfyNG4VCsxX0uIlvG2CDKuOIjF0i/uetskk1PwtZnh5e2kUhxpsgyF4FMZ7Li TD+gKIClMy22qKlNHyDte3ZBAUL4U9Dd2nDM6U2aSGqs+/4MJarhP0TObJkzrxT63uF9 FTZLJpFBwoizk8D3tOVpdbW8UaQ7PwpmYuxYk7oygZeKgsFnqjfixG9iChbPZE6gDGwM loOFOQdpIYu6/y1WTTgTMCjEI9yboqOBn29VxFjFybUQTQZeOkTwUV5gw2ucRk/ZuMLa /8/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Ge+ybK8b2En4Mb04MM1iuUjKYshXAy6sDqIzKM6vvxI=; b=awgWDdo3OuEQVu01O9i/y4qkPj6FthUmZ2J9aLih+uF4n1XrfL2M1AIjAivuXUc2fM nnrdUswP03S6FSa9HflTQvZdNrj4TcNkJxYWtzWoOK+gfNqYNelkrCuoCDWLbkJOxLVG PFwzRKhrV4TaqGpfHbxEYWUiUrgQHxC9Op6CKG4woF7RnFQTTa/fG+HgI3XPIPdKJRHj anC5CQ6WXwW72X8YGU5F2mjUVKcNG9uugTKv4F13iKoOmu3yONAG4CKKyMv+i//yISqb VWagWHU5ES4m9D2XRqbrfWhkaHkpoJ9MvIzutNmuQKeiAjfnOXiNI7dFHtUz5xOH8KR4 b9eA== X-Gm-Message-State: AKS2vOxIxUzhYObSJxiToaoDp23s3Bg6QfEBx7IIEIA926eyDdKXkqJP ++aQn5UMRmJilwerx0h/fe8sr6HjnQ== X-Received: by 10.157.60.139 with SMTP id z11mr5340829otc.47.1497617256202; Fri, 16 Jun 2017 05:47:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.17.49 with HTTP; Fri, 16 Jun 2017 05:47:35 -0700 (PDT) In-Reply-To: References: <3b3ecffa-36e5-75b1-2b25-db9e9dcd45ba@gmail.com> From: Vincenzo Maffione Date: Fri, 16 Jun 2017 14:47:35 +0200 Message-ID: Subject: Re: state of packet forwarding in FreeBSD? To: Jordan Caraballo Cc: Navdeep Parhar , FreeBSD Net , =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= , John Jasen Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 12:47:37 -0000 Some comments inline: 2017-06-16 14:13 GMT+02:00 Jordan Caraballo : > Hi guys, > > We tried multiple attempts to implement netmap vale-ctl and bridge in > chelsio vcxl* interfaces. The most interesting attempts, are mentioned > below. > > First Attempt: Ran "./bridge vcxl0 vcxl1"; but it would complain about > having a 0 burst size. Added "-b 1024" to the command as recommended by > the log from the script, but the issue was still present. > If # ./bridge ifname1 ifname2 doesn't work it means there is some problem with the driver the interfaces are using. Default burst size used by "bridge" is already 1024. You may try to repeat this experiment after setting "sysctl dev.netmap.admode=3D2", to use the emulated mode, that is the legacy driver (of course performance would be limited, but at least you check functionality). Check netmap(4) for more info. > > Second Attempt: Tried to combine vale-ctl and bridge by: > # ./vale -h vale0:vcxl0 > # ./vale -h vale0:vcxl1 > # ./bridge vale0:1 vale0:3 > There was no error, however, traffic did not flow at the time of > shooting packets to the interfaces. > What did you mean to do here? This setup creates a forwarding loop involving the VALE switch "vale0" and the userspace hub implemented by "bridge". I'm not surprised that you see nothing.. > > Third Attempt: By following this email > threadhttps://lists.openinfosecfoundation.org/pipermail/oisf-users/2015- > October/005310.html; > we ran: > # ./vale-ctl -n b0 > # ./vale-ctl -n b1 > # ./vale-ctl -a vale0:b0 > # ./vale-ctl -a vale0:vcxl0 > # ./vale-ctl -a vale1:b1 > # ./vale-ctl -a vale1:vcxl1 > # ./bridge -i netmap:vcxl0 -i netmap:vcxl1 > > Same result as before, no errors, yet no traffic in the interfaces. > > This should throw errors, as you are first attaching vcxl0 to a VALE switch, and then opening vclx0 in netmap mode with the bridge program: netmap forbids you to do that, because when an interface is attached to a VALE switch it is "busy", and cannot be opened again from another netmap application (like bridge). Same reasoning for vcxl1. Have you tried with the basic TX/RX tests first, without involving VALE? # pkt-gen -i netmap:vcxl0 -f tx # pkt-gen -i netmap:vcxl0 -f rx Regards, Vincenzo > Any feedback or advice on why traffic is not flowing? > > We would like to note that throwing packets to the vcxl interfaces > without any netmap aware application ranges from 1.1M to 1.2M pps. > > Is this supposed to happen? (We consider that still, the number is quite > low) > > - Jordan > > > 2017-06-15 17:15 GMT-04:00 Navdeep Parhar : > > > On 06/14/2017 10:42, Olivier Cochard-Labb=C3=A9 wrote: > > > >> On Wed, Jun 14, 2017 at 7:36 PM, Navdeep Parhar >> > wrote: > >> > >> > >> I think I fixed this a long time back. Have you tried recently? = We > >> moved the netmap functionality to the vcxl interfaces and it shoul= d > >> just work. > >> > >> =E2=80=8B > >> It stills panic with an -head build today. > >> > >> > > Fixed in r319986. > > > > > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > > > > -- > Jordan > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > --=20 Vincenzo Maffione From owner-freebsd-net@freebsd.org Fri Jun 16 12:51:39 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 002B9BFFDDA for ; Fri, 16 Jun 2017 12:51:38 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-oi0-x22b.google.com (mail-oi0-x22b.google.com [IPv6:2607:f8b0:4003:c06::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B1D397DF0E; Fri, 16 Jun 2017 12:51:38 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-oi0-x22b.google.com with SMTP id k145so23544688oih.3; Fri, 16 Jun 2017 05:51:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=MFskJHhuYNWzxd0zS4XTrXgtihCvsy7gYSL8lTDEhOU=; b=AhDzzXoeRQCzAbZGeyY6C679IAnmUoxuQdCK9SdArCFj6gfq009xP7bfHHjhzJ5CPl c+TK1E/amyRY6FboO/mRD/3YcGji6P/evS2+2d7V39cywoRcZqzdzm4glCOMIdB637dq YG1jeMPdWkZeTpymk9rHZr3qkjeBGeGUxg5rxsis4KBX/Wjg/u3EnkQ6axFQA5fAs7rT FDnEyyxwEt8pvomJZ2H0JJrCaZwgkKW+/KSx0BASJG7jp41Jvcx7PUjf2zYkFQznzwTW nSVGatmPAlGB782wgMDx+TBeMAzIOoY43qYcrZFyfUDmNb5yTbiezvQ5NGpXN94nHQTy otfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=MFskJHhuYNWzxd0zS4XTrXgtihCvsy7gYSL8lTDEhOU=; b=KFN8KaQkvkf8dyj85ae2XnKguuk0oAEpgygMJ3NmB7e9N7C0H4t5zxGKTwOz0ODGzI 3ojRQTlIS9EIr2XtKzCpKo8zRYR8Xh9M/dD6NRu4rFeS7SwpV46DWtXntE5Ur2Uew/oO GFG5HPe0yVGxAqczBcTA6HouZebmwPpkiOagIVd4FdRdxf2Tbt5xC/rTaAG04pqjUIWr Ef8FtGdAJiVib6MdAGiysm2y9A2xya2dAeQ4xKB01t1vpTYgSOwg8bRQT3UoJ8xjMYP+ eAQUEVe8DjCyXw+sTDk7Kbx67phy1R8YQu5HW9uxzTZX36CQ+K8cOe0LypOIdsusYE16 TDRg== X-Gm-Message-State: AKS2vOyQmVf3L2/bZFjAwxpDsymmywKBYW75guyNYkLBYhhT/0IRNCgJ INf3rDtZLOVQZhioN4sGk08dUPSQMbpl X-Received: by 10.202.88.134 with SMTP id m128mr6208071oib.164.1497617497860; Fri, 16 Jun 2017 05:51:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.17.49 with HTTP; Fri, 16 Jun 2017 05:51:37 -0700 (PDT) In-Reply-To: References: <3b3ecffa-36e5-75b1-2b25-db9e9dcd45ba@gmail.com> From: Vincenzo Maffione Date: Fri, 16 Jun 2017 14:51:37 +0200 Message-ID: Subject: Re: state of packet forwarding in FreeBSD? To: Jordan Caraballo Cc: Navdeep Parhar , FreeBSD Net , =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= , John Jasen Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 12:51:39 -0000 Also, there is a more basic problem. The bridge program requires physical interfaces to be specified with the "netmap:" prefix. For example: # ./bridge netmap:ix0 netmap:em2 # OK # ./bridge ix0 em2 # WRONG 2017-06-16 14:47 GMT+02:00 Vincenzo Maffione : > Some comments inline: > > 2017-06-16 14:13 GMT+02:00 Jordan Caraballo = : > >> Hi guys, >> >> We tried multiple attempts to implement netmap vale-ctl and bridge in >> chelsio vcxl* interfaces. The most interesting attempts, are mentioned >> below. >> >> First Attempt: Ran "./bridge vcxl0 vcxl1"; but it would complain about >> having a 0 burst size. Added "-b 1024" to the command as recommended by >> the log from the script, but the issue was still present. >> > > If > > # ./bridge ifname1 ifname2 > > doesn't work it means there is some problem with the driver the interface= s > are using. Default burst size used by "bridge" is already 1024. > You may try to repeat this experiment after setting "sysctl > dev.netmap.admode=3D2", to use the emulated mode, that is the legacy driv= er > (of course performance would be limited, but at least you check > functionality). > Check netmap(4) for more info. > > >> >> Second Attempt: Tried to combine vale-ctl and bridge by: >> # ./vale -h vale0:vcxl0 >> # ./vale -h vale0:vcxl1 >> # ./bridge vale0:1 vale0:3 > > >> There was no error, however, traffic did not flow at the time of >> shooting packets to the interfaces. >> > > What did you mean to do here? This setup creates a forwarding loop > involving the VALE switch "vale0" and the userspace hub implemented by > "bridge". > I'm not surprised that you see nothing.. > > >> >> Third Attempt: By following this email >> threadhttps://lists.openinfosecfoundation.org/pipermail/ >> oisf-users/2015-October/005310.html; >> we ran: >> # ./vale-ctl -n b0 >> # ./vale-ctl -n b1 >> # ./vale-ctl -a vale0:b0 >> # ./vale-ctl -a vale0:vcxl0 >> # ./vale-ctl -a vale1:b1 >> # ./vale-ctl -a vale1:vcxl1 >> # ./bridge -i netmap:vcxl0 -i netmap:vcxl1 >> >> Same result as before, no errors, yet no traffic in the interfaces. >> >> > This should throw errors, as you are first attaching vcxl0 to a VALE > switch, and then opening vclx0 in netmap mode with the bridge program: > netmap forbids you to do that, because when an interface is attached to a > VALE switch it is "busy", and cannot be opened again from another netmap > application (like bridge). > Same reasoning for vcxl1. > > Have you tried with the basic TX/RX tests first, without involving VALE? > > # pkt-gen -i netmap:vcxl0 -f tx > # pkt-gen -i netmap:vcxl0 -f rx > > > Regards, > Vincenzo > > >> Any feedback or advice on why traffic is not flowing? >> >> We would like to note that throwing packets to the vcxl interfaces >> without any netmap aware application ranges from 1.1M to 1.2M pps. >> >> Is this supposed to happen? (We consider that still, the number is quite >> low) >> >> - Jordan >> >> >> 2017-06-15 17:15 GMT-04:00 Navdeep Parhar : >> >> > On 06/14/2017 10:42, Olivier Cochard-Labb=C3=A9 wrote: >> > >> >> On Wed, Jun 14, 2017 at 7:36 PM, Navdeep Parhar > >> > wrote: >> >> >> >> >> >> I think I fixed this a long time back. Have you tried recently? >> We >> >> moved the netmap functionality to the vcxl interfaces and it shou= ld >> >> just work. >> >> >> >> =E2=80=8B >> >> It stills panic with an -head build today. >> >> >> >> >> > Fixed in r319986. >> > >> > >> > _______________________________________________ >> > freebsd-net@freebsd.org mailing list >> > https://lists.freebsd.org/mailman/listinfo/freebsd-net >> > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >> > >> >> >> >> -- >> Jordan >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >> > > > > -- > Vincenzo Maffione > --=20 Vincenzo Maffione From owner-freebsd-net@freebsd.org Fri Jun 16 13:27:18 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB691C08D8D for ; Fri, 16 Jun 2017 13:27: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 D8FB27F158 for ; Fri, 16 Jun 2017 13:27: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 v5GDRG4k037963 for ; Fri, 16 Jun 2017 13:27:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Fri, 16 Jun 2017 13:27:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 13:27:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 Konstantin Belousov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #46 from Konstantin Belousov --- (In reply to Cassiano Peixoto from comment #45) Show the backtrace for all threads. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Jun 16 13:31:41 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22796C09038 for ; Fri, 16 Jun 2017 13:31:41 +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 0FA417F6CC for ; Fri, 16 Jun 2017 13:31:41 +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 v5GDVexV051111 for ; Fri, 16 Jun 2017 13:31:40 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Fri, 16 Jun 2017 13:31:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 13:31:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #47 from Konstantin Belousov --- (In reply to Konstantin Belousov from comment #46) And exactly what FreeBSD version is it ? --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Jun 16 13:35:17 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 75B98C09158 for ; Fri, 16 Jun 2017 13:35:17 +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 637087F964 for ; Fri, 16 Jun 2017 13:35:17 +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 v5GDZHpo057648 for ; Fri, 16 Jun 2017 13:35:17 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Fri, 16 Jun 2017 13:35:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dmitryluhtionov@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 13:35:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #48 from Dmitry Luhtionov --- In comment #31 (root@B-ras)~# file /usr/local/sbin/mpd5 /usr/local/sbin/mpd5: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD= ), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 11.0 (1100122), FreeBSD-style, not stripped --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Jun 16 13:42:29 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E5C7BC09439 for ; Fri, 16 Jun 2017 13:42:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D3CF47FE36 for ; Fri, 16 Jun 2017 13:42:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5GDgSQ0079548 for ; Fri, 16 Jun 2017 13:42:29 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Fri, 16 Jun 2017 13:42:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 13:42:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #49 from Cassiano Peixoto --- (In reply to Konstantin Belousov from comment #47) I'm using FreeBSD 11.0-p1. But it happens on any FreeBSD version above 9x. Here is the backtrace for all threads: (gdb) thread apply all bt Thread 6 (Thread 803216a00 (LWP 100375/)): #0 0x000000080248567c in _umtx_op_err () from /lib/libthr.so.3 #1 0x0000000802479c81 in __thr_rwlock_wrlock (rwlock=3D0x802694500, tsp=3D= ) at /usr/src/lib/libthr/thread/thr_umtx.c:325 #2 0x00000008024829f3 in _thr_rtld_wlock_acquire (lock=3D) at thr_umtx.h:239 #3 0x0000000800703c72 in wlock_acquire (lock=3D0x800918960, lockstate=3D0x7fffdfffda58) at /usr/src/libexec/rtld-elf/rtld_lock.c:217 #4 0x00000008006fff4f in _rtld_allocate_tls (oldtls=3D0x0, tcbsize=3D32, tcbalign=3D16) at /usr/src/libexec/rtld-elf/rtld.c:4802 #5 0x0000000802481b69 in _tcb_ctor (thread=3D0x807c7ba00, initial=3D) at /usr/src/lib/libthr/thread/thr_ctrdtr.c:45 #6 0x0000000802481110 in _thr_alloc (curthread=3D) at /usr/src/lib/libthr/thread/thr_list.c:170 #7 0x00000008024772a6 in _pthread_create (thread=3D0x80342fd78, attr=3D0x0, start_routine=3D0x4b17c0 , arg=3D) at /usr/src/lib/libthr/thread/thr_create.c:78 #8 0x00000000004b1744 in paction_start (actionp=3D0x80cf7f3b8, mutex=3D0x7= bee08, handler=3D0x442f40 , finish=3D0x4430c0 , arg=3D0x807c20010) at contrib/libpdel/util/paction.c:115 #9 0x0000000000442eaa in AuthAccountStart (l=3D0x80cf7f010, type=3D3) at auth.c:927 #10 0x0000000000442f31 in AuthAccountTimeout (arg=3D0x80cf7f010) at auth.c:= 949 #11 0x00000000004a0344 in TimerExpires (type=3D3, cookie=3D0x80cf7f120) at timer.c:99 #12 0x0000000000462ed7 in EventHandler (arg=3D0x80cf7f120) at event.c:146 #13 0x00000000004b154e in pevent_ctx_execute (arg=3D0x807db6f08) at contrib/libpdel/util/pevent.c:885 #14 0x00000000004b112f in pevent_ctx_service (ev=3D0x807db6f08) at contrib/libpdel/util/pevent.c:774 #15 0x00000000004b0baf in pevent_ctx_main (arg=3D0x80322c008) at contrib/libpdel/util/pevent.c:720 #16 0x0000000802477b55 in thread_start (curthread=3D) = at /usr/src/lib/libthr/thread/thr_create.c:289 #17 0x0000000000000000 in ?? () Thread 5 (Thread 80342a000 (LWP 100378/)): #0 0x000000080248567a in _umtx_op_err () from /lib/libthr.so.3 #1 0x00000008024796e4 in __thr_umutex_lock (mtx=3D, id=3D) at /usr/src/lib/libthr/thread/thr_umtx.c:80 #2 0x0000000802481106 in _thr_alloc (curthread=3D) at thr_umtx.h:123 #3 0x00000008024772a6 in _pthread_create (thread=3D0x8076dd438, attr=3D0x0, start_routine=3D0x4c4ec0 , arg=3D) at /usr/src/lib/libthr/thread/thr_create.c:78 #4 0x00000000004c400a in http_server_accept (arg=3D0x803420088) at contrib/libpdel/http/http_server.c:653 #5 0x00000000004b154e in pevent_ctx_execute (arg=3D0x803420108) at contrib/libpdel/util/pevent.c:885 #6 0x00000000004b112f in pevent_ctx_service (ev=3D0x803420108) at contrib/libpdel/util/pevent.c:774 #7 0x00000000004b0baf in pevent_ctx_main (arg=3D0x80340e0a8) at contrib/libpdel/util/pevent.c:720 #8 0x0000000802477b55 in thread_start (curthread=3D) = at /usr/src/lib/libthr/thread/thr_create.c:289 #9 0x0000000000000000 in ?? () Thread 4 (Thread 807ccdf00 (LWP 101673/)): #0 0x000000080277d43a in _nanosleep () from /lib/libc.so.7 #1 0x000000080247a4cc in __thr_nanosleep (time_to_sleep=3D0x7fffcbd5ceb0, time_remaining=3D0x0) at /usr/src/lib/libthr/thread/thr_syscalls.c:257 #2 0x00000008027d5036 in __usleep (useconds=3D) at /usr/src/lib/libc/gen/usleep.c:52 #3 0x00000000004b1aaf in paction_cleanup (arg=3D0x80342f288) at contrib/libpdel/util/paction.c:243 #4 0x0000000802485550 in __pthread_cleanup_pop_imp (execute=3D) at /usr/src/lib/libthr/thread/thr_clean.c:73 #5 0x00000000004b189f in paction_main (arg=3D0x80342f288) at contrib/libpdel/util/paction.c:197 #6 0x0000000802477b55 in thread_start (curthread=3D) = at /usr/src/lib/libthr/thread/thr_create.c:289 #7 0x00007fffcbb5d000 in ?? () Cannot access memory at address 0x7fffcbd5d000 Thread 3 (Thread 804fd4900 (LWP 101715/)): #0 0x000000080277d43a in _nanosleep () from /lib/libc.so.7 #1 0x000000080247a4cc in __thr_nanosleep (time_to_sleep=3D0x7fffcad54eb0, time_remaining=3D0x0) at /usr/src/lib/libthr/thread/thr_syscalls.c:257 #2 0x00000008027d5036 in __usleep (useconds=3D) at /usr/src/lib/libc/gen/usleep.c:52 ---Type to continue, or q to quit--- #3 0x00000000004b1aaf in paction_cleanup (arg=3D0x80342fb48) at contrib/libpdel/util/paction.c:243 #4 0x0000000802485550 in __pthread_cleanup_pop_imp (execute=3D) at /usr/src/lib/libthr/thread/thr_clean.c:73 #5 0x00000000004b189f in paction_main (arg=3D0x80342fb48) at contrib/libpdel/util/paction.c:197 #6 0x0000000802477b55 in thread_start (curthread=3D) = at /usr/src/lib/libthr/thread/thr_create.c:289 #7 0x00007fffcab55000 in ?? () Cannot access memory at address 0x7fffcad55000 Thread 2 (Thread 807d70500 (LWP 101723/)): #0 0x000000080277d43a in _nanosleep () from /lib/libc.so.7 #1 0x000000080247a4cc in __thr_nanosleep (time_to_sleep=3D0x7fffbc0deeb0, time_remaining=3D0x0) at /usr/src/lib/libthr/thread/thr_syscalls.c:257 #2 0x00000008027d5036 in __usleep (useconds=3D) at /usr/src/lib/libc/gen/usleep.c:52 #3 0x00000000004b1aaf in paction_cleanup (arg=3D0x80342fcd8) at contrib/libpdel/util/paction.c:243 #4 0x0000000802485550 in __pthread_cleanup_pop_imp (execute=3D) at /usr/src/lib/libthr/thread/thr_clean.c:73 #5 0x00000000004b189f in paction_main (arg=3D0x80342fcd8) at contrib/libpdel/util/paction.c:197 #6 0x0000000802477b55 in thread_start (curthread=3D) = at /usr/src/lib/libthr/thread/thr_create.c:289 #7 0x00007fffbbedf000 in ?? () Cannot access memory at address 0x7fffbc0df000 Thread 1 (Thread 807cd4800 (LWP 101061/)): #0 0x000000080277d43a in _nanosleep () from /lib/libc.so.7 #1 0x000000080247a4cc in __thr_nanosleep (time_to_sleep=3D0x7fffa9c4ceb0, time_remaining=3D0x0) at /usr/src/lib/libthr/thread/thr_syscalls.c:257 #2 0x00000008027d5036 in __usleep (useconds=3D) at /usr/src/lib/libc/gen/usleep.c:52 #3 0x00000000004b1aaf in paction_cleanup (arg=3D0x80342fd28) at contrib/libpdel/util/paction.c:243 #4 0x0000000802485550 in __pthread_cleanup_pop_imp (execute=3D) at /usr/src/lib/libthr/thread/thr_clean.c:73 #5 0x00000000004b189f in paction_main (arg=3D0x80342fd28) at contrib/libpdel/util/paction.c:197 #6 0x0000000802477b55 in thread_start (curthread=3D) = at /usr/src/lib/libthr/thread/thr_create.c:289 #7 0x00007fffa9a4d000 in ?? () Cannot access memory at address 0x7fffa9c4d000 #0 0x000000080248567c in _umtx_op_err () from /lib/libthr.so.3 --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Jun 16 14:08:45 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 397AEC09BE5 for ; Fri, 16 Jun 2017 14:08:45 +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 1D0318122A for ; Fri, 16 Jun 2017 14:08: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 v5GE8fFv054890 for ; Fri, 16 Jun 2017 14:08:44 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Fri, 16 Jun 2017 14:08:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 14:08:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #50 from Konstantin Belousov --- (In reply to Cassiano Peixoto from comment #49) >From the thread 6, in the frame 1, please do 'p *rwlock' --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Jun 16 14:10:53 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C85D3C09CEB for ; Fri, 16 Jun 2017 14:10:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B5C47813AB for ; Fri, 16 Jun 2017 14:10: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 v5GEAqlm058089 for ; Fri, 16 Jun 2017 14:10:53 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Fri, 16 Jun 2017 14:10:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 14:10:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #51 from Cassiano Peixoto --- (In reply to Konstantin Belousov from comment #50) Please, see below: (gdb) frame 1 #1 0x0000000802479c81 in __thr_rwlock_wrlock (rwlock=3D0x802694500, tsp=3D= ) at /usr/src/lib/libthr/thread/thr_umtx.c:325 325 return (_umtx_op_err(rwlock, UMTX_OP_RW_WRLOCK, 0, (void *)tm_size, Current language: auto; currently minimal (gdb) p *rwlock $1 =3D {rw_state =3D -1610612736, rw_flags =3D 2, rw_blocked_readers =3D 0, rw_blocked_writers =3D 0, rw_spare =3D 0x802694510} (gdb) --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Jun 16 14:37:21 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 03115C0A6BA for ; Fri, 16 Jun 2017 14:37:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E53C7822BA for ; Fri, 16 Jun 2017 14:37: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 v5GEbHdW024602 for ; Fri, 16 Jun 2017 14:37:20 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Fri, 16 Jun 2017 14:37:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 14:37:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #52 from Konstantin Belousov --- (In reply to Cassiano Peixoto from comment #51) Please apply the following patch, recompile libthr.so _only_, and then reproduce the issue again. I need the same information: backtraces from all alive threads, and for the thread which is blocked on lock in _rtld_allocate_tls(), the printout of *rwlock. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Jun 16 14:38:02 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 35FD0C0A73F for ; Fri, 16 Jun 2017 14:38: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 23C3782379 for ; Fri, 16 Jun 2017 14:38: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 v5GEc23g025673 for ; Fri, 16 Jun 2017 14:38:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Fri, 16 Jun 2017 14:38:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 14:38:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #53 from Konstantin Belousov --- Created attachment 183536 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D183536&action= =3Dedit debugging patch to track rtld bind lock write owner --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Jun 16 15:10:52 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E4123C312F1 for ; Fri, 16 Jun 2017 15:10:52 +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 D2374839DA for ; Fri, 16 Jun 2017 15:10:52 +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 v5GFAplh033555 for ; Fri, 16 Jun 2017 15:10:52 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Fri, 16 Jun 2017 15:10:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 15:10:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #54 from Cassiano Peixoto --- (In reply to Konstantin Belousov from comment #53) Should i restart or recompile mpd5 after patch applied? --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Jun 16 15:11:49 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A425C313A1 for ; Fri, 16 Jun 2017 15:11:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 682AF83B5C for ; Fri, 16 Jun 2017 15:11:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5GFBmMj078245 for ; Fri, 16 Jun 2017 15:11:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Fri, 16 Jun 2017 15:11:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dmitryluhtionov@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 15:11:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #55 from Dmitry Luhtionov --- Restart only. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Jun 16 15:17:33 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F2CBC3146B for ; Fri, 16 Jun 2017 15:17: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 2CF1283E38 for ; Fri, 16 Jun 2017 15:17: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 v5GFHUW8062659 for ; Fri, 16 Jun 2017 15:17:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Fri, 16 Jun 2017 15:17:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dmitryluhtionov@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 15:17:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #56 from Dmitry Luhtionov --- Although I may be wrong. Can you compile mpd5 from sources from sf.net ? I can add some helpful debug to than. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Jun 16 15:23:32 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13B78C316F3 for ; Fri, 16 Jun 2017 15:23: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 013D084406 for ; Fri, 16 Jun 2017 15:23: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 v5GFNThU081545 for ; Fri, 16 Jun 2017 15:23:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Fri, 16 Jun 2017 15:23:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 15:23:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #57 from Eugene Grosbein --- Created attachment 183537 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D183537&action= =3Dedit patch for lib/syslog by kib (In reply to Cassiano Peixoto from comment #51) I'd advise you stop using any patches sumbitted my me to the PR 214482 as t= hey are no longer needed to find a root of the "umtxn" problem and are not quite correct. Instead, as more complete fix to "umtxn" problem use two following patches: first by Konstantin for syslog (libc) that should be applied so: cd /usr/src patch < /path/to/patch cd lib/libc make obj depend && make all install Then restart mpd5 only. Second patch for mpd5 itself by me. It tries to fix "uwrlck" problem in more correct way, replacing my previous patch. It deals with CLI console only, n= ot touching web part still. Please make sure no http access is done to mpd. It would be fine to comment out "set web" commands in the mpd.conf for a while. And, of course, apply Konstantin's latest patch for rtld. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Jun 16 15:24:46 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A411DC3177A for ; Fri, 16 Jun 2017 15:24: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 91F22844DF for ; Fri, 16 Jun 2017 15:24:46 +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 v5GFOjgW083357 for ; Fri, 16 Jun 2017 15:24:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Fri, 16 Jun 2017 15:24:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 15:24:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #58 from Eugene Grosbein --- Created attachment 183538 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D183538&action= =3Dedit patch for mpd/console locks by me --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Jun 16 16:00:44 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E71DC772E5 for ; Fri, 16 Jun 2017 16:00:44 +0000 (UTC) (envelope-from Steven@stream-technologies.com) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50044.outbound.protection.outlook.com [40.107.5.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 747BDB56 for ; Fri, 16 Jun 2017 16:00:42 +0000 (UTC) (envelope-from Steven@stream-technologies.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=streamtechnologiesuk.onmicrosoft.com; s=selector1-streamtechnologies-com01e; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=qHx/NTW8td0ljuIOdeJ5ojQN04jpZkl0JEBl1pLkLkQ=; b=MbgeC4ZUVNG4ke6uMC6+IVj8PXkylmMbH8qZ4uGSMRlaeLz0xbI98dddvxc+cIqxeke0lJzUSaayTRqockeUVddsoSVn9bXnWZuXs/HHwnF3U9bzAlCvdT9ktzcExNTTDjJLgFLKzPRBy8PflO7H5UmjgbiLjp/MSPT7aYoroe8= Received: from DB6PR07MB3111.eurprd07.prod.outlook.com (10.170.223.158) by DB6PR07MB3461.eurprd07.prod.outlook.com (10.175.234.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.6; Fri, 16 Jun 2017 16:00:38 +0000 Received: from DB6PR07MB3111.eurprd07.prod.outlook.com ([fe80::d90d:3874:163d:ca76]) by DB6PR07MB3111.eurprd07.prod.outlook.com ([fe80::d90d:3874:163d:ca76%13]) with mapi id 15.01.1199.007; Fri, 16 Jun 2017 16:00:38 +0000 From: Steven Crangle To: FreeBSD Net Subject: Possible bug in ifconfig regarding ip addresses and fibs Thread-Topic: Possible bug in ifconfig regarding ip addresses and fibs Thread-Index: AQHS5rmyqfU3WxD1JU2qp4KbhtfsEw== Date: Fri, 16 Jun 2017 16:00:38 +0000 Message-ID: Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: freebsd.org; dkim=none (message not signed) header.d=none;freebsd.org; dmarc=none action=none header.from=stream-technologies.com; x-originating-ip: [2603:10a6:4:55:cafe::60] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB6PR07MB3461; 7:hILGdIPh3WL7fkBlxJaGlV2sgcqqAbLh2oPm1MRe530Sdl9VHRvY2h2z4kfMVwgpNezg9vmllU2W8pCchF5KQtiOFIl/iB+3X/pW9A0l34I4/AgxnVKWeO48ByEEz/tet7VsOaS/xIGhV6UlrMDsjmznbuGaZb55uNL2qx+Nzt2xYOzgqSid/MYVYJPcFWYdcFS6uWU8crRAM8PTffTAlT+VkD/sX3CbjIEbIISc4yb1uaKt8SdFRZvzqZiusq8bsjSw5xLKpOkumxhMRbOl9ckFXtf7L33D8OwWAgm5iKWxyd3o+vzRO8m0QrDzjtsyLqrKZF2RKDlUsTT/0D55P4VYHwNp3Ti5mIf70cstHDZX41C/P3vnEKrOLf9Ky66e7sOYjsCSLpAfDEIrZVZ8C2idgNzK0pI5wnM2+KmvDy1SPMp5jzprJHC8pkqrwGFpQMf01tHUInl0L9jQacAzrYwErW1cu5zBGcILxdrrA0L1jp12vZXRr2olrQQPdbIRTAgNJHp8FKfOZZCbDKXtApCMtP6Snvt3Yn4NEP85QJ3zTumS0MW+tpWbAEhGUmC78ZcYEC1ZNH6IO02RFjwL6zakrBgKebZiHUVUIvyixLWTi3GeDKu4XSvqF9wiYnWy5BM9fy/7jktcBNjNPddxl+z5OegrUamfzEgMJ2N7mmlcn7JbFIFRFIPBDYbVRXER9NBlYU6N3nwPXVsTtriIXzc6galpKHu1r44h9HCEfiafPEzdM50OvvFQFylpq10/qRmMQDZbV3GqKMPWnQUlV5FLar8cp8JAiY77nF0x+40= x-ms-office365-filtering-correlation-id: 40cdac6d-39b0-480d-19e9-08d4b4d0d4f5 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500041)(300135000095)(300000501041)(300135300095)(22001)(300000502041)(300135100095)(2017030254075)(300000503041)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504041)(300135200095)(300000505041)(300135600095)(300000506037)(300135500095); SRVR:DB6PR07MB3461; x-ms-traffictypediagnostic: DB6PR07MB3461: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(203790808753936)(266611908612381); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6041248)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123560025)(20161123558100)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB6PR07MB3461; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB6PR07MB3461; x-forefront-prvs: 0340850FCD x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39830400002)(39400400002)(39410400002)(39450400003)(8936002)(6506006)(3280700002)(72206003)(33656002)(86362001)(14454004)(733005)(19627405001)(2900100001)(102836003)(6436002)(6116002)(7696004)(38730400002)(606005)(110136004)(25786009)(50986999)(53936002)(236005)(5660300001)(54896002)(99286003)(55016002)(9686003)(7736002)(6306002)(19273905006)(478600001)(3660700001)(5250100002)(74316002)(189998001)(2906002)(80792005)(6606003)(8676002)(861006)(81166006)(6916009)(7906003)(54356999)(16866105001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR07MB3461; H:DB6PR07MB3111.eurprd07.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: stream-technologies.com X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jun 2017 16:00:38.3081 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 720fa073-5781-43bf-bc14-7bef2603ed21 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR07MB3461 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 16:00:44 -0000 Hi, I've been configuring a device with the following rc.conf lines: ifconfig_le6_name=3D"manee" ifconfig_manee=3D"fib 5 up" ifconfig_manee_alias0=3D"inet 185.100.174.221 netmask 255.255.255.0" ifconfig_manee_alias1=3D"inet 172.31.4.216 netmask 255.255.255.128" ifconfig_manee_alias2=3D"inet 192.168.124.216 netmask 255.255.255.128" The result I would have expected is as follows: manee: flags=3D8843 metric 0 mtu 15= 00 options=3D8 ether 08:00:27:d3:83:da inet 185.100.174.221 netmask 0xffffff00 broadcast 185.100.174.255 inet 172.31.4.216 netmask 0xffffffc0 broadcast 172.31.4.255 inet 192.168.124.216 netmask 0xffffff80 broadcast 192.168.124.255 nd6 options=3D29 media: Ethernet autoselect status: active fib: 5 Instead I get the following on boot of the box: manee: flags=3D8843 metric 0 mtu 15= 00 options=3D8 ether 08:00:27:d3:83:da inet 185.100.174.221 netmask 0xffffff00 broadcast 185.100.174.255 inet 172.31.4.216 netmask 0xffffffc0 broadcast 172.31.4.255 nd6 options=3D29 media: Ethernet autoselect status: active fib: 5 I then tried to run the following command: ifconfig manee alias 185.100.174.221 netmask 255.255.255.0 ifconfig manee alias 172.31.4.216 netmask 255.255.255.128 ifconfig manee alias 192.168.124.216 netmask 255.255.255.128 Which resulted in the following output: ifconfig: ioctl (SIOCAIFADDR): File exists After this I tried: ifconfig manee -alias Which seemed to wipe all addresses fro mthe device as expected. I then started again using ifconfig lines to assign the aliases to the devi= ce, they all succeed apart from when I get to the 192.168.124.216 one. Whic= h again outputs the following: ifconfig: ioctl (SIOCAIFADDR): File exists Even though running ifconfig only shows the first two addresses configured. Note: I also have a mgmt interface on fib 0 configured with the ip : 192.16= 8.124.250 >From investigation it seems to somehow be clashing with this, as I am able = to add a 3rd alias with the following line: ifconfig manee alias 192.168.125.216 netmask 255.255.255.128 Is it not possible to have two IP Addresses on the same range, but differen= t addresses on seperate fibs? Thanks for any help! Steven ________________________________ [Stream Logo] Steven Crangle Systems Developer | Stream Technologies | Glasgow, UK [http://www.stream-technologies.com/img/phone.png] +44 (0)844 800 8520 | [http://www.stream-technologies.com/img/mouse.png] www.stream-technologies.com ________________________________ [Stream Logo] Steven Crangle Systems Developer | Stream Technologies | Glasgow, UK [http://www.stream-technologies.com/img/phone.png] +44 (0)844 800 8520 | [http://www.stream-technologies.com/img/mouse.png] www.stream-technologies.com From owner-freebsd-net@freebsd.org Fri Jun 16 16:12:41 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 64642C77686 for ; Fri, 16 Jun 2017 16:12:41 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-yw0-x22c.google.com (mail-yw0-x22c.google.com [IPv6:2607:f8b0:4002:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 19D4F1562 for ; Fri, 16 Jun 2017 16:12:41 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-yw0-x22c.google.com with SMTP id l75so21728563ywc.3 for ; Fri, 16 Jun 2017 09:12:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=c3EvWlotqz8Wqbdjg2d5qveZXkK4L8RYgym5yMyhGFE=; b=KP0ErIGcv/MA72/OxL700gOmJelOo41joAjm0XlQddn+O7VwV27wBqtQZDvmx+Ld50 m2YSHpXG1uwmqOltMeWhj9t7KxYmg/g2xBdilFPonsB7zriy+Ax2g0cUmVxYHf0tDnbC OZ5BRbkGojKqywn3Ny60042+myDjgvFgLaOuXBkvSdWcIMYIVNYyIsnu/gVojV477z/6 Z23P9H15+m0oyA17prtFiHa33rKqO5+SNqQtGI932a9jrx4Y1TKL6W4BaWChrNeOXQa0 90mmAhUW3lmMAicjcMb+owWc5z2UQvJ4/KqWfEQMgOUdzOPHm8YflesiNpFrPUfQHt2n GMhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=c3EvWlotqz8Wqbdjg2d5qveZXkK4L8RYgym5yMyhGFE=; b=C/tqNN+Vetv0C5jpf+NUgM5e8oR1L76SlMTgxaTjIGs1nd/KnO+Nq6TxMbJv522uwM pVfASgaXkC47pFMsba1CxTk1HYY7DP3puELnHC4YSr1Rxl150uirAUBSsE0vamCs7C9b TdommBfrCfRd2AvY1mJPpwK39lCVdX3rJBUy0eGScyP1/xBayjsywSKI+V3IwLxdeXos vdIXMNZHDWqAje0p/AR+pKgZDFup14t/WycUk+2hzV6RP4GkjYccr6BbXrtkm4mBSri3 gXfQ/Gzf9dK16y8iYjVlusH/q4j7dbesYdyx5AkoPiNCXqn15jEOsXoPPXjLbJHyBuXm k49w== X-Gm-Message-State: AKS2vOzpLzagOvFoO2d2yCGrhWozQG4fQMLMq3qx+pUCIQoNRwL6ilo7 WyYxM6BlIc7XyoOREo0B86jRiJKRMLlK X-Received: by 10.129.175.33 with SMTP id n33mr9177769ywh.279.1497629560180; Fri, 16 Jun 2017 09:12:40 -0700 (PDT) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 10.13.206.199 with HTTP; Fri, 16 Jun 2017 09:12:39 -0700 (PDT) In-Reply-To: References: From: Alan Somers Date: Fri, 16 Jun 2017 10:12:39 -0600 X-Google-Sender-Auth: LktwNdlAQ8wNTz5i7tgOnL75X0c Message-ID: Subject: Re: Possible bug in ifconfig regarding ip addresses and fibs To: Steven Crangle Cc: FreeBSD Net Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 16:12:41 -0000 On Fri, Jun 16, 2017 at 10:00 AM, Steven Crangle wrote: > > Hi, > > > I've been configuring a device with the following rc.conf lines: > > > ifconfig_le6_name="manee" > ifconfig_manee="fib 5 up" > ifconfig_manee_alias0="inet 185.100.174.221 netmask 255.255.255.0" > ifconfig_manee_alias1="inet 172.31.4.216 netmask 255.255.255.128" > ifconfig_manee_alias2="inet 192.168.124.216 netmask 255.255.255.128" > > The result I would have expected is as follows: > > > manee: flags=8843 metric 0 mtu 1500 > options=8 > ether 08:00:27:d3:83:da > inet 185.100.174.221 netmask 0xffffff00 broadcast 185.100.174.255 > inet 172.31.4.216 netmask 0xffffffc0 broadcast 172.31.4.255 > inet 192.168.124.216 netmask 0xffffff80 broadcast 192.168.124.255 > nd6 options=29 > media: Ethernet autoselect > status: active > fib: 5 > > > Instead I get the following on boot of the box: > > > manee: flags=8843 metric 0 mtu 1500 > options=8 > ether 08:00:27:d3:83:da > inet 185.100.174.221 netmask 0xffffff00 broadcast 185.100.174.255 > inet 172.31.4.216 netmask 0xffffffc0 broadcast 172.31.4.255 > nd6 options=29 > media: Ethernet autoselect > status: active > fib: 5 > > > I then tried to run the following command: > > ifconfig manee alias 185.100.174.221 netmask 255.255.255.0 > ifconfig manee alias 172.31.4.216 netmask 255.255.255.128 > ifconfig manee alias 192.168.124.216 netmask 255.255.255.128 > > Which resulted in the following output: > > > ifconfig: ioctl (SIOCAIFADDR): File exists > > After this I tried: > > ifconfig manee -alias > > Which seemed to wipe all addresses fro mthe device as expected. > > > I then started again using ifconfig lines to assign the aliases to the device, they all succeed apart from when I get to the 192.168.124.216 one. Which again outputs the following: > > > ifconfig: ioctl (SIOCAIFADDR): File exists > > Even though running ifconfig only shows the first two addresses configured. > > > Note: I also have a mgmt interface on fib 0 configured with the ip : 192.168.124.250 > > From investigation it seems to somehow be clashing with this, as I am able to add a 3rd alias with the following line: > > > ifconfig manee alias 192.168.125.216 netmask 255.255.255.128 > > Is it not possible to have two IP Addresses on the same range, but different addresses on seperate fibs? > > Thanks for any help! > > Steven There is some subtlety with using multiple fibs. Your problem is that you naturally assumed that by assigning fib 5 to the manee interface, that fib would also be used for all of its addresses. However, that's not the way it works. The interface fib actually isn't very important. It's only used for packet forwarding. The fib of an interface address is more important, and each address can have a different fib, even when they share an interface. In order to set the interface address fibs, do this: ifconfig_manee_alias0="inet 185.100.174.221 netmask 255.255.255.0 fib 5" ifconfig_manee_alias1="inet 172.31.4.216 netmask 255.255.255.128 fib 5" ifconfig_manee_alias2="inet 192.168.124.216 netmask 255.255.255.128 fib 5" You can't assign the same address to multiple interfaces with the same FIB. -Alan From owner-freebsd-net@freebsd.org Fri Jun 16 16:16:25 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1EED2C77737 for ; Fri, 16 Jun 2017 16:16:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0C483169D for ; Fri, 16 Jun 2017 16:16:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5GGGKDq028676 for ; Fri, 16 Jun 2017 16:16:24 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Fri, 16 Jun 2017 16:16:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 16:16:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #59 from Eugene Grosbein --- (In reply to Cassiano Peixoto from comment #49) Note: Thread 5 shows "http_server_accept" in the trace that means that mpd = web interface is being used. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Jun 16 16:35:15 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7DD24C77CDA for ; Fri, 16 Jun 2017 16:35:15 +0000 (UTC) (envelope-from Steven@stream-technologies.com) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0074.outbound.protection.outlook.com [104.47.2.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C4852217C; Fri, 16 Jun 2017 16:35:14 +0000 (UTC) (envelope-from Steven@stream-technologies.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=streamtechnologiesuk.onmicrosoft.com; s=selector1-streamtechnologies-com01e; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=EnTSWemcA9abnoZ10Ea6mATeac0NNXThLoteBX2gAK0=; b=AWQIDIGl/efRFozxz0MmnTvw9GwVxBeHMqlQSl7OFfQWI0XrNTdaflbqHXMm3yMYNtxJCvf9xEdMgl+JWeUu1mNCDjX4/XhqacUuBOiyUZVFSJJX/5HMerC7mnkqojtxmeJhhoA11N1YJAumQoX4BNuNhotXgCX5Hnfu76rH8yI= Received: from DB6PR07MB3111.eurprd07.prod.outlook.com (10.170.223.158) by DB6PR07MB3480.eurprd07.prod.outlook.com (10.175.234.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.6; Fri, 16 Jun 2017 16:35:11 +0000 Received: from DB6PR07MB3111.eurprd07.prod.outlook.com ([fe80::d90d:3874:163d:ca76]) by DB6PR07MB3111.eurprd07.prod.outlook.com ([fe80::d90d:3874:163d:ca76%13]) with mapi id 15.01.1199.007; Fri, 16 Jun 2017 16:35:11 +0000 From: Steven Crangle To: Alan Somers CC: FreeBSD Net Subject: Re: Possible bug in ifconfig regarding ip addresses and fibs Thread-Topic: Possible bug in ifconfig regarding ip addresses and fibs Thread-Index: AQHS5rmyqfU3WxD1JU2qp4KbhtfsE6InqUyAgAAFFn4= Date: Fri, 16 Jun 2017 16:35:10 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: freebsd.org; dkim=none (message not signed) header.d=none;freebsd.org; dmarc=none action=none header.from=stream-technologies.com; x-originating-ip: [2603:10a6:4:55:cafe::c] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB6PR07MB3480; 7:9hC4BrQW0PsUMyTYzUBsjmhI4vMRd2cJdDG4qKHqyEnEmmP14fUb9JXC/O/MADYupjkMm2uQt+HOJoJfLnOUzWbqtbQqoAbL7pfzjGiXzK4vOnMjJdfq1Og/xxAbuGm6CVOXkEhSjuvyWadJ6vX/HBVExDHw0D14l2BizGVEhzRlCkOfrfvYDqqaTy1E/JPoILmqhL0CBehkITkPOzQRECYgjrCSnbhZSguDfJK5+/2SvfZcTWFPIf/3/uON/HI9/On8lIyKrXhAnYeq3IIK5Us10oOAZ+3B42q3Y72c+i26hLZ4GYHi2nllGEhyRrDON5EGtUQfaOfuCyX/RARnUlfqat5D1N2gy146w1VeKkLix8Eew3LVFsrmbsEhJvSeBPDTWXke50gdReREBa5mikvXxLUgiAHKDAc5kHA4abXvJhU7XMCsoJxkSmZadXXWN0I1NRqmI76WTnrQe3TXC1hZqa8yC1BeNkttw+Nak+h0JibG7BlkJqSbN8b9k8YNGsxrjMRbX+s2I6rzCOTmH7PBm/a1GzveAMSFTBhzSdd58fq5VhjAmrE86GfQKBje8gpjoHwbcq2sHDh8Cnta0/1sTHmPIR7M4xH1g4TW8pixaFJ/3eVfyaQhF7/m4R20a6y7mmNw+GvATGlzhOQkjefd9OBefiA7cwl7vGpr0wBSYrYFD86Rh2l5PPm5Jqh2iQFw7jMZJE+x0H29NJGWLA+S3B2BlRmUCy9ZQAsjs1/ubvYyed65//lLum/vVUfb8HuQM/pKf3XVmceM5H55/UasMP3xR5IvYzoot/8XDGw= x-ms-office365-filtering-correlation-id: caeebea0-eed2-4589-d60d-08d4b4d5a858 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:DB6PR07MB3480; x-ms-traffictypediagnostic: DB6PR07MB3480: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863)(203790808753936)(266611908612381); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(3002001)(6041248)(20161123564025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123555025)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB6PR07MB3480; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB6PR07MB3480; x-forefront-prvs: 0340850FCD x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39830400002)(39450400003)(39410400002)(39400400002)(24454002)(377454003)(450100002)(72206003)(9686003)(733005)(189998001)(7736002)(19273905006)(6246003)(6436002)(14454004)(86362001)(6506006)(236005)(7906003)(6306002)(54896002)(74316002)(53936002)(2900100001)(478600001)(110136004)(99286003)(33656002)(606005)(55016002)(5250100002)(38730400002)(2950100002)(4326008)(80792005)(6916009)(102836003)(6116002)(53546009)(3280700002)(3660700001)(5660300001)(229853002)(25786009)(2906002)(8936002)(7696004)(81166006)(8676002)(54356999)(76176999)(50986999)(16866105001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR07MB3480; H:DB6PR07MB3111.eurprd07.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: stream-technologies.com X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jun 2017 16:35:10.9791 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 720fa073-5781-43bf-bc14-7bef2603ed21 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR07MB3480 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 16:35:15 -0000 Hi Alan, Thanks for the fast reply. I actually think I had the fib 5 part appended to the line previously, but = had somehow removed it in my repeated attempts! Either way, I just tried yo= ur solution, and it results in the same behaviour. The initial two IP's are assigned, but the final 192.168.124.216 is not. When i get chance, I'll try moving the mgmt IP from the 124 range to someth= ing else and repeating, as I'm sure it's some sort of interaction between m= anee and mgmt. Since the commands are successful if I change the final addr= esses IP to a different range! Thanks Steven ________________________________ [Stream Logo] Steven Crangle Systems Developer | Stream Technologies | Glasgow, UK [http://www.stream-technologies.com/img/phone.png] +44 (0)844 800 8520 | [http://www.stream-technologies.com/img/mouse.png] www.stream-technologies.com ________________________________ From: asomers@gmail.com on behalf of Alan Somers Sent: 16 June 2017 17:12:39 To: Steven Crangle Cc: FreeBSD Net Subject: Re: Possible bug in ifconfig regarding ip addresses and fibs On Fri, Jun 16, 2017 at 10:00 AM, Steven Crangle wrote: > > Hi, > > > I've been configuring a device with the following rc.conf lines: > > > ifconfig_le6_name=3D"manee" > ifconfig_manee=3D"fib 5 up" > ifconfig_manee_alias0=3D"inet 185.100.174.221 netmask 255.255.255.0" > ifconfig_manee_alias1=3D"inet 172.31.4.216 netmask 255.255.255.128" > ifconfig_manee_alias2=3D"inet 192.168.124.216 netmask 255.255.255.128" > > The result I would have expected is as follows: > > > manee: flags=3D8843 metric 0 mtu = 1500 > options=3D8 > ether 08:00:27:d3:83:da > inet 185.100.174.221 netmask 0xffffff00 broadcast 185.100.174.255 > inet 172.31.4.216 netmask 0xffffffc0 broadcast 172.31.4.255 > inet 192.168.124.216 netmask 0xffffff80 broadcast 192.168.124.255 > nd6 options=3D29 > media: Ethernet autoselect > status: active > fib: 5 > > > Instead I get the following on boot of the box: > > > manee: flags=3D8843 metric 0 mtu = 1500 > options=3D8 > ether 08:00:27:d3:83:da > inet 185.100.174.221 netmask 0xffffff00 broadcast 185.100.174.255 > inet 172.31.4.216 netmask 0xffffffc0 broadcast 172.31.4.255 > nd6 options=3D29 > media: Ethernet autoselect > status: active > fib: 5 > > > I then tried to run the following command: > > ifconfig manee alias 185.100.174.221 netmask 255.255.255.0 > ifconfig manee alias 172.31.4.216 netmask 255.255.255.128 > ifconfig manee alias 192.168.124.216 netmask 255.255.255.128 > > Which resulted in the following output: > > > ifconfig: ioctl (SIOCAIFADDR): File exists > > After this I tried: > > ifconfig manee -alias > > Which seemed to wipe all addresses fro mthe device as expected. > > > I then started again using ifconfig lines to assign the aliases to the de= vice, they all succeed apart from when I get to the 192.168.124.216 one. Wh= ich again outputs the following: > > > ifconfig: ioctl (SIOCAIFADDR): File exists > > Even though running ifconfig only shows the first two addresses configure= d. > > > Note: I also have a mgmt interface on fib 0 configured with the ip : 192.= 168.124.250 > > From investigation it seems to somehow be clashing with this, as I am abl= e to add a 3rd alias with the following line: > > > ifconfig manee alias 192.168.125.216 netmask 255.255.255.128 > > Is it not possible to have two IP Addresses on the same range, but differ= ent addresses on seperate fibs? > > Thanks for any help! > > Steven There is some subtlety with using multiple fibs. Your problem is that you naturally assumed that by assigning fib 5 to the manee interface, that fib would also be used for all of its addresses. However, that's not the way it works. The interface fib actually isn't very important. It's only used for packet forwarding. The fib of an interface address is more important, and each address can have a different fib, even when they share an interface. In order to set the interface address fibs, do this: ifconfig_manee_alias0=3D"inet 185.100.174.221 netmask 255.255.255.0 fib 5" ifconfig_manee_alias1=3D"inet 172.31.4.216 netmask 255.255.255.128 fib 5" ifconfig_manee_alias2=3D"inet 192.168.124.216 netmask 255.255.255.128 fib 5= " You can't assign the same address to multiple interfaces with the same FIB. -Alan From owner-freebsd-net@freebsd.org Fri Jun 16 16:39:50 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12B7AC77E31 for ; Fri, 16 Jun 2017 16:39:50 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-yb0-x229.google.com (mail-yb0-x229.google.com [IPv6:2607:f8b0:4002:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C1FDB24BD for ; Fri, 16 Jun 2017 16:39:49 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-yb0-x229.google.com with SMTP id t7so13946975yba.3 for ; Fri, 16 Jun 2017 09:39:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=CEAxh+VQKOMhgLhRdoY83X34q2oHjKQ7g3RYA84M4Fg=; b=W6o3x6YrMjtcMhka3ZIWxikWsEXoDtQvD9Ogh5D86PKQL7j5RXM5i3Ci/XKA1Xe56R fyEjyc4TRbLQxDPB0CbFT2H4x343U4z+7bASpZgqUqacgIqQQ/Ry8N37NW+mMqzU3iBN MxY/lmIUPQXixrK9lPC8GDaz300qg0WsPyLACRZqjIbQuSzoF7vGg/0jg4Yzku8SWeKj vy2Ob7ggpSctY39B5thUJSJtMxxFSn0P7PeXbUEexUwvg8tafHasa8okbjLxpHxfzzHc qIpwDKRRIRhhDRi4cnNTedtveLQzFLQYlIBokVVvV3lPXY3/3NyEXx/rtvgNnliyeE62 xCFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=CEAxh+VQKOMhgLhRdoY83X34q2oHjKQ7g3RYA84M4Fg=; b=N6mIkDSxc3SYcSwhefmUltlIoo/5ZiYofrU7NTmGk3i+FT0MWL2LisBD8JTmb8SZAQ 9U2pifI2J0eGS6xShULEddJoIm9ubuFWG0PBqaItuFjXhbpl39En21cB99OXohNtjSQP cs+ZypPRkZm5h1FPGZMknqv+/33kmQMT9FHs6EGxYQzrg/EaO1Pd4M9Uf31jYJI3mST1 V+nhKKBfT7yIVzMPMILzAHv7yCtve+9m3T02qHXSbERcn7ry3hSI4GQInVh+A83eC4Ds lBreT6WlVxkEl0zPmciu7yYG6zp5aoRLeMeJ4rsFBSQ9TPpftZbK/u1zF6+5VBWsTkf7 oc2A== X-Gm-Message-State: AKS2vOw4niVDc924hhw7J7qDjzYBpcNFkK0P/GFzvlfUEjiWWdcgtRG5 Nz9oKTglugES4GQj67L6N5BSB+0BuSFg X-Received: by 10.37.172.153 with SMTP id x25mr2776030ybi.96.1497631188969; Fri, 16 Jun 2017 09:39:48 -0700 (PDT) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 10.13.206.199 with HTTP; Fri, 16 Jun 2017 09:39:48 -0700 (PDT) In-Reply-To: References: From: Alan Somers Date: Fri, 16 Jun 2017 10:39:48 -0600 X-Google-Sender-Auth: 2qcoMhHunhQgFN4qtZA4_0ts_IU Message-ID: Subject: Re: Possible bug in ifconfig regarding ip addresses and fibs To: Steven Crangle Cc: FreeBSD Net Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 16:39:50 -0000 On Fri, Jun 16, 2017 at 10:35 AM, Steven Crangle < Steven@stream-technologies.com> wrote: > Hi Alan, > > > Thanks for the fast reply. > > I actually think I had the fib 5 part appended to the line previously, but > had somehow removed it in my repeated attempts! Either way, I just tried > your solution, and it results in the same behaviour. > > > The initial two IP's are assigned, but the final 192.168.124.216 is not. > > When i get chance, I'll try moving the mgmt IP from the 124 range to > something else and repeating, as I'm sure it's some sort of interaction > between manee and mgmt. Since the commands are successful if I change the > final addresses IP to a different range! > > Thanks > > > Steven > What's your value of net.add_addr_allfibs ? If should probably be 0, depending on what exactly your trying to do. Also, this bug might be relevant: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189088 If you have the option of using different IP addresses, then that will definitely be the easiest solution. -Alan From owner-freebsd-net@freebsd.org Fri Jun 16 16:55:57 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14D6AC783AB for ; Fri, 16 Jun 2017 16:55: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 029442D59 for ; Fri, 16 Jun 2017 16:55: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 v5GGtsSL028741 for ; Fri, 16 Jun 2017 16:55:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Fri, 16 Jun 2017 16:55:54 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 16:55:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #60 from Cassiano Peixoto --- (In reply to Dmitry Luhtionov from comment #56) Hi Dmitry, Yes, i can. Please just provide the link and i can download and compile. Thanks. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Jun 16 17:11:02 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4ED70C78868 for ; Fri, 16 Jun 2017 17:11: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 3CB1F3532 for ; Fri, 16 Jun 2017 17:11: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 v5GHAxrh085103 for ; Fri, 16 Jun 2017 17:11:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Fri, 16 Jun 2017 17:11:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 17:11:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #61 from Cassiano Peixoto --- (In reply to Eugene Grosbein from comment #59) Eugene, i think it's because web option was still enabled in mpd.conf. Anyw= ay i disabled it now to avoid any issues. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Jun 16 17:16:40 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2207CC78903 for ; Fri, 16 Jun 2017 17:16:40 +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 0FFB837BE for ; Fri, 16 Jun 2017 17:16:40 +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 v5GHGaB2099698 for ; Fri, 16 Jun 2017 17:16:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Fri, 16 Jun 2017 17:16:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 17:16:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #62 from Cassiano Peixoto --- (In reply to Eugene Grosbein from comment #57) Eugene, i got the following error compiling libc patch: =3D=3D=3D> tests (all) =3D=3D=3D> tests/tls_dso (all) =3D=3D=3D> tests/c063 (all) (cd /usr/src/lib/libc/tests/c063 && DEPENDFILE=3D.depend.faccessat_test=20 NO_SUBDIR=3D1 make -f /usr/src/lib/libc/tests/c063/Makefile _RECURSING_PROG= S=3Dt=20 PROG=3Dfaccessat_test ) make[3]: /usr/obj/usr/src/lib/libc/tests/c063/.depend.faccessat_test, 1: ignoring stale .depend.faccessat_test for /usr/obj/usr/src/lib/libnetbsd/libnetbsd.a cc -O2 -pipe -D_INCOMPLETE_XOPEN_C063 -I/usr/src/lib/libnetbsd -I/usr/src/contrib/netbsd-tests -g -std=3Dgnu99 -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments=20 -L/usr/obj/usr/src/lib/libnetbsd -o faccessat_test.full t_faccessat.o=20 -lprivateatf-c -L/usr/obj/usr/src/lib/libnetbsd -lnetbsd /usr/bin/ld: cannot find -lnetbsd cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[3]: stopped in /usr/src/lib/libc/tests/c063 *** Error code 1 Stop. make[2]: stopped in /usr/src/lib/libc/tests/c063 *** Error code 1 Stop. make[1]: stopped in /usr/src/lib/libc/tests *** Error code 1 Stop. make: stopped in /usr/src/lib/libc Exit 1 --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Jun 16 17:19:16 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 36D4FC78AB8 for ; Fri, 16 Jun 2017 17:19:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 249523A8C for ; Fri, 16 Jun 2017 17:19:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5GHJFcm004945 for ; Fri, 16 Jun 2017 17:19:16 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Fri, 16 Jun 2017 17:19:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 17:19:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #63 from Konstantin Belousov --- (In reply to Cassiano Peixoto from comment #62) Use 'make -DWITHOUT_TESTS=3Dyes' to compile both libc and libthr. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Jun 16 17:23:15 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B75C5C78D97 for ; Fri, 16 Jun 2017 17:23: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 A50533FA7 for ; Fri, 16 Jun 2017 17:23: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 v5GHNDaA019246 for ; Fri, 16 Jun 2017 17:23:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Fri, 16 Jun 2017 17:23:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 17:23:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #64 from Konstantin Belousov --- (In reply to Konstantin Belousov from comment #63) Sorry, the correct spelling is 'make WITHOUT_TESTS=3Dyes', no -D is needed. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Jun 16 17:40:13 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 99A9CC792AF for ; Fri, 16 Jun 2017 17: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 87156649E7 for ; Fri, 16 Jun 2017 17: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 v5GHeCGW053583 for ; Fri, 16 Jun 2017 17:40:13 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Fri, 16 Jun 2017 17:40:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 17:40:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #65 from Cassiano Peixoto --- (In reply to Konstantin Belousov from comment #64) Konstantin, Libc patch compiled fine after using 'make WITHOUT_TESTS=3Dyes'. But libthr= patch doesn't, see: cc -O2 -pipe -DPTHREAD_KERNEL -I/usr/src/lib/libthr/../libc/include -I/usr/src/lib/libthr/thread -I/usr/src/lib/libthr/../../include -I/usr/src/lib/libthr/arch/amd64/include -I/usr/src/lib/libthr/sys -I/usr/src/lib/libthr/../../libexec/rtld-elf -I/usr/src/lib/libthr/../../libexec/rtld-elf/amd64 -I/usr/src/lib/libthr/../libthread_db -Winline -fexceptions -D_PTHREAD_FORCED_UNWIND -D_PTHREADS_INVARIANTS -mno-mmx -mno-sse -mno-avx = -MD=20 -MF.depend.thr_init.o -MTthr_init.o -std=3Dgnu99 -Wsystem-headers -Werror -= Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef=20 -Qunused-arguments -c /usr/src/lib/libthr/thread/thr_init.c -o thr_init.o /usr/src/lib/libthr/thread/thr_init.c:71:35: error: excess elements in scal= ar initializer [-Werror] struct urwlock _thr_atfork_lock =3D DEFAULT_URWLOCK; ^~~~~~~~~~~~~~~ /usr/src/lib/libthr/thread/thr_umtx.h:40:39: note: expanded from macro 'DEFAULT_URWLOCK' #define DEFAULT_URWLOCK {0,0,0,0,0,{0,0,0}} ^ /usr/src/lib/libthr/thread/thr_init.c:71:35: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] struct urwlock _thr_atfork_lock =3D DEFAULT_URWLOCK; ^~~~~~~~~~~~~~~ /usr/src/lib/libthr/thread/thr_umtx.h:40:34: note: expanded from macro 'DEFAULT_URWLOCK' #define DEFAULT_URWLOCK {0,0,0,0,0,{0,0,0}} ^~~~~~~~~ /usr/src/lib/libthr/thread/thr_init.c:127:33: error: excess elements in sca= lar initializer [-Werror] struct urwlock _thr_list_lock =3D DEFAULT_URWLOCK; ^~~~~~~~~~~~~~~ /usr/src/lib/libthr/thread/thr_umtx.h:40:39: note: expanded from macro 'DEFAULT_URWLOCK' #define DEFAULT_URWLOCK {0,0,0,0,0,{0,0,0}} ^ /usr/src/lib/libthr/thread/thr_init.c:127:33: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] struct urwlock _thr_list_lock =3D DEFAULT_URWLOCK; ^~~~~~~~~~~~~~~ /usr/src/lib/libthr/thread/thr_umtx.h:40:34: note: expanded from macro 'DEFAULT_URWLOCK' #define DEFAULT_URWLOCK {0,0,0,0,0,{0,0,0}} ^~~~~~~~~ 4 errors generated. *** Error code 1 Stop. make: stopped in /usr/src/lib/libthr --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Jun 16 17:58:43 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3D641C79B45 for ; Fri, 16 Jun 2017 17:58:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2AEA1657F0 for ; Fri, 16 Jun 2017 17:58:43 +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 v5GHwe5t001057 for ; Fri, 16 Jun 2017 17:58:43 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Fri, 16 Jun 2017 17:58:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 17:58:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #66 from Konstantin Belousov --- (In reply to Cassiano Peixoto from comment #65) Perhaps you need to manually copy patched sys/_umtx.h to /usr/include/sys. = Do not forget to revert this when cleaning your machine. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Jun 16 18:08:08 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 01B86D860F2 for ; Fri, 16 Jun 2017 18:08:08 +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 E3C6265FA9 for ; Fri, 16 Jun 2017 18:08:07 +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 v5GI867I031634 for ; Fri, 16 Jun 2017 18:08:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Fri, 16 Jun 2017 18:08:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 18:08:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #67 from Cassiano Peixoto --- (In reply to Konstantin Belousov from comment #66) Konstantin, Worked after copied _umtx.h. Thanks. Konstantin and Eugene, I applied the patches, to sum up what i've applied: - libc patch - libthr patch - mpd console patch As you know it takes some days to happen again. Last time took 5 days. I wi= sh, but i don't know how to force to reproduce the issue at any time. I'll keep you posted guys, thank you. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Jun 16 19:09:44 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7D724D86FDB for ; Fri, 16 Jun 2017 19:09:44 +0000 (UTC) (envelope-from Steven@stream-technologies.com) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0083.outbound.protection.outlook.com [104.47.0.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 94FBA67D8C; Fri, 16 Jun 2017 19:09:42 +0000 (UTC) (envelope-from Steven@stream-technologies.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=streamtechnologiesuk.onmicrosoft.com; s=selector1-streamtechnologies-com01e; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Ay9BSYHycaROTgmSg4zN8/PRoz2Iy4UwYe/Zg5fen/g=; b=oTCZsEfN1KpGEcyDb5W+YirkD0020KZS3LUwPrBo7C8vnEqGp9r8OqlMgR2XPqTf+T7r7upvO67CYBlkNDr2JI/+azMROqlfki07FbMW3EArTnC37boGAMbNphWRAYd8H+naJCzbngYDUUVn9XfCHxnS3o0E5NO4qM8nitCJRT8= Received: from DB6PR07MB3111.eurprd07.prod.outlook.com (10.170.223.158) by DB6PR07MB3173.eurprd07.prod.outlook.com (10.175.232.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.6; Fri, 16 Jun 2017 19:09:38 +0000 Received: from DB6PR07MB3111.eurprd07.prod.outlook.com ([fe80::d90d:3874:163d:ca76]) by DB6PR07MB3111.eurprd07.prod.outlook.com ([fe80::d90d:3874:163d:ca76%13]) with mapi id 15.01.1199.007; Fri, 16 Jun 2017 19:09:38 +0000 From: Steven Crangle To: Alan Somers CC: FreeBSD Net Subject: Re: Possible bug in ifconfig regarding ip addresses and fibs Thread-Topic: Possible bug in ifconfig regarding ip addresses and fibs Thread-Index: AQHS5rmyqfU3WxD1JU2qp4KbhtfsE6InqUyAgAAFFn6AAAKAAIAAJe0z Date: Fri, 16 Jun 2017 19:09:38 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: freebsd.org; dkim=none (message not signed) header.d=none;freebsd.org; dmarc=none action=none header.from=stream-technologies.com; x-originating-ip: [2603:10a6:4:55:cafe::2a] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB6PR07MB3173; 7:j71s2W7c6/0bg6Pc4AS6+hTdmdOUeXAdQK7b2Nck39dLtZYzpb3N//4omNQ+1MV0DkjW6qGyD2n1UTt7a1RxDbzPDmdtXCixIhQHNa5e+D8cprOeYNhOI22j4ki022tybX7x3v5TRQQu6yADQlurHrcVDBP+X6gPAbd0vwxai3Kf9bwYvPx7PvmVDtFCavd4Mff7vvSjKWBemTSI3rQXagl3HHd/9gomQrSTIhH+DTjb5S3OVjt1wno9y/vbVJOOjGNok4I5xjSYDQD8BxSm1A6I+IsOFTin9pDxoxilLzoFmPpM5E6wAjmtzrFM5czk3e+es3AxCWCHSNgCYHrJF7GkyIUuGnStxG0DNFTmHpzLivrCzfYAemaMcXaX1RKid53DgyZiFPJ332tQs4NsBBoofnCMRCOpfJDkinBR6qDZBxW8kq378iDqIyLiltJ7hBY2hHQ6dpH4ae3aXi1Y/cG+lH4alBGHBv3WFw9G3VEDLAQ8g19NCjeiZ7aiDVqCk/55zc/ZIbunZ9xHHAtrbRAbQ1/RfjLcPa2FrooLVZOi1MT4GXQPp6LoDkNw/7JuA4yCEPs/cVhE/CMBo2FTYAdrUtG0CnOMKOIbUY8Vw36hT8/yXoluQywfpBMX/ity9YdGVdfoc5h/FmDhOczFu4ZGLM+lbcww68LMbyDx/e4fhO3yQZM8FQ+t0Jq32FHSi2qvNhJJF3D4sNIVOPfLAg23zuPoGb22MS1qQPFrCX81HPI97TRj2rXWnWtpAmZZtDcf6EoxFQQfMicSSaL/r7VMLqm0pb15wGkr6GfrDOU= x-ms-office365-filtering-correlation-id: dc168d32-dcfb-4dd0-6780-08d4b4eb3c51 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500041)(300135000095)(300000501041)(300135300095)(22001)(300000502041)(300135100095)(2017030254075)(300000503041)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504041)(300135200095)(300000505041)(300135600095)(300000506037)(300135500095); SRVR:DB6PR07MB3173; x-ms-traffictypediagnostic: DB6PR07MB3173: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(203790808753936)(266611908612381); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(6041248)(20161123555025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123562025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB6PR07MB3173; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB6PR07MB3173; x-forefront-prvs: 0340850FCD x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39830400002)(39450400003)(39410400002)(39400400002)(43784003)(377454003)(24454002)(53546009)(478600001)(6246003)(8936002)(86362001)(54896002)(76176999)(5250100002)(189998001)(3660700001)(81166006)(93886004)(6306002)(229853002)(19273905006)(50986999)(8676002)(38730400002)(9686003)(236005)(110136004)(55016002)(5660300001)(102836003)(2950100002)(7736002)(33656002)(3280700002)(99286003)(54356999)(6916009)(6116002)(6436002)(4326008)(7906003)(80792005)(606005)(2906002)(74316002)(733005)(6506006)(25786009)(72206003)(14454004)(450100002)(7696004)(2900100001)(53936002)(966005)(16866105001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR07MB3173; H:DB6PR07MB3111.eurprd07.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: stream-technologies.com X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jun 2017 19:09:38.6958 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 720fa073-5781-43bf-bc14-7bef2603ed21 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR07MB3173 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 19:09:44 -0000 Aha! Just checked and net.add_addr_allfibs is set to 0, but after updating = it and restarting, the issue still persists! That bug seems to be relevant to duplicate addresses, figured I would be cl= ear from any sort of weird behaviour with using different ones. Either way, I think I can figure out a solution for my problem without conf= iguring the second 124 address onto manee. I just figured I'd report here i= ncase it was unexpected behaviour. Might also take a look into the source too and see if anything crops up! Thanks again for your help! Steven ________________________________ [Stream Logo] Steven Crangle Systems Developer | Stream Technologies | Glasgow, UK [http://www.stream-technologies.com/img/phone.png] +44 (0)844 800 8520 | [http://www.stream-technologies.com/img/mouse.png] www.stream-technologies.com ________________________________ From: asomers@gmail.com on behalf of Alan Somers Sent: 16 June 2017 17:39:48 To: Steven Crangle Cc: FreeBSD Net Subject: Re: Possible bug in ifconfig regarding ip addresses and fibs On Fri, Jun 16, 2017 at 10:35 AM, Steven Crangle > wrote: Hi Alan, Thanks for the fast reply. I actually think I had the fib 5 part appended to the line previously, but = had somehow removed it in my repeated attempts! Either way, I just tried yo= ur solution, and it results in the same behaviour. The initial two IP's are assigned, but the final 192.168.124.216 is not. When i get chance, I'll try moving the mgmt IP from the 124 range to someth= ing else and repeating, as I'm sure it's some sort of interaction between m= anee and mgmt. Since the commands are successful if I change the final addr= esses IP to a different range! Thanks Steven What's your value of net.add_addr_allfibs ? If should probably be 0, depen= ding on what exactly your trying to do. Also, this bug might be relevant: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D189088 If you have the option of using different IP addresses, then that will defi= nitely be the easiest solution. -Alan From owner-freebsd-net@freebsd.org Fri Jun 16 20:07:15 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 02EEBD87F80 for ; Fri, 16 Jun 2017 20:07:15 +0000 (UTC) (envelope-from Steven@stream-technologies.com) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0044.outbound.protection.outlook.com [104.47.0.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 269FD6AA85; Fri, 16 Jun 2017 20:07:13 +0000 (UTC) (envelope-from Steven@stream-technologies.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=streamtechnologiesuk.onmicrosoft.com; s=selector1-streamtechnologies-com01e; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=BAfKtHuMUB223x689iYf4J2TWmKmXhpMb852t+ZMFrI=; b=BOGygW6fKuq7FESBf6X+m5sh5vy2zEHHGvnIByoroDsp1CxzGWC2xpKRQ93QHX8ZfunJ1uq/V8+VFqsr4UUMj3Ax1Pf4/VdZNqalOmoJri8wx85zlLfgiQAaNNRxFdP5V+enwIedIVFafX4qDU0MNfPwwMdu+r+3CMs6TfMHpbM= Received: from DB6PR07MB3111.eurprd07.prod.outlook.com (10.170.223.158) by DB6PR07MB3445.eurprd07.prod.outlook.com (10.175.234.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.6; Fri, 16 Jun 2017 20:07:11 +0000 Received: from DB6PR07MB3111.eurprd07.prod.outlook.com ([fe80::d90d:3874:163d:ca76]) by DB6PR07MB3111.eurprd07.prod.outlook.com ([fe80::d90d:3874:163d:ca76%13]) with mapi id 15.01.1199.007; Fri, 16 Jun 2017 20:07:11 +0000 From: Steven Crangle To: Alan Somers CC: FreeBSD Net Subject: Re: Possible bug in ifconfig regarding ip addresses and fibs Thread-Topic: Possible bug in ifconfig regarding ip addresses and fibs Thread-Index: AQHS5rmyqfU3WxD1JU2qp4KbhtfsE6InqUyAgAAFFn6AAAKAAIAAJe0zgAATwms= Date: Fri, 16 Jun 2017 20:07:11 +0000 Message-ID: References: , , In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: freebsd.org; dkim=none (message not signed) header.d=none;freebsd.org; dmarc=none action=none header.from=stream-technologies.com; x-originating-ip: [2603:10a6:4:55:cafe::71] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB6PR07MB3445; 7:ubkyv7UrUiWuk3TLjTpVZNFbf9F/HIOyUwNvqjOOvaOdeh9YN665H3H0Wj3iE+/wrlqTMLuBQY/CnZ0vD5ppOsZrpi6Th1EjrWQydv1chkyku7T0Emah4Ygitrbk/BD8Uw8Hdgemo1JOI2+gNA9OKJ8X89TdehIu3mf5zhg23gg5Nl6XHtv2txjZeWaZ0XMevJWVtQUHRhEa6Vtdm+KtY1owPH3wg9ewvPnueNl+X2/uSjtkE1PiJC3KK5CFY+jPWZ52eeXe4tL3bGOqBkBRYUBWENd+6olaM7NkNQMj9uKOq0eHJnSMjxLAbU0kQVrgCV+24IvZOQQvZeSKdIW4TiaZvC5Al2XM4vYMyFWHy8qQGDtuDchOjaqJE8E594+7BbincM5vBOTfnDbFcs+x/AKmTOePnNayD9yC12vGSPrX4+niFiVU7p5wILqSRkbwADQmVoT7to/jg2+zeTEI9CSZ9r9Xc7GCgQOWDY0gvXfM/iQuc+Rv7zbYZTT31XEdERwZhLNnwpN+Kuh4UOza0GLbMk9YeCBPcvB0lsZB5lDhFYfeICldeLLq01rkaDt2kntJkL4K8kgn8SZOZXjgthwyP6YVccHKwnOILlQtaLxtB6+bEro9jj0A+Eyfj3Cv0A7cElgBhYr+/UZSHH0Zsk0VhRHqyMP1ZnL1VuQHmiv9BR+8YrU+4kdkXO07wLcHGxgQN4OXdmIKQfAFbmmv11MgJPN8bVhI1/q/0CSYQIr0R/aWERx0L/USIUBRwWm9zHaNYXt3je5k/Hj34ii2s+pKVUfgWMqH9Ik+buR7RQA= x-ms-office365-filtering-correlation-id: 8f28817d-e0b9-49a3-8d86-08d4b4f34620 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500041)(300135000095)(300000501041)(300135300095)(22001)(300000502041)(300135100095)(2017030254075)(300000503041)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504041)(300135200095)(300000505041)(300135600095)(300000506037)(300135500095); SRVR:DB6PR07MB3445; x-ms-traffictypediagnostic: DB6PR07MB3445: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(203790808753936)(266611908612381); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6041248)(20161123560025)(20161123564025)(20161123555025)(20161123562025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB6PR07MB3445; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB6PR07MB3445; x-forefront-prvs: 0340850FCD x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39450400003)(39410400002)(39400400002)(39830400002)(24454002)(377454003)(43784003)(5660300001)(102836003)(478600001)(80792005)(110136004)(2900100001)(2906002)(3280700002)(38730400002)(54356999)(19273905006)(81166006)(8936002)(7696004)(50986999)(189998001)(99286003)(8676002)(5250100002)(76176999)(55016002)(3660700001)(19627405001)(54896002)(53936002)(86362001)(4326008)(450100002)(74316002)(14454004)(606005)(733005)(7906003)(9686003)(966005)(236005)(6306002)(6436002)(6246003)(25786009)(72206003)(53546009)(6506006)(7736002)(6916009)(93886004)(2950100002)(33656002)(6116002)(16866105001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR07MB3445; H:DB6PR07MB3111.eurprd07.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: stream-technologies.com X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jun 2017 20:07:11.1736 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 720fa073-5781-43bf-bc14-7bef2603ed21 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR07MB3445 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 20:07:15 -0000 Actually just realised I was setting the sysctl to 1 as I'm a bit brain dea= d and tired.. haha Just tried again with the correct value and it worked! So it's all configured correctly now. Thanks again for your help! Steven ________________________________ [Stream Logo] Steven Crangle Systems Developer | Stream Technologies | Glasgow, UK [http://www.stream-technologies.com/img/phone.png] +44 (0)844 800 8520 | [http://www.stream-technologies.com/img/mouse.png] www.stream-technologies.com ________________________________ From: Steven Crangle Sent: 16 June 2017 20:09:38 To: Alan Somers Cc: FreeBSD Net Subject: Re: Possible bug in ifconfig regarding ip addresses and fibs Aha! Just checked and net.add_addr_allfibs is set to 0, but after updating = it and restarting, the issue still persists! That bug seems to be relevant to duplicate addresses, figured I would be cl= ear from any sort of weird behaviour with using different ones. Either way, I think I can figure out a solution for my problem without conf= iguring the second 124 address onto manee. I just figured I'd report here i= ncase it was unexpected behaviour. Might also take a look into the source too and see if anything crops up! Thanks again for your help! Steven ________________________________ [Stream Logo] Steven Crangle Systems Developer | Stream Technologies | Glasgow, UK [http://www.stream-technologies.com/img/phone.png] +44 (0)844 800 8520 | [http://www.stream-technologies.com/img/mouse.png] www.stream-technologies.com ________________________________ From: asomers@gmail.com on behalf of Alan Somers Sent: 16 June 2017 17:39:48 To: Steven Crangle Cc: FreeBSD Net Subject: Re: Possible bug in ifconfig regarding ip addresses and fibs On Fri, Jun 16, 2017 at 10:35 AM, Steven Crangle > wrote: Hi Alan, Thanks for the fast reply. I actually think I had the fib 5 part appended to the line previously, but = had somehow removed it in my repeated attempts! Either way, I just tried yo= ur solution, and it results in the same behaviour. The initial two IP's are assigned, but the final 192.168.124.216 is not. When i get chance, I'll try moving the mgmt IP from the 124 range to someth= ing else and repeating, as I'm sure it's some sort of interaction between m= anee and mgmt. Since the commands are successful if I change the final addr= esses IP to a different range! Thanks Steven What's your value of net.add_addr_allfibs ? If should probably be 0, depen= ding on what exactly your trying to do. Also, this bug might be relevant: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D189088 If you have the option of using different IP addresses, then that will defi= nitely be the easiest solution. -Alan From owner-freebsd-net@freebsd.org Fri Jun 16 21:50:42 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3632DD8A161 for ; Fri, 16 Jun 2017 21:50: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 242447177D for ; Fri, 16 Jun 2017 21:50: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 v5GLocWY082042 for ; Fri, 16 Jun 2017 21:50:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Fri, 16 Jun 2017 21:50:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 21:50:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dgilbert@eicat.ca --- Comment #68 from Eugene Grosbein --- *** Bug 214482 has been marked as a duplicate of this bug. *** --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Jun 16 23:49:42 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E6DFD8B84B for ; Fri, 16 Jun 2017 23:49: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 F0C40747A2 for ; Fri, 16 Jun 2017 23:49:41 +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 v5GNnbwm014187 for ; Fri, 16 Jun 2017 23:49:41 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Fri, 16 Jun 2017 23:49:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eugen@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 23:49:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|eri@freebsd.org |eugen@freebsd.org --- Comment #69 from Kubilay Kocak --- Assign to Eugene who appears (currently) to be coordinating.=20 It would be ideal if a separate (dependent) issue is created for the/any ba= se changes required to resolve this issue, so that it can be assigned to the person resolving on that side (kib?) and tracked for MFC's and release engineering if appropriate (ports categorized issues don't have those flags) --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Sat Jun 17 02:01:46 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 16EF4D8F38A for ; Sat, 17 Jun 2017 02:01: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 05758790C4 for ; Sat, 17 Jun 2017 02:01:46 +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 v5H21jow056892 for ; Sat, 17 Jun 2017 02:01:45 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 220033] [if_ixgb] sys/dev/ixgb/if_ixgb.c: a sleep-under-mutex bug in ixge_get_buf Date: Sat, 17 Jun 2017 02:01: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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jun 2017 02:01:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220033 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org CC| |sbruno@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Jun 17 02:02:15 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 29CB9D8F52A for ; Sat, 17 Jun 2017 02:02: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 4478A791D2 for ; Sat, 17 Jun 2017 02:02:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5H22Dj8060636 for ; Sat, 17 Jun 2017 02:02:13 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 220032] [if_alc] sys/dev/alc/if_alc.c: sleep-under-mutex bugs Date: Sat, 17 Jun 2017 02:02:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jun 2017 02:02:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220032 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Jun 17 09:09:23 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 81199BF5F04 for ; Sat, 17 Jun 2017 09:09:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6ED58DAB for ; Sat, 17 Jun 2017 09:09:23 +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 v5H99MtQ062785 for ; Sat, 17 Jun 2017 09:09:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Sat, 17 Jun 2017 09:09:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eugen@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jun 2017 09:09:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #70 from Eugene Grosbein --- JFYI: these patches made my mpd server side pretty stable, so my stress test can run long enough to hit another problem that produces repeatable kernel panics at client side. I've digged that problem and produced a fix for ng_iface(4) and filled another PR for that distinct problem: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220076 --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Sat Jun 17 09:16:37 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 87B74BF616D for ; Sat, 17 Jun 2017 09:16: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 7600D11F4 for ; Sat, 17 Jun 2017 09:16: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 v5H9Gat4055238 for ; Sat, 17 Jun 2017 09:16:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 220073] iflib panic r320049 Date: Sat, 17 Jun 2017 09:16:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: dchagin@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jun 2017 09:16:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220073 Dmitry Chagin changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org --- Comment #1 from Dmitry Chagin --- commented bridge solves problem for me # vmm support #cloned_interfaces=3D"bridge0 tap0 tap1 tap2" #ifconfig_bridge0=3D"addm em0 addm tap0 addm tap1 addm tap2" --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Jun 17 12:24:20 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7D45EBFA06E for ; Sat, 17 Jun 2017 12:24: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 6B06867E83 for ; Sat, 17 Jun 2017 12:24: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 v5HCOFFv073979 for ; Sat, 17 Jun 2017 12:24:20 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Sat, 17 Jun 2017 12:24:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eugen@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jun 2017 12:24:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #71 from Eugene Grosbein --- IFYI2: another reason for this task to break and new set of patches here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220078 --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Sat Jun 17 16:46:31 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 972FCBFD9D1 for ; Sat, 17 Jun 2017 16:46: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 7D04271CDE for ; Sat, 17 Jun 2017 16:46: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 v5HGkUeZ077174 for ; Sat, 17 Jun 2017 16:46:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 220073] iflib panic r320049 Date: Sat, 17 Jun 2017 16:46:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: db@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jun 2017 16:46:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220073 Diane Bruce changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |db@FreeBSD.org --- Comment #2 from Diane Bruce --- yep same here commenting out bridge made my system boot. #cloned_interfaces=3D"bridge0 tap0" #ifconfig_bridge0=3D"addm em0 addm tap0" <118>Setting hostname: odyssey. bridge0: Ethernet address: 02:96:7d:b5:87:00 tap0: Ethernet address: 00:bd:53:e8:f8:00 uma_zalloc_arg: zone "128" with the following non-sleepable locks held: exclusive sleep mutex em0 (iflib ctx lock) r =3D 0 (0xfffff80007b6e558) loc= ked @ / home/db/svn/system/head/sys/net/iflib.c:3611 stack backtrace: #0 0xffffffff80abef90 at witness_debugger+0x70 #1 0xffffffff80ac03be at witness_warn+0x45e #2 0xffffffff80d50cab at uma_zalloc_arg+0x3b #3 0xffffffff80a38a90 at malloc+0x1e0 #4 0xffffffff80b6996a at iflib_init_locked+0x6ba #5 0xffffffff80b6ff75 at iflib_if_ioctl+0x765 #6 0xffffffff80bca4b4 at in_control+0x864 #7 0xffffffff80b545d3 at ifioctl+0xe43 #8 0xffffffff80ac4b7d at kern_ioctl+0x2cd #9 0xffffffff80ac483f at sys_ioctl+0x16f #10 0xffffffff80ee4f69 at amd64_syscall+0x549 #11 0xffffffff80ec667b at Xfast_syscall+0xfb <118>/etc/rc: WARNING: $ipv6_ifconfig_em0 is obsolete. Use ifconfig_em0_i= pv6 instead. uma_zalloc_arg: zone "128" with the following non-sleepable locks held: exclusive sleep mutex em0 (iflib ctx lock) r =3D 0 (0xfffff80007b6e558) loc= ked @ /home/db/svn/system/head/sys/net/iflib.c:3848 stack backtrace: #0 0xffffffff80abef90 at witness_debugger+0x70 #1 0xffffffff80ac03be at witness_warn+0x45e #2 0xffffffff80d50cab at uma_zalloc_arg+0x3b #3 0xffffffff80a38a90 at malloc+0x1e0 #4 0xffffffff80b6996a at iflib_init_locked+0x6ba #5 0xffffffff80b6fef7 at iflib_if_ioctl+0x6e7 #6 0xffffffff8246df66 at bridge_set_ifcap+0x66 #7 0xffffffff8246dea8 at bridge_mutecaps+0xe8 #8 0xffffffff8246a4a0 at bridge_ioctl_add+0x4a0 #9 0xffffffff8246c0be at bridge_ioctl+0x28e #10 0xffffffff80b545d3 at ifioctl+0xe43 #11 0xffffffff80ac4b7d at kern_ioctl+0x2cd #12 0xffffffff80ac483f at sys_ioctl+0x16f #13 0xffffffff80ee4f69 at amd64_syscall+0x549 #14 0xffffffff80ec667b at Xfast_syscall+0xfb <6>em0: promiscuous mode enabled <5>bridge0: link state changed to UP uma_zalloc_arg: zone "128" with the following non-sleepable locks held: exclusive sleep mutex em0 (iflib ctx lock) r =3D 0 (0xfffff80007b6e558) loc= ked @ /home/db/svn/system/head/sys/net/iflib.c:3848 stack backtrace: #0 0xffffffff80abef90 at witness_debugger+0x70 #1 0xffffffff80ac03be at witness_warn+0x45e #2 0xffffffff80d50cab at uma_zalloc_arg+0x3b #3 0xffffffff80a38a90 at malloc+0x1e0 #4 0xffffffff80b6996a at iflib_init_locked+0x6ba #5 0xffffffff80b6fef7 at iflib_if_ioctl+0x6e7 #6 0xffffffff8246df66 at bridge_set_ifcap+0x66 #7 0xffffffff8246dea8 at bridge_mutecaps+0xe8 #8 0xffffffff8246a4a0 at bridge_ioctl_add+0x4a0 #9 0xffffffff8246c0be at bridge_ioctl+0x28e #10 0xffffffff80b545d3 at ifioctl+0xe43 #11 0xffffffff80ac4b7d at kern_ioctl+0x2cd #12 0xffffffff80ac483f at sys_ioctl+0x16f #13 0xffffffff80ee4f69 at amd64_syscall+0x549 #14 0xffffffff80ec667b at Xfast_syscall+0xfb <6>tap0: promiscuous mode enabled <5>bridge0: link state changed to DOWN Link state changed to up <5>em0: link state changed to UP <5>bridge0: link state changed to UP Fatal trap 12: page fault while in kernel mode cpuid =3D 7; apic id =3D 07 fault virtual address =3D 0x0 fault code =3D supervisor write data, page not present instruction pointer =3D 0x20:0xffffffff80b6a8ab stack pointer =3D 0x28:0xfffffe07bb8e3900 frame pointer =3D 0x28:0xfffffe07bb8e39e0 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 0 (if_io_tqg_7) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Jun 17 17:43:20 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2E64FBFE93A for ; Sat, 17 Jun 2017 17:43: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 1CF14735F9 for ; Sat, 17 Jun 2017 17:43: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 v5HHhJMx028866 for ; Sat, 17 Jun 2017 17:43:19 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 220073] iflib panic r320049 Date: Sat, 17 Jun 2017 17:43: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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jun 2017 17:43:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220073 --- Comment #3 from commit-hook@freebsd.org --- A commit references this bug: Author: sbruno Date: Sat Jun 17 17:42:53 UTC 2017 New revision: 320059 URL: https://svnweb.freebsd.org/changeset/base/320059 Log: Revert r319989 "bnxt(4) Enable LRO support" This generates startup LORs and panics when adding elements to bridge devices. I will document further in https://reviews.freebsd.org/D10681 PR: 220073 Submitted by: dchagin Reported by: db Changes: head/sys/dev/bnxt/bnxt.h head/sys/dev/bnxt/bnxt_hwrm.c head/sys/dev/bnxt/bnxt_txrx.c head/sys/dev/bnxt/if_bnxt.c head/sys/net/iflib.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Jun 17 19:24:27 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 640BEBFFF05 for ; Sat, 17 Jun 2017 19:24: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 4D95B75846 for ; Sat, 17 Jun 2017 19:24: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 v5HJORUP019546 for ; Sat, 17 Jun 2017 19:24:27 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 220073] iflib panic r320049 Date: Sat, 17 Jun 2017 19:24: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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jun 2017 19:24:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220073 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED --- Comment #4 from Sean Bruno --- I've reproduced and reverted the commit that caused this failure. I scratc= hed my head for about an hour and have kicked it back to the submitters. --=20 You are receiving this mail because: You are the assignee for the bug.=