From owner-freebsd-net@freebsd.org Sun Feb 19 01:00:51 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2E3DCDBBE4 for ; Sun, 19 Feb 2017 01:00:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D2CC9EA6 for ; Sun, 19 Feb 2017 01:00: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 v1J10pk3053300 for ; Sun, 19 Feb 2017 01:00:51 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 217214] frequent panics in tcp_output/sbsndptr Date: Sun, 19 Feb 2017 01:00:51 +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-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: hiren@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: Sun, 19 Feb 2017 01:00:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217214 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org --- Comment #1 from Hiren Panchasara --- Looks like you are running FreeBSD as a guest inside VirtualBox. We've had quite a few occurrences of this problem of sbsndptr panics nothing this consistent (i.e. reboot loop like you are seeing). So this looks like some = sort of regression to me either in VirtualBox or kernel. Can you help bisect it?= Try different/older version of FreeBSD (or VBox) and see if that helps?=20 Sorry, we don't have a solution to this problem but bisecting may help. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Feb 19 01:39: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 9B207CDB590 for ; Sun, 19 Feb 2017 01:39: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 8AFCA1EE3 for ; Sun, 19 Feb 2017 01:39: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 v1J1dZu5045077 for ; Sun, 19 Feb 2017 01:39:35 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 217214] frequent panics in tcp_output/sbsndptr Date: Sun, 19 Feb 2017 01:39: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: 11.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: p-fbsd-bugs@ziemba.us 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: Sun, 19 Feb 2017 01:39:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217214 --- Comment #2 from G. Paul Ziemba --- (In reply to Hiren Panchasara from comment #1) Thank you for your input. Yes, I am running VirtualBox, but just to be clea= r, the panics are occurring on the host system, not the guest. I have rebuilt the kernel with INVARIANTS in hopes of obtaining additional info, but will also see about trying some older versions as you suggest. It's not entirely clear to me that the reboot loop with the non -O2 kernel = is panicinn at the same place. I'm also seeing some startup time panics at line 760 of /usr/src/sys/ufs/ufs/ufs_lookup.c (ufs_dirbad: /v2: bad dir ino 270866706 at offset 1024: mangled entry) in the -O2 kernel. I speculate the= se could be the result of a prior crash leaving the filesystem in an improper state. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Feb 19 02:35: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 EF8A3CDB8A3 for ; Sun, 19 Feb 2017 02:35: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 DF5871F47 for ; Sun, 19 Feb 2017 02:35: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 v1J2ZXEt050693 for ; Sun, 19 Feb 2017 02:35:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 217156] Kernel panic using Netmap with selected NIC queue Date: Sun, 19 Feb 2017 02:35:33 +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 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, 19 Feb 2017 02:35:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217156 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org CC|freebsd-amd64@FreeBSD.org | --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Feb 19 06:02: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 610D3CDBFFB for ; Sun, 19 Feb 2017 06:02: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 50C4F2E0 for ; Sun, 19 Feb 2017 06:02: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 v1J62rBN097779 for ; Sun, 19 Feb 2017 06:02:53 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 217156] Kernel panic using Netmap with selected NIC queue Date: Sun, 19 Feb 2017 06:02:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sbruno@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2017 06:02:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217156 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-net@FreeBSD.org |sbruno@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 Sun Feb 19 12:39: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 90882CE5FFF; Sun, 19 Feb 2017 12:39:36 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) Received: from mailhost.dlr.de (mailhost.dlr.de [129.247.252.32]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mailhost.dlr.de", Issuer "DLR CA - G02" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 031C0FF3; Sun, 19 Feb 2017 12:39:35 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) Received: from DLREXHUB02.intra.dlr.de (172.21.152.140) by mailhost.dlr.de (172.21.163.100) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 19 Feb 2017 13:38:20 +0100 Received: from DLREXMBX01.intra.dlr.de ([fe80::d198:77e5:d411:fccd]) by dlrexhub02.intra.dlr.de ([::1]) with mapi id 14.03.0319.002; Sun, 19 Feb 2017 13:38:22 +0100 From: To: , , Subject: RE: Calling ATM NIC users: en(4), fatm(4), hatm(4), patm(4) Thread-Topic: Calling ATM NIC users: en(4), fatm(4), hatm(4), patm(4) Thread-Index: AQHSiYcEUGL/599z6UuN7jV0xZLm0KFwRbuQ Date: Sun, 19 Feb 2017 12:38:21 +0000 Message-ID: <611243783F62AF48AFB07BC25FA4B1061CEEA14D@DLREXMBX01.intra.dlr.de> References: <20170218013250.GA72688@spindle.one-eyed-alien.net> In-Reply-To: <20170218013250.GA72688@spindle.one-eyed-alien.net> Accept-Language: en-US, de-DE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-TM-AS-Product-Ver: SMEX-11.0.0.4283-8.100.1062-22894.006 X-TM-AS-Result: No--12.364100-5.000000-31 X-TM-AS-MatchedID: 150567-150675-709584-708497-701249-707800-702920-701618-7 00726-106420-700075-701588-708597-707163-702192-703747-186035-703010-139006 -704287-700486-704746-106660-700752-701594-863148-704156-703997-704416-8639 16-703267-700755-703352-700604-706117-701757-106230-187088-708212-139704-70 8196-701100-862222-148004-148050-42000-42003-52000 X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No 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, 19 Feb 2017 12:39:36 -0000 Hi, there is a freebsd-atm mailing list (at least there used to be). Should hav= e been sent there too. On the topic: I'd say: remove it. As the one who wrote/refactored much of t= hat stuff I get approximately one support request per year. The problem is,= that I can't really help, since while I have all of that equipment still a= vailable, I don't have any time to do anything with it. So the entire ATM s= tack is basically unsupported. harti@ -----Original Message----- From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd-net@freebsd.org] = On Behalf Of Brooks Davis Sent: Saturday, February 18, 2017 2:33 AM To: freebsd-stable@freebsd.org; freebsd-net@freebsd.org Subject: Calling ATM NIC users: en(4), fatm(4), hatm(4), patm(4) Our current ATM stack supports a small number of NICs that were current in = the late 90s[0]. None of them have been manufactured in a long time and wh= ile you can buy hatm(4) devices on e-bay, it's increasingly difficult to fi= nd a motherboard that will accept them. I'd like to propose removing support for these NICs along with the remainin= g ATM stack in FreeBSD 12. This will give any existing users a supported O= S until at least September 30, 2021 per our published EOL date for FreeBSD = 11. Would removal on this schedule cause you realistic hardship? If so, please= let us know. -- Brooks [0] 1997 press release for the most advanced ATM NIC we support http://www.= prnewswire.com/news-releases/fore-systems-introduces-industrys-most-advance= d-atm-adapter-for-enterprise-networking-77407267.html From owner-freebsd-net@freebsd.org Sun Feb 19 21:01:06 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 E0CC2CE56E6 for ; Sun, 19 Feb 2017 21:01:06 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D61D0F36 for ; Sun, 19 Feb 2017 21:01:06 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1JL01lS054691 for ; Sun, 19 Feb 2017 21:01:06 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201702192101.v1JL01lS054691@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, 19 Feb 2017 21:01:06 +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, 19 Feb 2017 21:01:07 -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 | 203422 | mpd/ppoe not working with re(4) with revision 285 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 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 | 213257 | Crash in IGB driver with ALTQ 17 problems total for which you should take action. From owner-freebsd-net@freebsd.org Mon Feb 20 19:07: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 CB062CE6D15 for ; Mon, 20 Feb 2017 19:07:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AF3261AF2 for ; Mon, 20 Feb 2017 19:07:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1KJ7dcs028319 for ; Mon, 20 Feb 2017 19:07:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213257] Crash in IGB driver with ALTQ Date: Mon, 20 Feb 2017 19:07:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-STABLE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ken@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable9? mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2017 19:07:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213257 Kenneth D. Merry changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ken@FreeBSD.org --- Comment #17 from Kenneth D. Merry --- I have run into this as well. IGB_LEGACY_TX has been broken for quite some time, at least for me. (Since mid-2015 at least.) I bought an em(4) card = to use with ALTQ, since it was easier and cheaper than trying to figure out why igb(4) was broken. I'm using igb(4) on the internal ports on my gateway router. Change 299182 bit me last night when I updated my gateway router from an Ap= ril 2016 10-stable to a February 2017 10-stable. So, I've got ALTQ enabled, but I'm not using it on igb(4), just on em(4) po= rts. In my opinion, we should not automatically enable IGB_LEGACY_TX until it has been fixed to work reliably at any traffic rate. Anyone enabling ALTQ with= an igb(4) interface in their system may well run into problems. It only took about 15 minutes for my router to hang, and another 15 minutes= to panic after that. FreeBSD mithlond.kdm.org 10.3-STABLE FreeBSD 10.3-STABLE #20 r313925: Sat F= eb 18 17:36:43 EST 2017=20=20=20=20 ken@mithlond.kdm.org:/usr/obj/usr/home/ken/src/freebsd/st able/10/sys/mithlond amd64 panic: sbsndptr: sockbuf 0xfffff80158d796f8 and mbuf 0xfffff80196bad600 clashing 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 condition= s. 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: panic: sbsndptr: sockbuf 0xfffff80158d796f8 and mbuf 0xfffff80196bad600 clashing cpuid =3D 2 KDB: stack backtrace: db_trace_self_wrapper() at 0xffffffff80364dab =3D db_trace_self_wrapper+0x2b/frame 0xfffffe0000359160 kdb_backtrace() at 0xffffffff809904c9 =3D kdb_backtrace+0x39/frame 0xfffffe0000359210 vpanic() at 0xffffffff80950e46 =3D vpanic+0x126/frame 0xfffffe0000359250 panic() at 0xffffffff80950d13 =3D panic+0x43/frame 0xfffffe00003592b0 sbsndmbuf() at 0xffffffff809d4b90 =3D sbsndmbuf/frame 0xfffffe00003592c0 tcp_output() at 0xffffffff80b16b9c =3D tcp_output+0xe6c/frame 0xfffffe00003= 594c0 tcp_do_segment() at 0xffffffff80b14858 =3D tcp_do_segment+0x2ff8/frame 0xfffffe00003595d0 tcp_input() at 0xffffffff80b10f06 =3D tcp_input+0x1036/frame 0xfffffe000035= 9730 ip_input() at 0xffffffff80a9b217 =3D ip_input+0x97/frame 0xfffffe0000359780 netisr_dispatch_src() at 0xffffffff80a352e2 =3D netisr_dispatch_src+0x62/fr= ame 0xfffffe00003597f0 ether_demux() at 0xffffffff80a2bba6 =3D ether_demux+0x126/frame 0xfffffe0000359820 ether_nh_input() at 0xffffffff80a2c84e =3D ether_nh_input+0x35e/frame 0xfffffe0000359880 netisr_dispatch_src() at 0xffffffff80a352e2 =3D netisr_dispatch_src+0x62/fr= ame 0xfffffe00003598f0 igb_rxeof() at 0xffffffff805104d6 =3D igb_rxeof+0x616/frame 0xfffffe0000359= 990 igb_msix_que() at 0xffffffff80510b7b =3D igb_msix_que+0x11b/frame 0xfffffe00003599e0 intr_event_execute_handlers() at 0xffffffff8091eb99 =3D intr_event_execute_handlers+0xb9/frame 0xfffffe0000359a20 ithread_loop() at 0xffffffff8091f556 =3D ithread_loop+0x96/frame 0xfffffe0000359a70 fork_exit() at 0xffffffff8091c45a =3D fork_exit+0x9a/frame 0xfffffe0000359a= b0 fork_trampoline() at 0xffffffff80d957ce =3D fork_trampoline+0xe/frame 0xfffffe0000359ab0 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Feb 20 23:26: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 54E41CE68F2 for ; Mon, 20 Feb 2017 23:26:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4467714CB for ; Mon, 20 Feb 2017 23:26:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1KNQagX061493 for ; Mon, 20 Feb 2017 23:26:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213257] Crash in IGB driver with ALTQ Date: Mon, 20 Feb 2017 23:26:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-STABLE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@mcwest.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable9? mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2017 23:26:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213257 --- Comment #18 from freebsd@mcwest.org --- (In reply to Kenneth D. Merry from comment #17) Ken, does setting hw.igb.num_queues=3D1 keep your gateway router from crash= ing?=20 I haven't been able to check this myself, as choking my internal igb(4) interface w/ALTQ (see comment 10) has prevented crashes for the past 237 da= ys. FWIW, my gateway router doesn't have a free slot for an em(4) NIC :-( --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Feb 20 23:50: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 24197CE6EDD for ; Mon, 20 Feb 2017 23:50:43 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-vk0-x22f.google.com (mail-vk0-x22f.google.com [IPv6:2607:f8b0:400c:c05::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 D43B8217 for ; Mon, 20 Feb 2017 23:50:42 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: by mail-vk0-x22f.google.com with SMTP id k127so70527760vke.0 for ; Mon, 20 Feb 2017 15:50:42 -0800 (PST) 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=2J2lJTo/ceuQR2h/nq3qsp7DOwlfgo3ZiE2I1lIJiYM=; b=kjVKtPsaZX4K8kYzLwujNyPmQ1s1ISFofJHdtqyPUYCE5oVyt3iSbUSLu6unChF8cf ssnS7piAM9jE0BoECqrruZmycPK32c19cZNXzkK2+V3KFFDhgaas/KkbmsGzbOLkRzSG gFD2L3VeD+rzGX4TX1DZjcsRc+u+mgKS9I8OoN9JzN6+vfwO7TgBeoknTnWUDYT5BgVr lAgIB5V4W00VU55a0AGEgTlENhauibjWLYPHJ92tLuhS4mNaZNfWjB6ljowR2nm14yNg 0gLe3zr6YJ2ggdBDaNbQ5jq5k2xnLHT5QrNj6H8ET+gnbezWaKx2v6DcZMT8bCumYhjr pRAw== 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=2J2lJTo/ceuQR2h/nq3qsp7DOwlfgo3ZiE2I1lIJiYM=; b=YHTFMcDPb5CmMOIZoCoML2dYu0aAFGjX1jyQxiQlBqr8rT/EdVlSZX/lDSL0bv7HFn qjDyJxKNrjbDoKM4Ruvv7Q9/N81DYtSzpOwWg2Qgs+O6J5Rn88lIX6ua0H/oHSxwkTm3 RfmEPCrMzjo5FXmNfeZzuhr1fPmAbFoGjqUJAedkEQiarKhd+XFmC4h9NC2hTs5dY/Bf oPlk7aoRRL22dIuQG1q7p9hlbIr6W1otSgG1fWcGQjd33fqlp6magzMkBLv8H5Kiq8Fc fiECd2vgGP5wMGd/dPdAQ5ddcf5oZ/TFbPXc+2wtchqV0z+tk7o1qheQZpl8B8iueFq4 PhLg== X-Gm-Message-State: AMke39nW5vHe/g8D1K1rP77FP+R5dSRbdvtwNrSQmJ1/zkjp3nJVKc+8w/c2D5Y1l2CW8TI1thZWrN0OHhVzgw== X-Received: by 10.31.165.82 with SMTP id o79mr11223725vke.95.1487634641619; Mon, 20 Feb 2017 15:50:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.159.48.201 with HTTP; Mon, 20 Feb 2017 15:50:40 -0800 (PST) From: Andreas Nilsson Date: Tue, 21 Feb 2017 00:50:40 +0100 Message-ID: Subject: Intel Dual Band Wireless AC 8260 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: Mon, 20 Feb 2017 23:50:43 -0000 Hello, I have a laptop with an Intel Dual Band Wireless AC 8260 card ( iwm0@pci0:4:0:0: class=0x028000 card=0x11308086 chip=0x24f38086 rev=0x3a hdr=0x00 ) in my thinkpad x1 yoga. I'm running 12-CURRENT, and wireless is sort of working, although very slowly: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11a where I would expect more. My old trusted access point is a wndr3700 which supports 11n ( worked fine with my macbook, regularly got 20Mb/s. I bought a new access point to get that 11ac goodness, but I can barley get my new laptop to find the anything on the 5GHz band. So my questions: -Does FreeBSD actually support 11ac yet? -Shouldn't my ac8260 support 11n as well? -Should I get different scan results depending on if have my old or new ap connected? -How come my t510 thinkpad (different os btw) can see my 5GHz net on my new ap but my yoga does not? Best regards Andreas From owner-freebsd-net@freebsd.org Mon Feb 20 23:57:19 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 87560CE5473 for ; Mon, 20 Feb 2017 23:57:19 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: from mail-ot0-x235.google.com (mail-ot0-x235.google.com [IPv6:2607:f8b0:4003:c0f::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 627ACA94 for ; Mon, 20 Feb 2017 23:57:19 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: by mail-ot0-x235.google.com with SMTP id 32so78770373oth.3 for ; Mon, 20 Feb 2017 15:57:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kev009.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=rTLL10hyl5ksNLSGa7AZtJUOmEppzbgQO5vFY9LO4A4=; b=j0I8W5mNG29+ZkN91DqJlj6q1CkqJFJU8pFZiljbA5z8fPsm2IGbaPuLqz0jDzdCZD ezvgY9vpkRQJ+H0ZavtjgBcn4mIf0/jye4vl+HtgbWf97WP0G0EFSI81/d+htFhI2w2f bBmEjXKBAT0K5JLdlDPqjkz8jAttrf/ILOAM8= 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=rTLL10hyl5ksNLSGa7AZtJUOmEppzbgQO5vFY9LO4A4=; b=c1/7CwkMFldXHORwiLwrg6En7rLMuNRws6gkGgWayK8dVCDGzgYvUh9UJ0gzrt4WzZ r+R0Nl1aHHPj/n7xvrCpiBdS1VgMV1sMpGO7UAscVKprpKaeCze2nfkqtQAtY3hQg+JH LFzmQb0YFaBlxXqC7veDg3QhBXmzY5SLhr6K68I8i+q7EHQ9MUQxvEPNI9PrXunl3OAd i6mI5bKbmdzdXIQsHmzwWtLbUR14bCAxGIcifzopM3KTPAaZVZF4Dh1m/x1U/b4Zds1l Mocvep/9mvKR3OlEMdX9oYjEYRZ/vDELtjaJKtad12llp3euO5tnowxO7t/WNbZBuRyA YeJQ== X-Gm-Message-State: AMke39nVqGcMIeKrB+NGJn+aohCkwfMLhQWM3XXv6YL+j7z8WLAHhLuuhDJ1qnmwvJkR3pmc4p32ocyhxAF1yQ== X-Received: by 10.157.39.9 with SMTP id r9mr7654731ota.59.1487635038620; Mon, 20 Feb 2017 15:57:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.23.208 with HTTP; Mon, 20 Feb 2017 15:57:18 -0800 (PST) In-Reply-To: References: From: Kevin Bowling Date: Mon, 20 Feb 2017 16:57:18 -0700 Message-ID: Subject: Re: Intel Dual Band Wireless AC 8260 To: Andreas Nilsson 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: Mon, 20 Feb 2017 23:57:19 -0000 It used to work pretty well, but HEAD regressed heavily. My card crashes 8260 non-stop. I'm trying to resync everything to DFBSD, I will post a review if successful. On Mon, Feb 20, 2017 at 4:50 PM, Andreas Nilsson wrote: > Hello, > > I have a laptop with an Intel Dual Band Wireless AC 8260 card ( > iwm0@pci0:4:0:0: > class=0x028000 card=0x11308086 chip=0x24f38086 rev=0x3a hdr=0x00 ) > in my thinkpad x1 yoga. > > I'm running 12-CURRENT, and wireless is sort of working, although very > slowly: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11a where I would > expect more. My old trusted access point is a wndr3700 which supports 11n ( > worked fine with my macbook, regularly got 20Mb/s. > > I bought a new access point to get that 11ac goodness, but I can barley get > my new laptop to find the anything on the 5GHz band. > > So my questions: > -Does FreeBSD actually support 11ac yet? > -Shouldn't my ac8260 support 11n as well? > -Should I get different scan results depending on if have my old or new ap > connected? > -How come my t510 thinkpad (different os btw) can see my 5GHz net on my new > ap but my yoga does not? > > Best regards > Andreas > _______________________________________________ > 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 Mon Feb 20 23:58: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 BDCCFCE5644 for ; Mon, 20 Feb 2017 23:58:45 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wr0-x22f.google.com (mail-wr0-x22f.google.com [IPv6:2a00:1450:400c:c0c::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 5604EDB2 for ; Mon, 20 Feb 2017 23:58:45 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wr0-x22f.google.com with SMTP id 89so68305260wrr.3 for ; Mon, 20 Feb 2017 15:58:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=6+LTpkmlDsxNxZrSL7JqZnxMDsXXDCyWEeBP/QWlMzc=; b=Y0D1x04+ieAnuqtPAezAIybvAD1aSJJFdoI3UcgPcC5opmo9ey5qBNj/4lj1Riz21D RUYV78mHDZOINt3IDUTrTN2Pwe8r1xd3J6aY0LbBR1zyidHW5S3eFZg4NmNf59UN6W2Z GAGysdM1s1oBs2IPoIhQZaJW7hzWPCiuNV35BgqR0WFKvCSX2a/8YVi40M9l1IWfKHsi 0e7/wfo13ymbuT8vgGUvs2nfuhexWaTHuqq9Lh1QDj/vWdYcdOwSBysvIDne6S8l3I8f A8R7YgmQY6MsXcxrv6lPMbRLfrJ9i88rLMnVmm3eMsE6pGj46tF4XzoBReAcs4aYg7FT eMmg== 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=6+LTpkmlDsxNxZrSL7JqZnxMDsXXDCyWEeBP/QWlMzc=; b=eSm0P8PJ9XKp9TAXhFacf5djOIcmeewO8WZKhKmRbjDs3IDeJQWpnm9W54AlMOo33o 8YY9qr29VgTbf6d3MOP/Gv3yr+9v74rCfiyib0GjZw1TXcwQycdNt5mNNkEMtnppFsVx 7sg+OhC9GO8vcm4tFdkCOLXnQImEm+i8lcRSSsDLW+KW4MlMFAOmS7i12dEHZ/u1dU/g vehbF2EduQ3ZC4brO3JIxOFkYDcyhueSksDvS1JOflfZQBeRQ5mDGkmA3BVD5QXGNh6L fobdZEtvm3gX9N8rakVM6UryuKIi0YXCn5yCDhmVLAif7RK+3QKTplNS6DuJBZOYEvwT atcA== X-Gm-Message-State: AMke39kvlWXvQPZRVOgwk8nwoG85zgcxDPjI7tR8huK5oAkxuwIT0KikGwwfW+223hX+61GEsZZWDvGTRL6Q7w== X-Received: by 10.223.165.17 with SMTP id i17mr19915498wrb.62.1487635123842; Mon, 20 Feb 2017 15:58:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.128.135 with HTTP; Mon, 20 Feb 2017 15:58:43 -0800 (PST) In-Reply-To: References: From: Adrian Chadd Date: Mon, 20 Feb 2017 15:58:43 -0800 Message-ID: Subject: Re: Intel Dual Band Wireless AC 8260 To: Andreas Nilsson 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: Mon, 20 Feb 2017 23:58:45 -0000 Hiya, On 20 February 2017 at 15:50, Andreas Nilsson wrote: > Hello, > > I have a laptop with an Intel Dual Band Wireless AC 8260 card ( > iwm0@pci0:4:0:0: > class=0x028000 card=0x11308086 chip=0x24f38086 rev=0x3a hdr=0x00 ) > in my thinkpad x1 yoga. > > I'm running 12-CURRENT, and wireless is sort of working, although very > slowly: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11a where I would > expect more. My old trusted access point is a wndr3700 which supports 11n ( > worked fine with my macbook, regularly got 20Mb/s. The 7260 and later chipset driver (iwm) doesn't yet support 11n or 11ac, sorry! > > I bought a new access point to get that 11ac goodness, but I can barley get > my new laptop to find the anything on the 5GHz band. > > So my questions: > -Does FreeBSD actually support 11ac yet? I'm working on it. I have it working in my ath10k driver port, but there aren't any drivers with 11ac support in -head. > -Shouldn't my ac8260 support 11n as well? Yes, but not yet. > -Should I get different scan results depending on if have my old or new ap > connected? Nope, but scanning isn't always going to return the same results. > -How come my t510 thinkpad (different os btw) can see my 5GHz net on my new > ap but my yoga does not? Try "ifconfig -v wlan0 list channel" and let's see what's going on. Which channel is the 5GHz net on with the new AP? Thanks, -adrian From owner-freebsd-net@freebsd.org Mon Feb 20 23:59: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 78139CE56EC for ; Mon, 20 Feb 2017 23:59:15 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0F6F1E78 for ; Mon, 20 Feb 2017 23:59:15 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wm0-x236.google.com with SMTP id c85so94618311wmi.1 for ; Mon, 20 Feb 2017 15:59:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=nK1rQw5pt2E32BvKIFSXq3PnVOUSt3LPJY15u5j1N2s=; b=FQX4U8woNE/hMSMZfp5cxg7roTZuRH+v/MirS5UeZtXSI63DLAXci5BspTrFeW+2lp 3fvFFeHmoz6/JxMbHbQqLq5gKyiXO4U0c1v1myZ4tBTT6ULhf3caAejMlxmJEzOrDLKa otLKeSMacsMPsra6YZNWYpIduAZjCOsseRfLu5LkghcZhYFWx3tNxOx8nq7TCTVzMwsp PEbTgoSa7wxSp1g1/bYbbgHL+uUUT785rbTfGv5Vofz/0VkUEsZ9/dwWu1ENxow1ExGf 1uHq/ob7PJ0NCYf6RSmRN7CR6XP8TpanmlWGDg0D7X5YYmeoXyj4EhJJnU3AEJ+pH3tY WkTQ== 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=nK1rQw5pt2E32BvKIFSXq3PnVOUSt3LPJY15u5j1N2s=; b=bRHjNjYoqrY6n2dXz6J3eUvZyTzZWZip4NRprK7s6ixlW/gnyv1E1DerzTLFv+QdIS iTtEh3A0ezEb5pqEyVKuDqmZUUXpd4snNB/ygxJJ50J8WqIvuoQSMeLV02EC5reeJHdA 7XnylsR9t51wqcRKw8Of4dwGT6C8++xD97IoWFfOYFY+9oTIn3ONDk8PgbrLlPeY3i+7 7sfHXpAYHi0oHERk4Sr+EqVDm6xAgaJi/DvzyVp8E/oFEum/hffejNWPl6EX2banTWkM ZZAbk+LrwuT5PLBif+1kePCX+CDyFjIqv1aETTqrsp2rtsSW5sFxI/EBNy94hewMxpSe xbUQ== X-Gm-Message-State: AMke39nFg1fFQggnhg4BQMyjegSZ6CswtAe/ednQPhGOZGooUfxfrUTt1X/pRq9vNWvOaUpF+yfdDRt4GqWc5A== X-Received: by 10.28.218.4 with SMTP id r4mr21563063wmg.105.1487635153382; Mon, 20 Feb 2017 15:59:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.128.135 with HTTP; Mon, 20 Feb 2017 15:59:12 -0800 (PST) In-Reply-To: References: From: Adrian Chadd Date: Mon, 20 Feb 2017 15:59:12 -0800 Message-ID: Subject: Re: Intel Dual Band Wireless AC 8260 To: Kevin Bowling Cc: Andreas Nilsson , 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: Mon, 20 Feb 2017 23:59:15 -0000 Yeah I know :( I'm still trying to find spare cycles to keep moving the driver forward to the latest dfbsd code. At least we know which commit broke it.. -a On 20 February 2017 at 15:57, Kevin Bowling wrote: > It used to work pretty well, but HEAD regressed heavily. My card crashes > 8260 non-stop. > > I'm trying to resync everything to DFBSD, I will post a review if > successful. > > On Mon, Feb 20, 2017 at 4:50 PM, Andreas Nilsson wrote: > >> Hello, >> >> I have a laptop with an Intel Dual Band Wireless AC 8260 card ( >> iwm0@pci0:4:0:0: >> class=0x028000 card=0x11308086 chip=0x24f38086 rev=0x3a hdr=0x00 ) >> in my thinkpad x1 yoga. >> >> I'm running 12-CURRENT, and wireless is sort of working, although very >> slowly: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11a where I would >> expect more. My old trusted access point is a wndr3700 which supports 11n ( >> worked fine with my macbook, regularly got 20Mb/s. >> >> I bought a new access point to get that 11ac goodness, but I can barley get >> my new laptop to find the anything on the 5GHz band. >> >> So my questions: >> -Does FreeBSD actually support 11ac yet? >> -Shouldn't my ac8260 support 11n as well? >> -Should I get different scan results depending on if have my old or new ap >> connected? >> -How come my t510 thinkpad (different os btw) can see my 5GHz net on my new >> ap but my yoga does not? >> >> Best regards >> Andreas >> _______________________________________________ >> 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" >> > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Tue Feb 21 00:26:38 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 36A50CE62F1 for ; Tue, 21 Feb 2017 00:26:38 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-vk0-x235.google.com (mail-vk0-x235.google.com [IPv6:2607:f8b0:400c: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 E41B9CD for ; Tue, 21 Feb 2017 00:26:37 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: by mail-vk0-x235.google.com with SMTP id k127so70846747vke.0 for ; Mon, 20 Feb 2017 16:26:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=SPPnA6A4eXxew61atCc5EQCUGCjaT08pqBj6PZMTIzo=; b=iH8/AOBPt6mt92xEIAeqOxtg4IcSKQjuAabIFrd/dSuGQyAJ+YOHN/rMNsjhlLpq9L FzR3E1N8cks5fvhIBe46JsutPcmwP5+yNdYxkWy1SCqjJJ0+Cy6Z52k28iEAZMWJtst8 +mmgeEperMZrFDK4d5K3FttMrYiLaUACsFFd4R5rQmSXLtszaAMiRMnU1WQJLCgPqbJ7 D0aIkbazRAnjpZv6vNdcAt3J2fM1dJWFhHmN03hOPtfv3Zr9psOLEP5fhNZs7SSNyOJz GgXYlAO95biuDu+WSqFt0zNl7bE/ff/+kvXSWMRkTJukFhKV1dgDCILZVMHIaB975ZES VrVA== 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=SPPnA6A4eXxew61atCc5EQCUGCjaT08pqBj6PZMTIzo=; b=EEJBMO8TwpVRNvqgbtYzv6VB+DTX3Rk8fwi94WuPiAfMqWYvvzScs1qjokYLU9fV03 h6pIsm3UW4v1BtNuxk0JBaLj3rdRL2lSo5GEaNAvIkm8VftD1BgSHb+C7xVfia+y8tfb nM6Oy1jwd+8pIjdYmS9ZbppV6cwMTarhLWp9gFoknJcN/hZpz6xHnRXFHMkKukO9QeNd nFvEZAvNr+UPyFPo0sp1reeR7LjYhnogAJdgdDRC3F2JpyNU0nkcvDdID5pZd5P5Vdc4 Kc07+KShZpzJGxtB9utZm5LP1tXy3VOuSO7iC6MZ9fmhvliPDufEtoihuTscIyCApT9U 6YoQ== X-Gm-Message-State: AMke39n4fvE2Mfmhj8cnzNz1BCqHr2ZEitn8ueURQsyRuNvNhMBARsydDOMRyszuDB3wgmdDB+DBy6TL3sxK7Q== X-Received: by 10.31.165.82 with SMTP id o79mr11283980vke.95.1487636796901; Mon, 20 Feb 2017 16:26:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.159.48.201 with HTTP; Mon, 20 Feb 2017 16:26:36 -0800 (PST) In-Reply-To: References: From: Andreas Nilsson Date: Tue, 21 Feb 2017 01:26:36 +0100 Message-ID: Subject: Re: Intel Dual Band Wireless AC 8260 To: Adrian Chadd Cc: FreeBSD Net Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2017 00:26:38 -0000 On Tue, Feb 21, 2017 at 12:58 AM, Adrian Chadd wrote: > Hiya, > > > On 20 February 2017 at 15:50, Andreas Nilsson wrote: > > Hello, > > > > I have a laptop with an Intel Dual Band Wireless AC 8260 card ( > > iwm0@pci0:4:0:0: > > class=0x028000 card=0x11308086 chip=0x24f38086 rev=0x3a hdr=0x00 ) > > in my thinkpad x1 yoga. > > > > I'm running 12-CURRENT, and wireless is sort of working, although very > > slowly: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11a where I would > > expect more. My old trusted access point is a wndr3700 which supports > 11n ( > > worked fine with my macbook, regularly got 20Mb/s. > > The 7260 and later chipset driver (iwm) doesn't yet support 11n or 11ac, > sorry! > > Well, at least then I know, thanks! > > > > I bought a new access point to get that 11ac goodness, but I can barley > get > > my new laptop to find the anything on the 5GHz band. > > > > So my questions: > > -Does FreeBSD actually support 11ac yet? > > I'm working on it. I have it working in my ath10k driver port, but > there aren't any drivers with 11ac support in -head. > Ok, I see. One reason to browse the commit logs then :) > > > -Shouldn't my ac8260 support 11n as well? > > Yes, but not yet. > > > -Should I get different scan results depending on if have my old or new > ap > > connected? > > Nope, but scanning isn't always going to return the same results. > > > -How come my t510 thinkpad (different os btw) can see my 5GHz net on my > new > > ap but my yoga does not? > > Try "ifconfig -v wlan0 list channel" and let's see what's going on. > Which channel is the 5GHz net on with the new AP? > Channel 1 : 2412 MHz 11b Channel 9 : 2452 MHz 11b Channel 1 : 2412 MHz 11g Channel 9 : 2452 MHz 11g Channel 2 : 2417 MHz 11b Channel 10 : 2457 MHz 11b Channel 2 : 2417 MHz 11g Channel 10 : 2457 MHz 11g Channel 3 : 2422 MHz 11b Channel 11 : 2462 MHz 11b Channel 3 : 2422 MHz 11g Channel 11 : 2462 MHz 11g Channel 4 : 2427 MHz 11b Channel 36 : 5180 MHz 11a Channel 4 : 2427 MHz 11g Channel 40 : 5200 MHz 11a Channel 5 : 2432 MHz 11b Channel 44 : 5220 MHz 11a Channel 5 : 2432 MHz 11g Channel 48 : 5240 MHz 11a Channel 6 : 2437 MHz 11b Channel 149 : 5745 MHz 11a Channel 6 : 2437 MHz 11g Channel 153 : 5765 MHz 11a Channel 7 : 2442 MHz 11b Channel 157 : 5785 MHz 11a Channel 7 : 2442 MHz 11g Channel 161 : 5805 MHz 11a Channel 8 : 2447 MHz 11b Channel 165 : 5825* MHz 11a Channel 8 : 2447 MHz 11g I had it set to channel 116, but the list only went to 140. > Thanks, > > > > -adrian > Thanks for your clear answer and your work on this area! Best regards Andreas From owner-freebsd-net@freebsd.org Tue Feb 21 02:47: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 857BBCE7C1D for ; Tue, 21 Feb 2017 02:47: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 74F861386 for ; Tue, 21 Feb 2017 02:47: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 v1L2lC7w033959 for ; Tue, 21 Feb 2017 02:47:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213257] Crash in IGB driver with ALTQ Date: Tue, 21 Feb 2017 02:47:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-STABLE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ken@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable9? mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2017 02:47:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213257 --- Comment #19 from Kenneth D. Merry --- (In reply to freebsd from comment #18) It's having IGB_LEGACY_TX turned on that makes it panic. That also makes it use one queue. I'm guessing igb(4) may also work with ALTQ with IGB_LEGACY= _TX disabled, and hw.igb.num_queues=3D1 set, but that's not something I need on= this particular box. I've got em(4) on the external interface, and igb(4) on the internal interfaces. I'm only using ALTQ for the external interface. I could reconfigure it and try that out, but I'd rather not take the box do= wn if I can help it. :) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Feb 21 08:58:56 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2D551CE73D0 for ; Tue, 21 Feb 2017 08:58:56 +0000 (UTC) (envelope-from julien.charbon@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 10765C25 for ; Tue, 21 Feb 2017 08:58:56 +0000 (UTC) (envelope-from julien.charbon@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 0F63CCE73CF; Tue, 21 Feb 2017 08:58:56 +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 0F0B6CE73CE for ; Tue, 21 Feb 2017 08:58:56 +0000 (UTC) (envelope-from julien.charbon@gmail.com) Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) (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 A6481C24; Tue, 21 Feb 2017 08:58:55 +0000 (UTC) (envelope-from julien.charbon@gmail.com) Received: by mail-wm0-f67.google.com with SMTP id c85so18458328wmi.1; Tue, 21 Feb 2017 00:58:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:cc:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=Vmt6iU63eioAq2+rNWP0/XCyyMvUlitR08eYBIB4OdI=; b=jEAyV6WF3g2Z3u4uemoG6NfkF0fVeGk+EpMd5Qc3nCvozGfnTa8RDjdW6vjHRqA7Fj jt1d0pP5Ry3VfIEYznqCQLnXY5MTrI0xSwg4Ucl1JbDtRA5tNZ5wNTVvumhJ9dYoa8HZ FEw7ceZ1VHS8WsRnTecmtzZxj6boQXHd2Lt/muZZt0VsusjeNR4qdCq/X4xWw1/dmWby X/FhMj2GBpefEi6Dpbsf27/Jy6qLMDVLXQGUX7OZZp0btJKDkk6Y97xz+yt/Jf3k2MzJ jImUpGZmhNou3CXXEZJtdBbn1JWeZZmPPoKBNrmH3ZynZFHBq+k17Md5e2FZikk7MHVx 3DPA== X-Gm-Message-State: AMke39kwcIF6Xw95Iv0K4O42qpipjrG39KXoc77dVkHMdmXlK+SaQvn3QDhqsieDKewnIA== X-Received: by 10.28.30.79 with SMTP id e76mr23113319wme.96.1487667527403; Tue, 21 Feb 2017 00:58:47 -0800 (PST) Received: from [10.100.64.14] ([217.30.88.7]) by smtp.gmail.com with ESMTPSA id d75sm12560420wmd.25.2017.02.21.00.58.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Feb 2017 00:58:46 -0800 (PST) From: Julien Charbon Subject: Re: listening sockets as non sockets To: Gleb Smirnoff , hiren@FreeBSD.org, Jason Eggleston References: <20170127005251.GM2611@FreeBSD.org> <20170210063024.GE1973@FreeBSD.org> <20170216184903.GF58829@FreeBSD.org> Cc: rrs@FreeBSD.org, jtl@FreeBSD.org, net@FreeBSD.org Message-ID: <0858647a-ec3c-1a78-053f-d04397a82d8a@freebsd.org> Date: Tue, 21 Feb 2017 09:58:45 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <20170216184903.GF58829@FreeBSD.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2017 08:58:56 -0000 Hi Gleb, On 2/16/17 7:49 PM, Gleb Smirnoff wrote: > On Thu, Feb 09, 2017 at 10:30:24PM -0800, Gleb Smirnoff wrote: > T> Two important updates. > T> > T> 1) The patch worked pretty okay, but the idea of separate file type is > T> abandoned. With current filedescriptor code it is almost impossible > T> to racelessly switch fileops and f_data. > T> For more details read the commit message, URL below. > T> > T> 2) I moved the work to git. It allows for easier code sharing. > T> > T> https://github.com/glebius/FreeBSD/commit/3a52df429889ea9c6e61013f6913aad95939f159 > > The current 'solisten' branch at https://github.com/glebius/FreeBSD has > been running successfully for 48 hours at Netflix. But as mentioned before, > our connection rate is pretty low. > > So, testing from Julien and Hiren will be much appreciated. Sound good, I will have spare time to get performance results on our side w/ and w/o your change before the end of this week. Thanks. -- Julien From owner-freebsd-net@freebsd.org Tue Feb 21 09:30: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 EF68FCE6317 for ; Tue, 21 Feb 2017 09:30: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 DE699338 for ; Tue, 21 Feb 2017 09:30: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 v1L9U0om081399 for ; Tue, 21 Feb 2017 09:30:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204340] [panic] nfsd, em, msix, fatal trap 9 Date: Tue, 21 Feb 2017 09:30:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, crash, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rmacklem@FreeBSD.org X-Bugzilla-Flags: mfc-stable9- mfc-stable10+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 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, 21 Feb 2017 09:30:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204340 --- Comment #28 from commit-hook@freebsd.org --- A commit references this bug: Author: avg Date: Tue Feb 21 09:29:11 UTC 2017 New revision: 314033 URL: https://svnweb.freebsd.org/changeset/base/314033 Log: MFC r313735: add svcpool_close to handle killed nfsd threads PR: 204340 Reported by: Panzura Approved by: rmacklem Obtained from: rmacklem Changes: _U stable/11/ stable/11/sys/fs/nfsserver/nfs_nfsdkrpc.c stable/11/sys/rpc/svc.c stable/11/sys/rpc/svc.h --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Feb 21 09:30: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 C575ACE6339 for ; Tue, 21 Feb 2017 09:30: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 A6A1937B for ; Tue, 21 Feb 2017 09:30: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 v1L9U37D081425 for ; Tue, 21 Feb 2017 09:30:03 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204340] [panic] nfsd, em, msix, fatal trap 9 Date: Tue, 21 Feb 2017 09:30:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, crash, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rmacklem@FreeBSD.org X-Bugzilla-Flags: mfc-stable9- mfc-stable10+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 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, 21 Feb 2017 09:30:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204340 --- Comment #29 from commit-hook@freebsd.org --- A commit references this bug: Author: avg Date: Tue Feb 21 09:29:47 UTC 2017 New revision: 314034 URL: https://svnweb.freebsd.org/changeset/base/314034 Log: MFC r313735: add svcpool_close to handle killed nfsd threads PR: 204340 Reported by: Panzura Reviewed by: rmacklem Approved by: rmacklem Changes: _U stable/10/ stable/10/sys/fs/nfsserver/nfs_nfsdkrpc.c stable/10/sys/rpc/svc.c stable/10/sys/rpc/svc.h --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Feb 21 09:36:06 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 41F00CE6776 for ; Tue, 21 Feb 2017 09:36:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 31593DD1 for ; Tue, 21 Feb 2017 09:36:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1L9a5uF097432 for ; Tue, 21 Feb 2017 09:36:06 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204340] [panic] nfsd, em, msix, fatal trap 9 Date: Tue, 21 Feb 2017 09:36:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, crash, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rmacklem@FreeBSD.org X-Bugzilla-Flags: mfc-stable9- mfc-stable10+ 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: Tue, 21 Feb 2017 09:36:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204340 Andriy Gapon changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |FIXED --- Comment #30 from Andriy Gapon --- Rick, thank you again! --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Feb 21 11:05: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 7A30FCE8990 for ; Tue, 21 Feb 2017 11:05:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 617EB37E for ; Tue, 21 Feb 2017 11:05:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1LB5OFb033333 for ; Tue, 21 Feb 2017 11:05:24 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204326] [patch] sys/dev/oce bugged promiscuous mode Date: Tue, 21 Feb 2017 11:05:24 +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-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sergey@akhmatov.ru 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: version 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, 21 Feb 2017 11:05:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204326 sergey@akhmatov.ru changed: What |Removed |Added ---------------------------------------------------------------------------- Version|10.2-STABLE |11.0-STABLE --- Comment #1 from sergey@akhmatov.ru --- Anyone? More than a year have passed, the bug is still there. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Feb 21 16:18: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 56DD1CE8578 for ; Tue, 21 Feb 2017 16:18: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 4626E160E for ; Tue, 21 Feb 2017 16:18: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 v1LGIGY6030957 for ; Tue, 21 Feb 2017 16:18:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213257] Crash in IGB driver with ALTQ Date: Tue, 21 Feb 2017 16:18:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-STABLE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@mcwest.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable9? mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2017 16:18:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213257 --- Comment #20 from freebsd@mcwest.org --- (In reply to Kenneth D. Merry from comment #19) I hear you about the downtime. My gateway router only has igb(4) interface= s, so I must use ALTQ on the external one. Although I don't need ALTQ on the internal interface, choking it with ALTQ keeps the system stable even with IGB_LEGACY_TX turned on. My original goal when reporting bug #208409 was to resolve the discrepancy between the documented list of interfaces that support ALTQ and the actual = OS behavior which reports ALTQ is not supported on igb(4) in the default configuration. Since ALTQ does work with igb(4) as the documentation state= s, I suggest we expose an additional kernel config option that will allow it to = be enabled separately from ALTQ as a whole, and eliminating the need to modify= the kernel source code. Along with a small note in the man page for altq(4), t= his would resolve the original problem. For example, an option like this: options ALTQ_IGB # Enable ALTQ on igb devices Unlike exposing IGB_LEGACY_TX, this would be implementation-neutral, and eliminate any future confusion over its intent. And when the bugs in the i= gb driver are fixed, it could be easily removed again. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Feb 21 19:53: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 25DDCCE87C4; Tue, 21 Feb 2017 19:53:31 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (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 04AA5E44; Tue, 21 Feb 2017 19:53:30 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id D944E5A9F12; Tue, 21 Feb 2017 19:53:29 +0000 (UTC) Date: Tue, 21 Feb 2017 19:53:29 +0000 From: Brooks Davis To: Hartmut.Brandt@dlr.de Cc: freebsd-stable@freebsd.org, freebsd-net@freebsd.org Subject: Re: Calling ATM NIC users: en(4), fatm(4), hatm(4), patm(4) Message-ID: <20170221195329.GB35893@spindle.one-eyed-alien.net> References: <20170218013250.GA72688@spindle.one-eyed-alien.net> <611243783F62AF48AFB07BC25FA4B1061CEEA14D@DLREXMBX01.intra.dlr.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zx4FCpZtqtKETZ7O" Content-Disposition: inline In-Reply-To: <611243783F62AF48AFB07BC25FA4B1061CEEA14D@DLREXMBX01.intra.dlr.de> User-Agent: Mutt/1.7.2 (2016-11-26) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2017 19:53:31 -0000 --zx4FCpZtqtKETZ7O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Thanks, I've forwarded a copy to the list, but given that there were zero non-spam messages in 2016, only three legitimate messages (that no one answered) in 2015, and zero in 2014, 2013, and 2012, I think it's safe to say there are no users. -- Brooks On Sun, Feb 19, 2017 at 12:38:21PM +0000, Hartmut.Brandt@dlr.de wrote: > Hi, >=20 > there is a freebsd-atm mailing list (at least there used to be). Should h= ave been sent there too. >=20 > On the topic: I'd say: remove it. As the one who wrote/refactored much of= that stuff I get approximately one support request per year. The problem i= s, that I can't really help, since while I have all of that equipment still= available, I don't have any time to do anything with it. So the entire ATM= stack is basically unsupported. >=20 > harti@ >=20 > -----Original Message----- > From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd-net@freebsd.org= ] On Behalf Of Brooks Davis > Sent: Saturday, February 18, 2017 2:33 AM > To: freebsd-stable@freebsd.org; freebsd-net@freebsd.org > Subject: Calling ATM NIC users: en(4), fatm(4), hatm(4), patm(4) >=20 > Our current ATM stack supports a small number of NICs that were current i= n the late 90s[0]. None of them have been manufactured in a long time and = while you can buy hatm(4) devices on e-bay, it's increasingly difficult to = find a motherboard that will accept them. >=20 > I'd like to propose removing support for these NICs along with the remain= ing ATM stack in FreeBSD 12. This will give any existing users a supported= OS until at least September 30, 2021 per our published EOL date for FreeBS= D 11. >=20 > Would removal on this schedule cause you realistic hardship? If so, plea= se let us know. >=20 > -- Brooks >=20 > [0] 1997 press release for the most advanced ATM NIC we support http://ww= w.prnewswire.com/news-releases/fore-systems-introduces-industrys-most-advan= ced-atm-adapter-for-enterprise-networking-77407267.html >=20 --zx4FCpZtqtKETZ7O Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJYrJq4AAoJEKzQXbSebgfA+jkH/1vAvw3MqKO3xD0Yb63d8a92 omFLC76k6TPheMpAvTna9FUKUg4XcGbX/vzJetsS9vMOC534Xp4iR5lg9gWvVwJ+ 9srytGXdKdm/dX0QLxP+bjGU6p+/aGfo7VHB/k92tCu5lSxSkkYxhRgfYNK43+wt BfJ2SBevfgpva4KH5XMlqEXUksrlxJksx3L0ULsKwfmEYzHdpV4GI1kNZzcwh54h yEMSgTCa4DwUb+ya225PKwqxZyW0m0LN50pi0sPU1Oq4ekxXYJF7HUCuBfp93ySB aL8ZU78MA4dMROZAcBzy6MFp0fjecSiL8WdZ+8Ic/obuNd4tQCIPQxa84gLaF0s= =Hp/n -----END PGP SIGNATURE----- --zx4FCpZtqtKETZ7O-- From owner-freebsd-net@freebsd.org Tue Feb 21 20:01: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 E85A4CE8C33 for ; Tue, 21 Feb 2017 20:01: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 D7BA11576 for ; Tue, 21 Feb 2017 20:01: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 v1LK1hOb008954 for ; Tue, 21 Feb 2017 20:01:45 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213257] Crash in IGB driver with ALTQ Date: Tue, 21 Feb 2017 20:01: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: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@mcwest.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable9? mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2017 20:01:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213257 --- Comment #21 from freebsd@mcwest.org --- Created attachment 180203 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D180203&action= =3Dedit Add ALTQ_IGB kernel config option A minimal patch to separate enabling ALTQ on igb(4) from ALTQ globally. Th= is patch is a workaround for bugs in the igb(4) driver that result in system crashes when IGB_LEGACY_TX is set, as ALTQ on igb(4) requires IGB_LEGACY_TX= .=20 This allows easy configuration of ALTQ on systems containing igb(4) interfa= ces, but which don't actually need to run ALTQ on igb(4). --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Feb 21 20:13:28 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 20464CE8FA8 for ; Tue, 21 Feb 2017 20:13:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0FC8A1CF1 for ; Tue, 21 Feb 2017 20:13:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1LKDRGK037190 for ; Tue, 21 Feb 2017 20:13:27 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213257] Crash in IGB driver with ALTQ Date: Tue, 21 Feb 2017 20:13:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-STABLE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ncrogers@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable9? mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2017 20:13:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213257 --- Comment #22 from ncrogers@gmail.com --- (In reply to freebsd from comment #21) This makes sense to me, although there is also the same problem for ixgbe(4= ) + ALTQ, where the IXGBE_LEGACY_TX path is necessary, so it would be nice to h= ave an ALTQ_IXGBE tunable as well. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Feb 21 21:11:38 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 00A87CE830A for ; Tue, 21 Feb 2017 21:11:38 +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 E41D9116 for ; Tue, 21 Feb 2017 21:11: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 v1LLBaXw090618 for ; Tue, 21 Feb 2017 21:11:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213257] Crash in IGB driver with ALTQ Date: Tue, 21 Feb 2017 21:11:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-STABLE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@mcwest.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable9? mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2017 21:11:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213257 --- Comment #23 from freebsd@mcwest.org --- Comment on attachment 180203 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D180203 Add ALTQ_IGB kernel config option Oops, I forgot to update the man page for altq(4). Here's the patch for th= at: Index: share/man/man4/altq.4 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- share/man/man4/altq.4 (revision 314050) +++ share/man/man4/altq.4 (working copy) @@ -103,6 +103,8 @@ Build the .Dq "Fair Queuing" discipline. +.It Dv ALTQ_IGB +Enable ALTQ on igb(4) devices .It Dv ALTQ_NOPCC Required if the TSC is unusable. .It Dv ALTQ_DEBUG --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Feb 21 21:14: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 8AF3FCE842C for ; Tue, 21 Feb 2017 21:14: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 7A7E0669 for ; Tue, 21 Feb 2017 21:14: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 v1LLE6L1098164 for ; Tue, 21 Feb 2017 21:14:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 204340] [panic] nfsd, em, msix, fatal trap 9 Date: Tue, 21 Feb 2017 21:14:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: IntelNetworking, crash, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rmacklem@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rmacklem@FreeBSD.org X-Bugzilla-Flags: mfc-stable9- mfc-stable10+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 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, 21 Feb 2017 21:14:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204340 --- Comment #31 from Rick Macklem --- And thanks go to you for doing the testing and commits. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Feb 21 21:17: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 29EF6CE8584 for ; Tue, 21 Feb 2017 21:17:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 19811887 for ; Tue, 21 Feb 2017 21:17:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1LLH8GF003528 for ; Tue, 21 Feb 2017 21:17:08 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213257] Crash in IGB driver with ALTQ Date: Tue, 21 Feb 2017 21:17:08 +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: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@mcwest.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable9? mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2017 21:17:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213257 --- Comment #24 from freebsd@mcwest.org --- (In reply to ncrogers from comment #22) I don't have an ixgbe(4) interface, so I can't test any changes to that cod= e.=20 It should be easy to generate an analogous patch though, can you try it and submit what works on your system(s)? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Feb 21 22:50: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 33880CE8200 for ; Tue, 21 Feb 2017 22:50:34 +0000 (UTC) (envelope-from prabhakar.lakhera@gmail.com) Received: from mail-qk0-x22f.google.com (mail-qk0-x22f.google.com [IPv6:2607:f8b0:400d: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 EADA01D1C for ; Tue, 21 Feb 2017 22:50:33 +0000 (UTC) (envelope-from prabhakar.lakhera@gmail.com) Received: by mail-qk0-x22f.google.com with SMTP id n127so12386310qkf.0 for ; Tue, 21 Feb 2017 14:50:33 -0800 (PST) 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=LOSxwyrlieI0UjHGGIYsOql6oLDgVtz/yYkRHOQD+rY=; b=R1nGX2BukgbsYVtXSc8ODNKPeXQ6gmqZrtpbK8mReKR8KQv4Sid62hrVREuUNjEWlo Ga8CPZy06UVAc1Y9kD7WTu4XAPoYttkR2MgrcdvbinqqKf2eNj9FRgCOb+U2Mz4wAT7d A8bWTA+iEEXrHY0ETzx3696eI2+1RzTKdxqlDWXvD/pbir8PtQ1j734Prvwy8IlViqIK epbl2jaoH9PZ5pLqtSy1mJEqae2B18qAa0bHjo9x/06Nbyfh8fHUvEVWqb4Ol/1Sn0ax kT7KeXxaeq9Obg3IBoHZV0/l8Uzy0u4km+4o1HYqTJPKf1yXRAm1yd68ptir1dib3QGc cNYQ== 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=LOSxwyrlieI0UjHGGIYsOql6oLDgVtz/yYkRHOQD+rY=; b=T3J8t79UbIYu006ii9O4efag/05ZwBpDgvvktD4Mw3J0ADV9TZSB3LWWYSWPFaQrXS X20QxmbLJ5JH3qSEDp7y/iMf50b1oimud03KFcdVK0F+9xFJnx/PA0xNwC5Qimwg48NU rM+VeN8OY8X7jxxCHo5rB5ox7oTre22yRkPmO555xImaScGPF7PRNGyNDvjKJkDBwi/e zyZzXf41t8IvGZKA/69TMQgeuveeHNJFHGsXRDYl8WjpupcLAZHywuoC7/bc9qXPmptd 8pR6se5D++0FSj8Q6I7E4Q4diXfCOxKy92PF3iVAxGrpsAtY1IvgfqsRWV5dJKkSrcxD KBqQ== X-Gm-Message-State: AMke39lPNVhQ9ejMr7xaK9xpZrLjdw5Iu5yPlgfBzg0bImydCDhQ6FZTFYN0BBHI11i92Pd1NhT/htBbKt1ZqQ== X-Received: by 10.55.204.197 with SMTP id n66mr26832910qkl.291.1487717433016; Tue, 21 Feb 2017 14:50:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.83.37 with HTTP; Tue, 21 Feb 2017 14:50:32 -0800 (PST) From: prabhakar lakhera Date: Tue, 21 Feb 2017 14:50:32 -0800 Message-ID: Subject: Bug in ICMP redirect handling 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: Tue, 21 Feb 2017 22:50:34 -0000 This seems like a bug: https://svnweb.freebsd.org/base/head/sys/netinet/tcp_subr.c?r1=303457&r2=303456&pathrev=303457 I believe the ordering of if/else checks for cmd value is important as the last one checks for mapping of PRC* to an error. Given that the mapping is defined to be 0 for redirects (only cached routes are supposed to be invalidated), looks like right now we'll simply return from: else if ((unsigned)cmd >= PRC_NCMDS || *inetctlerrmap[cmd] == 0)* return; The above is I guess is only in the head and not in a major version yet. From owner-freebsd-net@freebsd.org Wed Feb 22 05:12: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 4ABE3CE932F for ; Wed, 22 Feb 2017 05:12:09 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mx1.freebsd.org (Postfix) with ESMTP id EFB071936 for ; Wed, 22 Feb 2017 05:12:08 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 24BED37188; Wed, 22 Feb 2017 05:12:08 +0000 (UTC) Date: Wed, 22 Feb 2017 05:12:08 +0000 To: freebsd-net@freebsd.org From: "jhujhiti_adjectivism.org (Erick Turnquist)" Reply-to: D9451+325+eaa6f8a0c0731bfe@reviews.freebsd.org Subject: [Differential] D9451: Constrain IPv6 interface routes to each FIB Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , Thread-Topic: D9451: Constrain IPv6 interface routes to each FIB X-Herald-Rules: <28>, <81> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: MzA4MmVhNjA3MDYxYjk1ZGE4NzFjZWJhMzgyIFitHag= MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_a475e4b4828ec690159525d61ab99c0a" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2017 05:12:09 -0000 --b1_a475e4b4828ec690159525d61ab99c0a Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: base64 amh1amhpdGlfYWRqZWN0aXZpc20ub3JnIHVwZGF0ZWQgdGhlIHN1bW1hcnkgZm9yIHRoaXMgcmV2 aXNpb24uCmpodWpoaXRpX2FkamVjdGl2aXNtLm9yZyB1cGRhdGVkIHRoaXMgcmV2aXNpb24gdG8g RGlmZiAyNTUxMi4Kamh1amhpdGlfYWRqZWN0aXZpc20ub3JnIG1hcmtlZCAxMyBpbmxpbmUgY29t bWVudHMgYXMgZG9uZS4KClJFUE9TSVRPUlkKICByUyBGcmVlQlNEIHNyYyByZXBvc2l0b3J5CgpD SEFOR0VTIFNJTkNFIExBU1QgVVBEQVRFCiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL0Q5 NDUxP3ZzPTI0NzgyJmlkPTI1NTEyCgpSRVZJU0lPTiBERVRBSUwKICBodHRwczovL3Jldmlld3Mu ZnJlZWJzZC5vcmcvRDk0NTEKCkFGRkVDVEVEIEZJTEVTCiAgc3lzL25ldGluZXQ2L2ljbXA2LmMK ICBzeXMvbmV0aW5ldDYvaW42LmMKICBzeXMvbmV0aW5ldDYvaW42X3NyYy5jCiAgc3lzL25ldGlu ZXQ2L25kNi5jCiAgc3lzL25ldGluZXQ2L25kNi5oCiAgc3lzL25ldGluZXQ2L25kNl9uYnIuYwog IHN5cy9uZXRpbmV0Ni9uZDZfcnRyLmMKCkVNQUlMIFBSRUZFUkVOQ0VTCiAgaHR0cHM6Ly9yZXZp ZXdzLmZyZWVic2Qub3JnL3NldHRpbmdzL3BhbmVsL2VtYWlscHJlZmVyZW5jZXMvCgpUbzogamh1 amhpdGlfYWRqZWN0aXZpc20ub3JnLCAjbmV0d29yaywgYnosIGFzb21lcnMKQ2M6IGpjaCwgYnos IGltcCwgYWUsIGZyZWVic2QtbmV0LWxpc3QK --b1_a475e4b4828ec690159525d61ab99c0a Content-Type: text/x-patch; charset=utf-8; name="D9451.25512.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D9451.25512.patch" ZGlmZiAtLWdpdCBhL3N5cy9uZXRpbmV0Ni9uZDZfcnRyLmMgYi9zeXMvbmV0aW5ldDYvbmQ2X3J0 ci5jCi0tLSBhL3N5cy9uZXRpbmV0Ni9uZDZfcnRyLmMKKysrIGIvc3lzL25ldGluZXQ2L25kNl9y dHIuYwpAQCAtNTAwLDcgKzUwMCw3IEBACiAK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WludDMyX3Qgc2NvcGVpZDsKIAogCWluNl9zcGxpdHNjb3BlKCZyZWRkc3Q2LCAma2Rz dCwgJnNjb3BlaWQpOwotCWlmIChmaWI2X2xvb2t1cF9uaF9iYXNpYyhSVF9ERUZBVUxUX0ZJQiwg Jmtkc3QsIHNjb3BlaWQsIDAsIDAsJm5oNik9PTApeworCWlmIChmaWI2X2xvb2t1cF9uaF9iYXNp YyhpZnAtPmlmX2ZpYiwgJmtkc3QsIHNjb3BlaWQsIDAsIDAsJm5oNik9PTApewogCQlpZiAoKG5o Ni5uaF9mbGFncyAmIE5IRl9HQVRFV0FZKSA9PSAwKSB7CiAJCQluZDZsb2coKExPR19FUlIsCiAJ CQkgICAgIklDTVA2IHJlZGlyZWN0IHJlamVjdGVkOyBubyByb3V0ZSAiCgo= --b1_a475e4b4828ec690159525d61ab99c0a-- From owner-freebsd-net@freebsd.org Wed Feb 22 05:30:26 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 20073CE976A for ; Wed, 22 Feb 2017 05:30:26 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:607c::16:b]) by mx1.freebsd.org (Postfix) with ESMTP id EC6B5240 for ; Wed, 22 Feb 2017 05:30:25 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 1777637CDB; Wed, 22 Feb 2017 05:30:25 +0000 (UTC) Date: Wed, 22 Feb 2017 05:30:25 +0000 To: freebsd-net@freebsd.org From: "jhujhiti_adjectivism.org (Erick Turnquist)" Reply-to: D9451+325+eaa6f8a0c0731bfe@reviews.freebsd.org Subject: [Differential] D9451: Constrain IPv6 interface routes to each FIB Message-ID: X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: Thread-Topic: D9451: Constrain IPv6 interface routes to each FIB X-Herald-Rules: <28>, <81> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: MzA4MmVhNjA3MDYxYjk1ZGE4NzFjZWJhMzgyIFitIfE= MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2017 05:30:26 -0000 amh1amhpdGlfYWRqZWN0aXZpc20ub3JnIGFkZGVkIGEgY29tbWVudC4KCgogIEkndmUgdXBkYXRl ZCB0aGUgcGF0Y2ggdG8gYWRkcmVzcyB0aGVzZSBwb2ludHMgYXNpZGUgZnJvbSB0aGUgb3BlbiBx dWVzdGlvbiBhYm91dCBkZXRlcm1pbmluZyBuZWlnaGJvcnNoaXAuCiAgCiAgSSB0aGluayB0aGUg dGVzdGNhc2UgZm9yIGRlZmF1bHQgcm91dGVyIGFkdmVydGlzZW1lbnQgc2hvdWxkIGxvb2sgc29t ZXRoaW5nIGxpa2UgdGhpcy4gSSdtIG1vcmUgZmFtaWxpYXIgd2l0aCBlcGFpciBpbnRlcmZhY2Vz IHRoYW4gdGFwLCBidXQgSSBhc3N1bWUgdGhlIGNvbmNlcHQgaXMgdGhlIHNhbWUuCiAgCiAgRmly c3QsIGVuYWJsZSBJUHY2IGZvcndhcmRpbmcgYW5kIHJmYzYyMDR3My4gVGhlIGZvcm1lciBpcyBu ZWNlc3NhcnkgZm9yIHJ0YWR2ZCB0byBzZW5kIFJBcyBhbmQgdGhlIGxhdHRlciBpc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TgwOjpmZjplMGZmOmZlMDA6NDBh JWVwYWlyMGIgVUcgICAgIGVwYWlyMGIKICAgIDo6MSAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICBsbzAgICAgICAgICAgICAgICAgICAgICAgICAgICBVSFMgICAgICAgICBsbzAKICAgIDo6 ZmZmZjowLjAuMC4wLzk2ICAgICAgICAgICAgICAgICA6OjEgICAgICAgICAgICAgICAgICAgICAg ICAgICBVR1JTICAgICAgICBsbzAKICAgIGZkMDE6Oi82NCAgICAgICAgICAgICAgICAgICAgICAg ICBsaW5rIzUgICAgICAgICAgICAgICAgICAgICAgICBVICAgICAgIGVwYWlyMGIKICAgIGZkMDE6 OmZmOjMwZmY6ZmUwMDo1MGIgICAgICAgICAgICBsaW5rIzUgICAgICAgICAgICAgICAgICAgICAg ICBVSFMgICAgICAgICBsbzAKICAgIGZlODA6Oi8xMCAgICAgICAgICAgICAgICAgICAgICAgICA6 OjEgICAgICAgICAgICAgICAgICAgICAgICAgICBVR1JTICAgICAgICBsbzAKICAgIGZlODA6OiVl cGFpcjBiLzY0ICAgICAgICAgICAgICAgICBsaW5rIzUgICAgICAgICAgICAgICAgICAgICAgICBV ICAgICAgIGVwYWlyMGIKICAgIGZlODA6OmZmOjMwZmY6ZmUwMDo1MGIlZXBhaXIwYiAgICBsaW5r IzUgICAgICAgICAgICAgICAgICAgICAgICBVSFMgICAgICAgICBsbzAKICAgIGZmMDI6Oi8xNiAg ICAgICAgICAgICAgICAgICAgICAgICA6OjEgICAgICAgICAgICAgICAgICAgICAgICAgICBVR1JT ICAgICAgICBsbzAKICAKICBUaGUgc2FtZSB0aGluZyBzaG91bGQgd29yayBzaW11bHRhbmVvdXNs eSBpbiBGSUJzIDMgYW5kIDQgd2l0aCBlcGFpcjFhIGFuZCAxYiAoYW5kIHRoZSBzY29wZSBvbiB0 aGUgZGVmYXVsdCByb3V0ZSBpbiBGSUIgNCBzaG91bGQgYmUgJWVwYWlyMWIpLiBUaGUgTUFDIGFk ZH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GhlcmUuCgo+IG5kNi5jOjEz NTMKPiAgCSAqLwo+ICAJZHN0YWRkciA9IGlmYV9pZndpdGhkc3RhZGRyKChjb25zdCBzdHJ1Y3Qg c29ja2FkZHIgKilhZGRyLCBSVF9BTExfRklCUyk7Cj4gIAlpZiAoZHN0YWRkciAhPSBOVUxMKSB7 CgpTaG91bGQgd2UgcGFzcyB0aGUgaWZwLT5pZl9maWIgaGVyZT8gV2UgY29tcGFyZSBpZnBzIG9u IGxpbmUgMTM1NSwgc28gc2VhcmNoaW5nIGFsbCBGSUJzIGlzIHVzdWFsbHkgZmluZSwgYnV0IGlm IHdlIGhhdmUgdHdvIGlkZW50aWNhbCBhZGRyZXNzZXMgaW4gdHdvIGRpZmZlcmVudCBGSUJzLCB3 ZSBjb3VsZCBmaW5kIHRoZSB3cm9uZyBvbmUgaGVyZSBhbmQgZW5kIHVwIHJldHVybmluZyBmYWxz ZS4KClJFUE9TSVRPUlkKICByUyBGcmVlQlNEIHNyYyByZXBvc2l0b3J5CgpSRVZJU0lPTiBERVRB SUwKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvRDk0NTEKCkVNQUlMIFBSRUZFUkVOQ0VT CiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL3NldHRpbmdzL3BhbmVsL2VtYWlscHJlZmVy ZW5jZXMvCgpUbzogamh1amhpdGlfYWRqZWN0aXZpc20ub3JnLCAjbmV0d29yaywgYnosIGFzb21l cnMKQ2M6IGpjaCwgYnosIGltcCwgYWUsIGZyZWVic2QtbmV0LWxpc3QK From owner-freebsd-net@freebsd.org Wed Feb 22 12:26:06 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 7D37ACE9D6F for ; Wed, 22 Feb 2017 12:26:06 +0000 (UTC) (envelope-from massimiliano.gualtieri@gmail.com) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 070A0CC6 for ; Wed, 22 Feb 2017 12:26:06 +0000 (UTC) (envelope-from massimiliano.gualtieri@gmail.com) Received: by mail-wm0-x236.google.com with SMTP id v186so138912218wmd.0 for ; Wed, 22 Feb 2017 04:26:05 -0800 (PST) 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=XlBoTB/6Ht0pz4F4UX3k6KMQLIVhG3DlcGsffMpitD8=; b=i2rcc7gjguaV8mPTgnEa1kkv8hi+9AFrkdwtdskO+CiXnbG+r1cVUiMaYfz3mQqTht DkUld9KpDQ2tCOMXyJaDJpJEezMLD3umqOQt/Q7FUea2v2FtWKG6HkQr7IIoE/L6/WGq fIoIbLxsXoaGJv4o7x90cAAHdzfKLByVa2J3S+xPvFps09rUvOUzjjYofz6NhWXIHw/1 idmGYzwLqHpY3zCswfRHUd2FqIffN/JFli+qhkcSel7otJ9VsTpoAW5nBNy/3K2llime CjhPDQaJj21tx/jT44bZEh74qPY54Lb2n8F0pXPCfHObp6pC0OkvArFUhb1Tr7oEhagw zMxg== 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=XlBoTB/6Ht0pz4F4UX3k6KMQLIVhG3DlcGsffMpitD8=; b=HgeumbNRQ9qgIGIAH6swHnPVIYJsqo3XR212OR/14ee49fUXmJZXQceQqy22T31uok yYjadCJ4BRdDt1h19JsVGClWtAkEh3b19JbL1DHTP0UdLsNzvkmlxT/DeoQ0heNWtRmQ /0CmUqQnOWsq5howsDrzIS5tQUECkqzBZGx30oKOj9tR2yAZZGud0iYcHUyKl8D0drlj sQQaejXan3LlOZTR7Dyi+9DVKcWTtTGx4z30bRGjKLh/xevH54qJcGjoZ5HKW1oAcgUM 1+Xx9I84YLf3cJYyPMOY9MOfb7LZdbCmtjLlw4RG7ywXTn66xZe0YlIBo9O0x0GX8+GY Vv+w== X-Gm-Message-State: AMke39k62wxHtIyOSxuf1OB4oOystgEgv2rsY4N98amHgy0mFeTh9EEJmBORlK+amYlexF5XW89zq0Cu0lHjvw== X-Received: by 10.28.95.4 with SMTP id t4mr2302353wmb.87.1487766364322; Wed, 22 Feb 2017 04:26:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.28.195 with HTTP; Wed, 22 Feb 2017 04:26:03 -0800 (PST) From: Massimiliano Gualtieri Date: Wed, 22 Feb 2017 13:26:03 +0100 Message-ID: Subject: OVS and LXC with OpenLisp Control Plane 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: Wed, 22 Feb 2017 12:26:06 -0000 Hi, i would like to install OpenLisp control plane on a linux container and attach to OVS. When i run the command *make -f Makefile_linux *in the source directory i get this error: *cc */*.c ./*.c -o opencp -L/usr/local/lib/ -lexpat -lpthread -g -O2 -DHAVE_IPV6 -DLINUX* *thr_pool/thr_pool.c: In function 'worker_thread':* *thr_pool/thr_pool.c:92:5: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]* * pthread_cleanup_push(worker_cleanup, pool);* * ^* *thr_pool/thr_pool.c:137:13: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]* * pthread_cleanup_push(job_cleanup, pool);* * ^* *thr_pool/thr_pool.c: In function 'thr_pool_wait':* *thr_pool/thr_pool.c:290:5: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]* * pthread_cleanup_push(pthread_mutex_unlock, &pool->pool_mutex);* * ^* *thr_pool/thr_pool.c: In function 'thr_pool_destroy':* *thr_pool/thr_pool.c:305:5: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]* * pthread_cleanup_push(pthread_mutex_unlock, &pool->pool_mutex);* * ^* *./cli.c:154:17: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]* * .reply_add = cli_reply_add,\* * ^* *./cli.c:154:17: note: (near initialization for 'cli_fct.reply_add')* *./cli.c:155:24: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]* * .reply_add_record = cli_reply_add_record, \* * ^* *./cli.c:155:24: note: (near initialization for 'cli_fct.reply_add_record')* *./cli.c:156:25: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]* * .reply_add_locator = cli_reply_add_locator,\* * ^* *./cli.c:156:25: note: (near initialization for 'cli_fct.reply_add_locator')* *./cli.c:157:19: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]* * .reply_error = cli_reply_error, \* * ^* *./cli.c:157:19: note: (near initialization for 'cli_fct.reply_error')* *./cli.c:158:23: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]* * .reply_terminate = cli_reply_terminate, \* * ^* *./cli.c:158:23: note: (near initialization for 'cli_fct.reply_terminate')* *./cli.c:159:25: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]* * .request_terminate = cli_request_terminate, \* * ^* *./cli.c:159:25: note: (near initialization for 'cli_fct.request_terminate')* *./cli.c:160:23: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]* * .request_get_eid = cli_request_get_eid , \* * ^* *./cli.c:160:23: note: (near initialization for 'cli_fct.request_get_eid')* *./cli.c:161:25: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]* * .request_get_nonce = cli_request_get_nonce* * ^* *./cli.c:161:25: note: (near initialization for 'cli_fct.request_get_nonce')* *./cli.c: In function 'cli_start_communication':* *./cli.c:189:28: warning: passing argument 1 of 'generic_process_request' makes pointer from integer without a cast [-Wint-conversion]* * generic_process_request(rid, &cli_fct);* * ^* *In file included from ./cli.c:2:0:* *./lib.h:229:5: note: expected 'void *' but argument is of type 'uint32_t {aka unsigned int}'* * int generic_process_request(void *data, struct communication_fct *fct);* * ^* *In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:38:0,* * from /usr/include/netinet/in.h:23,* * from /usr/include/netdb.h:27,* * from ./lib.h:10,* * from ./udp.c:1:* *./udp.c: In function 'udp_get_pk':* *./udp.c:1823:33: error: invalid application of 'sizeof' to incomplete type 'struct in6_pktinfo'* * char ctrdata[CMSG_SPACE(sizeof(struct in6_pktinfo))];* * ^* *./udp.c:1827:22: error: field 'pkif6' has incomplete type* * struct in6_pktinfo pkif6;* * ^* *Makefile_linux:24: recipe for target 'all' failed* *make: *** [all] Error 1* How can i solve this problem? Thanks PS. I want to do this: * +----LXC----+ * *|** OpenLisp |* * | CP | ** +-----------+ ** | ** +--[lxcbr0]--+ ** | | **RLOC ------[lisp0] OVS1 [eth0]--------- EID ** | | ** +------------+ * From owner-freebsd-net@freebsd.org Wed Feb 22 19:23:51 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0070BCE994E for ; Wed, 22 Feb 2017 19:23:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E351B1441 for ; Wed, 22 Feb 2017 19:23:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1MJNmNi001008 for ; Wed, 22 Feb 2017 19:23:50 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213257] Crash in IGB driver with ALTQ Date: Wed, 22 Feb 2017 19:23:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-STABLE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@mcwest.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable9? mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2017 19:23:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213257 --- Comment #25 from freebsd@mcwest.org --- I can confirm that setting hw.igb.num_queues=3D1 in /boot/loader.conf preve= nts crashes when running a kernel compiled with IGB_LEGACY_TX. I removed the q= ueue configuration from my internal igb(4) interface, and netperf's TCP stream t= est hasn't been able to provoke a crash after ~30 min. Assuming the system remains stable, this is a much simpler fix than adding a new kernel config option. Ken, if you have the time could you see if this configuration change eliminates your system instability as well? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Feb 22 23:27:06 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 82CAFCE9EC9 for ; Wed, 22 Feb 2017 23:27:06 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6CF78105D for ; Wed, 22 Feb 2017 23:27:06 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 69508CE9EC5; Wed, 22 Feb 2017 23:27:06 +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 68F3DCE9EC4 for ; Wed, 22 Feb 2017 23:27:06 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebi.us (glebi.us [96.95.210.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cell.glebi.us", Issuer "cell.glebi.us" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id ACE9D1059; Wed, 22 Feb 2017 23:27:05 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebi.us (localhost [127.0.0.1]) by cell.glebi.us (8.15.2/8.15.2) with ESMTPS id v1MNR5NO009686 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 22 Feb 2017 15:27:05 -0800 (PST) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebi.us (8.15.2/8.15.2/Submit) id v1MNR4dm009685; Wed, 22 Feb 2017 15:27:04 -0800 (PST) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebi.us: glebius set sender to glebius@FreeBSD.org using -f Date: Wed, 22 Feb 2017 15:27:04 -0800 From: Gleb Smirnoff To: Julien Charbon Cc: hiren@FreeBSD.org, Jason Eggleston , rrs@FreeBSD.org, jtl@FreeBSD.org, net@FreeBSD.org Subject: Re: listening sockets as non sockets Message-ID: <20170222232704.GJ8899@FreeBSD.org> References: <20170127005251.GM2611@FreeBSD.org> <20170210063024.GE1973@FreeBSD.org> <20170216184903.GF58829@FreeBSD.org> <0858647a-ec3c-1a78-053f-d04397a82d8a@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0858647a-ec3c-1a78-053f-d04397a82d8a@freebsd.org> User-Agent: Mutt/1.7.2 (2016-11-26) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2017 23:27:06 -0000 On Tue, Feb 21, 2017 at 09:58:45AM +0100, Julien Charbon wrote: J> > T> 1) The patch worked pretty okay, but the idea of separate file type is J> > T> abandoned. With current filedescriptor code it is almost impossible J> > T> to racelessly switch fileops and f_data. J> > T> For more details read the commit message, URL below. J> > T> J> > T> 2) I moved the work to git. It allows for easier code sharing. J> > T> J> > T> https://github.com/glebius/FreeBSD/commit/3a52df429889ea9c6e61013f6913aad95939f159 J> > J> > The current 'solisten' branch at https://github.com/glebius/FreeBSD has J> > been running successfully for 48 hours at Netflix. But as mentioned before, J> > our connection rate is pretty low. J> > J> > So, testing from Julien and Hiren will be much appreciated. J> J> Sound good, I will have spare time to get performance results on our J> side w/ and w/o your change before the end of this week. Thanks, Julien! Looking forward for your results. Meanwhile, the code has been running for a week on a single Netflix box. And for 24 hours on a set of boxes as A/B test against non-patched code. Since our connection rate is low, and we never seen accept_mtx to be a major problem in our profiling, the A/B test didn't show any statistically significant improvements. But my biased eye of course sees some improvements in the graphs :) -- Totus tuus, Glebius. From owner-freebsd-net@freebsd.org Thu Feb 23 02:23: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 E432ECE9A2B for ; Thu, 23 Feb 2017 02:23:21 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 79B8D11E9 for ; Thu, 23 Feb 2017 02:23:21 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wm0-x22c.google.com with SMTP id v77so972857wmv.0 for ; Wed, 22 Feb 2017 18:23:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=EEZgTuKQh+6wc5eJcF+goLkaN93cfBlL6gALIZsfq8A=; b=LNG1xNH1uFqgPVxjXNTwBOBDd3/laWoQ5vtuM0Q+RKJO5tv5eedkoJXc+ihCnSwxzk Wb1p1y2YbbClfH4as8SWj06ztp36gTanwv3v9m8qDUdywgIp46KDkVbGavAt88ZKyS+p y3IOzm/eTAsn50LMNEtNDoJafGWVL6i2SGlhHiG+zRdqJKFb35RIUOhbPz/EGUiLCPOE cGayz8YmiNtT9u08qCZvttVH4ek7lxSQM9RI4BeGBGlc1YGj/2HwK6lPWMjATeF32sjI 724WFrdQi+Uc5fHuQxAmurX8FfIts7hK9g3qIywTKshb1yLgBjr1y/W4iP82Rri6mOIK cK2w== 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=EEZgTuKQh+6wc5eJcF+goLkaN93cfBlL6gALIZsfq8A=; b=U/QHJg+59vooD8t+suDjXDXkmMrnBSkvwJDOmCYkQg5nuMeyQcd+iI/jJHRWXC8ku6 L2ehvvUlprtFeSIB2xmZ0RmdMfaDKiw0ufPrlb7n8eqm2VapImS/m4fWuyquQj/kz380 iopw6eieBISC6X3JwVvKsKR2AhIjDb9lJq1W4OHLn0hkkNDRd3c9562o0EH7p5GRUuGz 8MwKLQ8krM2K9m3rJ0lBgPF9dqFKKosT0eaA4549SeUa8B3NMg1Nr6iSWRNpWQWgRB7A aPpreT4QSWGE+E4HI5uD0NGlL/45c092gScyWpwMBAGRQSHPuBFDmIqXcLExoqt1/uEN Emiw== X-Gm-Message-State: AMke39mhLVolN5kaQLEGH88sqd+KXUPry0kAFlNTd9iXLMf+Os6N4Sq+o2FJVExw4agOhtsIP+dAEOOuJwqzbQ== X-Received: by 10.28.47.7 with SMTP id v7mr1301368wmv.138.1487816599263; Wed, 22 Feb 2017 18:23:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.128.135 with HTTP; Wed, 22 Feb 2017 18:23:18 -0800 (PST) In-Reply-To: References: From: Adrian Chadd Date: Wed, 22 Feb 2017 18:23:18 -0800 Message-ID: Subject: Re: Intel Dual Band Wireless AC 8260 To: Andreas Nilsson 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: Thu, 23 Feb 2017 02:23:22 -0000 Hiya, Ok, maybe the channel lists are different. 116/140 are in the DFS range.. -adrian From owner-freebsd-net@freebsd.org Thu Feb 23 03:40: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 2439CCE7A08 for ; Thu, 23 Feb 2017 03:40:23 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 032651C2C for ; Thu, 23 Feb 2017 03:40:23 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 0287ECE7A06; Thu, 23 Feb 2017 03:40:23 +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 022B4CE7A05 for ; Thu, 23 Feb 2017 03:40:23 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: from mail-vk0-x242.google.com (mail-vk0-x242.google.com [IPv6:2607:f8b0:400c:c05::242]) (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 A90631C29; Thu, 23 Feb 2017 03:40:22 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: by mail-vk0-x242.google.com with SMTP id h78so853549vkd.2; Wed, 22 Feb 2017 19:40:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=wu2wx5eUyrmt+PSsK+TFEULvbRAB/+i3NU3fCQExO6g=; b=RRaroOgErLdy6vwTfKmG3pUEJkWuzqWHPQHgQ8OjkeUPuZuyluThipA2al8jGkezCZ 0kwWHR/9aND8ccoVDI7CBIKhyPTTYHCbeHC2+zRzh071aHtCVgLMksqN+nf0G/ZR5A1x UVgy+JVOLuNd8KrzWi3ijCzbDE20LAneHZVy78+phHcIGYma7hwtm4RlNogaHNHXIm1m tsYy9OkPqPkph3XClSRE8lrDPbyhosto44i2jGGyN8kEJ0ydn6JFc2RwqgGHoivbw2Is PgPzlToccU96OKunY/WSX6CzVw2unWeFQ8lFFIKqKCf9GHASa8EKiDCEW/ZmGR/gT0Zq kU/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=wu2wx5eUyrmt+PSsK+TFEULvbRAB/+i3NU3fCQExO6g=; b=l3N9kgMX5Jm47gwDphgVXi3SFqiPE88QBOnTcEJR4RwL37r6dXAdx4yD26LfP7lr9y +KopTYI3RmPEHIQqonoMLXUUeXb3y1E/GRiCFL67unQZJljz2F8wOuriWon6H1FN4FLe jR8wadujfB1WDay3kRnVPQR6nDylMvB4/nDqcI3mS4C42txqihhL+vlsCXYv4sBLaKWy lbNSfNwaleKiPR0UoxhRWJECN3eRl5R4gItgTFoCM+DfKlANLfCkYxr3l/TmisFrm8FB UASytVUXKsOfxnH9oSZL5VPmUkLK1A7GVUDr1OW4+6Iy0SPCPiBR6oA5bfM7rBeCW7nd EQxA== X-Gm-Message-State: AMke39meRCoXCKi9/d5moLnX+uYqYV2Z72rwfhnWgoE7zRX5ypkU9d1myz+rwOOLvsJxptV47TrwvIJYNShvOQ== X-Received: by 10.31.134.142 with SMTP id i136mr18954956vkd.56.1487821221759; Wed, 22 Feb 2017 19:40:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.176.66.193 with HTTP; Wed, 22 Feb 2017 19:40:21 -0800 (PST) In-Reply-To: <20170222232704.GJ8899@FreeBSD.org> References: <20170127005251.GM2611@FreeBSD.org> <20170210063024.GE1973@FreeBSD.org> <20170216184903.GF58829@FreeBSD.org> <0858647a-ec3c-1a78-053f-d04397a82d8a@freebsd.org> <20170222232704.GJ8899@FreeBSD.org> From: Sepherosa Ziehau Date: Thu, 23 Feb 2017 11:40:21 +0800 Message-ID: Subject: Re: listening sockets as non sockets To: Gleb Smirnoff Cc: Julien Charbon , Jason Eggleston , "freebsd-net@freebsd.org" , hiren@freebsd.org, jtl@freebsd.org, rrs@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2017 03:40:23 -0000 On Thu, Feb 23, 2017 at 7:27 AM, Gleb Smirnoff wrote: > On Tue, Feb 21, 2017 at 09:58:45AM +0100, Julien Charbon wrote: > J> > T> 1) The patch worked pretty okay, but the idea of separate file type is > J> > T> abandoned. With current filedescriptor code it is almost impossible > J> > T> to racelessly switch fileops and f_data. > J> > T> For more details read the commit message, URL below. > J> > T> > J> > T> 2) I moved the work to git. It allows for easier code sharing. > J> > T> > J> > T> https://github.com/glebius/FreeBSD/commit/3a52df429889ea9c6e61013f6913aad95939f159 > J> > > J> > The current 'solisten' branch at https://github.com/glebius/FreeBSD has > J> > been running successfully for 48 hours at Netflix. But as mentioned before, > J> > our connection rate is pretty low. > J> > > J> > So, testing from Julien and Hiren will be much appreciated. > J> > J> Sound good, I will have spare time to get performance results on our > J> side w/ and w/o your change before the end of this week. > > Thanks, Julien! Looking forward for your results. Meanwhile, the code has > been running for a week on a single Netflix box. And for 24 hours on a > set of boxes as A/B test against non-patched code. Since our connection > rate is low, and we never seen accept_mtx to be a major problem in our > profiling, the A/B test didn't show any statistically significant > improvements. But my biased eye of course sees some improvements in the > graphs :) You can use this to force clients to generate 1 request/connection (--connreqs 1) to test the accept queue contention for HTTP workload: https://github.com/sepherosa/wrk Checkout the sephe/wrk branch. pkg install wrk. Then gmake in the checked out directory. Thanks, sephe -- Tomorrow Will Never Die From owner-freebsd-net@freebsd.org Thu Feb 23 08:00: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 CFC42CEA122 for ; Thu, 23 Feb 2017 08:00: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 BF9BF1DDF for ; Thu, 23 Feb 2017 08:00: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 v1N80544040265 for ; Thu, 23 Feb 2017 08:00:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213606] LACP not working with qlogic BCM57800 Date: Thu, 23 Feb 2017 08:00:06 +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-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ingeborg.hellemo@uit.no 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: Thu, 23 Feb 2017 08:00:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213606 Ingeborg Hellemo changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ingeborg.hellemo@uit.no --- Comment #14 from Ingeborg Hellemo --- The issues are still there in 11.0-RELEASE-p7 bxe and lagg worked perfectly before upgrading from 10.3 to 11.0 Hope this problem can get some priority. Happy to help debugging. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Feb 23 12:43: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 E1FB9CE9DB6 for ; Thu, 23 Feb 2017 12:43:16 +0000 (UTC) (envelope-from snar@snar.spb.ru) Received: from staff.retn.net (staff.retn.net [IPv6:2a02:2d8:0:20ff:232a::8]) by mx1.freebsd.org (Postfix) with ESMTP id 9DE89A0B for ; Thu, 23 Feb 2017 12:43:16 +0000 (UTC) (envelope-from snar@snar.spb.ru) Received: from staff.retn.net (staff.retn.net [IPv6:2a02:2d8:0:20ff:232a::8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: snarspb@) by staff.retn.net (Postfix) with ESMTPSA id AB48F28C19 for ; Thu, 23 Feb 2017 15:43:03 +0300 (MSK) Date: Thu, 23 Feb 2017 15:42:58 +0300 From: Alexandre Snarskii To: freebsd-net Subject: tap(4): half-duplex and zero-speed ? Message-ID: <20170223124258.GA80687@staff.retn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.6.1 (2016-04-27) 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, 23 Feb 2017 12:43:17 -0000 Hi! Long story short: if you try to aggregate tap(4) devices into lacp-based lagg(4), aggregate will fail to negotiate lacp with remote end and will not be able to pass traffic. Root cause: lacp code requires underlying interface to be full-duplex (else it will not participate in lacp negotiation at all[1]) and have non-zero speed (else it can not be selected as active aggregator[2], and so if tap is the only lagg member - aggregate will not become active). Patch can be as trivial as: --- sys/net/if_tap.c.orig 2017-02-21 21:02:04.460053000 +0300 +++ sys/net/if_tap.c 2017-02-21 21:02:12.580696000 +0300 @@ -617,7 +617,7 @@ dummy = ifmr->ifm_count; ifmr->ifm_count = 1; ifmr->ifm_status = IFM_AVALID; - ifmr->ifm_active = IFM_ETHER; + ifmr->ifm_active = IFM_ETHER | IFM_1000_T | IFM_FDX; if (tp->tap_flags & TAP_OPEN) ifmr->ifm_status |= IFM_ACTIVE; ifmr->ifm_current = ifmr->ifm_active; [1]: https://svnweb.freebsd.org/base/head/sys/net/ieee8023ad_lacp.c?revision=312678&view=markup#l483 [2]: https://svnweb.freebsd.org/base/head/sys/net/ieee8023ad_lacp.c?revision=312678&view=markup#l983 From owner-freebsd-net@freebsd.org Thu Feb 23 13:48: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 8A538CEB170 for ; Thu, 23 Feb 2017 13:48:52 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-it0-x22e.google.com (mail-it0-x22e.google.com [IPv6:2607:f8b0:4001:c0b::22e]) (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 64F6EA08 for ; Thu, 23 Feb 2017 13:48:52 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-it0-x22e.google.com with SMTP id 203so175603680ith.0 for ; Thu, 23 Feb 2017 05:48:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=KZqW76q7fsqlMTT66W90223fkmjHhyaEGHrWKWLKfzM=; b=CnrUsZsO6UG9wtpVxe9JGJdns5P0c7QmMEnaVyKILCh71cAeeW+5wNVQY92HYNJY53 ZTDjHORN8h0KDesdjA18NK3DNAeHUhXFQF+VLiLJaJKRHqA/pVBKYFEttPs95C5EGhqH ia7BvG/gHyeCalbM1KSl2rthEnaU1x/gVI9Vs7Fnb3N54MuHUL8FvWwDURPkP5se/YIa k+u0fyxZc5AGpdAyqUYBW7f93BD23rEAB8c8cA11yR9RztfZEZHvJoJShGBdGUozg1gk NkoI4nPsekQGZWG7OZWRRtkmsESR9ri3/UGVaZh5yQfbm5ILL6Ok6pGolU438xHpiU2Y TAag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=KZqW76q7fsqlMTT66W90223fkmjHhyaEGHrWKWLKfzM=; b=YwUFmtHaG9cwMRcBQqdyiO1/7Q4voTA8c7R4cSFS91rTEsAZCorflKW2NlBvexqU6T 7C5cO6ntYhYg6UjL0ykvDtnOWHvvwpFQ1NZGVnoZ6D/mWRYr39/wyVxs+git5hqehxEN bBoEqkkvLwG22kYojaY97Of16iL2DgGfHogfH4dTbikTGYfOv15qSNG+SBZXdMSwpZAY zPUqiYAMoE0r1gPkLbZ8HSHqcMyTrJTL9xpE2/5thlbsbdBHlsa5pgqJ6IP3mX0LgI9Y 7fgESIAh3fqKY52NZQ9muXwhhRn4lvQ8BISolRmT4Q9076CJOHgSbz5cEdX6BitHfWpJ w7FA== X-Gm-Message-State: AMke39mrxyYux1OVGg8aWM3AEU53KIrs9oOHIttmEYFWtOKslJv6YHP6crCiAkrCAsi2dpIqhv1/pTwIS5aLEA== X-Received: by 10.36.29.80 with SMTP id 77mr2580127itj.29.1487857731786; Thu, 23 Feb 2017 05:48:51 -0800 (PST) MIME-Version: 1.0 References: <20170223124258.GA80687@staff.retn.net> In-Reply-To: <20170223124258.GA80687@staff.retn.net> From: Ben Woods Date: Thu, 23 Feb 2017 13:48:41 +0000 Message-ID: Subject: Re: tap(4): half-duplex and zero-speed ? To: Alexandre Snarskii , 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: Thu, 23 Feb 2017 13:48:52 -0000 On Thu, 23 Feb 2017 at 8:43 pm, Alexandre Snarskii wrote: > > Hi! > > Long story short: if you try to aggregate tap(4) devices into lacp-based > lagg(4), aggregate will fail to negotiate lacp with remote end and will not > be able to pass traffic. > > Root cause: lacp code requires underlying interface to be full-duplex > (else it will not participate in lacp negotiation at all[1]) and have > non-zero speed (else it can not be selected as active aggregator[2], > and so if tap is the only lagg member - aggregate will not become active). > > Patch can be as trivial as: > > --- sys/net/if_tap.c.orig 2017-02-21 21:02:04.460053000 +0300 > +++ sys/net/if_tap.c 2017-02-21 21:02:12.580696000 +0300 > @@ -617,7 +617,7 @@ > dummy = ifmr->ifm_count; > ifmr->ifm_count = 1; > ifmr->ifm_status = IFM_AVALID; > - ifmr->ifm_active = IFM_ETHER; > + ifmr->ifm_active = IFM_ETHER | IFM_1000_T | > IFM_FDX; > if (tp->tap_flags & TAP_OPEN) > ifmr->ifm_status |= IFM_ACTIVE; > ifmr->ifm_current = ifmr->ifm_active; > > > [1]: > https://svnweb.freebsd.org/base/head/sys/net/ieee8023ad_lacp.c?revision=312678&view=markup#l483 > [2]: > https://svnweb.freebsd.org/base/head/sys/net/ieee8023ad_lacp.c?revision=312678&view=markup#l983 Hi Alexandre, Thanks for taking the time to look into the cause of this and for your clear explanation of the problem. Would you mind please submitting a bug report so this doesn't get forgotten? https://bugs.freebsd.org/ Regards, Ben -- -- From: Benjamin Woods woodsb02@gmail.com From owner-freebsd-net@freebsd.org Thu Feb 23 15:36: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 517E2CEBEE2 for ; Thu, 23 Feb 2017 15:36:46 +0000 (UTC) (envelope-from slw@zxy.spb.ru) 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 3BE831126 for ; Thu, 23 Feb 2017 15:36:46 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: by mailman.ysv.freebsd.org (Postfix) id 38410CEBEE1; Thu, 23 Feb 2017 15:36:46 +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 37E6FCEBEE0 for ; Thu, 23 Feb 2017 15:36:46 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (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 EB2491123; Thu, 23 Feb 2017 15:36:45 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1cgvRc-0003Tb-SU; Thu, 23 Feb 2017 18:36:36 +0300 Date: Thu, 23 Feb 2017 18:36:36 +0300 From: Slawa Olhovchenkov To: Sepherosa Ziehau Cc: Gleb Smirnoff , rrs@freebsd.org, hiren@freebsd.org, Jason Eggleston , Julien Charbon , "freebsd-net@freebsd.org" , jtl@freebsd.org Subject: Re: listening sockets as non sockets Message-ID: <20170223153636.GI15630@zxy.spb.ru> References: <20170127005251.GM2611@FreeBSD.org> <20170210063024.GE1973@FreeBSD.org> <20170216184903.GF58829@FreeBSD.org> <0858647a-ec3c-1a78-053f-d04397a82d8a@freebsd.org> <20170222232704.GJ8899@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false 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, 23 Feb 2017 15:36:46 -0000 On Thu, Feb 23, 2017 at 11:40:21AM +0800, Sepherosa Ziehau wrote: > On Thu, Feb 23, 2017 at 7:27 AM, Gleb Smirnoff wrote: > > On Tue, Feb 21, 2017 at 09:58:45AM +0100, Julien Charbon wrote: > > J> > T> 1) The patch worked pretty okay, but the idea of separate file type is > > J> > T> abandoned. With current filedescriptor code it is almost impossible > > J> > T> to racelessly switch fileops and f_data. > > J> > T> For more details read the commit message, URL below. > > J> > T> > > J> > T> 2) I moved the work to git. It allows for easier code sharing. > > J> > T> > > J> > T> https://github.com/glebius/FreeBSD/commit/3a52df429889ea9c6e61013f6913aad95939f159 > > J> > > > J> > The current 'solisten' branch at https://github.com/glebius/FreeBSD has > > J> > been running successfully for 48 hours at Netflix. But as mentioned before, > > J> > our connection rate is pretty low. > > J> > > > J> > So, testing from Julien and Hiren will be much appreciated. > > J> > > J> Sound good, I will have spare time to get performance results on our > > J> side w/ and w/o your change before the end of this week. > > > > Thanks, Julien! Looking forward for your results. Meanwhile, the code has > > been running for a week on a single Netflix box. And for 24 hours on a > > set of boxes as A/B test against non-patched code. Since our connection > > rate is low, and we never seen accept_mtx to be a major problem in our > > profiling, the A/B test didn't show any statistically significant > > improvements. But my biased eye of course sees some improvements in the > > graphs :) > > You can use this to force clients to generate 1 request/connection > (--connreqs 1) to test the accept queue contention for HTTP workload: > https://github.com/sepherosa/wrk > > Checkout the sephe/wrk branch. pkg install wrk. Then gmake in the > checked out directory. pkg install gcc gmake, may be? PANIC: unprotected error in call to Lua API (27) PANIC: unprotected error in call to Lua API (13) From owner-freebsd-net@freebsd.org Thu Feb 23 19:03: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 4ACE6CE9A32 for ; Thu, 23 Feb 2017 19:03:11 +0000 (UTC) (envelope-from lukasz.wojcik@zoho.com) Received: from sender-pp-091.zoho.com (sender-pp-091.zoho.com [135.84.80.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 004261E5 for ; Thu, 23 Feb 2017 19:03:10 +0000 (UTC) (envelope-from lukasz.wojcik@zoho.com) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=to:from:subject:message-id:date:user-agent:mime-version:content-type; b=B0/+iurvZdwN+T6U09EUZ5HbtrrzH5MBluUeTPQybP4jBMJCNpKjYjvNBjxiwCe59C87MxokN9KW jW0YpBsz9jC9Qjn45UgrxoYB8sDFoTZ47XFMv4uGFHVl97HVZMmY Received: from [192.168.0.31] (89-69-60-197.dynamic.chello.pl [89.69.60.197]) by mx.zohomail.com with SMTPS id 1487876585523496.76497674295445; Thu, 23 Feb 2017 11:03:05 -0800 (PST) To: freebsd-net@freebsd.org From: =?UTF-8?B?xYF1a2FzeiBXw7NqY2lr?= Subject: NETGRAPH's ng_cisco and IPv6 support Message-ID: <9980efee-f51c-2e48-59e1-099a609fc0a3@zoho.com> Date: Thu, 23 Feb 2017 20:03:04 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------5AFC86F01A2CAF91540AA2D7" 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, 23 Feb 2017 19:03:11 -0000 This is a multi-part message in MIME format. --------------5AFC86F01A2CAF91540AA2D7 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hello everyone, I've recently started to develop certain driver that uses 'ng_cisco' netgraph module for CHDLC en-/de-capsulation. When it connects with ng_cisco node via 'inet' hook, everything works fine, but there is an issue when trying to use 'inet6' node. cisco_notify() routine only sends flow control messages to nodes connected via 'inet' hook, completely ignoring those connected via 'inet6'. This poses some problem if peer node relies on link status information passed from ng_cisco. I'd therefore like to suggest/discuss a patch (attached to this email). All it does is to make ng_cisco node pass flow control messages to *both* 'inet' and 'inet6' peers. It seems to me that it is both possible and sensible to expect both mentioned hooks to be connected at the same time. I would appreciate any feedback. Best regards, -ŁW --------------5AFC86F01A2CAF91540AA2D7 Content-Type: text/plain; charset=UTF-8; name="cisco_ipv6_notify_all2.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="cisco_ipv6_notify_all2.patch" ZGlmZiAtLWdpdCBhL3N5cy9uZXRncmFwaC9uZ19jaXNjby5jIGIvc3lzL25ldGdyYXBoL25n X2Npc2NvLmMKaW5kZXggN2U2NGEwZi4uMTJlN2UwMyAxMDA2NDQKLS0tIGEvc3lzL25ldGdy YXBoL25nX2Npc2NvLmMKKysrIGIvc3lzL25ldGdyYXBoL25nX2Npc2NvLmMKQEAgLTYzNywx MCArNjM3LDIwIEBAIGNpc2NvX25vdGlmeShzY19wIHNjLCB1aW50MzJfdCBjbWQpCiAJc3Ry dWN0IG5nX21lc2cgKm1zZzsKIAlpbnQgZHVtbXlfZXJyb3IgPSAwOwogCi0JaWYgKHNjLT5p bmV0Lmhvb2sgPT0gTlVMTCkgLyogbm90aGluZyB0byBub3RpZnkgKi8KKwlpZiAoc2MtPmlu ZXQuaG9vayA9PSBOVUxMICYmIHNjLT5pbmV0Ni5ob29rID09IE5VTEwpCisJCS8qIG5vdGhp bmcgdG8gbm90aWZ5ICovCiAJCXJldHVybjsKLSAgICAgICAgICAgICAgICAKLQlOR19NS01F U1NBR0UobXNnLCBOR01fRkxPV19DT09LSUUsIGNtZCwgMCwgTV9OT1dBSVQpOwotCWlmICht c2cgIT0gTlVMTCkKLQkJTkdfU0VORF9NU0dfSE9PSyhkdW1teV9lcnJvciwgc2MtPm5vZGUs IG1zZywgc2MtPmluZXQuaG9vaywgMCk7CisKKwlpZiAoc2MtPmluZXQuaG9vayAhPSBOVUxM KSB7CisJCU5HX01LTUVTU0FHRShtc2csIE5HTV9GTE9XX0NPT0tJRSwgY21kLCAwLCBNX05P V0FJVCk7CisJCWlmIChtc2cgIT0gTlVMTCkKKwkJCU5HX1NFTkRfTVNHX0hPT0soZHVtbXlf ZXJyb3IsIHNjLT5ub2RlLCBtc2csCisJCQkgICAgc2MtPmluZXQuaG9vaywgMCk7CisJfQor CWlmIChzYy0+aW5ldDYuaG9vayAhPSBOVUxMKSB7CisJCU5HX01LTUVTU0FHRShtc2csIE5H TV9GTE9XX0NPT0tJRSwgY21kLCAwLCBNX05PV0FJVCk7CisJCWlmIChtc2cgIT0gTlVMTCkK KwkJCU5HX1NFTkRfTVNHX0hPT0soZHVtbXlfZXJyb3IsIHNjLT5ub2RlLCBtc2csCisJCQkg ICAgc2MtPmluZXQ2Lmhvb2ssIDApOworCX0KIH0K --------------5AFC86F01A2CAF91540AA2D7-- From owner-freebsd-net@freebsd.org Fri Feb 24 13:13: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 BC5CECEBB0B for ; Fri, 24 Feb 2017 13:13:54 +0000 (UTC) (envelope-from slw@zxy.spb.ru) 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 A71ADF69 for ; Fri, 24 Feb 2017 13:13:54 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: by mailman.ysv.freebsd.org (Postfix) id A6712CEBB0A; Fri, 24 Feb 2017 13:13:54 +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 A6189CEBB09 for ; Fri, 24 Feb 2017 13:13:54 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (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 65D17F68; Fri, 24 Feb 2017 13:13:54 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1chFgz-000Dx7-LB; Fri, 24 Feb 2017 16:13:49 +0300 Date: Fri, 24 Feb 2017 16:13:49 +0300 From: Slawa Olhovchenkov To: Sepherosa Ziehau Cc: rrs@freebsd.org, hiren@freebsd.org, Jason Eggleston , Julien Charbon , "freebsd-net@freebsd.org" , jtl@freebsd.org Subject: Re: listening sockets as non sockets Message-ID: <20170224131349.GJ15630@zxy.spb.ru> References: <20170127005251.GM2611@FreeBSD.org> <20170210063024.GE1973@FreeBSD.org> <20170216184903.GF58829@FreeBSD.org> <0858647a-ec3c-1a78-053f-d04397a82d8a@freebsd.org> <20170222232704.GJ8899@FreeBSD.org> <20170223153636.GI15630@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170223153636.GI15630@zxy.spb.ru> User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false 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, 24 Feb 2017 13:13:54 -0000 On Thu, Feb 23, 2017 at 06:36:36PM +0300, Slawa Olhovchenkov wrote: > On Thu, Feb 23, 2017 at 11:40:21AM +0800, Sepherosa Ziehau wrote: > > > On Thu, Feb 23, 2017 at 7:27 AM, Gleb Smirnoff wrote: > > > On Tue, Feb 21, 2017 at 09:58:45AM +0100, Julien Charbon wrote: > > > J> > T> 1) The patch worked pretty okay, but the idea of separate file type is > > > J> > T> abandoned. With current filedescriptor code it is almost impossible > > > J> > T> to racelessly switch fileops and f_data. > > > J> > T> For more details read the commit message, URL below. > > > J> > T> > > > J> > T> 2) I moved the work to git. It allows for easier code sharing. > > > J> > T> > > > J> > T> https://github.com/glebius/FreeBSD/commit/3a52df429889ea9c6e61013f6913aad95939f159 > > > J> > > > > J> > The current 'solisten' branch at https://github.com/glebius/FreeBSD has > > > J> > been running successfully for 48 hours at Netflix. But as mentioned before, > > > J> > our connection rate is pretty low. > > > J> > > > > J> > So, testing from Julien and Hiren will be much appreciated. > > > J> > > > J> Sound good, I will have spare time to get performance results on our > > > J> side w/ and w/o your change before the end of this week. > > > > > > Thanks, Julien! Looking forward for your results. Meanwhile, the code has > > > been running for a week on a single Netflix box. And for 24 hours on a > > > set of boxes as A/B test against non-patched code. Since our connection > > > rate is low, and we never seen accept_mtx to be a major problem in our > > > profiling, the A/B test didn't show any statistically significant > > > improvements. But my biased eye of course sees some improvements in the > > > graphs :) > > > > You can use this to force clients to generate 1 request/connection > > (--connreqs 1) to test the accept queue contention for HTTP workload: > > https://github.com/sepherosa/wrk > > > > Checkout the sephe/wrk branch. pkg install wrk. Then gmake in the > > checked out directory. > > pkg install gcc gmake, may be? > > PANIC: unprotected error in call to Lua API (27) > PANIC: unprotected error in call to Lua API (13) Ah, sorry, wrong branch. Can I use per-connection Lua script (for delays and url generation)? Not per-thread. I am need to emulate many client connections (about 10K-40K). Currently I am have some trouble w/ >20K connections. From owner-freebsd-net@freebsd.org Sat Feb 25 15:09: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 2362BCEC7C2 for ; Sat, 25 Feb 2017 15:09:31 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 010D1CD9 for ; Sat, 25 Feb 2017 15:09:31 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id F1018CEC7C0; Sat, 25 Feb 2017 15:09:30 +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 F09C8CEC7BF for ; Sat, 25 Feb 2017 15:09:30 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: from mail-vk0-x22d.google.com (mail-vk0-x22d.google.com [IPv6:2607:f8b0:400c:c05::22d]) (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 A8DB5CD8; Sat, 25 Feb 2017 15:09:30 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: by mail-vk0-x22d.google.com with SMTP id t8so25141251vke.3; Sat, 25 Feb 2017 07:09:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=J9qzbBgbSzdU0QBH+YCeS6yswpdkVonFzAzZhZbKRro=; b=nS8HJW9EBAdKw2SSgnxp/n2CaIFhr6pQ44VQ7hQM6ozrjUoBsk635nel8o9Yf8Xfts 3qxT/YInnFVbd/PtJpEuux4eHVoTucXHg9+W0RLdjvSyYsfg+MbPsgDJMpfsqNlXwxFK oSfYPBTppae8YBs2IavdFnD+vrElf5XZRQZnojmpi3LWv9gbGd33r0xLUKDgb6oPDKV5 zsOEeIYB6A/+Uu4m9WsupbtwWnxixceZfyoIUe04JD92T5H511JYXCiwK11Vn9pA2PwQ kzSeW9futRmJd6zff2y2nnbLR8sDmkRqzFp23g5DNcYwAGle0rhyvf+058XfeLnAZEh5 BDJA== 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=J9qzbBgbSzdU0QBH+YCeS6yswpdkVonFzAzZhZbKRro=; b=arITmQeGCnWlBtkHn2cOePiC1V82yUNod4X0ibhEqbx2T0DLOc6bBoAjNb6zFdWG1j EZeTK42qUH+T7VQA1gAA4MLqd9nPLkkvWOb9QEs7CPPnq0sAw+yw6D5l0+EucoUzOl9Q 4MfWe1gTXXiOLJsAce6ryEiZWrjp+MCxVkjSno8XhnPaPfP17io3iTvyyx7uawB+MM3o pKkGZzIsYJbGV7W248os/W3MocC4zV1V3yJVsvm7Z7oq0QWbYS1oaHcQslc/WON3b+6q aF5mYr99FaWeN3HeUJYk3PdNCRhb2I+rFH/Wl7XJRPBzGrxsysB9q01Qdsqk29YBTY7o OrSg== X-Gm-Message-State: AMke39k8TjlhA7NhPPriZFGs5ZiY3zB82ufxHQLlHKFgUJlw653G7q6bBCR+hnKfYXOMNza6D0WJUfCpMINuvA== X-Received: by 10.31.134.142 with SMTP id i136mr3698096vkd.56.1488035369682; Sat, 25 Feb 2017 07:09:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.176.66.193 with HTTP; Sat, 25 Feb 2017 07:09:29 -0800 (PST) In-Reply-To: <20170224131349.GJ15630@zxy.spb.ru> References: <20170127005251.GM2611@FreeBSD.org> <20170210063024.GE1973@FreeBSD.org> <20170216184903.GF58829@FreeBSD.org> <0858647a-ec3c-1a78-053f-d04397a82d8a@freebsd.org> <20170222232704.GJ8899@FreeBSD.org> <20170223153636.GI15630@zxy.spb.ru> <20170224131349.GJ15630@zxy.spb.ru> From: Sepherosa Ziehau Date: Sat, 25 Feb 2017 23:09:29 +0800 Message-ID: Subject: Re: listening sockets as non sockets To: Slawa Olhovchenkov Cc: rrs@freebsd.org, hiren@freebsd.org, Jason Eggleston , Julien Charbon , "freebsd-net@freebsd.org" , jtl@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Feb 2017 15:09:31 -0000 On Fri, Feb 24, 2017 at 9:13 PM, Slawa Olhovchenkov wrote: > On Thu, Feb 23, 2017 at 06:36:36PM +0300, Slawa Olhovchenkov wrote: > >> On Thu, Feb 23, 2017 at 11:40:21AM +0800, Sepherosa Ziehau wrote: >> >> > On Thu, Feb 23, 2017 at 7:27 AM, Gleb Smirnoff wrote: >> > > On Tue, Feb 21, 2017 at 09:58:45AM +0100, Julien Charbon wrote: >> > > J> > T> 1) The patch worked pretty okay, but the idea of separate file type is >> > > J> > T> abandoned. With current filedescriptor code it is almost impossible >> > > J> > T> to racelessly switch fileops and f_data. >> > > J> > T> For more details read the commit message, URL below. >> > > J> > T> >> > > J> > T> 2) I moved the work to git. It allows for easier code sharing. >> > > J> > T> >> > > J> > T> https://github.com/glebius/FreeBSD/commit/3a52df429889ea9c6e61013f6913aad95939f159 >> > > J> > >> > > J> > The current 'solisten' branch at https://github.com/glebius/FreeBSD has >> > > J> > been running successfully for 48 hours at Netflix. But as mentioned before, >> > > J> > our connection rate is pretty low. >> > > J> > >> > > J> > So, testing from Julien and Hiren will be much appreciated. >> > > J> >> > > J> Sound good, I will have spare time to get performance results on our >> > > J> side w/ and w/o your change before the end of this week. >> > > >> > > Thanks, Julien! Looking forward for your results. Meanwhile, the code has >> > > been running for a week on a single Netflix box. And for 24 hours on a >> > > set of boxes as A/B test against non-patched code. Since our connection >> > > rate is low, and we never seen accept_mtx to be a major problem in our >> > > profiling, the A/B test didn't show any statistically significant >> > > improvements. But my biased eye of course sees some improvements in the >> > > graphs :) >> > >> > You can use this to force clients to generate 1 request/connection >> > (--connreqs 1) to test the accept queue contention for HTTP workload: >> > https://github.com/sepherosa/wrk >> > >> > Checkout the sephe/wrk branch. pkg install wrk. Then gmake in the >> > checked out directory. >> >> pkg install gcc gmake, may be? >> >> PANIC: unprotected error in call to Lua API (27) >> PANIC: unprotected error in call to Lua API (13) > > Ah, sorry, wrong branch. > > Can I use per-connection Lua script (for delays and url generation)? > Not per-thread. I am need to emulate many client connections (about > 10K-40K). > Currently I am have some trouble w/ >20K connections. I didn't try the Lua script. Make sure to low the MSL on the box running wrk, e.g. 10ms. Well, I'd recommend you to run 15K concurrent connections on one testing box. Thanks, sephe -- Tomorrow Will Never Die From owner-freebsd-net@freebsd.org Sat Feb 25 15:56: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 B546BCED8C9 for ; Sat, 25 Feb 2017 15:56:32 +0000 (UTC) (envelope-from slw@zxy.spb.ru) 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 9FEE5D12 for ; Sat, 25 Feb 2017 15:56:32 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: by mailman.ysv.freebsd.org (Postfix) id 9C407CED8C7; Sat, 25 Feb 2017 15:56:32 +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 9BF25CED8C6 for ; Sat, 25 Feb 2017 15:56:32 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (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 5C9E8D10 for ; Sat, 25 Feb 2017 15:56:32 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1chehw-0000pS-ED; Sat, 25 Feb 2017 18:56:28 +0300 Date: Sat, 25 Feb 2017 18:56:28 +0300 From: Slawa Olhovchenkov To: Sepherosa Ziehau Cc: "freebsd-net@freebsd.org" Subject: Re: listening sockets as non sockets Message-ID: <20170225155628.GB6035@zxy.spb.ru> References: <20170127005251.GM2611@FreeBSD.org> <20170210063024.GE1973@FreeBSD.org> <20170216184903.GF58829@FreeBSD.org> <0858647a-ec3c-1a78-053f-d04397a82d8a@freebsd.org> <20170222232704.GJ8899@FreeBSD.org> <20170223153636.GI15630@zxy.spb.ru> <20170224131349.GJ15630@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false 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, 25 Feb 2017 15:56:32 -0000 On Sat, Feb 25, 2017 at 11:09:29PM +0800, Sepherosa Ziehau wrote: > > Can I use per-connection Lua script (for delays and url generation)? > > Not per-thread. I am need to emulate many client connections (about > > 10K-40K). > > Currently I am have some trouble w/ >20K connections. > > I didn't try the Lua script. Make sure to low the MSL on the box > running wrk, e.g. 10ms. Well, I'd recommend you to run 15K concurrent > connections on one testing box. Thanks! Can you explain some more this recomendations? PS: I am run wrk w/ '--connreqs 600' From owner-freebsd-net@freebsd.org Sat Feb 25 20:22: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 D8505CEDBFC for ; Sat, 25 Feb 2017 20:22: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 ADC9DA2B for ; Sat, 25 Feb 2017 20:22: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 v1PKMZZT096801 for ; Sat, 25 Feb 2017 20:22:35 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213257] Crash in IGB driver with ALTQ Date: Sat, 25 Feb 2017 20:22: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: 10.3-STABLE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable9? mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Feb 2017 20:22:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213257 --- Comment #26 from commit-hook@freebsd.org --- A commit references this bug: Author: loos Date: Sat Feb 25 20:21:39 UTC 2017 New revision: 314281 URL: https://svnweb.freebsd.org/changeset/base/314281 Log: Disable the driver managed queue for igb(4) when the legacy transmit interface is used. The legacy API (IGB_LEGACY_TX) is enabled when ALTQ is built into kernel. As noted in altq(9), it is responsibility of the caller to protect this queue against concurrent access and, in the igb case, the interface send queue is protected by tx queue mutex. This obviously cannot protect the driver managed queue against concurrent access from different tx queues and leads to numerous and quite strange panic traces (usually shown as packets disappearing into thin air). Improving the locking to cope with this means serialize all access to this (single) queue and produces no gain, it actually affects the performance quite noticeabily. The driver managed queue is already disabled when an ALTQ queue discipline is set on interface (in altq_enable()), because the driver managed queue can interfere with ALTQ timing (whence the reports that setting an ALTQ queue discipline on interface also fixes the issue). Disabling this additional queue keeps the ability to use if_start() to send packets to individual NIC queues while it simply eliminate the race. This is a direct commit to stable/11 as -head driver does not support ALTQ anymore. PR: 213257 PR: 212413 Discussed with: sbruno Tested by: Konstantin Kormashev Obtained from: pfSense Sponsored by: Rubicon Communications, LLC (Netgate) Changes: stable/11/sys/dev/e1000/if_igb.c --=20 You are receiving this mail because: You are the assignee for the bug.=