From owner-freebsd-net@freebsd.org Sun Nov 27 19:40:55 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 046F8C596DA for ; Sun, 27 Nov 2016 19:40:55 +0000 (UTC) (envelope-from michael.j.knap@gmail.com) Received: from mail-qk0-x232.google.com (mail-qk0-x232.google.com [IPv6:2607:f8b0:400d:c09::232]) (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 B4E23D6B for ; Sun, 27 Nov 2016 19:40:54 +0000 (UTC) (envelope-from michael.j.knap@gmail.com) Received: by mail-qk0-x232.google.com with SMTP id x190so121297360qkb.0 for ; Sun, 27 Nov 2016 11:40:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=iekxDbtSJmGMdViPuATstA5kG5kAUf/Cx7y1GKofi8w=; b=Ur+GlDwX229EYYyeBjnjyhVScwH/wWuSpN+1PSttvnzlX/kE3xDi/a/jPcc1ZU2Hus 1I82JYA5VoQDkSaHPEepAUGTK8sXSgWLN2sLMugnaf7OQPwsXWYSAFoYmQKDyfBRY6DH gzCAd4DuLcFQMo8g8aqFoWly1eTxPNpBqvqSrON0y7o61OkrceZpZNOb1R83fAwEugu7 ZZYYaoSQysU8X+lPZqd2f0NWrBZBX5PNttMKZk0Z7CBRORygxUUyF6vI0SaVbf5somPk imUm+3kfAyejzIIqkgjfjur//FzYTLSRaGWcDH8Kg72cwaYSy0Lkuj6krCkYH+6cKYqi nOEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=iekxDbtSJmGMdViPuATstA5kG5kAUf/Cx7y1GKofi8w=; b=QQTZjVPFsDr1dYM7tdMOgqEbTcVrrjLOgOSNDUm7k7JVgK5ZuGkQDpm5OK/NKxz56S 6dgCtJqGBh7ikz13GAZj6k/2WOx9qqlXRpjNKPZrksrnKWGe3UHX1vwpttC03sMnqZZQ UE/v/URWB/TSAqVTXuBICAGQqTbYl1vheI55d5C6PRd4TAeSjrsmjxn/D0XnvdObnJTr 6Qgristk9I60CbRl03GMAa4R1ybA2N4wInUaM4UtPAB5EvNOlNw/LbFxIom5pVDZEn3l vRF/Utfwi+k6ipu9H4VeWnOB/a1R9h+G70p5VqEz9INotubfHPkBRvQu2fw45v4/7NVy HXJg== X-Gm-Message-State: AKaTC014M7IpM6i5SsEw9S3BwdHJJ1Nl61lwEudHYrueMLOom9jxlZUrZpLJLL4lphZTjFeOuyP1v57JCAZX0A== X-Received: by 10.55.17.206 with SMTP id 75mr14565445qkr.10.1480275653706; Sun, 27 Nov 2016 11:40:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.95.112 with HTTP; Sun, 27 Nov 2016 11:40:53 -0800 (PST) From: Michael Knap Date: Sun, 27 Nov 2016 13:40:53 -0600 Message-ID: Subject: Intel 82567V-2 using em driver, no carrier or constant link-state changes with 1000BaseT To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Nov 2016 19:40:55 -0000 Preface: I've been a long-time linux user, and I am enjoying the BSD experience. For the following scenario, I have reproduced these results with 3 or more cables which are known to be good. Using FreeBSD 10.3 Stable : FreeBSD 10.3-STABLE #0 r295946+07c41cd(9.10-STABLE): Wed Nov 9 00:19:25 UTC 2016 root@gauntlet :/freenas-9.10-releng/_BE/objs/freenas-9.10-releng/_BE/os/sys/FreeNAS.amd64 Also, this isn't a NIC, per se, as it is onboard, but I will call it a NIC or card or whatever. Using em driver, though I don't know how to determine a driver version (if there is such a thing). Basically, the card will not push gigabit, though it will work with 100BaseTX. However, there seems to be more than just that as the chip-set is advertised as a gigabit Ethernet controller. When connected to a 100BaseTX switch, everything is good. Leaving it in autodetect mode, and connecting to a 1000baseTX switch (with good CAT6 cable), the card's link state oscillates from link up and link down: Nov 27 13:07:38 freenas kernel: em0: link state changed to DOWN Nov 27 13:07:38 freenas kernel: em0: link state changed to DOWN Nov 27 13:07:41 freenas kernel: em0: link state changed to UP Nov 27 13:07:41 freenas kernel: em0: link state changed to UP Nov 27 13:07:41 freenas kernel: em0: link state changed to DOWN Nov 27 13:07:41 freenas kernel: em0: link state changed to DOWN Nov 27 13:07:55 freenas kernel: em0: link state changed to UP Nov 27 13:07:55 freenas kernel: em0: link state changed to UP Nov 27 13:07:56 freenas kernel: em0: link state changed to DOWN Nov 27 13:07:56 freenas kernel: em0: link state changed to DOWN Nov 27 13:07:58 freenas kernel: em0: link state changed to UP Nov 27 13:07:58 freenas kernel: em0: link state changed to UP Nov 27 13:07:59 freenas kernel: em0: link state changed to DOWN Nov 27 13:07:59 freenas kernel: em0: link state changed to DOWN Nov 27 13:08:01 freenas kernel: em0: link state changed to UP Nov 27 13:08:01 freenas kernel: em0: link state changed to UP Nov 27 13:08:02 freenas kernel: em0: link state changed to DOWN Nov 27 13:08:02 freenas kernel: em0: link state changed to DOWN If I issue ifconfig em0 media 100baseTX mediaopt full-duplex, then I have no carrier. Also, ifconfig em0 media 1000baseT gives no carrier. However, if I ifconfig em0 media 10baseT, then I can get an active link. Interestingly, man em(4) does not claim to support this chipset, though it seems that this chipset was once supported in either e1000 or igb for older freeBSD versions? Now, at least from the driver's POV, I should be able to handle gigabit, as ifconfig -m em0 em0: flags=8c02 metric 0 mtu 1500 options=4219b capabilities=5399b ether 00:25:11:59:d4:be inet 10.42.0.111 netmask 0xffffff00 broadcast 10.42.0.255 nd6 options=9 media: Ethernet 10baseT/UTP (10baseT/UTP ) status: active supported media: media autoselect media 1000baseT media 1000baseT mediaopt full-duplex media 100baseTX mediaopt full-duplex media 100baseTX media 10baseT/UTP mediaopt full-duplex media 10baseT/UTP However when connected to gigabit switch, any explicit declaration of media fails except for 10baseT, even the autoselect declaration fails with no carrier. But remember, 100baseTX works out of the box on a 100Mbit switch. So, those more experienced, can you shed some light on what is happening? I'm especially interested in the man em(4) result even though the chipset has been supported in the past, and intel does provide drivers for this chipset, though I'm not sure if I could compile them or not. BTW, my switches are only consumer grade, unmanaged. Is that where I'm stuck? Thanks for such an awesome license, operating system, and community. From owner-freebsd-net@freebsd.org Sun Nov 27 20:41:19 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93A01C597F7 for ; Sun, 27 Nov 2016 20:41:19 +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 83A741F4B for ; Sun, 27 Nov 2016 20:41:19 +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 uARKfJeN045391 for ; Sun, 27 Nov 2016 20:41:19 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 214832] if_pflog subrulenr incorrectly set Date: Sun, 27 Nov 2016 20:41:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: patch 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: 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: Sun, 27 Nov 2016 20:41:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214832 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bz@FreeBSD.org, | |kp@freebsd.org, | |sbruno@FreeBSD.org --- Comment #2 from Sean Bruno --- Adding folks who have done stuff/things in pf --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Nov 27 21:01:03 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07CAFC59F5D for ; Sun, 27 Nov 2016 21:01: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 F2767DF6 for ; Sun, 27 Nov 2016 21:01:02 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uARL010v079702 for ; Sun, 27 Nov 2016 21:01:02 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201611272101.uARL010v079702@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, 27 Nov 2016 21:01:02 +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, 27 Nov 2016 21:01:03 -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 | 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 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 | 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 | 212018 | Enable IPSEC_NAT_T in GENERIC kernel configuratio 13 problems total for which you should take action. From owner-freebsd-net@freebsd.org Mon Nov 28 01:50:26 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F714C58E75 for ; Mon, 28 Nov 2016 01:50:26 +0000 (UTC) (envelope-from frankd@frank-d.info) Received: from sender163-mail.zoho.com (sender163-mail.zoho.com [74.201.84.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 19397654E9 for ; Mon, 28 Nov 2016 01:50:25 +0000 (UTC) (envelope-from frankd@frank-d.info) Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1480297818650242.91968671420955; Sun, 27 Nov 2016 17:50:18 -0800 (PST) Date: Sun, 27 Nov 2016 17:50:18 -0800 From: Frank DiMitri To: "" Message-Id: <158a8a02a14.11c57878d202623.4266299996694963357@frank-d.info> In-Reply-To: Subject: Mellanox ConnectX/X2/X3 OFED module for FreeBSD 11.x MIME-Version: 1.0 X-Priority: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2016 01:50:26 -0000 Mellanox has no driver for cards earlier than ConnectX4 available for FreeBSD 11.x at the moment. What I have right now is a quick hack to get the 2.1.6 driver for 10.1 to compile and work under 11.0. It needs some polishing, but it does work. I didn't do anything for the InfiniBand side, only the Ethernet/core. https://github.com/fdimitri/Mellanox-OFED-ConnectX-FreeBSD11 For anyone looking to run these cards under FreeBSD 11.0, this should work at the least in the interim. The only non-functional part under 11.0-release-p1 are the counters available through sysctl (hw.mlxenX.stat) for packet sizes ie in_gt_1548. Hopefully this is the right place to send this. Is there a reason the OFED drivers aren't in-tree? They are dual-licensed under GPL and BSD. Thanks, Frank DiMitri From owner-freebsd-net@freebsd.org Mon Nov 28 06:00:37 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5C3B5C512F6 for ; Mon, 28 Nov 2016 06:00:37 +0000 (UTC) (envelope-from menyy@mellanox.com) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0084.outbound.protection.outlook.com [104.47.1.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9ABC210BC for ; Mon, 28 Nov 2016 06:00:35 +0000 (UTC) (envelope-from menyy@mellanox.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=lkGHT2m5Ywp1/uYVPomdFGTOEPFnwg2p08ZmMMvJ3Ic=; b=xaYnvcfjIguVlw/1+l+KNefkJo2M8pmmis1r+nQcWxAIRTqE2OcCLrPSQXXMdUtyBxrv7QyaiaB9+bl4qn9fASLQokOzeE6durXAVTdCyBe8zZEBlpJVjhMhRRpa/cY9OhP6b75R2FhlCEOEVwzLNRgHzYGzSY878Gm19qPmdF8= Received: from DB5PR05MB1765.eurprd05.prod.outlook.com (10.165.7.23) by DB5PR05MB1765.eurprd05.prod.outlook.com (10.165.7.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.747.13; Mon, 28 Nov 2016 06:00:26 +0000 Received: from DB5PR05MB1765.eurprd05.prod.outlook.com ([10.165.7.23]) by DB5PR05MB1765.eurprd05.prod.outlook.com ([10.165.7.23]) with mapi id 15.01.0747.013; Mon, 28 Nov 2016 06:00:26 +0000 From: Meny Yossefi To: "freebsd-net@freebsd.org" CC: freebsd-drivers Subject: RE: Mellanox ConnectX/X2/X3 OFED module for FreeBSD 11.x Thread-Topic: Mellanox ConnectX/X2/X3 OFED module for FreeBSD 11.x Thread-Index: AQHSSRnQXhuIFh5pwkGDJE5Ij9BZUaDtoW28gABDENA= Date: Mon, 28 Nov 2016 06:00:26 +0000 Message-ID: References: <158a8a02a14.11c57878d202623.4266299996694963357@frank-d.info> <9465895c92a747589c6e343aabc38a54@AM5PR0502MB2916.eurprd05.prod.outlook.com> In-Reply-To: <9465895c92a747589c6e343aabc38a54@AM5PR0502MB2916.eurprd05.prod.outlook.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=menyy@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-office365-filtering-correlation-id: a2610c8e-a34b-4a5b-6929-08d41753d9b0 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DB5PR05MB1765; x-microsoft-exchange-diagnostics: 1; DB5PR05MB1765; 7:YYMceqKvkjCEvxF5U9g0FcN9U+4KUX8/6fWsYwrmefHxFn42U7lhnDcH/gCRG2fTdS16GRwfHPLyYLNLI0VxKXJVMojKPBsOg3c7n0zRaoVQst47w792Y7pAn7K/Dtd1zZwKqfsaHJDUUnXZYT2rJ4XEfheqsIaIO3wvh1VMy/Vwpiw1class32mCmtW8kYkrUzhhfuh3l4cpbVkKDg23BTTM6YFXItQ0R1OeO0ZaB1slP7fnTWiol2pHm0RP+QZXsKPRmhRyhFWArkc+Rc6STHX2GcN8x3foKvZSBKNr3jPffYwTYTTKOIlH0PBTN4OIDpPp2LHWN3YHzLGCcl9wL/Iz0knv4HN6P75d2frSXYjwOVL8XACDc8Yan2PRWLyTn0Sk1CwSPd0GRCvkZL7WyuugSlQQuyu/PtqnQqvHTuBkICPeoo10ahdWTR5r762PmXu1WZ8TwA7hBjFHLo0IA== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(166708455590820)(75325880899374)(21748063052155); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6060326)(6040361)(6045199)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(6061324)(20161123560025)(20161123555025)(20161123564025)(20161123562025); SRVR:DB5PR05MB1765; BCL:0; PCL:0; RULEID:; SRVR:DB5PR05MB1765; x-forefront-prvs: 01401330D1 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(7916002)(199003)(377454003)(189002)(450100001)(122556002)(4326007)(9326002)(790700001)(102836003)(6116002)(3846002)(5630700001)(8676002)(81156014)(3660700001)(76576001)(2501003)(33656002)(3280700002)(5640700001)(81166006)(8936002)(101416001)(76176999)(50986999)(54356999)(9686002)(68736007)(105586002)(2906002)(77096006)(4001430100002)(39450400002)(39380400001)(106116001)(106356001)(39410400001)(2351001)(229853002)(39400400001)(38730400001)(6506003)(606004)(7906003)(7846002)(7736002)(5660300001)(2900100001)(74316002)(7696004)(110136003)(97736004)(189998001)(92566002)(2950100002)(6916009)(107886002)(86362001)(66066001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR05MB1765; H:DB5PR05MB1765.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Nov 2016 06:00:26.7093 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR05MB1765 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2016 06:00:37 -0000 Hi, Not sure how did you reach that conclusion. We have an updated 11.x inbox driver for ConnectX-3 under /sys/ofed/ Eth: /sys/ofed/drivers/net/mlx4 InfiniBand: /sys/ofed/drivers/infiniband/.. We have recently (12-CURRENT) moved the ConnectX-3 driver to /sys/dev We'll be happy to assist in case you have more questions. -Meny ________________________________________ From: owner-freebsd-net@freebsd.orgOn Behalf OfFrank DiMitri Sent: Monday, November 28, 2016 1:50:18 AM (UTC+00:00) Monrovia, Reykjavik To: freebsd-net@freebsd.org Subject: Mellanox ConnectX/X2/X3 OFED module for FreeBSD 11.x Mellanox has no driver for cards earlier than ConnectX4 available for FreeB= SD 11.x at the moment. What I have right now is a quick hack to get the 2.1.6 driver for 10.1 to c= ompile and work under 11.0. It needs some polishing, but it does work. I di= dn't do anything for the InfiniBand side, only the Ethernet/core. https://github.com/fdimitri/Mellanox-OFED-ConnectX-FreeBSD11 For anyone looking to run these cards under FreeBSD 11.0, this should work = at the least in the interim. The only non-functional part under 11.0-releas= e-p1 are the counters available through sysctl (hw.mlxenX.stat) for packet = sizes ie in_gt_1548. Hopefully this is the right place to send this. Is there a reason the OFED drivers aren't in-tree? They are dual-licensed u= nder GPL and BSD. Thanks, Frank DiMitri _______________________________________________ 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 Nov 28 06:11:46 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4D859C5184A for ; Mon, 28 Nov 2016 06:11:46 +0000 (UTC) (envelope-from frankd@frank-d.info) Received: from sender163-mail.zoho.com (sender163-mail.zoho.com [74.201.84.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 35D5519AC for ; Mon, 28 Nov 2016 06:11:45 +0000 (UTC) (envelope-from frankd@frank-d.info) Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1480313417460491.8606290735262; Sun, 27 Nov 2016 22:10:17 -0800 (PST) Date: Sun, 27 Nov 2016 22:10:17 -0800 From: Frank DiMitri To: "Meny Yossefi" Cc: "freebsd-net@freebsd.org" , "freebsd-drivers" Message-Id: <158a98e2ee9.e28b1c99215641.6054804446440545025@frank-d.info> In-Reply-To: References: <158a8a02a14.11c57878d202623.4266299996694963357@frank-d.info> <9465895c92a747589c6e343aabc38a54@AM5PR0502MB2916.eurprd05.prod.outlook.com> Subject: RE: Mellanox ConnectX/X2/X3 OFED module for FreeBSD 11.x MIME-Version: 1.0 X-Priority: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2016 06:11:46 -0000 Meny, Amazingly enough I completely missed that, and nobody was able to point me to them. I was unaware of any in-tree Mellanox drivers. My (embarrassing) mistake, glad to see they're in the kernel by default. Thanks! ---- On Sun, 27 Nov 2016 22:00:26 -0800 Meny Yossefi <menyy@mellanox.com> wrote ---- Hi, Not sure how did you reach that conclusion. We have an updated 11.x inbox driver for ConnectX-3 under /sys/ofed/ Eth: /sys/ofed/drivers/net/mlx4 InfiniBand: /sys/ofed/drivers/infiniband/.. We have recently (12-CURRENT) moved the ConnectX-3 driver to /sys/dev We'll be happy to assist in case you have more questions. -Meny ________________________________________ From: owner-freebsd-net@freebsd.orgOn<mailto:owner-freebsd-net@freebsd.orgOn> Behalf OfFrank DiMitri Sent: Monday, November 28, 2016 1:50:18 AM (UTC+00:00) Monrovia, Reykjavik To: freebsd-net@freebsd.org<mailto:freebsd-net@freebsd.org> Subject: Mellanox ConnectX/X2/X3 OFED module for FreeBSD 11.x Mellanox has no driver for cards earlier than ConnectX4 available for FreeBSD 11.x at the moment. What I have right now is a quick hack to get the 2.1.6 driver for 10.1 to compile and work under 11.0. It needs some polishing, but it does work. I didn't do anything for the InfiniBand side, only the Ethernet/core. https://github.com/fdimitri/Mellanox-OFED-ConnectX-FreeBSD11 For anyone looking to run these cards under FreeBSD 11.0, this should work at the least in the interim. The only non-functional part under 11.0-release-p1 are the counters available through sysctl (hw.mlxenX.stat) for packet sizes ie in_gt_1548. Hopefully this is the right place to send this. Is there a reason the OFED drivers aren't in-tree? They are dual-licensed under GPL and BSD. Thanks, Frank DiMitri _______________________________________________ freebsd-net@freebsd.org<mailto: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<mailto: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 Mon Nov 28 09:07:55 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1BC2FC5877A for ; Mon, 28 Nov 2016 09:07:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0B5511621 for ; Mon, 28 Nov 2016 09:07:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uAS97sPZ034437 for ; Mon, 28 Nov 2016 09:07:54 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213237] ndis does not create network interface Date: Mon, 28 Nov 2016 09:07:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-RC1 X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ota@j.email.ne.jp X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2016 09:07:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213237 --- Comment #2 from ota@j.email.ne.jp --- (In reply to Andriy Voskoboinyk from comment #1) $ sysctl net.wlan.devices net.wlan.devices: ndis0 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Nov 28 09:10:44 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 896ACC58826 for ; Mon, 28 Nov 2016 09:10:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7980D1718 for ; Mon, 28 Nov 2016 09:10:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uAS9AieN055580 for ; Mon, 28 Nov 2016 09:10:44 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213237] ndis does not create network interface Date: Mon, 28 Nov 2016 09:10:44 +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-RC1 X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ota@j.email.ne.jp X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2016 09:10:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213237 --- Comment #3 from ota@j.email.ne.jp --- It looks rev 286410 (due to compile error, I tested with 286416) is when a problem started. With rev 286416, kldload crashes the system. With 11.0-RELEASE, kernel doesn't crash but ndis does not function. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Nov 28 09:19:09 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B7DCFC58C69 for ; Mon, 28 Nov 2016 09:19: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 A7CAA1E28 for ; Mon, 28 Nov 2016 09:19: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 uAS9J93x051880 for ; Mon, 28 Nov 2016 09:19:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213237] ndis does not create network interface Date: Mon, 28 Nov 2016 09:19:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-RC1 X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ota@j.email.ne.jp X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2016 09:19:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213237 --- Comment #4 from ota@j.email.ne.jp --- On 11.0-RELEASE, I also see pci-one error as following today. ndis print is= the same as last time. I reran ndisgen and tried. $ kldload ./bcmwl5_sys3.ko pci1: at device 0.0 (no driver attached) ndis0: mem 0x57100000-0x57103fff irq 16 = at device 0.0 on pci1 ndis0: NDIS API version: 5.1 I had booted 10.2-RELEASE and ndis didn't have issues. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Nov 28 09:26:03 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CBF82C58F82 for ; Mon, 28 Nov 2016 09:26: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 BB7FC12AC for ; Mon, 28 Nov 2016 09:26: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 uAS9Q35l070149 for ; Mon, 28 Nov 2016 09:26:03 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213237] ndis does not create network interface Date: Mon, 28 Nov 2016 09:26:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-RC1 X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ota@j.email.ne.jp X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2016 09:26:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213237 --- Comment #5 from ota@j.email.ne.jp --- 11.0-RELEASE output, typed by hand. $ pciconf -lv ... ndis@pci0:1:0:0: class=3D0x028000 card=3D0xe01b105b chip=3D0x431514e4 re= v=3D0x01 hdr=3D0x00 vendor =3D 'Broadcom Corporation' device =3D 'BCM4312 802.11b/g LP-PHY' class =3D netowork --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Nov 28 12:46:59 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A666C5875F for ; Mon, 28 Nov 2016 12:46:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0A0E01EAE for ; Mon, 28 Nov 2016 12:46:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uASCkwgp063486 for ; Mon, 28 Nov 2016 12:46:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 208343] [em] wake on lan not working with Intel I219 V2 Date: Mon, 28 Nov 2016 12:46:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: madpilot@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2016 12:46:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208343 --- Comment #29 from Guido Falsi --- Hi, Since I submitted this bug I'm asking what is the policy for accounting it = as fixed? The bug I reported has been fixed in r308643, so my opinion is this bug rep= ort could be closed as fixed. Should I close it, or wait for a src committer to close it? Should I wait f= or the MFC or the other commenters to report back? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Nov 28 12:54:00 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD495C58B8B for ; Mon, 28 Nov 2016 12:54:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BC856164F for ; Mon, 28 Nov 2016 12:54:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uASCs0AM081057 for ; Mon, 28 Nov 2016 12:54:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 208343] [em] wake on lan not working with Intel I219 V2 Date: Mon, 28 Nov 2016 12:54:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sbruno@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: flagtypes.name assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2016 12:54:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208343 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |mfc-stable10?, | |mfc-stable11? Assignee|freebsd-net@FreeBSD.org |sbruno@FreeBSD.org --- Comment #30 from Kubilay Kocak --- (In reply to Guido Falsi from comment #29) 1) Assign to committer resolving (sbruno) Note: Committers should assign themselves as early as possible and reference PR: in commit log messages. 2) Set mfc-stableX flags to ? (means request/ask for mfc) Committer resolving will either: a) Set + upon MFC to that branch, or b) Set - with comment outlining why not (unnecessary, breaks kbi, etc) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Nov 28 20:48:52 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DDB6BC59426 for ; Mon, 28 Nov 2016 20:48:52 +0000 (UTC) (envelope-from menyy@mellanox.com) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0074.outbound.protection.outlook.com [104.47.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 45C761FA0 for ; Mon, 28 Nov 2016 20:48:51 +0000 (UTC) (envelope-from menyy@mellanox.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=e6EEXOtLBJMrUXTtDcoREGkdi3yu+vfJUFD1e1eQalg=; b=sgHdhCleQMV0y+ntrAAp9C/I1gWeA7yCQRTMLYPz+soAjiwmxo6gAb9Ky2Y6ByXKLl+Rv1eLkb4a6FaVQU5TonY/46TytqkBzhevlf2cp5IaI9SP3bvReOA2Xm/NIamhi46jnVCspq9mFeHAl+ljqJf21OAJQqQgIrBm3gnOvHA= Received: from DB5PR05MB1765.eurprd05.prod.outlook.com (10.165.7.23) by DB5PR05MB1768.eurprd05.prod.outlook.com (10.165.7.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.747.10; Mon, 28 Nov 2016 19:13:21 +0000 Received: from DB5PR05MB1765.eurprd05.prod.outlook.com ([10.165.7.23]) by DB5PR05MB1765.eurprd05.prod.outlook.com ([10.165.7.23]) with mapi id 15.01.0747.013; Mon, 28 Nov 2016 19:13:21 +0000 From: Meny Yossefi To: "freebsd-net@FreeBSD.org" Subject: RE: Mellanox ConnectX/X2/X3 OFED module for FreeBSD 11.x Thread-Topic: Mellanox ConnectX/X2/X3 OFED module for FreeBSD 11.x Thread-Index: AQHSSRnQXhuIFh5pwkGDJE5Ij9BZUaDtoW28gABDENCAAAV9gIAAAHlJgADZ3RA= Date: Mon, 28 Nov 2016 19:13:21 +0000 Message-ID: References: <158a8a02a14.11c57878d202623.4266299996694963357@frank-d.info> <9465895c92a747589c6e343aabc38a54@AM5PR0502MB2916.eurprd05.prod.outlook.com> , <158a98e2ee9.e28b1c99215641.6054804446440545025@frank-d.info> <622a5c2030cd4b4e95ccd818bbb23397@AM5PR0502MB2916.eurprd05.prod.outlook.com> In-Reply-To: <622a5c2030cd4b4e95ccd818bbb23397@AM5PR0502MB2916.eurprd05.prod.outlook.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=menyy@mellanox.com; x-originating-ip: [79.177.49.31] x-ms-office365-filtering-correlation-id: 60437cd6-7911-4926-b4d1-08d417c29e63 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DB5PR05MB1768; x-microsoft-exchange-diagnostics: 1; DB5PR05MB1768; 7:wpcAtBW+6UB9KNmskZAz7WI4QXdOtebuKv/pKmWD6x5wKsbhPY/oST2xc3D/0qmzMzDLmTRcrRqqgoUdhWAfIl9IjSICnVd/l72siKfSPOdS53U7I+/zPjJSKWW5+GmMiCIQG5Klc92wAd92hMDumHj2gmqMiAq+tEjkFV2q0OtTA6hQfRCQAMq4ga3jJmFiQV9T4YKn39QDtl42rVw7vZlea5BpeKAuRwg9vD2/xO0WiXqlojNkM79gTJZlAhHAJSppaFBZeWUhbi/6h6+88wY1B13J3q1qWVmInnaj2SQg/18WWYtWDF8sQoJezblCBZVzljkzwE2Mu7jPAGKSXgoZFLkpPYBCLky+rkGOsqDx25A/4nhIOTYVKouv7+PNUF/I7JOYImF2YCEqxAyslXaVIaKu6g/qwBqfJFTEmghrMmFFwR+QGyB9ONoPG3Tq3QoTEV3elRJTlYgwnGCblA== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(166708455590820)(75325880899374); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6045199)(6060326)(6040361)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026)(6041248)(6061324)(20161123560025)(20161123558021)(20161123555025)(20161123564025)(20161123562025); SRVR:DB5PR05MB1768; BCL:0; PCL:0; RULEID:; SRVR:DB5PR05MB1768; x-forefront-prvs: 01401330D1 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(189002)(377454003)(199003)(13464003)(7846002)(66066001)(7736002)(74316002)(54356999)(50986999)(76176999)(101416001)(106116001)(229853002)(305945005)(5660300001)(33656002)(106356001)(2906002)(105586002)(102836003)(2351001)(93886004)(2900100001)(8936002)(3900700001)(97736004)(68736007)(6116002)(5640700001)(107886002)(189998001)(3846002)(6506003)(38730400001)(122556002)(92566002)(9686002)(76576001)(450100001)(86362001)(110136003)(3660700001)(8676002)(3280700002)(6916009)(81156014)(39450400002)(81166006)(7696004)(2950100002)(39400400001)(2501003)(77096006)(39380400001)(39410400001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR05MB1768; H:DB5PR05MB1765.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Nov 2016 19:13:21.1959 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR05MB1768 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, 28 Nov 2016 20:48:53 -0000 NP :-) Let us know if you need further assistance.=20 -Meny -----Original Message----- From: freebsd-commits-tracker=20 Sent: Monday, November 28, 2016 8:12 AM To: Mark Bloch ; Meny Yossefi ; Yuv= al Bason Subject: FW: Mellanox ConnectX/X2/X3 OFED module for FreeBSD 11.x ________________________________________ From: owner-freebsd-net@freebsd.orgOn Behalf OfFrank DiMitri Sent: Monday, November 28, 2016 6:10:17 AM (UTC+00:00) Monrovia, Reykjavik To: Meny Yossefi Cc: freebsd-net@freebsd.org; freebsd-drivers Subject: RE: Mellanox ConnectX/X2/X3 OFED module for FreeBSD 11.x Meny, Amazingly enough I completely missed that, and nobody was able to point me = to them. I was unaware of any in-tree Mellanox drivers. My (embarrassing) mistake, glad to see they're in the kernel by default. Thanks! ---- On Sun, 27 Nov 2016 22:00:26 -0800 Meny Yossefi <menyy@mellanox.com= > wrote ---- Hi, Not sure how did you reach that conclusion. We have an updated 11.x inbox driver for ConnectX-3 under /sys/ofed/ Eth: /sys/ofed/drivers/net/mlx4 InfiniBand: /sys/ofed/drivers/infiniband/.. We have recently (12-CURRENT) moved the ConnectX-3 driver to /sys/dev We'll be happy to assist in case you have more questions. -Meny ________________________________________ From: owner-freebsd-net@freebsd.orgOn<mailto:owner-freebsd-net@freebsd.o= rgOn> Behalf OfFrank DiMitri Sent: Monday, November 28, 2016 1:50:18 AM (UTC+00:00) Monrovia, Reykjavik To: freebsd-net@freebsd.org<mailto:freebsd-net@freebsd.org> Subject: Mellanox ConnectX/X2/X3 OFED module for FreeBSD 11.x Mellanox has no driver for cards earlier than ConnectX4 available for FreeB= SD 11.x at the moment. What I have right now is a quick hack to get the 2.1.6 driver for 10.1 to c= ompile and work under 11.0. It needs some polishing, but it does work. I di= dn't do anything for the InfiniBand side, only the Ethernet/core. https://github.com/fdimitri/Mellanox-OFED-ConnectX-FreeBSD11 For anyone looking to run these cards under FreeBSD 11.0, this should work = at the least in the interim. The only non-functional part under 11.0-releas= e-p1 are the counters available through sysctl (hw.mlxenX.stat) for packet = sizes ie in_gt_1548. Hopefully this is the right place to send this. Is there a reason the OFED drivers aren't in-tree? They are dual-licensed u= nder GPL and BSD. Thanks, Frank DiMitri _______________________________________________ freebsd-net@freebsd.org<mailto: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<ma= ilto: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" _______________________________________________ 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 Nov 28 22:15:44 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC9E5C5A01E for ; Mon, 28 Nov 2016 22:15:44 +0000 (UTC) (envelope-from hiren@strugglingcoder.info) Received: from mail.strugglingcoder.info (strugglingcoder.info [104.236.146.68]) by mx1.freebsd.org (Postfix) with ESMTP id BEC8C12EE; Mon, 28 Nov 2016 22:15:44 +0000 (UTC) (envelope-from hiren@strugglingcoder.info) Received: from localhost (unknown [10.1.1.3]) (Authenticated sender: hiren@strugglingcoder.info) by mail.strugglingcoder.info (Postfix) with ESMTPA id 2ECFF17EC7; Mon, 28 Nov 2016 14:10:33 -0800 (PST) Date: Mon, 28 Nov 2016 14:10:33 -0800 From: hiren panchasara To: Jakub Palider Cc: freebsd-net@freebsd.org, karels@FreeBSD.org, glebius@FreeBSD.org Subject: Re: FLOWTABLE aka TCP route caching panic Message-ID: <20161128221033.GM55731@strugglingcoder.info> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oiL9LJXJsdjS5rzq" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) 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, 28 Nov 2016 22:15:44 -0000 --oiL9LJXJsdjS5rzq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable + Mike and Gleb who may provide some help/pointers. On 11/25/16 at 04:33P, Jakub Palider wrote: > Hi, > I have found that last month (19 Oct) the problem appeared on this list, > and to my experience it persists, both on VM and bare metal installation > (HEAD from yesterday). I looks that enabling FLOWTABLE option is the only > source of this fault happening. It appears on our setup in 80% cases with= in > one hour from boot up. > From our debugging, it is caused by lock on DESTROYED lock. Did you find a > solution to this problem? >=20 > Regards, > Jakub > _______________________________________________ > 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" --oiL9LJXJsdjS5rzq Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAABCgBmBQJYPKtRXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNEUyMEZBMUQ4Nzg4RjNGMTdFNjZGMDI4 QjkyNTBFMTU2M0VERkU1AAoJEIuSUOFWPt/lRbgIAJnIakyPSi6Q79giminTp8JI MQWKyLVaYYH1ytXcMYpFslba/KMnG0pixqCiHdUj/t9uTNwcCp+0K1sBblXn5P8V NX6W+8xoWoXo3cAlIvdElNhmUXWdBn72z3ssAPZViGVxUmPKfWXq/U1BNSSIdFhA z9/o9tbgDmRgOSyXp+AemjGT8n2l0Qo4EhXhgwVUzrTzJYHI4KaBUHo0HuPRzCpT 1PmhzJ1ApJOb9LhyGVtbQcJj+llYSdER8V84QSGHhcdYXhayao0DogMmZx98VMI3 6diH8wxeoyYNj45GPNmo3TuLf47Zw4SDTpo7f13/87zeH2WYs6QPCp5Ioof5Rlo= =J73A -----END PGP SIGNATURE----- --oiL9LJXJsdjS5rzq-- From owner-freebsd-net@freebsd.org Mon Nov 28 22:20:49 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4FF89C5A15E for ; Mon, 28 Nov 2016 22:20:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3FF7E16FC for ; Mon, 28 Nov 2016 22:20:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uASMKmNs002587 for ; Mon, 28 Nov 2016 22:20:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 214913] SO_KEEPALIVE does not work? Date: Mon, 28 Nov 2016 22:20: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: 9.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2016 22:20:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214913 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- CC|freebsd-amd64@FreeBSD.org | Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Nov 29 00:55:00 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 68A36C5A112 for ; Tue, 29 Nov 2016 00:55:00 +0000 (UTC) (envelope-from navada@usc.edu) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 465A21376 for ; Tue, 29 Nov 2016 00:55:00 +0000 (UTC) (envelope-from navada@usc.edu) Received: by mailman.ysv.freebsd.org (Postfix) id 42D04C5A111; Tue, 29 Nov 2016 00:55:00 +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 4271AC5A10F for ; Tue, 29 Nov 2016 00:55:00 +0000 (UTC) (envelope-from navada@usc.edu) Received: from mail-pf0-x234.google.com (mail-pf0-x234.google.com [IPv6:2607:f8b0:400e:c00::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C5221375 for ; Tue, 29 Nov 2016 00:54:59 +0000 (UTC) (envelope-from navada@usc.edu) Received: by mail-pf0-x234.google.com with SMTP id i88so27784979pfk.2 for ; Mon, 28 Nov 2016 16:54:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=usc-edu.20150623.gappssmtp.com; s=20150623; h=from:mime-version:subject:message-id:date:to; bh=xleQ4+CHmUFnaOsw37zYPEd9GwxDmvdse8Mp5bT9pBs=; b=vApmUXY/K7k6k0gAAWBOJysmR0ynKZ1D499JoJmXEFajlXkH/hp/ImFOrnbfcMBBuJ ElJ4o7Z1zRnwBdnTtYDYCZ7zFtaddcYk6wOfpamjuBAwdOk4j3pQ1MSy/GkPw/He8R96 QD2BXFUhkZM7asKaZUxTwbe0CvsqZtEk6sfi7DL8FbcFHs2T8/yz9q4v2pL04xDjoRU4 LoVe7Vf+KEWUPn5BXhK17uzbfMzg6bSA1bYDdvD9KDezBdwGMTZfv5I1k0ESDF22JF1x 1FPMucnK85gC3loA7F/tQXInsWtvlVtkq7Ln5lgET/HxHM2QgR8JZ+muyuPImu5iZU5v POJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=xleQ4+CHmUFnaOsw37zYPEd9GwxDmvdse8Mp5bT9pBs=; b=hIzqrNneXF/4yXq4Op5HsdfUeHNKKjo5F8rT01eJEzC5ruNvZeZwdO9paWjCAVJuq1 7SJoSXzVRB7mTTot1zVBa/TrLEjbngnJ5NlwaiyJf5DsO+rGuzI7X19jnj+HCsODc8yL 3x+3R5uy2mrSnIXR7e6xlac4AkQS29VTdJva+LGtLsTymPudS1kWGef8DRCDuTb2xXIQ YxVyXmw3G2BLDghj+1oxT+hpuslHvV4KYRtnKnL9P03F4Bsqb9eimexUWhja4Q3WsMnl t9M820iYOJv1UG9MQDqxXcd6Snu+omhP8VxWVJRN8lHVMqlzkVrbijyj1HrEUge+pLBK er+A== X-Gm-Message-State: AKaTC02RC7CSbJ0Ifx06DtP8CeXJq6qcjar5Nx8iltybAgWqEWrCTh+JZmFshlRTfDKXympo X-Received: by 10.84.175.234 with SMTP id t97mr55834912plb.145.1480380899273; Mon, 28 Nov 2016 16:54:59 -0800 (PST) Received: from guest-wireless-207-151-063-168.usc.edu (guest-wireless-207-151-063-168.usc.edu. [207.151.63.168]) by smtp.gmail.com with ESMTPSA id f132sm73616485pfa.72.2016.11.28.16.54.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Nov 2016 16:54:58 -0800 (PST) From: Harsha Navada Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: RE: Requesting help in Netmap build on Linux Ubuntu-12.04 Message-Id: <061FA295-11CD-4C46-8556-2B47C6F7CC32@usc.edu> Date: Mon, 28 Nov 2016 16:54:58 -0800 To: net@freebsd.org X-Mailer: Apple Mail (2.3251) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Nov 2016 00:55:00 -0000 Hello , I=E2=80=99m new to netmap where I=E2=80=99m trying to insert netmap.ko = module after compiling my kernel and I=E2=80=99m shown with the = following error: netmap: Unknown symbol split_page (err 0) Here are the steps and different methods I followed:=20 I. Compile Kernel 3.2.0 1. My Ubuntu 12.04 machine has a kernel version 3.2.0-90-generic, so i = got the linux source by: sudo apt-get source linux-source-3.2.0 2. Then i work on trying to compile the kernel a. sudo make menuconfig =E2=80=94 Keep default config b. sudo sed -i s/CONFIG_RTS5139=3Dm/CONFIG_RTS5139=3Dn/ .config = - to avoid compilation errors c. sudo make clean d. sudo make -j10 e. sudo make bzImage f. sudo make modules g.sudo make modules_install h. sudo make install i. sudo update-grub2 j. sudo reboot.=20 2 b. On checking kernel version using name -r , this is the kernel = version - 3.2.79 3. Then i download the netmap-master branch from git and upload it to my = machine , cannot use git clone as it doesn=E2=80=99t support external = connections. 4.Unzipping the bundle and switch to LINUX folder to run ./configure 5. Here i received errors where netmap-master/LINUX/drivers/ext-patch = couldn=E2=80=99t be downloaded due to failure to connect. 6. I downloaded these drivers and placed them in that path. 7. I received a warning telling cannot find complete kernel sources, = which i referenced later as=20 ./configure =E2=80=94kernel-sources =3D = /lib/modules/linux-source-(uname -r)/build 8. Then after clearing all warning and errors, the generated netmap.ko = file I try to insert , which gives me the error netmap: Unknown symbol split_page (err 0) II. Avoid kernel compliation 1. Then i download the netmap-master branch from git and upload it to my = machine , cannot use git clone as it doesn=E2=80=99t support external = connections. 2.Unzipping the bundle and switch to LINUX folder to run ./configure 3. Here i received errors where netmap-master/LINUX/drivers/ext-patch = couldn=E2=80=99t be downloaded due to failure to connect. 4. I downloaded these drivers and placed them in that path. 5. I received a warning telling cannot find complete kernel sources, = which i referenced later as=20 ./configure =E2=80=94kernel-sources =3D = /lib/modules/linux-source-(uname -r)/build 6. Then after clearing all warning and errors, the generated netmap.ko = file I try to insert , which gives me the error netmap: Unknown symbol split_page (err 0) III. Tried switching to FreeBSD Cannot download the FreeBSD 10.2 image due to security reasons = mentioned in git / wget.=20 I=E2=80=99m totally stuck for the past 2 weeks and would appreciate help = on this.=20 Thanks=20 H From owner-freebsd-net@freebsd.org Tue Nov 29 03:10:10 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DABCCC5A5A5 for ; Tue, 29 Nov 2016 03:10:10 +0000 (UTC) (envelope-from navada@usc.edu) 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 B5623164D for ; Tue, 29 Nov 2016 03:10:10 +0000 (UTC) (envelope-from navada@usc.edu) Received: by mailman.ysv.freebsd.org (Postfix) id B48A0C5A5A3; Tue, 29 Nov 2016 03:10:10 +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 B3F3FC5A5A0 for ; Tue, 29 Nov 2016 03:10:10 +0000 (UTC) (envelope-from navada@usc.edu) Received: from mail-pf0-x241.google.com (mail-pf0-x241.google.com [IPv6:2607:f8b0:400e:c00::241]) (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 88BA8164B for ; Tue, 29 Nov 2016 03:10:10 +0000 (UTC) (envelope-from navada@usc.edu) Received: by mail-pf0-x241.google.com with SMTP id c4so7381189pfb.3 for ; Mon, 28 Nov 2016 19:10:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=usc-edu.20150623.gappssmtp.com; s=20150623; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=/+pHgSP8e/MHprGe6iblNdf6p+Rodh7Ohm/QGDXtCbs=; b=S1XnPFlFtRAlI/prg3IZadvufgG6ySTOeOINKhaTvnYcB5uLzXivtPbAFmeS3SBdak 5Gu47R/NN/9XWErc7ueWHcU5Y22GyomDVvXj7uVKOgjKgObdeYquWdT79vyY2gF7Ofn+ BDOh1ZFYmH+bvhXima0kQJZ58QzcbxdJ7B5fadiisz42wdMaiaahS4S3w8xzHryOJYZz +4xByuukWM/X17hyotWanralh+kY1JB1x3AOQqW4kzgbm3D6FoiZNyNz0BYkYYdWM+uB ZFkbDJQnWTPXEEj+TGrPV1SDLLTlf6S3+HUfiWzZ2XI63o+gSOqv7/JBdmFWwL7uWf5d O4xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=/+pHgSP8e/MHprGe6iblNdf6p+Rodh7Ohm/QGDXtCbs=; b=JF/JlmZhDkf2v3xBnpNPGsve9wRjk2aexeyMUe8ui3KQ2Qv2Z9jZFcI0MIORmsIEmY 0l/7syM/4eN/yv9mrch3/f0QqAtbLp6eqP4yMRsyknxuw9o2531DPumHFW7ihz52qlpS 959HVd8a2I+OCNFmwxqep4ZYvZCUCPe9nm4nSeY3bSBe9h7x09y5YZkcTJpdJmmI4O01 p3xi6/h2vd336YofsHKDAZucGyClLEAtwv/B6qypQB2HxAXQIePGDA0esyOqg3N9ThH2 glht4jliCAaj5lMTrNaILbbmtJFN8+JIhYNjPl3ktOqL4fYEMz6VoCmA4Li76AqxC9J+ Cr0A== X-Gm-Message-State: AKaTC00zF4v1C/CusEkpcNV4+3Vrpgrt4guXnPHZ4j6gZpYUEbzyXlgKSVoiC7oKS53L1qIl X-Received: by 10.98.166.70 with SMTP id t67mr25478483pfe.132.1480389009374; Mon, 28 Nov 2016 19:10:09 -0800 (PST) Received: from guest-wireless-207-151-063-168.usc.edu (guest-wireless-207-151-063-168.usc.edu. [207.151.63.168]) by smtp.gmail.com with ESMTPSA id f23sm90266456pff.59.2016.11.28.19.10.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Nov 2016 19:10:08 -0800 (PST) From: Harsha Navada Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: Requesting help in Netmap build on Linux Ubuntu-12.04 Date: Mon, 28 Nov 2016 19:10:07 -0800 References: <061FA295-11CD-4C46-8556-2B47C6F7CC32@usc.edu> To: net@freebsd.org In-Reply-To: <061FA295-11CD-4C46-8556-2B47C6F7CC32@usc.edu> Message-Id: X-Mailer: Apple Mail (2.3251) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Nov 2016 03:10:11 -0000 Follow up mail with Linux 2.6.32 kernel and netmap =E2=80=94 Here's another try with linux 2.6.32 for Ubuntu 10.04 that I'm trying: I = get different errors where make doesn't seem to work. I might be doing = some unspeakable errors but I would like to get this running as quickly = as possible. Code RED: sc558bl@rtr1:/tmp/netmap-master/LINUX$ ./configure = --kernel-sources=3D/tmp/linux-2.6.32/ = --kernel-dir=3D/lib/modules/2.6.32/build ********************************** NOTE = ********************************** *** We are trying to download the original sources for driver *** i40e using the following command: *** wget -nc = https://sourceforge.net/projects/e1000/files/i40e%20stable/1.5.23/i40e-1.5= .23.tar.gz = -P /tmp/netmap-master/LINUX/ext-drivers/ *** If this fails, please download the above file and put it *** in /tmp/netmap-master/LINUX/ext-drivers/, then run configure again. File `/tmp/netmap-master/LINUX/ext-drivers/i40e-1.5.23.tar.gz' already = there; not retrieving. ********************************** WARNING = ********************************** *** CONFIG_I40E not set in /lib/modules/2.6.32/build/.config, skipping = i40e ********************************** NOTE = ********************************** *** We are trying to download the original sources for driver *** ixgbevf using the following command: *** wget -nc = https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/3.2.2/ixgbev= f-3.2.2.tar.gz = -P /tmp/netmap-master/LINUX/ext-drivers/ *** If this fails, please download the above file and put it *** in /tmp/netmap-master/LINUX/ext-drivers/, then run configure again. File `/tmp/netmap-master/LINUX/ext-drivers/ixgbevf-3.2.2.tar.gz' already = there; not retrieving. ********************************** WARNING = ********************************** *** CONFIG_IXGBEVF not set in /lib/modules/2.6.32/build/.config, = skipping ixgbevf ********************************** NOTE = ********************************** *** We are trying to download the original sources for driver *** ixgbe using the following command: *** wget -nc = https://sourceforge.net/projects/e1000/files/ixgbe%20stable/4.4.6/ixgbe-4.= 4.6.tar.gz = -P /tmp/netmap-master/LINUX/ext-drivers/ *** If this fails, please download the above file and put it *** in /tmp/netmap-master/LINUX/ext-drivers/, then run configure again. File `/tmp/netmap-master/LINUX/ext-drivers/ixgbe-4.4.6.tar.gz' already = there; not retrieving. ********************************** NOTE = ********************************** *** We are trying to download the original sources for driver *** igb using the following command: *** wget -nc = https://sourceforge.net/projects/e1000/files/igb%20stable/5.3.5.3/igb-5.3.= 5.3.tar.gz = -P /tmp/netmap-master/LINUX/ext-drivers/ *** If this fails, please download the above file and put it *** in /tmp/netmap-master/LINUX/ext-drivers/, then run configure again. File `/tmp/netmap-master/LINUX/ext-drivers/igb-5.3.5.3.tar.gz' already = there; not retrieving. ********************************** NOTE = ********************************** *** We are trying to download the original sources for driver *** e1000e using the following command: *** wget -nc = https://sourceforge.net/projects/e1000/files/e1000e%20stable/3.3.5/e1000e-= 3.3.5.tar.gz = -P /tmp/netmap-master/LINUX/ext-drivers/ *** If this fails, please download the above file and put it *** in /tmp/netmap-master/LINUX/ext-drivers/, then run configure again. File `/tmp/netmap-master/LINUX/ext-drivers/e1000e-3.3.5.tar.gz' already = there; not retrieving. ********************************** WARNING = ********************************** *** 'forcedeth.c': no applicable patch found and no override provided. *** Disabling driver. ********************************** WARNING = ********************************** *** 'virtio_net.c': no applicable patch found and no override provided. *** Disabling driver. ********************************** NOTE = ********************************** *** Now running compile tests to adapt the code to your *** kernel version. Please wait. kernel directory /lib/modules/2.6.32/build kernel sources /tmp/linux-2.6.32 linux version 20620 [2.6.32] module file netmap.ko subsystems generic monitor pipe vale apps vale-ctl nmreplay tlem lb bridge pkt-gen native drivers ixgbe igb e1000e e1000 veth.c r8169.c Contents of the drivers.mak file: Note: only drivers for which both the @src and = the @patch variable are set may be used in native = mode (assuming we can actually patch the sources). Other NICs will be accessed using the generic driver, at reduced performance. ######################################## # configure generated values # ######################################## ixgbe@conf :=3D CONFIG_IXGBE ixgbe@src :=3D tar xf = /tmp/netmap-master/LINUX/ext-drivers/ixgbe-4.4.6.tar.gz && mv = ixgbe-4.4.6/src ixgbe ixgbe@patch :=3D patches/intel--ixgbe--4.4.6 igb@conf :=3D CONFIG_IGB igb@src :=3D tar xf = /tmp/netmap-master/LINUX/ext-drivers/igb-5.3.5.3.tar.gz && mv = igb-5.3.5.3/src igb igb@patch :=3D patches/intel--igb--5.3.5.3 e1000e@conf :=3D CONFIG_E1000E e1000e@src :=3D tar xf = /tmp/netmap-master/LINUX/ext-drivers/e1000e-3.3.5.tar.gz && mv = e1000e-3.3.5/src e1000e e1000e@patch :=3D patches/intel--e1000e--3.3.5 e1000@conf :=3D CONFIG_E1000 e1000@src :=3D cp -Rp /tmp/linux-2.6.32/drivers/net/e1000 e1000 e1000@patch :=3D patches/vanilla--e1000--20620--31200 veth.c@conf :=3D CONFIG_VETH veth.c@src :=3D cp -Rp /tmp/linux-2.6.32/drivers/net/veth.c veth.c veth.c@patch :=3D patches/vanilla--veth.c--20620--30900 r8169.c@conf :=3D CONFIG_R8169 r8169.c@src :=3D cp -Rp /tmp/linux-2.6.32/drivers/net/r8169.c r8169.c r8169.c@patch :=3D patches/vanilla--r8169.c--20620--20625 sc558bl@rtr1:/tmp/netmap-master/LINUX$ make wget -nc = https://sourceforge.net/projects/e1000/files/ixgbe%20stable/4.4.6/ixgbe-4.= 4.6.tar.gz = -P /tmp/netmap-master/LINUX/ext-drivers/ File `/tmp/netmap-master/LINUX/ext-drivers/ixgbe-4.4.6.tar.gz' already = there; not retrieving. tar xf /tmp/netmap-master/LINUX/ext-drivers/ixgbe-4.4.6.tar.gz && mv = ixgbe-4.4.6/src ixgbe patch --posix --quiet --force -p1 < patches/intel--ixgbe--4.4.6; touch get-ixgbe wget -nc = https://sourceforge.net/projects/e1000/files/igb%20stable/5.3.5.3/igb-5.3.= 5.3.tar.gz = -P /tmp/netmap-master/LINUX/ext-drivers/ File `/tmp/netmap-master/LINUX/ext-drivers/igb-5.3.5.3.tar.gz' already = there; not retrieving. tar xf /tmp/netmap-master/LINUX/ext-drivers/igb-5.3.5.3.tar.gz && mv = igb-5.3.5.3/src igb patch --posix --quiet --force -p1 < patches/intel--igb--5.3.5.3; touch get-igb wget -nc = https://sourceforge.net/projects/e1000/files/e1000e%20stable/3.3.5/e1000e-= 3.3.5.tar.gz = -P /tmp/netmap-master/LINUX/ext-drivers/ File `/tmp/netmap-master/LINUX/ext-drivers/e1000e-3.3.5.tar.gz' already = there; not retrieving. tar xf /tmp/netmap-master/LINUX/ext-drivers/e1000e-3.3.5.tar.gz && mv = e1000e-3.3.5/src e1000e patch --posix --quiet --force -p1 < patches/intel--e1000e--3.3.5; touch get-e1000e make -C /lib/modules/2.6.32/build M=3D/tmp/netmap-master/LINUX = EXTRA_CFLAGS=3D'-I/tmp/netmap-master/LINUX -I/tmp/netmap-master/LINUX = -I/tmp/netmap-master/LINUX/../sys -I/tmp/netmap-master/LINUX/../sys/dev = -DCONFIG_NETMAP -Wno-unused-but-set-variable -DCONFIG_NETMAP_GENERIC = -DCONFIG_NETMAP_MONITOR -DCONFIG_NETMAP_PIPE -DCONFIG_NETMAP_VALE' = modules CONFIG_NETMAP=3Dm CONFIG_R8169=3Dm CONFIG_VETH=3Dm = CONFIG_E1000=3Dm O_DRIVERS=3D"e1000/ r8169.o veth.o" = NETMAP_DRIVER_SUFFIX=3D make[1]: Entering directory `/tmp/linux-2.6.32' WARNING: Symbol version dump /tmp/linux-2.6.32/Module.symvers is missing; modules will have no dependencies and modversions. CC [M] /tmp/netmap-master/LINUX/netmap_mem2.o CC [M] /tmp/netmap-master/LINUX/netmap_mbq.o CC [M] /tmp/netmap-master/LINUX/netmap_vale.o /tmp/netmap-master/LINUX/../sys/dev/netmap/netmap_vale.c: In function = =E2=80=98netmap_bdg_learning=E2=80=99: /tmp/netmap-master/LINUX/../sys/dev/netmap/netmap_vale.c:1600: warning: = integer constant is too large for =E2=80=98long=E2=80=99 type At top level: cc1: warning: unrecognized command line option = "-Wno-unused-but-set-variable" CC [M] /tmp/netmap-master/LINUX/netmap_offloadings.o CC [M] /tmp/netmap-master/LINUX/netmap_pipe.o CC [M] /tmp/netmap-master/LINUX/netmap_monitor.o CC [M] /tmp/netmap-master/LINUX/netmap_generic.o CC [M] /tmp/netmap-master/LINUX/netmap_common.o CC [M] /tmp/netmap-master/LINUX/netmap_linux.o /tmp/netmap-master/LINUX/netmap_linux.c:400:2: warning: #warning "Packet = reception with emulated (generic) mode not supported for this kernel = version" /tmp/netmap-master/LINUX/netmap_linux.c:400:2: warning: #warning "Packet = reception with emulated (generic) mode not supported for this kernel = version" LD [M] /tmp/netmap-master/LINUX/netmap.o CC [M] /tmp/netmap-master/LINUX/r8169.o CC [M] /tmp/netmap-master/LINUX/veth.o CC [M] /tmp/netmap-master/LINUX/e1000/e1000_main.o LD [M] /tmp/netmap-master/LINUX/e1000/e1000.o Building modules, stage 2. MODPOST 4 modules LD [M] /tmp/netmap-master/LINUX/e1000/e1000.ko CC /tmp/netmap-master/LINUX/netmap.mod.o LD [M] /tmp/netmap-master/LINUX/netmap.ko CC /tmp/netmap-master/LINUX/r8169.mod.o LD [M] /tmp/netmap-master/LINUX/r8169.ko CC /tmp/netmap-master/LINUX/veth.mod.o LD [M] /tmp/netmap-master/LINUX/veth.ko make[1]: Leaving directory /tmp/linux-2.6.32' if [ -d ixgbe ] && [ -e = Module.symvers ]; then cp Module.symvers ixgbe; fi make -C ixgbe = EXTRA_CFLAGS=3D"-I/tmp/netmap-master/LINUX -I/tmp/netmap-master/LINUX = -I/tmp/netmap-master/LINUX/../sys -I/tmp/netmap-master/LINUX/../sys/dev = -DCONFIG_NETMAP -Wno-unused-but-set-variable -DCONFIG_NETMAP_GENERIC = -DCONFIG_NETMAP_MONITOR -DCONFIG_NETMAP_PIPE -DCONFIG_NETMAP_VALE" = NETMAP_DRIVER_SUFFIX=3D KSRC=3D/lib/modules/2.6.32/build make[1]: = Entering directory/tmp/netmap-master/LINUX/ixgbe' make[2]: Entering directory `/tmp/linux-2.6.32' WARNING: Symbol version dump /tmp/linux-2.6.32/Module.symvers is missing; modules will have no dependencies and modversions. CC [M] /tmp/netmap-master/LINUX/ixgbe/ixgbe_main.o In file included from /tmp/netmap-master/LINUX/ixgbe_netmap_linux.h:39, from /tmp/netmap-master/LINUX/ixgbe/ixgbe_main.c:726: /tmp/netmap-master/LINUX/bsd_glue.h:124:1: warning: "usleep_range" = redefined In file included from /tmp/netmap-master/LINUX/ixgbe/ixgbe_osdep.h:38, from /tmp/netmap-master/LINUX/ixgbe/ixgbe_type.h:66, from /tmp/netmap-master/LINUX/ixgbe/ixgbe_dcb.h:28, from /tmp/netmap-master/LINUX/ixgbe/ixgbe.h:45, from /tmp/netmap-master/LINUX/ixgbe/ixgbe_main.c:52: /tmp/netmap-master/LINUX/ixgbe/kcompat.h:3363:1: warning: this is the = location of the previous definition In file included from /tmp/netmap-master/LINUX/ixgbe_netmap_linux.h:39, from /tmp/netmap-master/LINUX/ixgbe/ixgbe_main.c:726: /tmp/netmap-master/LINUX/bsd_glue.h:143:1: warning: = "netdev_notifier_info_to_dev" redefined In file included from /tmp/netmap-master/LINUX/ixgbe/ixgbe_osdep.h:38, from /tmp/netmap-master/LINUX/ixgbe/ixgbe_type.h:66, from /tmp/netmap-master/LINUX/ixgbe/ixgbe_dcb.h:28, from /tmp/netmap-master/LINUX/ixgbe/ixgbe.h:45, from /tmp/netmap-master/LINUX/ixgbe/ixgbe_main.c:52: /tmp/netmap-master/LINUX/ixgbe/kcompat.h:4381:1: warning: this is the = location of the previous definition In file included from /tmp/netmap-master/LINUX/ixgbe_netmap_linux.h:39, from /tmp/netmap-master/LINUX/ixgbe/ixgbe_main.c:726: /tmp/netmap-master/LINUX/bsd_glue.h:147: error: redefinition of = =E2=80=98_kc_skb_frag_size=E2=80=99 /tmp/netmap-master/LINUX/ixgbe/kcompat.h:3739: note: previous definition = of =E2=80=98_kc_skb_frag_size=E2=80=99 was here /tmp/netmap-master/LINUX/bsd_glue.h:152: error: redefinition of = =E2=80=98_kc_skb_frag_address=E2=80=99 /tmp/netmap-master/LINUX/ixgbe/kcompat.h:3763: note: previous definition = of =E2=80=98_kc_skb_frag_address=E2=80=99 was here /tmp/netmap-master/LINUX/bsd_glue.h:157: error: redefinition of = =E2=80=98_kc_skb_checksum_start_offset=E2=80=99 /tmp/netmap-master/LINUX/ixgbe/kcompat.h:3493: note: previous definition = of =E2=80=98_kc_skb_checksum_start_offset=E2=80=99 was here cc1: warning: unrecognized command line option = "-Wno-unused-but-set-variable" make[3]: *** [/tmp/netmap-master/LINUX/ixgbe/ixgbe_main.o] Error 1 make[2]: *** [module/tmp/netmap-master/LINUX/ixgbe] Error 2 make[2]: Leaving directory /tmp/linux-2.6.32' make[1]: *** [default] = Error 2 make[1]: Leaving directory/tmp/netmap-master/LINUX/ixgbe' make: *** [build-ixgbe] Error 2 drwxr-xr-x 3 sc558bl USC558L 4.0K 2016-11-28 19:00 ixgbe sc558bl@rtr1:/tmp/netmap-master/LINUX$ ls -lrth | grep netmap -rw-r--r-- 1 sc558bl USC558L 20K 2016-11-23 02:58 virtio_netmap.h -rw-r--r-- 1 sc558bl USC558L 6.5K 2016-11-23 02:58 veth_netmap.h -rwxr-xr-x 1 sc558bl USC558L 1.6K 2016-11-23 02:58 netmap_set_adapter.sh -rw-r--r-- 1 sc558bl USC558L 40K 2016-11-23 02:58 netmap_ptnet.c -rw-r--r-- 1 sc558bl USC558L 4.4K 2016-11-23 02:58 netmap.mak.in -rw-r--r-- 1 sc558bl USC558L 53K 2016-11-23 02:58 netmap_linux.c -rw-r--r-- 1 sc558bl USC558L 20K 2016-11-23 02:58 ixgbe_netmap_linux.h -rw-r--r-- 1 sc558bl USC558L 9.2K 2016-11-23 02:58 if_re_netmap_linux.h -rw-r--r-- 1 sc558bl USC558L 12K 2016-11-23 02:58 if_igb_netmap.h -rw-r--r-- 1 sc558bl USC558L 9.8K 2016-11-23 02:58 if_e1000_netmap.h -rw-r--r-- 1 sc558bl USC558L 11K 2016-11-23 02:58 if_e1000e_netmap.h -rw-r--r-- 1 sc558bl USC558L 17K 2016-11-23 02:58 i40e_netmap_linux.h -rw-r--r-- 1 sc558bl USC558L 12K 2016-11-23 02:58 forcedeth_netmap.h lrwxrwxrwx 1 sc558bl USC558L 38 2016-11-28 18:56 patches -> = /tmp/netmap-master/LINUX/final-patches lrwxrwxrwx 1 sc558bl USC558L 39 2016-11-28 18:56 GNUmakefile -> = /tmp/netmap-master/LINUX/../GNUmakefile -rw-r--r-- 1 sc558bl USC558L 4.5K 2016-11-28 19:00 netmap.mak drwxr-xr-x 10 sc558bl USC558L 4.0K 2016-11-28 19:00 netmap-tmpdir -rw-r--r-- 1 sc558bl USC558L 1.1K 2016-11-28 19:00 netmap_linux_config.h -rw-r--r-- 1 sc558bl USC558L 216K 2016-11-28 19:00 netmap_mem2.o -rw-r--r-- 1 sc558bl USC558L 145K 2016-11-28 19:00 netmap_mbq.o -rw-r--r-- 1 sc558bl USC558L 234K 2016-11-28 19:00 netmap_vale.o -rw-r--r-- 1 sc558bl USC558L 173K 2016-11-28 19:00 netmap_pipe.o -rw-r--r-- 1 sc558bl USC558L 163K 2016-11-28 19:00 netmap_offloadings.o -rw-r--r-- 1 sc558bl USC558L 174K 2016-11-28 19:00 netmap_monitor.o -rw-r--r-- 1 sc558bl USC558L 174K 2016-11-28 19:00 netmap_generic.o -rw-r--r-- 1 sc558bl USC558L 250K 2016-11-28 19:00 netmap_common.o -rw-r--r-- 1 sc558bl USC558L 1.8M 2016-11-28 19:00 netmap.o -rw-r--r-- 1 sc558bl USC558L 245K 2016-11-28 19:00 netmap_linux.o -rw-r--r-- 1 sc558bl USC558L 37K 2016-11-28 19:00 netmap.mod.o -rw-r--r-- 1 sc558bl USC558L 602 2016-11-28 19:00 netmap.mod.c -rw-r--r-- 1 sc558bl USC558L 1.8M 2016-11-28 19:00 netmap.ko sc558bl@rtr1:/tmp/netmap-master/LINUX$ dmesg | tail [ 141.456135] e1000e: eth0 NIC Link is Down [ 143.456909] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow = Control: None [ 150.908064] eth0: no IPv6 routers present [ 1065.480088] e1000e 0000:04:00.1: PCI INT B disabled [ 1065.544079] e1000e 0000:04:00.0: PCI INT A disabled [ 1065.625066] e1000e 0000:03:00.1: PCI INT B disabled [ 1066.144056] e1000e 0000:03:00.0: PCI INT A disabled [ 1138.077603] netmap: no symbol version for module_layout [ 1435.387913] netmap: no symbol version for module_layout [ 1439.776021] netmap: no symbol version for module_layout sc558bl@rtr1:/tmp/netmap-master/LINUX$ I would like to add that I'm trying to insert netmap patch for e1000e = driver before which I have to install netmap.ko module. > On Nov 28, 2016, at 4:54 PM, Harsha Navada wrote: >=20 > Hello , >=20 > I=E2=80=99m new to netmap where I=E2=80=99m trying to insert netmap.ko = module after compiling my kernel and I=E2=80=99m shown with the = following error: >=20 > netmap: Unknown symbol split_page (err 0) >=20 > Here are the steps and different methods I followed:=20 >=20 > I. Compile Kernel 3.2.0 >=20 > 1. My Ubuntu 12.04 machine has a kernel version 3.2.0-90-generic, so i = got the linux source by: > sudo apt-get source linux-source-3.2.0 > 2. Then i work on trying to compile the kernel > a. sudo make menuconfig =E2=80=94 Keep default config > b. sudo sed -i s/CONFIG_RTS5139=3Dm/CONFIG_RTS5139=3Dn/ .config = - to avoid compilation errors > c. sudo make clean > d. sudo make -j10 > e. sudo make bzImage > f. sudo make modules > g.sudo make modules_install > h. sudo make install > i. sudo update-grub2 > j. sudo reboot.=20 > 2 b. On checking kernel version using name -r , this is the kernel = version - 3.2.79 >=20 > 3. Then i download the netmap-master branch from git and upload it to = my machine , cannot use git clone as it doesn=E2=80=99t support external = connections. > 4.Unzipping the bundle and switch to LINUX folder to run ./configure > 5. Here i received errors where netmap-master/LINUX/drivers/ext-patch = couldn=E2=80=99t be downloaded due to failure to connect. > 6. I downloaded these drivers and placed them in that path. > 7. I received a warning telling cannot find complete kernel sources, = which i referenced later as=20 > ./configure =E2=80=94kernel-sources =3D = /lib/modules/linux-source-(uname -r)/build > 8. Then after clearing all warning and errors, the generated netmap.ko = file I try to insert , which gives me the error > netmap: Unknown symbol split_page (err 0) >=20 > II. Avoid kernel compliation > 1. Then i download the netmap-master branch from git and upload it to = my machine , cannot use git clone as it doesn=E2=80=99t support external = connections. > 2.Unzipping the bundle and switch to LINUX folder to run ./configure > 3. Here i received errors where netmap-master/LINUX/drivers/ext-patch = couldn=E2=80=99t be downloaded due to failure to connect. > 4. I downloaded these drivers and placed them in that path. > 5. I received a warning telling cannot find complete kernel sources, = which i referenced later as=20 > ./configure =E2=80=94kernel-sources =3D = /lib/modules/linux-source-(uname -r)/build > 6. Then after clearing all warning and errors, the generated netmap.ko = file I try to insert , which gives me the error > netmap: Unknown symbol split_page (err 0) >=20 > III. Tried switching to FreeBSD > Cannot download the FreeBSD 10.2 image due to security reasons = mentioned in git / wget.=20 >=20 > I=E2=80=99m totally stuck for the past 2 weeks and would appreciate = help on this.=20 >=20 > Thanks=20 > H >=20 From owner-freebsd-net@freebsd.org Tue Nov 29 10:56:19 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3BD58C5932D for ; Tue, 29 Nov 2016 10:56:19 +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 2BDE31247 for ; Tue, 29 Nov 2016 10:56:19 +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 uATAuHhT072913 for ; Tue, 29 Nov 2016 10:56:19 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 214913] SO_KEEPALIVE does not work? Date: Tue, 29 Nov 2016 10:56:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 9.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Nov 2016 10:56:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214913 Andrey V. Elsukov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ae@FreeBSD.org --- Comment #1 from Andrey V. Elsukov --- SO_KEEPALIVE option doesn't mean that your connection will live forever. It only enables keepalive probes. These probes are carried out to determine th= at your connection is still alive. Note, not for keeping it alive. In FreeBSD by default net.inet.tcp.always_keepalive variable configured to assume SO_KEEPALIVE on all TCP connections. But first keepalive probe will = be made only after 2 hours of idle state. This is controlled by net.inet.tcp.keepidle variable. Just have tested keepalive probes with lowered idle time to 65 seconds on FreeBSD 12.0. All works as expected. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Nov 29 11:27:00 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83E7FC4B3D5 for ; Tue, 29 Nov 2016 11:27:00 +0000 (UTC) (envelope-from Steven@stream-technologies.com) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0073.outbound.protection.outlook.com [104.47.1.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B37A417BE for ; Tue, 29 Nov 2016 11:26:59 +0000 (UTC) (envelope-from Steven@stream-technologies.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=streamtechnologiesuk.onmicrosoft.com; s=selector1-streamtechnologies-com01e; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=8OrJ+g/5to+tXXHXUvAVQhLuPLDiE6eY9wRlEHDxFdw=; b=qDSYB0sX4mMMUXtm/3xGtuOaMqwYfrH44gICFA5GOJA072dpBZlrwMg1RxvwENEWGd6zPOpdsV+tPY6aVd4SiVyT6EbgVV51WkSKO/ldUFReA+QYYYw73Ed1RGFmGzS3flSFFPpsGZgcCnYuJZ9A7A8eqI2CC+H4IXYX0YCyiKQ= Received: from DB5PR07MB1685.eurprd07.prod.outlook.com (10.166.13.14) by DB5PR07MB1687.eurprd07.prod.outlook.com (10.166.13.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.747.5; Tue, 29 Nov 2016 11:26:50 +0000 Received: from DB5PR07MB1685.eurprd07.prod.outlook.com ([10.166.13.14]) by DB5PR07MB1685.eurprd07.prod.outlook.com ([10.166.13.14]) with mapi id 15.01.0761.009; Tue, 29 Nov 2016 11:26:50 +0000 From: Steven Crangle To: Vincenzo Maffione CC: FreeBSD Net Subject: Re: Looking for some help with netmap/bhyve Thread-Topic: Looking for some help with netmap/bhyve Thread-Index: AQHSRKuiOapzmKvhI0y8Pcsl7N08/KDmPxuAgAmeBLQ= Date: Tue, 29 Nov 2016 11:26:50 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: yes X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Steven@stream-technologies.com; x-originating-ip: [212.20.240.118] x-ms-office365-filtering-correlation-id: d7934d21-a836-48bc-0731-08d4184a9cd2 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DB5PR07MB1687; x-microsoft-exchange-diagnostics: 1; DB5PR07MB1687; 7:3GGSE+bWQjFO9AR5zWbH1HNAG7HIJ+QIUsbDtuclc7YQ0XAoZuQGJDbarx69XUKJUivEzDravcKPFWdIeXJY6UvH/1WgeBcps8jWkFzPbpgN496MzAvfXtzMFjj3Z9dRmYAiZsmaDZNof1mePVWWNphKxS83XWAHZwCb6CDPqr90PCHTxDs6A+ErpszoVFD6w+IvKRD2Ma1pUBsFpSA6nc3Gp1r9tFMJAhaIG9ovGGZXlplx3uWTzQnsOeKiPKOsrVs1OH0AY6m/NIsk1wmNdWozETNkfer622ZgYsbsjNZTQqp8XjqaJQHvnMc3pilpJ5v19FApWYdalkwbxMUCP6cQ/NBsvbawKjvfBqcdyBCFMKhl6N0BDrHi7sExikaXXZjO8l06NoQLaJOncNhXq7/aAdXkrcOTDPOuhGAadnwE72Ymx7L12U8S2WPR1rKFM1AZlg+ftX7/DCtji4T84Q== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(56005881305849)(166708455590820)(203790808753936)(266611908612381)(75325880899374)(83272782819144); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(102415395)(6060326)(6045199)(6040361)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6061324)(6041248)(20161123555025)(2016111802025)(20161123560025)(20161123564025)(20161123562025)(6043046); SRVR:DB5PR07MB1687; BCL:0; PCL:0; RULEID:; SRVR:DB5PR07MB1687; x-forefront-prvs: 01415BB535 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(7916002)(52314003)(43784003)(377424004)(189002)(199003)(575784001)(4001150100001)(80792005)(97736004)(101416001)(76176999)(54356999)(189998001)(6116002)(50986999)(102836003)(3846002)(99936001)(66066001)(33656002)(16601075003)(606004)(6506003)(229853002)(39450400002)(5890100001)(122556002)(9686002)(76576001)(77096006)(7906003)(19273905006)(81156014)(7736002)(8936002)(7696004)(81166006)(110136003)(5660300001)(39410400001)(39400400001)(8676002)(68736007)(2900100001)(74316002)(105586002)(106116001)(39380400001)(3280700002)(2950100002)(6916009)(7846002)(106356001)(2906002)(86362001)(39060400001)(3660700001)(4326007)(38730400001)(92566002)(19627405001)(7099028)(16866105001)(473944003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR07MB1687; H:DB5PR07MB1685.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: stream-technologies.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/mixed; boundary="_004_DB5PR07MB168582129D05D52878D3DCE59B8D0DB5PR07MB1685eurp_" MIME-Version: 1.0 X-OriginatorOrg: stream-technologies.com X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Nov 2016 11:26:50.2107 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 720fa073-5781-43bf-bc14-7bef2603ed21 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR07MB1687 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, 29 Nov 2016 11:27:00 -0000 --_004_DB5PR07MB168582129D05D52878D3DCE59B8D0DB5PR07MB1685eurp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Vincenzo! Thank you so much for your help! With your instructions I've managed to get= a set of bhyves up and running with netmap working properly within them! I= chose to go with the recent version of head instead of 10.3. I will also = try and build a version on 11.0 if I get chance! I will make sure and ask any further questions on the github page for netma= p, but while I'm emailing, I've attached a text file containing a few kerne= l page fault errors I've ran into. They don't happen repeatedly. They seem = to just happen randomly if I try to shut the process down and possibly catc= h netmap in an incorrect state! Figured they might be useful to you. If I f= igure out what the error is myself I will try and help out! And thanks again for your help! Kind Regards ________________________________ [Stream Logo] Steven Crangle Systems Developer | Stream Technologies | Glasgow, UK [http://www.stream-technologies.com/img/phone.png] +44 (0)844 800 8520 | [http://www.stream-technologies.com/img/mouse.png] www.stream-technologies.com ________________________________ From: Vincenzo Maffione Sent: 23 November 2016 08:33:11 To: Steven Crangle Cc: FreeBSD Net Subject: Re: Looking for some help with netmap/bhyve 2016-11-22 11:31 GMT+01:00 Steven Crangle >: Hi, I've recently been trying to boot up several bhyves so that I can test netm= ap communication between instances. The problem is, no matter what configur= ation I try, the guest vm running in bhyve completely hangs and becomes unu= sable as soon as a packet hits the netmap interface. When testing with pkt-= gen, the TX side successfully starts sending packets, but the RX side will = reliable freeze with the only option being killing the bhyve process. The bhyve command used for the above test was: bhyve -c 1 -s 0,hostbridge -s 1,lpc -s 2,virtio-blk,/dev/zvol/zroot/vip= er1vol -s 3,virtio-net,tap0,mac=3D00:01:23:45:67:83 -s 4,virtio-net,tap4= -l com1,/dev/nmdm0A -A -H -P -m 6g viper1 & bhyve -c 1 -s 0,hostbridge -s 1,lpc -s 2,virtio-blk,/dev/zvol/zroot/vip= er2vol -s 3,virtio-net,tap1,mac=3D00:01:23:45:67:84 -s 4,virtio-net,tap5= -l com1,/dev/nmdm1A -A -H -P -m 6g viper2 For this test the host OS was FreeBSD-11.0-p3 and the guest OS was FreeBSD-= 11.0-p3. After failing to get this solution working, I pulled down the source from t= he following url and installed it on the host box: https://svnweb.freebsd.org/socsvn/soc2016/vincenzo/head/ I then ran the following commands to try and bring up the machines using th= e ptnetmap interface (the guest still running 11.0p3) : bhyve -c 1 -s 0,hostbridge -s 1,lpc -s 1:1,virtio-blk,/dev/zvol/zroot/v= iper1vol -s 2:0,virtio-net,tap0,mac=3D00:01:23:45:67:83 -s 2:1,ptnetmap-= memdev -s 2:2,ptnet,vale0:0 -l com1,/dev/nmdm0A -A -H -P -m 6g viper1 & bhyve -c 1 -s 0,hostbridge -s 1,lpc -s 1:1,virtio-blk,/dev/zvol/zroot/v= iper2vol -s 2:0,virtio-net,tap1,mac=3D00:01:23:45:67:84 -s 2:1,ptnetmap-= memdev -s 2:2,ptnet,vale0:1 -l com1,/dev/nmdm1A -A -H -P -m 6g viper2 With the above commands the vm's fail to boot with the following message: ptnet_init: failed to get ptnetmap Output in /var/log/messages seems to just show the ptnetmap driver allocati= ng one RX/TX ring for each vm, while bringing the device up, the device the= n goes down and the above error is seen in the console. Is there something I'm doing wrong with regards to running netmap or ptnetm= ap within a bhyve? Any pointers in the right direction will be much appreci= ated! Kind Regards Steven Hi Steven, The code you are looking at is the final code released by my gsoc 2016 pr= oject at the end of August 2016. However, I've been working on that for a w= hile after the gsoc, so that code is not updated anymore. My modification b= asically involves two subsystems: netmap and bhyve. The updates to netmap are already available in HEAD. The updates to bhyve a= re not yet upstream, as we are in the process to review that with the bhyve= maintainers. Anyway, you need two sources to get the latest code: 1) https://github.com/luigirizzo/netmap for the latest netmap code, that yo= u could also compile as an external kernel module. 2) https://github.com/vmaffione/freebsd to get the updates to bhyve (and vm= m.ko). You can use this as the host system. There are two branches here: pt= net-10.3, and ptnet-head. My original code was developed under FreeBSD 10.3= , so a first possibility is to try this as the host system (using the ptnet= -10.3 branch). The other branch (ptnet-head) contains a porting of the work= to a recent version of HEAD. I would be very glad if you could test the co= de also on FreeBSD 11. We support two combinations of bhyve networking with netmap: (A) virtio-net + netmap: that is something like "-s 2:0,virtio-net,vale0:= 0" in the bhyve command line. (B) ptnet + ptnetmap: that is something like "-s 2:1,ptnetmap-memdev -s 2= :2,ptnet,vale0:0" in the bhyve command line. so you may want to try A first (netmap backend in user-space, slower) and t= hen B (netmap backend in kernel-space, faster). Sorry about the confusion on the code repositories, I'll try also to update= the wiki page (and/or the gsoc svn repo) to reflect these updates. It's pe= rfectly ok for me to discuss these issues here in the ML, however for more = detailed/low-level discussion and support about problems you are running in= to, feel free to open Github issues here https://github.com/luigirizzo/netm= ap. Cheers, Vincenzo ________________________________ [Stream Logo] Steven Crangle Systems Developer | Stream Technologies | Glasgow, UK [http://www.stream-technologies.com/img/phone.png] +44 (0)844 800 8520 | [http://www.stream-technologies.com/img/mouse.png] www.stream-technologies.com _______________________________________________ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" -- Vincenzo Maffione --_004_DB5PR07MB168582129D05D52878D3DCE59B8D0DB5PR07MB1685eurp_ Content-Type: text/plain; name="kernel_stacktraces.txt" Content-Description: kernel_stacktraces.txt Content-Disposition: attachment; filename="kernel_stacktraces.txt"; size=1049; creation-date="Tue, 29 Nov 2016 11:25:17 GMT"; modification-date="Tue, 29 Nov 2016 11:25:17 GMT" Content-Transfer-Encoding: base64 CkZhdGFsIHRyYXAgMTI6IHBhZ2UgZmF1bHQgd2hpbGUgaW4ga2VybmVsIG1vZGUKY3B1aWQgPSAw OyBhcGljIGlkID0gMDAKZmF1bHQgdmlydHVhbCBhZGRyZXNzCT0gMHgwCmZhdWx0IGNvZGUJCT0g c3VwZXJ2aXNvciByZWFkIGluc3RydWN0aW9uLCBwYWdlIG5vdCBwcmVzZW50Cmluc3RydWN0aW9u IHBvaW50ZXIJPSAweDIwOjB4MApzdGFjayBwb2ludGVyCSAgICAgICAgPSAweDI4OjB4ZmZmZmZl MDFhNGQ2ZDkzOApmcmFtZSBwb2ludGVyCSAgICAgICAgPSAweDI4OjB4ZmZmZmZlMDFhNGQ2ZDk2 MApjb2RlIHNlZ21lbnQJCT0gYmFzZSAweDAsIGxpbWl0IDB4ZmZmZmYsIHR5cGUgMHgxYgoJCQk9 IERQTCAwLCBwcmVzIDEsIGxvbmcgMSwgZGVmMzIgMCwgZ3JhbiAxCnByb2Nlc3NvciBlZmxhZ3MJ PSBpbnRlcnJ1cHQgZW5hYmxlZCwgcmVzdW1lLCBJT1BMID0gMApjdXJyZW50IHByb2Nlc3MJCT0g MTIgKHN3aTQ6IGNsb2NrICgwKSkKWyB0aHJlYWQgcGlkIDEyIHRpZCAxMDAwMDUgXQpTdG9wcGVk IGF0ICAgICAgMAoKCkZhdGFsIHRyYXAgMTI6IHBhZ2UgZmF1bHQgd2hpbGUgaW4ga2VybmVsIG1v ZGUKY3B1aWQgPSAwOyBhcGljIGlkID0gMDAKZmF1bHQgdmlydHVhbCBhZGRyZXNzCT0gMHgwCmZh dWx0IGNvZGUJCT0gc3VwZXJ2aXNvciByZWFkIGluc3RydWN0aW9uLCBwYWdlIG5vdCBwcmVzZW50 Cmluc3RydWN0aW9uIHBvaW50ZXIJPSAweDIwOjB4MApzdGFjayBwb2ludGVyCSAgICAgICAgPSAw eDA6MHhmZmZmZmUwMWE0ZDZkOTM4CmZyYW1lIHBvaW50ZXIJICAgICAgICA9IDB4MDoweGZmZmZm ZTAxYTRkNmQ5NjAKY29kZSBzZWdtZW50CQk9IGJhc2UgMHgwLCBsaW1pdCAweGZmZmZmLCB0eXBl IDB4MWIKCQkJPSBEUEwgMCwgcHJlcyAxLCBsb25nIDEsIGRlZjMyIDAsIGdyYW4gMQpwcm9jZXNz b3IgZWZsYWdzCT0gaW50ZXJydXB0IGVuYWJsZWQsIHJlc3VtZSwgSU9QTCA9IDAKY3VycmVudCBw cm9jZXNzCQk9IDEyIChzd2k0OiBjbG9jayAoMCkpClsgdGhyZWFkIHBpZCAxMiB0aWQgMTAwMDA1 IF0KU3RvcHBlZCBhdCAgICAgIDAKCgo= --_004_DB5PR07MB168582129D05D52878D3DCE59B8D0DB5PR07MB1685eurp_-- From owner-freebsd-net@freebsd.org Tue Nov 29 11:52:20 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7348EC4BCDB for ; Tue, 29 Nov 2016 11:52:20 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-oi0-x243.google.com (mail-oi0-x243.google.com [IPv6:2607:f8b0:4003:c06::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 362DE1445 for ; Tue, 29 Nov 2016 11:52:20 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-oi0-x243.google.com with SMTP id m75so17956652oig.1 for ; Tue, 29 Nov 2016 03:52:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=56yqKksT0KQlBr39BlHqdnTiIDBG4QkFWkU7EHIdEiI=; b=F5vH1nxISKOCvrV/0dqyiD9qbzMk+Y1EazoZkMBzhKwaFNpn+SdrUexoezOnGQb5KV lqcKecpL1ZzN03m1vSI1AOnFMDRngd4BUuqBpXZpA6EMwFCcvlLlW1VAiPhoE3SJ2skP 0/ezFKycu2pTIGNuUvwBQ2rQf1RxPRHaHeuagnURWvSEGfot9uPQMAHFouKXfpHmMqAW k8vQ+eAJvNvsjRFyttILzN2X3hp+nV0+FNyyX9hSwvH628SRqd2BqkWXHbWv1Hbc49ZU 7TQ4jJIEAJBhhSgwjMRWQcUu2jiyiagnZVgcOLREhMNzaGzdQEPo+Kmn22z8JJpzcMUy sk3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=56yqKksT0KQlBr39BlHqdnTiIDBG4QkFWkU7EHIdEiI=; b=m8dRrULBaKI49AV08ksdRkOhOPc3ZYEP7wIA9oLbIQ78ecJyHa2t3Y4Nj2BhktI9Z+ jOr3B/W2Fkpq0dR9u/ACd5B4Ak2sDltvMa/S5cuSHAtFMiFirls2g2Rql02wRkkhUNhE dhiWvQX6zLYGnbXlGMoEtxzSRuiP3dR7QOVJoeIHhXPJgdtyMeXpe0LGsE36WR4zn8Kq XSDU65g7g3N2HOD/7rBxb/E0pWHD2Ud8nIhv9G1zZZfcOkq1HEl9n2gnsYv3ol3VJfGO wGq66vNd1PbzjCc4doZQ0yITJ+UVv7baibZis3KOoQ3EdQff04lvfenHOA9hKjeS7S1a Aoyw== X-Gm-Message-State: AKaTC017DqYCRLxJkFUwVx9cCF2oQEVR09RfY+ukMk/AuskQiJMvWHEcYChNxv06Ajd8A4SzrHGDqScbR5n4yw== X-Received: by 10.202.67.7 with SMTP id q7mr13192606oia.103.1480420339130; Tue, 29 Nov 2016 03:52:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.45.200 with HTTP; Tue, 29 Nov 2016 03:52:18 -0800 (PST) In-Reply-To: References: From: Vincenzo Maffione Date: Tue, 29 Nov 2016 12:52:18 +0100 Message-ID: Subject: Re: Looking for some help with netmap/bhyve To: Steven Crangle Cc: FreeBSD Net Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Nov 2016 11:52:20 -0000 Hi Steven, Thanks for your testing this in HEAD, good news to know that it works ok! I think there is not going to be much difference between HEAD and 11.0, because in the end bhyve code didn't really change (for the parts I touched), and you need to use the latest netmap version (github) anyway, irrespective of whether you are testing on 10.3, 11.0, head, etc. In other words, you would be testing approximately the same code. Anyway, if you happen to test 11.0 by chance please let me know. What kind of tests did you perform? netmap applications (e.g. pkt-gen), or netperf/iperf standard TCP/IP tools? Could you please share the performance number you got for configurations (A) and (B) (or just the one you tried)? I think it is useful to compare your results with the ones I collected here (see the performance evaluation section): https://wiki.freebsd.org/DevSummit/201609?action=AttachFile&do=view&target=20160923-freebsd-summit-ptnet.pdf Regarding the crashes, thanks for reporting, I would be nice if you could describe in more detail how you trigger them (with some higher likelyhood); also, compiling the kernel with debug symbols should help in understanding which part of the code is involved in the crash. Cheers, Vincenzo 2016-11-29 12:26 GMT+01:00 Steven Crangle : > Hi Vincenzo! > > > Thank you so much for your help! With your instructions I've managed to > get a set of bhyves up and running with netmap working properly within > them! I chose to go with the recent version of head instead of 10.3. I > will also try and build a version on 11.0 if I get chance! > > > I will make sure and ask any further questions on the github page for > netmap, but while I'm emailing, I've attached a text file containing a few > kernel page fault errors I've ran into. They don't happen repeatedly. They > seem to just happen randomly if I try to shut the process down and possibly > catch netmap in an incorrect state! Figured they might be useful to you. If > I figure out what the error is myself I will try and help out! > > > And thanks again for your help! > > > Kind Regards > > > > > > > > ------------------------------ > > > > [image: Stream Logo] > > > > > > *Steven Crangle* > > Systems Developer | Stream Technologies | Glasgow, UK > > [image: http://www.stream-technologies.com/img/phone.png] > > +44 (0)844 800 8520 > > | > > [image: http://www.stream-technologies.com/img/mouse.png] > > www.stream-technologies.com > > > > > > ------------------------------ > *From:* Vincenzo Maffione > *Sent:* 23 November 2016 08:33:11 > *To:* Steven Crangle > *Cc:* FreeBSD Net > *Subject:* Re: Looking for some help with netmap/bhyve > > > > 2016-11-22 11:31 GMT+01:00 Steven Crangle > : > >> >> Hi, >> >> >> I've recently been trying to boot up several bhyves so that I can test >> netmap communication between instances. The problem is, no matter what >> configuration I try, the guest vm running in bhyve completely hangs and >> becomes unusable as soon as a packet hits the netmap interface. When >> testing with pkt-gen, the TX side successfully starts sending packets, but >> the RX side will reliable freeze with the only option being killing the >> bhyve process. >> >> >> The bhyve command used for the above test was: >> >> >> bhyve -c 1 -s 0,hostbridge -s 1,lpc -s 2,virtio-blk,/dev/zvol/zroot/viper1vol >> -s 3,virtio-net,tap0,mac=00:01:23:45:67:83 -s 4,virtio-net,tap4 -l >> com1,/dev/nmdm0A -A -H -P -m 6g viper1 & >> bhyve -c 1 -s 0,hostbridge -s 1,lpc -s 2,virtio-blk,/dev/zvol/zroot/viper2vol >> -s 3,virtio-net,tap1,mac=00:01:23:45:67:84 -s 4,virtio-net,tap5 -l >> com1,/dev/nmdm1A -A -H -P -m 6g viper2 >> >> For this test the host OS was FreeBSD-11.0-p3 and the guest OS was >> FreeBSD-11.0-p3. >> >> After failing to get this solution working, I pulled down the source from >> the following url and installed it on the host box: >> >> https://svnweb.freebsd.org/socsvn/soc2016/vincenzo/head/ >> >> I then ran the following commands to try and bring up the machines using >> the ptnetmap interface (the guest still running 11.0p3) : >> >> bhyve -c 1 -s 0,hostbridge -s 1,lpc -s 1:1,virtio-blk,/dev/zvol/zroot/viper1vol >> -s 2:0,virtio-net,tap0,mac=00:01:23:45:67:83 -s 2:1,ptnetmap-memdev -s >> 2:2,ptnet,vale0:0 -l com1,/dev/nmdm0A -A -H -P -m 6g viper1 & >> bhyve -c 1 -s 0,hostbridge -s 1,lpc -s 1:1,virtio-blk,/dev/zvol/zroot/viper2vol >> -s 2:0,virtio-net,tap1,mac=00:01:23:45:67:84 -s 2:1,ptnetmap-memdev -s >> 2:2,ptnet,vale0:1 -l com1,/dev/nmdm1A -A -H -P -m 6g viper2 >> >> With the above commands the vm's fail to boot with the following message: >> >> ptnet_init: failed to get ptnetmap >> >> Output in /var/log/messages seems to just show the ptnetmap driver >> allocating one RX/TX ring for each vm, while bringing the device up, the >> device then goes down and the above error is seen in the console. >> >> Is there something I'm doing wrong with regards to running netmap or >> ptnetmap within a bhyve? Any pointers in the right direction will be much >> appreciated! >> >> Kind Regards >> >> Steven >> >> > Hi Steven, > > The code you are looking at is the final code released by my gsoc 2016 > project at the end of August 2016. However, I've been working on that for a > while after the gsoc, so that code is not updated anymore. My modification > basically involves two subsystems: netmap and bhyve. > > The updates to netmap are already available in HEAD. The updates to bhyve > are not yet upstream, as we are in the process to review that with the > bhyve maintainers. > > Anyway, you need two sources to get the latest code: > 1) https://github.com/luigirizzo/netmap for the latest netmap code, that > you could also compile as an external kernel module. > 2) https://github.com/vmaffione/freebsd to get the updates to bhyve (and > vmm.ko). You can use this as the host system. There are two branches here: > ptnet-10.3, and ptnet-head. My original code was developed under FreeBSD > 10.3, so a first possibility is to try this as the host system (using the > ptnet-10.3 branch). The other branch (ptnet-head) contains a porting of the > work to a recent version of HEAD. I would be very glad if you could test > the code also on FreeBSD 11. > > We support two combinations of bhyve networking with netmap: > > (A) virtio-net + netmap: that is something like "-s > 2:0,virtio-net,vale0:0" in the bhyve command line. > (B) ptnet + ptnetmap: that is something like "-s 2:1,ptnetmap-memdev -s > 2:2,ptnet,vale0:0" in the bhyve command line. > > so you may want to try A first (netmap backend in user-space, slower) and > then B (netmap backend in kernel-space, faster). > > Sorry about the confusion on the code repositories, I'll try also to > update the wiki page (and/or the gsoc svn repo) to reflect these updates. > It's perfectly ok for me to discuss these issues here in the ML, however > for more detailed/low-level discussion and support about problems you are > running into, feel free to open Github issues here > https://github.com/luigirizzo/netmap. > > Cheers, > Vincenzo > > > >> >> >> >> >> >> >> >> ________________________________ >> >> >> >> [Stream Logo] >> >> >> >> >> >> >> >> >> Steven Crangle >> >> >> Systems Developer | Stream Technologies | Glasgow, UK >> >> >> [http://www.stream-technologies.com/img/phone.png] >> >> >> +44 (0)844 800 8520 >> >> >> | >> >> >> [http://www.stream-technologies.com/img/mouse.png] >> >> >> www.stream-technologies.com >> >> >> >> >> >> >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >> > > > > -- > Vincenzo Maffione > -- Vincenzo Maffione From owner-freebsd-net@freebsd.org Tue Nov 29 18:17:55 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D8B69C5C980 for ; Tue, 29 Nov 2016 18:17:55 +0000 (UTC) (envelope-from Steven@stream-technologies.com) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0049.outbound.protection.outlook.com [104.47.0.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E8FF112F8 for ; Tue, 29 Nov 2016 18:17:54 +0000 (UTC) (envelope-from Steven@stream-technologies.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=streamtechnologiesuk.onmicrosoft.com; s=selector1-streamtechnologies-com01e; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=vVmM2XJYZTvs3vg3deT0MAa1DNXKg/snQn7gqsO5omQ=; b=Q2tMtV+7NiQZ8zYveJUrHKNMXa0i4VWrt8/2SPJ7TRHUMnnHEFo16dRQFA15li5e/4piIClhiHnw+F50CUqFaa3uJkav0oF8QKPULZdVn+BfflOoEXDU7oZgSUd1eOBbnKIx3WJcdra/QGPiPZTBA2H8F0C0BgiNq4jPzE5zwPk= Received: from DB5PR07MB1685.eurprd07.prod.outlook.com (10.166.13.14) by DB5PR07MB1685.eurprd07.prod.outlook.com (10.166.13.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.761.5; Tue, 29 Nov 2016 15:44:01 +0000 Received: from DB5PR07MB1685.eurprd07.prod.outlook.com ([10.166.13.14]) by DB5PR07MB1685.eurprd07.prod.outlook.com ([10.166.13.14]) with mapi id 15.01.0761.009; Tue, 29 Nov 2016 15:44:01 +0000 From: Steven Crangle To: Vincenzo Maffione CC: FreeBSD Net Subject: Re: Looking for some help with netmap/bhyve Thread-Topic: Looking for some help with netmap/bhyve Thread-Index: AQHSRKuiOapzmKvhI0y8Pcsl7N08/KDmPxuAgAmeBLSAAAebAIAAJnrz Date: Tue, 29 Nov 2016 15:44:00 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Steven@stream-technologies.com; x-originating-ip: [212.20.240.118] x-ms-office365-filtering-correlation-id: 70ba034b-ae79-4e50-0bd9-08d4186e8a42 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DB5PR07MB1685; x-microsoft-exchange-diagnostics: 1; DB5PR07MB1685; 7:zktX2SGbovP/fabzgVlMZ02UDOk4/+0WhIgAa6bxDHB4dPWqLP2KKvaUseK13V/T6RpSbBPlneDpapc9or6V975Wm8cOzbDvW1E+RkuGpL2dg5sjkxr+EoKwSP4qLKqIZE6dOpY45zuWn16RFU2gEI0ZQITkPc5KGWtarGtj6OOWsBYRJ+suY5Ac6s8sTYpf/UpZAf0hixuCaHZgP9Tn+ptInDeX1ywglcirLODXagS8GNkG95g5yjnkr3BvYuLk7CIl5sS4dOqBOrhyL7I1NFN28xsVQKjPIIy8tInz6QHsd3pqwIdg8KKh3/1c/ZG4oExe6rXWp9rmYBSO1/OBHEmAnrq3XhWI9IbxPVctPm+N2Jg9Y53ktS+Inn0kfFWiexBnYMzDNNouh03aWRaxGWTPhGiYRHmpnTpE97cIwOMtrAogeGRQSi8ikYlVLPiP6ooFQHk94nZwto5GagQTTQ== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(56005881305849)(278428928389397)(166708455590820)(203790808753936)(266611908612381)(75325880899374)(211171220733660)(83272782819144); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040361)(6045199)(6060326)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6061324)(6041248)(2016111802025)(20161123562025)(20161123560025)(20161123555025)(20161123564025)(6043046); SRVR:DB5PR07MB1685; BCL:0; PCL:0; RULEID:; SRVR:DB5PR07MB1685; x-forefront-prvs: 01415BB535 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(7916002)(189002)(199003)(377424004)(52314003)(43784003)(110136003)(4326007)(38730400001)(8936002)(3846002)(39060400001)(606004)(2906002)(3660700001)(5890100001)(6916009)(68736007)(3280700002)(5660300001)(101416001)(7696004)(229853002)(6506003)(105586002)(189998001)(33656002)(39380400001)(39410400001)(39450400002)(9686002)(106116001)(77096006)(39400400001)(6116002)(102836003)(2950100002)(97736004)(80792005)(4001150100001)(106356001)(81156014)(54356999)(76576001)(16601075003)(2900100001)(122556002)(76176999)(50986999)(7736002)(86362001)(575784001)(81166006)(93886004)(66066001)(7906003)(8676002)(7846002)(19273905006)(19627405001)(74316002)(92566002)(7099028)(16866105001)(473944003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR07MB1685; H:DB5PR07MB1685.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: stream-technologies.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: stream-technologies.com X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Nov 2016 15:44:00.9264 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 720fa073-5781-43bf-bc14-7bef2603ed21 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR07MB1685 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Nov 2016 18:17:55 -0000 Hi Vincenzo, No problem! We've decided that we will try testing with 11.0 too, as it wou= ld help us to have our test system locked to a specific version like 11.0 a= nd can hopefully help you with testing too. We'll compile netmap from sourc= e as advised, but I was wondering what steps we would take in order to port= the changes to bhyve/ptnetmap from HEAD into 11.0? I've currently only tested with pkt-gen as our bhyve instances are pretty m= inimal right now, below are a few samples of the speeds seen in each of the= different configurations: Using netmap on top of standard tap devices with no vale: vm1: 197.259100 main_thread [2325] 30.977 Kpps (32.435 Kpkts 15.569 Mbps in = 1047062 usec) 1.93 avg_batch 826 min_space 203.306126 main_thread [2325] 32.149 Kpps (32.411 Kpkts 15.557 Mbps in = 1008156 usec) 1.88 avg_batch 866 min_space 204.313055 main_thread [2325] 33.095 Kpps (33.324 Kpkts 15.996 Mbps in = 1006929 usec) 1.98 avg_batch 911 min_space vm2: 245.397418 main_thread [2325] 31.422 Kpps (33.262 Kpkts 15.966 Mbps in = 1058559 usec) 313.79 avg_batch 99999 min_space 246.429810 main_thread [2325] 31.254 Kpps (32.266 Kpkts 15.488 Mbps in = 1032392 usec) 319.47 avg_batch 99999 min_space 251.621436 main_thread [2325] 31.606 Kpps (33.329 Kpkts 15.998 Mbps in = 1054531 usec) 314.42 avg_batch 99999 min_space After then trying to switch to the netmap in userspace/netmap in kernel spa= ce with ptnetmap, I realised I made a silly mistake and built from head ins= tead of the branch ptnet-head... haha So I'm currently doing a quick rebuil= d on the correct branch and will report back with the results from pkt-gen = using just vale, and also with the new ptnetmap changes! Kind Regards ________________________________ [Stream Logo] Steven Crangle Systems Developer | Stream Technologies | Glasgow, UK [http://www.stream-technologies.com/img/phone.png] +44 (0)844 800 8520 | [http://www.stream-technologies.com/img/mouse.png] www.stream-technologies.com ________________________________ From: Vincenzo Maffione Sent: 29 November 2016 11:52:18 To: Steven Crangle Cc: FreeBSD Net Subject: Re: Looking for some help with netmap/bhyve Hi Steven, Thanks for your testing this in HEAD, good news to know that it works ok! I think there is not going to be much difference between HEAD and 11.0, bec= ause in the end bhyve code didn't really change (for the parts I touched), = and you need to use the latest netmap version (github) anyway, irrespective= of whether you are testing on 10.3, 11.0, head, etc. In other words, you w= ould be testing approximately the same code. Anyway, if you happen to test = 11.0 by chance please let me know. What kind of tests did you perform? netmap applications (e.g. pkt-gen), or = netperf/iperf standard TCP/IP tools? Could you please share the performance number you got for configurations (A= ) and (B) (or just the one you tried)? I think it is useful to compare your results with the ones I collected here= (see the performance evaluation section): https://wiki.freebsd.org/DevSummit/201609?action=3DAttachFile&do=3Dview&tar= get=3D20160923-freebsd-summit-ptnet.pdf Regarding the crashes, thanks for reporting, I would be nice if you could d= escribe in more detail how you trigger them (with some higher likelyhood); = also, compiling the kernel with debug symbols should help in understanding = which part of the code is involved in the crash. Cheers, Vincenzo 2016-11-29 12:26 GMT+01:00 Steven Crangle >: Hi Vincenzo! Thank you so much for your help! With your instructions I've managed to get= a set of bhyves up and running with netmap working properly within them! I= chose to go with the recent version of head instead of 10.3. I will also = try and build a version on 11.0 if I get chance! I will make sure and ask any further questions on the github page for netma= p, but while I'm emailing, I've attached a text file containing a few kerne= l page fault errors I've ran into. They don't happen repeatedly. They seem = to just happen randomly if I try to shut the process down and possibly catc= h netmap in an incorrect state! Figured they might be useful to you. If I f= igure out what the error is myself I will try and help out! And thanks again for your help! Kind Regards ________________________________ [Stream Logo] Steven Crangle Systems Developer | Stream Technologies | Glasgow, UK [http://www.stream-technologies.com/img/phone.png] +44 (0)844 800 8520 | [http://www.stream-technologies.com/img/mouse.png] www.stream-technologies.com ________________________________ From: Vincenzo Maffione > Sent: 23 November 2016 08:33:11 To: Steven Crangle Cc: FreeBSD Net Subject: Re: Looking for some help with netmap/bhyve 2016-11-22 11:31 GMT+01:00 Steven Crangle >: Hi, I've recently been trying to boot up several bhyves so that I can test netm= ap communication between instances. The problem is, no matter what configur= ation I try, the guest vm running in bhyve completely hangs and becomes unu= sable as soon as a packet hits the netmap interface. When testing with pkt-= gen, the TX side successfully starts sending packets, but the RX side will = reliable freeze with the only option being killing the bhyve process. The bhyve command used for the above test was: bhyve -c 1 -s 0,hostbridge -s 1,lpc -s 2,virtio-blk,/dev/zvol/zroot/vip= er1vol -s 3,virtio-net,tap0,mac=3D00:01:23:45:67:83 -s 4,virtio-net,tap4= -l com1,/dev/nmdm0A -A -H -P -m 6g viper1 & bhyve -c 1 -s 0,hostbridge -s 1,lpc -s 2,virtio-blk,/dev/zvol/zroot/vip= er2vol -s 3,virtio-net,tap1,mac=3D00:01:23:45:67:84 -s 4,virtio-net,tap5= -l com1,/dev/nmdm1A -A -H -P -m 6g viper2 For this test the host OS was FreeBSD-11.0-p3 and the guest OS was FreeBSD-= 11.0-p3. After failing to get this solution working, I pulled down the source from t= he following url and installed it on the host box: https://svnweb.freebsd.org/socsvn/soc2016/vincenzo/head/ I then ran the following commands to try and bring up the machines using th= e ptnetmap interface (the guest still running 11.0p3) : bhyve -c 1 -s 0,hostbridge -s 1,lpc -s 1:1,virtio-blk,/dev/zvol/zroot/v= iper1vol -s 2:0,virtio-net,tap0,mac=3D00:01:23:45:67:83 -s 2:1,ptnetmap-= memdev -s 2:2,ptnet,vale0:0 -l com1,/dev/nmdm0A -A -H -P -m 6g viper1 & bhyve -c 1 -s 0,hostbridge -s 1,lpc -s 1:1,virtio-blk,/dev/zvol/zroot/v= iper2vol -s 2:0,virtio-net,tap1,mac=3D00:01:23:45:67:84 -s 2:1,ptnetmap-= memdev -s 2:2,ptnet,vale0:1 -l com1,/dev/nmdm1A -A -H -P -m 6g viper2 With the above commands the vm's fail to boot with the following message: ptnet_init: failed to get ptnetmap Output in /var/log/messages seems to just show the ptnetmap driver allocati= ng one RX/TX ring for each vm, while bringing the device up, the device the= n goes down and the above error is seen in the console. Is there something I'm doing wrong with regards to running netmap or ptnetm= ap within a bhyve? Any pointers in the right direction will be much appreci= ated! Kind Regards Steven Hi Steven, The code you are looking at is the final code released by my gsoc 2016 pr= oject at the end of August 2016. However, I've been working on that for a w= hile after the gsoc, so that code is not updated anymore. My modification b= asically involves two subsystems: netmap and bhyve. The updates to netmap are already available in HEAD. The updates to bhyve a= re not yet upstream, as we are in the process to review that with the bhyve= maintainers. Anyway, you need two sources to get the latest code: 1) https://github.com/luigirizzo/netmap for the latest netmap code, that yo= u could also compile as an external kernel module. 2) https://github.com/vmaffione/freebsd to get the updates to bhyve (and vm= m.ko). You can use this as the host system. There are two branches here: pt= net-10.3, and ptnet-head. My original code was developed under FreeBSD 10.3= , so a first possibility is to try this as the host system (using the ptnet= -10.3 branch). The other branch (ptnet-head) contains a porting of the work= to a recent version of HEAD. I would be very glad if you could test the co= de also on FreeBSD 11. We support two combinations of bhyve networking with netmap: (A) virtio-net + netmap: that is something like "-s 2:0,virtio-net,vale0:= 0" in the bhyve command line. (B) ptnet + ptnetmap: that is something like "-s 2:1,ptnetmap-memdev -s 2= :2,ptnet,vale0:0" in the bhyve command line. so you may want to try A first (netmap backend in user-space, slower) and t= hen B (netmap backend in kernel-space, faster). Sorry about the confusion on the code repositories, I'll try also to update= the wiki page (and/or the gsoc svn repo) to reflect these updates. It's pe= rfectly ok for me to discuss these issues here in the ML, however for more = detailed/low-level discussion and support about problems you are running in= to, feel free to open Github issues here https://github.com/luigirizzo/netm= ap. Cheers, Vincenzo ________________________________ [Stream Logo] Steven Crangle Systems Developer | Stream Technologies | Glasgow, UK [http://www.stream-technologies.com/img/phone.png] +44 (0)844 800 8520 | [http://www.stream-technologies.com/img/mouse.png] www.stream-technologies.com _______________________________________________ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" -- Vincenzo Maffione -- Vincenzo Maffione From owner-freebsd-net@freebsd.org Tue Nov 29 18:42:06 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 85A38C5CF27 for ; Tue, 29 Nov 2016 18:42:06 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-oi0-x235.google.com (mail-oi0-x235.google.com [IPv6:2607:f8b0:4003:c06::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 4737D11DF for ; Tue, 29 Nov 2016 18:42:06 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-oi0-x235.google.com with SMTP id b126so201355526oia.2 for ; Tue, 29 Nov 2016 10:42:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=l9o8+EIhnQWP0bAeJsYoKLXoHQF1dHJzvyZ2KhtABS8=; b=iIoJ9geKmnUnxgfO4VuxlcYu9rYRxC4wV4xugt5kRo8I+GkwbxyKtNsZ9M51IYNKRH P48sE3igmGUuTPUfOw20hvwSerZhunjY5Ge8YwPx+Lxt5nvTREod9/hem/s5lxto/TQQ mrKjCvn63Ok1jAiFD1recUHneGqJMZYJ8eBn1EYgnMZZs5E/j9E9kfts6OJOKn7NNS4v fLBsOHmIRGywF0FLJByU6Pbm0qeZOyz4EI72DOgTW6hk47IHgu/79hflyzFq1eSCJ+2O YI+X4qy4sj5XXsH+HhG5FvUksb8FNkEwnQ1kCMaLv8oilyeILtUSIgs6esK7Dttn5Dct rAMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=l9o8+EIhnQWP0bAeJsYoKLXoHQF1dHJzvyZ2KhtABS8=; b=bKhz4zUQKEqPfQwQcti9zQl5PhsSCUpuEBsU3EtMssiRpWF0U4nC8ZkeylMbar0jNm FytmaiwXCVnpnzMqi10tPsFuqTM/JAiE7heJcfDynRom/D5vCcWwyRFri3x2NJRMqcZA 69Nwv3oRwXqJMa9rvlU+tcHd7jBEP7xy3fM6IgP4SFehmR7id7YMDhqF0/eb+GctQsGX fKyFg7PsT/hmCts5CL+SYyHFAS0ISjVTu/vXYCvV5q1moGqQLAWMEY4yK7cvIMQwwUYx u93yiatSbshu1kXx0/O7Wz/kf2TcAW0eroL+k5rI8/gM59trUg4E3wFPtsRT4iJ6WGSw pfcg== X-Gm-Message-State: AKaTC00lk7l89J+T74tcT8n0+Es4ZKNDHTVWijVkq/IqbhvMqSxUc8OIx1lfd9+v9iozJJ1T9uDjSMkrc2eBsQ== X-Received: by 10.202.213.138 with SMTP id m132mr16110792oig.104.1480444925414; Tue, 29 Nov 2016 10:42:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.45.200 with HTTP; Tue, 29 Nov 2016 10:42:04 -0800 (PST) In-Reply-To: References: From: Vincenzo Maffione Date: Tue, 29 Nov 2016 19:42:04 +0100 Message-ID: Subject: Re: Looking for some help with netmap/bhyve To: Steven Crangle Cc: FreeBSD Net Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Nov 2016 18:42:06 -0000 Hi Steven, 2016-11-29 16:44 GMT+01:00 Steven Crangle : > > Hi Vincenzo, > > > No problem! We've decided that we will try testing with 11.0 too, as it > would help us to have our test system locked to a specific version like > 11.0 and can hopefully help you with testing too. We'll compile netmap from > source as advised, but I was wondering what steps we would take in order to > port the changes to bhyve/ptnetmap from HEAD into 11.0? > I think you can get the patch containing my modifications to HEAD for bhyve+vmm.ko+libvmmapi, that you can extract with the following command in my freebsd git repository $ git diff 9e10acc0303003d8733a546bca60f242b7b0aa64 ptnet-head lib/libvmmapi/ sys/amd64/ sys/modules/vmm/ usr.sbin/bhyve and apply that patch in your 11.0 FreeBSD tree. > > I've currently only tested with pkt-gen as our bhyve instances are pretty > minimal right now, below are a few samples of the speeds seen in each of > the different configurations: > which configurations? > > Using netmap on top of standard tap devices with no vale: > > > vm1: > 197.259100 main_thread [2325] 30.977 Kpps (32.435 Kpkts 15.569 Mbps in > 1047062 usec) 1.93 avg_batch 826 min_space > 203.306126 main_thread [2325] 32.149 Kpps (32.411 Kpkts 15.557 Mbps in > 1008156 usec) 1.88 avg_batch 866 min_space > 204.313055 main_thread [2325] 33.095 Kpps (33.324 Kpkts 15.996 Mbps in > 1006929 usec) 1.98 avg_batch 911 min_space > vm2: > 245.397418 main_thread [2325] 31.422 Kpps (33.262 Kpkts 15.966 Mbps in > 1058559 usec) 313.79 avg_batch 99999 min_space > 246.429810 main_thread [2325] 31.254 Kpps (32.266 Kpkts 15.488 Mbps in > 1032392 usec) 319.47 avg_batch 99999 min_space > 251.621436 main_thread [2325] 31.606 Kpps (33.329 Kpkts 15.998 Mbps in > 1054531 usec) 314.42 avg_batch 99999 min_space > Be aware that you typically want to use netmap both in the VM and in the host (to use VALE and ptnet). Here you are probably using netmap just in the VM. Performance are however extremely low. When using netmap in both guest and host, with ptnet, you should be able to get at least 10-30 Mpps from vm1 to vm2. > > After then trying to switch to the netmap in userspace/netmap in kernel > space with ptnetmap, I realised I made a silly mistake and built from head > instead of the branch ptnet-head... haha So I'm currently doing a quick > rebuild on the correct branch and will report back with the results from > pkt-gen using just vale, and also with the new ptnetmap changes! > Ok, also consider that you can use the patch I indicated above against HEAD. Cheers, Vincenzo > > > Kind Regards > > > > > > > > ------------------------------ > > > > [image: Stream Logo] > > > > > > *Steven Crangle* > > Systems Developer | Stream Technologies | Glasgow, UK > > [image: http://www.stream-technologies.com/img/phone.png] > > +44 (0)844 800 8520 > > | > > [image: http://www.stream-technologies.com/img/mouse.png] > > www.stream-technologies.com > > > > > > ------------------------------ > *From:* Vincenzo Maffione > *Sent:* 29 November 2016 11:52:18 > > *To:* Steven Crangle > *Cc:* FreeBSD Net > *Subject:* Re: Looking for some help with netmap/bhyve > > Hi Steven, > Thanks for your testing this in HEAD, good news to know that it works ok! > > I think there is not going to be much difference between HEAD and 11.0, > because in the end bhyve code didn't really change (for the parts I > touched), and you need to use the latest netmap version (github) anyway, > irrespective of whether you are testing on 10.3, 11.0, head, etc. In other > words, you would be testing approximately the same code. Anyway, if you > happen to test 11.0 by chance please let me know. > > What kind of tests did you perform? netmap applications (e.g. pkt-gen), or > netperf/iperf standard TCP/IP tools? > Could you please share the performance number you got for configurations > (A) and (B) (or just the one you tried)? > > I think it is useful to compare your results with the ones I collected > here (see the performance evaluation section): > > https://wiki.freebsd.org/DevSummit/201609?action= > AttachFile&do=view&target=20160923-freebsd-summit-ptnet.pdf > > Regarding the crashes, thanks for reporting, I would be nice if you could > describe in more detail how you trigger them (with some higher likelyhood); > also, compiling the kernel with debug symbols should help in understanding > which part of the code is involved in the crash. > > Cheers, > Vincenzo > > > 2016-11-29 12:26 GMT+01:00 Steven Crangle > : > >> Hi Vincenzo! >> >> >> Thank you so much for your help! With your instructions I've managed to >> get a set of bhyves up and running with netmap working properly within >> them! I chose to go with the recent version of head instead of 10.3. I >> will also try and build a version on 11.0 if I get chance! >> >> >> I will make sure and ask any further questions on the github page for >> netmap, but while I'm emailing, I've attached a text file containing a few >> kernel page fault errors I've ran into. They don't happen repeatedly. They >> seem to just happen randomly if I try to shut the process down and possibly >> catch netmap in an incorrect state! Figured they might be useful to you. If >> I figure out what the error is myself I will try and help out! >> >> >> And thanks again for your help! >> >> >> Kind Regards >> >> >> >> >> >> >> >> ------------------------------ >> >> >> >> [image: Stream Logo] >> >> >> >> >> >> *Steven Crangle* >> >> Systems Developer | Stream Technologies | Glasgow, UK >> >> [image: http://www.stream-technologies.com/img/phone.png] >> >> +44 (0)844 800 8520 >> >> | >> >> [image: http://www.stream-technologies.com/img/mouse.png] >> >> www.stream-technologies.com >> >> >> >> >> >> ------------------------------ >> *From:* Vincenzo Maffione >> *Sent:* 23 November 2016 08:33:11 >> *To:* Steven Crangle >> *Cc:* FreeBSD Net >> *Subject:* Re: Looking for some help with netmap/bhyve >> >> >> >> 2016-11-22 11:31 GMT+01:00 Steven Crangle > >: >> >>> >>> Hi, >>> >>> >>> I've recently been trying to boot up several bhyves so that I can test >>> netmap communication between instances. The problem is, no matter what >>> configuration I try, the guest vm running in bhyve completely hangs and >>> becomes unusable as soon as a packet hits the netmap interface. When >>> testing with pkt-gen, the TX side successfully starts sending packets, but >>> the RX side will reliable freeze with the only option being killing the >>> bhyve process. >>> >>> >>> The bhyve command used for the above test was: >>> >>> >>> bhyve -c 1 -s 0,hostbridge -s 1,lpc -s 2,virtio-blk,/dev/zvol/zroot/viper1vol >>> -s 3,virtio-net,tap0,mac=00:01:23:45:67:83 -s 4,virtio-net,tap4 -l >>> com1,/dev/nmdm0A -A -H -P -m 6g viper1 & >>> bhyve -c 1 -s 0,hostbridge -s 1,lpc -s 2,virtio-blk,/dev/zvol/zroot/viper2vol >>> -s 3,virtio-net,tap1,mac=00:01:23:45:67:84 -s 4,virtio-net,tap5 -l >>> com1,/dev/nmdm1A -A -H -P -m 6g viper2 >>> >>> For this test the host OS was FreeBSD-11.0-p3 and the guest OS was >>> FreeBSD-11.0-p3. >>> >>> After failing to get this solution working, I pulled down the source >>> from the following url and installed it on the host box: >>> >>> https://svnweb.freebsd.org/socsvn/soc2016/vincenzo/head/ >>> >>> I then ran the following commands to try and bring up the machines using >>> the ptnetmap interface (the guest still running 11.0p3) : >>> >>> bhyve -c 1 -s 0,hostbridge -s 1,lpc -s 1:1,virtio-blk,/dev/zvol/zroot/viper1vol >>> -s 2:0,virtio-net,tap0,mac=00:01:23:45:67:83 -s 2:1,ptnetmap-memdev >>> -s 2:2,ptnet,vale0:0 -l com1,/dev/nmdm0A -A -H -P -m 6g viper1 & >>> bhyve -c 1 -s 0,hostbridge -s 1,lpc -s 1:1,virtio-blk,/dev/zvol/zroot/viper2vol >>> -s 2:0,virtio-net,tap1,mac=00:01:23:45:67:84 -s 2:1,ptnetmap-memdev >>> -s 2:2,ptnet,vale0:1 -l com1,/dev/nmdm1A -A -H -P -m 6g viper2 >>> >>> With the above commands the vm's fail to boot with the following message: >>> >>> ptnet_init: failed to get ptnetmap >>> >>> Output in /var/log/messages seems to just show the ptnetmap driver >>> allocating one RX/TX ring for each vm, while bringing the device up, the >>> device then goes down and the above error is seen in the console. >>> >>> Is there something I'm doing wrong with regards to running netmap or >>> ptnetmap within a bhyve? Any pointers in the right direction will be much >>> appreciated! >>> >>> Kind Regards >>> >>> Steven >>> >>> >> Hi Steven, >> >> The code you are looking at is the final code released by my gsoc 2016 >> project at the end of August 2016. However, I've been working on that for a >> while after the gsoc, so that code is not updated anymore. My modification >> basically involves two subsystems: netmap and bhyve. >> >> The updates to netmap are already available in HEAD. The updates to bhyve >> are not yet upstream, as we are in the process to review that with the >> bhyve maintainers. >> >> Anyway, you need two sources to get the latest code: >> 1) https://github.com/luigirizzo/netmap for the latest netmap code, that >> you could also compile as an external kernel module. >> 2) https://github.com/vmaffione/freebsd to get the updates to bhyve (and >> vmm.ko). You can use this as the host system. There are two branches here: >> ptnet-10.3, and ptnet-head. My original code was developed under FreeBSD >> 10.3, so a first possibility is to try this as the host system (using the >> ptnet-10.3 branch). The other branch (ptnet-head) contains a porting of the >> work to a recent version of HEAD. I would be very glad if you could test >> the code also on FreeBSD 11. >> >> We support two combinations of bhyve networking with netmap: >> >> (A) virtio-net + netmap: that is something like "-s >> 2:0,virtio-net,vale0:0" in the bhyve command line. >> (B) ptnet + ptnetmap: that is something like "-s 2:1,ptnetmap-memdev -s >> 2:2,ptnet,vale0:0" in the bhyve command line. >> >> so you may want to try A first (netmap backend in user-space, slower) and >> then B (netmap backend in kernel-space, faster). >> >> Sorry about the confusion on the code repositories, I'll try also to >> update the wiki page (and/or the gsoc svn repo) to reflect these updates. >> It's perfectly ok for me to discuss these issues here in the ML, however >> for more detailed/low-level discussion and support about problems you are >> running into, feel free to open Github issues here >> https://github.com/luigirizzo/netmap. >> >> Cheers, >> Vincenzo >> >> >> >>> >>> >>> >>> >>> >>> >>> >>> ________________________________ >>> >>> >>> >>> [Stream Logo] >>> >>> >>> >>> >>> >>> >>> >>> >>> Steven Crangle >>> >>> >>> Systems Developer | Stream Technologies | Glasgow, UK >>> >>> >>> [http://www.stream-technologies.com/img/phone.png] >>> >>> >>> +44 (0)844 800 8520 >>> >>> >>> | >>> >>> >>> [http://www.stream-technologies.com/img/mouse.png] >>> >>> >>> www.stream-technologies.com >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> freebsd-net@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-net >>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >>> >> >> >> >> -- >> Vincenzo Maffione >> > > > > -- > Vincenzo Maffione > -- Vincenzo Maffione From owner-freebsd-net@freebsd.org Tue Nov 29 19:05:12 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B852C5C7AD for ; Tue, 29 Nov 2016 19:05:12 +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 35DCD1891; Tue, 29 Nov 2016 19:05:11 +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 uATJ5AZx051425 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 29 Nov 2016 11:05:10 -0800 (PST) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebi.us (8.15.2/8.15.2/Submit) id uATJ5A3V051424; Tue, 29 Nov 2016 11:05:10 -0800 (PST) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebi.us: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 29 Nov 2016 11:05:09 -0800 From: Gleb Smirnoff To: hiren panchasara Cc: Jakub Palider , freebsd-net@freebsd.org, karels@FreeBSD.org Subject: Re: FLOWTABLE aka TCP route caching panic Message-ID: <20161129190509.GO27748@FreeBSD.org> References: <20161128221033.GM55731@strugglingcoder.info> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161128221033.GM55731@strugglingcoder.info> User-Agent: Mutt/1.7.0 (2016-08-17) 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, 29 Nov 2016 19:05:12 -0000 On Mon, Nov 28, 2016 at 02:10:33PM -0800, hiren panchasara wrote: h> > Hi, h> > I have found that last month (19 Oct) the problem appeared on this list, h> > and to my experience it persists, both on VM and bare metal installation h> > (HEAD from yesterday). I looks that enabling FLOWTABLE option is the only h> > source of this fault happening. It appears on our setup in 80% cases within h> > one hour from boot up. h> > From our debugging, it is caused by lock on DESTROYED lock. Did you find a h> > solution to this problem? Not yet. I'm pretty sure that reverting my r307234 will fix your crashes. However, I still believe that r307234 is a proper way of fixing things, not r300854 which just plugged the problem in the nearest place to the crash. But as we all see r307234 is definitely missing some code path, which still allows for stale route to be referenced. -- Totus tuus, Glebius. From owner-freebsd-net@freebsd.org Tue Nov 29 22:08:37 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7DF84C5CA13 for ; Tue, 29 Nov 2016 22:08:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 62B7A15FB for ; Tue, 29 Nov 2016 22:08: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 uATM8b77044560 for ; Tue, 29 Nov 2016 22:08:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 191700] [carp] [bridge] CARP does not work on interface which belongs to a bridge Date: Tue, 29 Nov 2016 22:08:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: girgen@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal 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: Tue, 29 Nov 2016 22:08:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D191700 Palle Girgensohn changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |girgen@FreeBSD.org --- Comment #2 from Palle Girgensohn --- Is this still a problem? Is it related to 200319? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Nov 29 22:14:16 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90A19C5CC16 for ; Tue, 29 Nov 2016 22:14:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8042619F8 for ; Tue, 29 Nov 2016 22:14:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uATMEGd9066293 for ; Tue, 29 Nov 2016 22:14:16 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 202510] [CARP] advertisements sourced from CARP IP cause double MASTER situations Date: Tue, 29 Nov 2016 22:14: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.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: girgen@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Nov 2016 22:14:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D202510 Palle Girgensohn changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |girgen@FreeBSD.org --- Comment #4 from Palle Girgensohn --- (In reply to dam from comment #3) Any progress with getting consensus? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Nov 30 08:50:58 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2726BC5DDD5 for ; Wed, 30 Nov 2016 08:50:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 16D0119AB for ; Wed, 30 Nov 2016 08:50:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uAU8ovvV079219 for ; Wed, 30 Nov 2016 08:50:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 202510] [CARP] advertisements sourced from CARP IP cause double MASTER situations Date: Wed, 30 Nov 2016 08:50:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: dam@my.gd X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Nov 2016 08:50:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D202510 --- Comment #5 from dam@my.gd --- (In reply to Palle Girgensohn from comment #4) Hello Palle, Ah there may have been a small misunderstanding here. My statement was more meant as a "the patch is made by a novice to RC and network.subr, likely needs review/consensus from devs". It didn't mean I was going to seek consensus -from the MLs for example- . I thought someone from net@ would take the ticket, review the patch and ens= ure it doesn't introduce any regression. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Nov 30 08:56:35 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 47160C5DF76 for ; Wed, 30 Nov 2016 08:56: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 36D6D1D94 for ; Wed, 30 Nov 2016 08:56: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 uAU8uYhh091053 for ; Wed, 30 Nov 2016 08:56:35 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 202510] [CARP] advertisements sourced from CARP IP cause double MASTER situations Date: Wed, 30 Nov 2016 08:56: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.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: girgen@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Nov 2016 08:56:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D202510 --- Comment #6 from Palle Girgensohn --- Ah, OK. Good. So, hopefully someone will nurture this patch then. Any taker= s? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Nov 30 10:13:11 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 264DEC5D96F for ; Wed, 30 Nov 2016 10:13:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 14F0D17A4 for ; Wed, 30 Nov 2016 10:13:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uAUADAJX072311 for ; Wed, 30 Nov 2016 10:13:10 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 202510] [CARP] advertisements sourced from CARP IP cause double MASTER situations Date: Wed, 30 Nov 2016 10:13:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: easy, needs-qa, patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: koobs@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: keywords flagtypes.name bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Nov 2016 10:13:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D202510 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |easy, needs-qa, patch Flags| |mfc-stable9?, | |mfc-stable10?, | |mfc-stable11? Status|New |Open --- Comment #7 from Kubilay Kocak --- (In reply to dam from comment #3) Presumably testing shows that both syntaxes now result in the correct (expected) behaviour. Can you confirm? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Nov 30 21:59:27 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC696C5E23B for ; Wed, 30 Nov 2016 21:59:27 +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 AC50A1DB4 for ; Wed, 30 Nov 2016 21:59:27 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 6C5B634449; Wed, 30 Nov 2016 21:59:27 +0000 (UTC) Date: Wed, 30 Nov 2016 21:59:27 +0000 To: freebsd-net@freebsd.org From: "rstone (Ryan Stone)" Reply-to: D8685+325+e4f2116f95066c9b@reviews.freebsd.org Subject: [Differential] D8685: Fix a false positive in a buf_ring assert 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: D8685: Fix a false positive in a buf_ring assert X-Herald-Rules: none X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: MDEzOTI4NDRhNGFhM2E4ZDMxNzFmNTdkMjdlIFg/S78= 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, 30 Nov 2016 21:59:27 -0000 cnN0b25lIGFkZGVkIGEgc3Vic2NyaWJlcjogZnJlZWJzZC1uZXQtbGlzdC4KClJFVklTSU9OIERF VEFJTAogIGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9EODY4NQoKRU1BSUwgUFJFRkVSRU5D RVMKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvc2V0dGluZ3MvcGFuZWwvZW1haWxwcmVm ZXJlbmNlcy8KClRvOiByc3RvbmUKQ2M6IGZyZWVic2QtbmV0LWxpc3QsIGVtYXN0ZQo= From owner-freebsd-net@freebsd.org Wed Nov 30 22:04:19 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8768DC5E5CA for ; Wed, 30 Nov 2016 22:04:19 +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 64BF6188A for ; Wed, 30 Nov 2016 22:04:19 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 23C37348F4; Wed, 30 Nov 2016 22:04:19 +0000 (UTC) Date: Wed, 30 Nov 2016 22:04:19 +0000 To: freebsd-net@freebsd.org From: "hselasky (Hans Petter Selasky)" Reply-to: D8685+325+e4f2116f95066c9b@reviews.freebsd.org Subject: [Differential] D8685: Fix a false positive in a buf_ring assert 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: D8685: Fix a false positive in a buf_ring assert X-Herald-Rules: none X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: MDEzOTI4NDRhNGFhM2E4ZDMxNzFmNTdkMjdlIFg/TOM= 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, 30 Nov 2016 22:04:19 -0000 aHNlbGFza3kgYWRkZWQgaW5saW5lIGNvbW1lbnRzLgoKSU5MSU5FIENPTU1FTlRTCgo+IGJ1Zl9y aW5nLmg6NzEKPiArCWlmIChici0+YnJfY29uc19oZWFkICE9IGJyLT5icl9wcm9kX2hlYWQpIHsK PiArCQlmb3IgKGkgPSBici0+YnJfY29uc19oZWFkICsgMTsgaSAhPSBici0+YnJfcHJvZF9oZWFk Owo+ICsJCSAgICBpID0gKChpICsgMSkgJiBici0+YnJfY29uc19tYXNrKSkKCnNob3VsZCAiYnIt PmJyX2NvbnNfaGVhZCArIDEiIGJlIG1hc2tlZCBieSBici0+YnJfY29uc19tYXNrID8/CgpSRVZJ U0lPTiBERVRBSUwKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvRDg2ODUKCkVNQUlMIFBS RUZFUkVOQ0VTCiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL3NldHRpbmdzL3BhbmVsL2Vt YWlscHJlZmVyZW5jZXMvCgpUbzogcnN0b25lCkNjOiBoc2VsYXNreSwgZnJlZWJzZC1uZXQtbGlz dCwgZW1hc3RlCg== From owner-freebsd-net@freebsd.org Wed Nov 30 23:41:40 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BECA2C5EBAB for ; Wed, 30 Nov 2016 23:41:40 +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 792E614E3 for ; Wed, 30 Nov 2016 23:41:40 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 38DCF33BC4; Wed, 30 Nov 2016 23:41:40 +0000 (UTC) Date: Wed, 30 Nov 2016 23:41:40 +0000 To: freebsd-net@freebsd.org From: "rstone (Ryan Stone)" Reply-to: D8685+325+e4f2116f95066c9b@reviews.freebsd.org Subject: [Differential] D8685: Fix a false positive in a buf_ring assert Message-ID: <26d1d780466ab064b7bd6bb0041f94be@localhost.localdomain> 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: D8685: Fix a false positive in a buf_ring assert X-Herald-Rules: none X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: MDEzOTI4NDRhNGFhM2E4ZDMxNzFmNTdkMjdlIFg/Y7Q= MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_26d1d780466ab064b7bd6bb0041f94be" 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, 30 Nov 2016 23:41:40 -0000 --b1_26d1d780466ab064b7bd6bb0041f94be Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: base64 cnN0b25lIHVwZGF0ZWQgdGhpcyByZXZpc2lvbiB0byBEaWZmIDIyNjMzLgpyc3RvbmUgYWRkZWQg YSBjb21tZW50LgoKCiAgRW5zdXJlIHdlIGRvbid0IHdhbGsgb2ZmIHRoZSBlbmQgb2YgdGhlIHJp bmcKCkNIQU5HRVMgU0lOQ0UgTEFTVCBVUERBVEUKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5v cmcvRDg2ODU/dnM9MjI2MzEmaWQ9MjI2MzMKClJFVklTSU9OIERFVEFJTAogIGh0dHBzOi8vcmV2 aWV3cy5mcmVlYnNkLm9yZy9EODY4NQoKQUZGRUNURUQgRklMRVMKICBzeXMvc3lzL2J1Zl9yaW5n LmgKCkNIQU5HRSBERVRBSUxTCgpkaWZmIC0tZ2l0IGEvc3lzL3N5cy9idWZfcmluZy5oIGIvc3lz L3N5cy9idWZfcmluZy5oCi0tLSBhL3N5cy9zeXMvYnVmX3JpbmcuaAorKysgYi9zeXMvc3lzL2J1 Zl9yaW5nLmgKQEAgLTY3LDExICs2NywxMyBAQAogCXVpbnQzMl90IHByb2RfaGVhZCwgcHJvZF9u ZXh0LCBjb25zX3RhaWw7CiAjaWZkZWYgREVCVUdfQlVGUklORwogCWludCBpOwotCWZvciAoaSA9 IGJyLT5icl9jb25zX2hlYWQ7IGkgIT0gYnItPmJyX3Byb2RfaGVhZDsKLQkgICAgIGkgPSAoKGkg KyAxKSAmIGJyLT5icl9jb25zX21hc2spKQotCQlpZihici0+YnJfcmluZ1tpXSA9PSBidWYpCi0J CQlwYW5pYygiYnVmPSVwIGFscmVhZHkgZW5xdWV1ZSBhdCAlZCBwcm9kPSVkIGNvbnM9JWQiLAot CQkJICAgIGJ1ZiwgaSwgYnItPmJyX3Byb2RfdGFpbCwgYnItPmJyX2NvbnNfdGFpbCk7CisJaWYg KGJyLT5icl9jb25zX2hlYWQgIT0gYnItPmJyX3Byb2RfaGVhZCkgeworCQlmb3IgKGkgPSAoYnIt PmJyX2NvbnNfaGVhZCArIDEpICYgYnItPmJyX2NvbnNfbWFzazsgaSAhPSBici0+YnJfcHJvZF9o ZWFkOworCQkgICAgaSA9ICgoaSArIDEpICYgYnItPmJyX2NvbnNfbWFzaykpCisJCQlpZihici0+ YnJfcmluZ1tpXSA9PSBidWYpCisJCQkJcGFuaWMoImJ1Zj0lcCBhbHJlYWR5IGVucXVldWUgYXQg JWQgcHJvZD0lZCBjb25zPSVkIiwKKwkJCQkgICAgYnVmLCBpLCBici0+YnJfcHJvZF90YWlsLCBi ci0+YnJfY29uc190YWlsKTsKKwl9CiAjZW5kaWYJCiAJY3JpdGljYWxfZW50ZXIoKTsKIAlkbyB7 CgoKCkVNQUlMIFBSRUZFUkVOQ0VTCiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL3NldHRp bmdzL3BhbmVsL2VtYWlscHJlZmVyZW5jZXMvCgpUbzogcnN0b25lCkNjOiBoc2VsYXNreSwgZnJl ZWJzZC1uZXQtbGlzdCwgZW1hc3RlCg== --b1_26d1d780466ab064b7bd6bb0041f94be Content-Type: text/x-patch; charset=utf-8; name="D8685.22633.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D8685.22633.patch" ZGlmZiAtLWdpdCBhL3N5cy9zeXMvYnVmX3JpbmcuaCBiL3N5cy9zeXMvYnVmX3JpbmcuaAotLS0g YS9zeXMvc3lzL2J1Zl9yaW5nLmgKKysrIGIvc3lzL3N5cy9idWZfcmluZy5oCkBAIC02NywxMSAr NjcsMTMgQEAKIAl1aW50MzJfdCBwcm9kX2hlYWQsIHByb2RfbmV4dCwgY29uc190YWlsOwogI2lm ZGVmIERFQlVHX0JVRlJJTkcKIAlpbnQgaTsKLQlmb3IgKGkgPSBici0+YnJfY29uc19oZWFkOyBp ICE9IGJyLT5icl9wcm9kX2hlYWQ7Ci0JICAgICBpID0gKChpICsgMSkgJiBici0+YnJfY29uc19t YXNrKSkKLQkJaWYoYnItPmJyX3JpbmdbaV0gPT0gYnVmKQotCQkJcGFuaWMoImJ1Zj0lcCBhbHJl YWR5IGVucXVldWUgYXQgJWQgcHJvZD0lZCBjb25zPSVkIiwKLQkJCSAgICBidWYsIGksIGJyLT5i cl9wcm9kX3RhaWwsIGJyLT5icl9jb25zX3RhaWwpOworCWlmIChici0+YnJfY29uc19oZWFkICE9 IGJyLT5icl9wcm9kX2hlYWQpIHsKKwkJZm9yIChpID0gKGJyLT5icl9jb25zX2hlYWQgKyAxKSAm IGJyLT5icl9jb25zX21hc2s7IGkgIT0gYnItPmJyX3Byb2RfaGVhZDsKKwkJICAgIGkgPSAoKGkg KyAxKSAmIGJyLT5icl9jb25zX21hc2spKQorCQkJaWYoYnItPmJyX3JpbmdbaV0gPT0gYnVmKQor CQkJCXBhbmljKCJidWY9JXAgYWxyZWFkeSBlbnF1ZXVlIGF0ICVkIHByb2Q9JWQgY29ucz0lZCIs CisJCQkJICAgIGJ1ZiwgaSwgYnItPmJyX3Byb2RfdGFpbCwgYnItPmJyX2NvbnNfdGFpbCk7CisJ fQogI2VuZGlmCQogCWNyaXRpY2FsX2VudGVyKCk7CiAJZG8gewoK --b1_26d1d780466ab064b7bd6bb0041f94be-- From owner-freebsd-net@freebsd.org Wed Nov 30 23:42:26 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 298F6C5ED0D for ; Wed, 30 Nov 2016 23:42: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 088A5165C for ; Wed, 30 Nov 2016 23:42:26 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id BDFF933D78; Wed, 30 Nov 2016 23:42:25 +0000 (UTC) Date: Wed, 30 Nov 2016 23:42:25 +0000 To: freebsd-net@freebsd.org From: "rstone (Ryan Stone)" Reply-to: D8685+325+e4f2116f95066c9b@reviews.freebsd.org Subject: [Differential] D8685: Fix a false positive in a buf_ring assert Message-ID: <2f6c8087c004c67d3091cb6cd51f81ea@localhost.localdomain> 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: D8685: Fix a false positive in a buf_ring assert X-Herald-Rules: none X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: MDEzOTI4NDRhNGFhM2E4ZDMxNzFmNTdkMjdlIFg/Y+E= 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, 30 Nov 2016 23:42:26 -0000 cnN0b25lIG1hcmtlZCBhbiBpbmxpbmUgY29tbWVudCBhcyBkb25lLgpyc3RvbmUgYWRkZWQgaW5s aW5lIGNvbW1lbnRzLgoKSU5MSU5FIENPTU1FTlRTCgo+IGhzZWxhc2t5IHdyb3RlIGluIGJ1Zl9y aW5nLmg6NzEKPiBzaG91bGQgImJyLT5icl9jb25zX2hlYWQgKyAxIiBiZSBtYXNrZWQgYnkgYnIt PmJyX2NvbnNfbWFzayA/PwoKQWJzb2x1dGVseSBjb3JyZWN0LiAgTmljZSBjYXRjaCwgdGhhbmsg eW91CgpSRVZJU0lPTiBERVRBSUwKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvRDg2ODUK CkVNQUlMIFBSRUZFUkVOQ0VTCiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL3NldHRpbmdz L3BhbmVsL2VtYWlscHJlZmVyZW5jZXMvCgpUbzogcnN0b25lCkNjOiBoc2VsYXNreSwgZnJlZWJz ZC1uZXQtbGlzdCwgZW1hc3RlCg== From owner-freebsd-net@freebsd.org Thu Dec 1 04:37:16 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E0EB6C5F704 for ; Thu, 1 Dec 2016 04:37:16 +0000 (UTC) (envelope-from bounce-33521_HTML-358827075-55025-7292140-246@bounce.s7.exacttarget.com) Received: from df70.mta.exacttarget.com (df70.mta.exacttarget.com [13.111.2.70]) (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 A904112EE for ; Thu, 1 Dec 2016 04:37:16 +0000 (UTC) (envelope-from bounce-33521_HTML-358827075-55025-7292140-246@bounce.s7.exacttarget.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=200608; d=breakbulk.com; h=Message-ID:Date:Subject:From:Reply-To:To:MIME-Version:Content-Type:List-Unsubscribe:List-ID; i=promero@breakbulk.com; bh=uQro+/aAMl9ORk6e3eOi5ojIIiE=; b=Uq8D6WHAcUnyKsm4mw9/vNYxzGwJsc2WjK2OvLVtv+5VdvzlaaE8MI4qwa2snMK5hY4m0GJ2d2pj /xO4u7yNB2XM/AkvZjsCXOACWBORT0iBovWPT3ltPoumvjsO0OT4AbUDaqyYLBPjlzYzg6osagwo dOw/5Ula645N6/yfi7M= Received: by df70.mta.exacttarget.com id h7ukga163hsf for ; Thu, 1 Dec 2016 04:37:23 +0000 (envelope-from ) X-Virus-Scanned: amavisd-new at orionsmtp-213.s7.exacttarget.com Message-ID: <2374c315-897d-4812-b138-745d5ef42f69@atl1s07mta841.xt.local> Date: Wed, 30 Nov 2016 22:37:15 -0600 Subject: Get Alerts for =?utf-8?Q?Asia=E2=80=99s?= Largest Event for Project Cargo & Breakbulk Industry From: Patrick Romero Reply-To: promero@breakbulk.com To: freebsd-net@freebsd.org MIME-Version: 1.0 X-Report-Abuse-To: abuse@pd25.com X-CSA-Complaints: whitelistcomplaints@eco.de x-job: 7292140_55025 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2016 04:37:17 -0000 Breakbulk China, Asia's largest exhibition and conference for the project c= argo and breakbulk industry, 13-16 March in Shanghai=2E Email not displaying correctly? View it in your browser http://go=2Epardot=2Ecom/webmail/272542/109867/c9fe= a37a3d9c14526b3540841abac1402a07b1ab828bb5c50c8e9fbc93bc8d22=2E Logistics is complicated=2E Finding new business doesn't have to be=2E The movement of project cargo and breakbulk goods involves complex logistic= s, months and even years of planning and multi-million dollar contracts=2E = Yours is a complicated job and in this tight economy, finding new business = is a top priority=2E We can help=2E >From 13-16 March 2017, Asia=E2=80=99s largest exhibition and conference for= the project cargo and breakbulk industry will bring together 6,000 industr= y professionals, 200 exhibitors and more than 300 shippers at Breakbulk Chi= na in Shanghai=2E Hear from shippers, forwarders and specialized transport providers, as well= as astute analysts, as they share their experiences and identify areas of = opportunity for new business and development=2E With a full exhibition hall= , you will be able to fill the 2 days with appointments that meet your busi= ness objectives=2E Find out more about exhibitors, sponsors, speakers and VIP Shippers=2E Sign Up for Alerts - http://go=2Epardot=2Ecom/e/272542/l-272542-2016-11-28-= 92b/d8x/109867 Facebook - http://go=2Epardot=2Ecom/e/272542/l-272542-2016-11-23-5z6/d8z/10= 9867 Twitter - http://go=2Epardot=2Ecom/e/272542/l-272542-2016-11-23-5z8/d92/109= 867 LinkedIn - http://go=2Epardot=2Ecom/e/272542/l-272542-2016-11-23-5zb/d94/10= 9867 YouTube - http://go=2Epardot=2Ecom/e/272542/l-272542-2016-11-23-5zd/d96/109= 867 SoundCloud - http://go=2Epardot=2Ecom/e/272542/l-272542-2016-11-23-5zg/d98/= 109867 Instagram - http://go=2Epardot=2Ecom/e/272542/l-272542-2016-11-23-5zj/d9b/1= 09867 Copyright =C2=A9 2016, all rights reserved=2E Our mailing address is: Breakbulk Events & Media 2 Penn Plaza 12th Floor Newark, NJ 07105 unsubscribe from all emails http://go=2Epardot=2Ecom/unsubscribe/u/272542/c9fea37a3d9c14526b3540841abac= 1402a07b1ab828bb5c50c8e9fbc93bc8d22/109867 =20=20 From owner-freebsd-net@freebsd.org Thu Dec 1 08:23:52 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6670CC60CB9 for ; Thu, 1 Dec 2016 08:23:52 +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 44ECB11EE for ; Thu, 1 Dec 2016 08:23:52 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 04A7A1373; Thu, 1 Dec 2016 08:23:52 +0000 (UTC) Date: Thu, 1 Dec 2016 08:23:52 +0000 To: freebsd-net@freebsd.org From: "hselasky (Hans Petter Selasky)" Reply-to: D8685+325+e4f2116f95066c9b@reviews.freebsd.org Subject: [Differential] D8685: Fix a false positive in a buf_ring assert Message-ID: <63cf8b5815300199d51e9cecba9aad0e@localhost.localdomain> 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: D8685: Fix a false positive in a buf_ring assert X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: MDEzOTI4NDRhNGFhM2E4ZDMxNzFmNTdkMjdlIFg/3hg= 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: Thu, 01 Dec 2016 08:23:52 -0000 aHNlbGFza3kgYWNjZXB0ZWQgdGhpcyByZXZpc2lvbi4KaHNlbGFza3kgYWRkZWQgYSByZXZpZXdl cjogaHNlbGFza3kuCmhzZWxhc2t5IGFkZGVkIGEgY29tbWVudC4KVGhpcyByZXZpc2lvbiBoYXMg YSBwb3NpdGl2ZSByZXZpZXcuCgoKICBMb29rcyBnb29kIHRvIG1lLgoKUkVWSVNJT04gREVUQUlM CiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qub3JnL0Q4Njg1CgpFTUFJTCBQUkVGRVJFTkNFUwog IGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9yZy9zZXR0aW5ncy9wYW5lbC9lbWFpbHByZWZlcmVu Y2VzLwoKVG86IHJzdG9uZSwgaHNlbGFza3kKQ2M6IGhzZWxhc2t5LCBmcmVlYnNkLW5ldC1saXN0 LCBlbWFzdGUK From owner-freebsd-net@freebsd.org Thu Dec 1 09:09:56 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69119C6060D for ; Thu, 1 Dec 2016 09:09:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5822D154A for ; Thu, 1 Dec 2016 09:09:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uB199t2v096026 for ; Thu, 1 Dec 2016 09:09:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 202510] [CARP] advertisements sourced from CARP IP cause double MASTER situations Date: Thu, 01 Dec 2016 09:09:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: easy, needs-qa, patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: dam@my.gd 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: Thu, 01 Dec 2016 09:09:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D202510 --- Comment #8 from dam@my.gd --- (In reply to Kubilay Kocak from comment #7) svnup'ing 10-STABLE now, applying patch, and getting back to you. I'm afraid our company has neither 9.x nor 11.x available for testing again= st these branches though. Anyone in a position to test against these ? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Dec 1 16:11:16 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17DA0C6070B for ; Thu, 1 Dec 2016 16:11:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F116C1146 for ; Thu, 1 Dec 2016 16:11: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 uB1GBFBS009868 for ; Thu, 1 Dec 2016 16:11:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 202510] [CARP] advertisements sourced from CARP IP cause double MASTER situations Date: Thu, 01 Dec 2016 16:11: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.0-STABLE X-Bugzilla-Keywords: easy, needs-qa, patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: dam@my.gd 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: Thu, 01 Dec 2016 16:11:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D202510 --- Comment #9 from dam@my.gd --- (In reply to Kubilay Kocak from comment #7) Confirming behaviour on 10-STABLE (r309356) with my provided patch. patch =3D=3D root@bsd10:/usr/src/etc # patch < /tmp/network.subr.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- network.subr.orig 2015-08-24 14:10:15.188579000 +0000 |+++ network.subr.patched 2015-08-24 14:10:22.298347000 +0000 -------------------------- File to patch: network.subr Patching file network.subr using Plan A... Hunk #1 succeeded at 1091. Hunk #2 succeeded at 1144. done rc.conf =3D=3D ifconfig_vtnet0=3D"inet 46.[snip].253/25 -rxcsum -txcsum -tso -vlanhwtso -vlanhwcsum -vlanhwtag up" ipv4_addrs_vtnet0=3D"1.1.1.1/32" ifconfig_vtnet0_alias0=3D"1.1.1.2/32" ifconfig_vtnet0_alias1=3D"vhid 101 pass test advskew 50 1.1.1.3/32" ifconfig =3D=3D root@bsd10:~ # ifconfig vtnet0: flags=3D8943 metric= 0 mtu 1500 =20=20=20=20=20=20=20 options=3D6804a8 ether f2:53:d5:fc:49:8a inet 46.[snip].253 netmask 0xffffff80 broadcast 46.182.42.255=20 inet 1.1.1.1 netmask 0xffffffff broadcast 1.1.1.1=20 inet 1.1.1.2 netmask 0xffffffff broadcast 1.1.1.2=20 inet 1.1.1.3 netmask 0xffffffff broadcast 1.1.1.3 vhid 101=20 nd6 options=3D29 media: Ethernet 10Gbase-T status: active carp: MASTER vhid 101 advbase 1 advskew 50 tcpdump =3D=3D root@bsd10:~ # tcpdump -ni vtnet0 vrrp tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on vtnet0, link-type EN10MB (Ethernet), capture size 65535 bytes 16:04:27.942147 IP 46.[snip].253 > 224.0.0.18: VRRPv2, Advertisement, vrid = 101, prio 50, authtype none, intvl 1s, length 36 16:04:29.156181 IP 46.[snip].253 > 224.0.0.18: VRRPv2, Advertisement, vrid = 101, prio 50, authtype none, intvl 1s, length 36 16:04:30.358144 IP 46.[snip].253 > 224.0.0.18: VRRPv2, Advertisement, vrid = 101, prio 50, authtype none, intvl 1s, length 36 ^---- sourced with physical IP despite the use of ipv4_addrs_vtnet0 Can anyone confirm 9 and 11 branches ? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Dec 1 17:53:10 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D0F7C61473 for ; Thu, 1 Dec 2016 17:53:10 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6D8B21AFC for ; Thu, 1 Dec 2016 17:53:09 +0000 (UTC) (envelope-from sbruno@freebsd.org) Received: from [192.168.0.6] (97-123-24-15.albq.qwest.net [97.123.24.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id AEC2F19289A for ; Thu, 1 Dec 2016 17:53:08 +0000 (UTC) Subject: Re: Intel 82567V-2 using em driver, no carrier or constant link-state changes with 1000BaseT To: freebsd-net@freebsd.org References: From: Sean Bruno Message-ID: <3b590d4f-5eeb-f4f7-8ce5-ee71807d6e14@freebsd.org> Date: Thu, 1 Dec 2016 10:53:04 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="PFOCGjnjAi1KG6vQUNom3O89XpU5GrkQb" 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, 01 Dec 2016 17:53:10 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --PFOCGjnjAi1KG6vQUNom3O89XpU5GrkQb Content-Type: multipart/mixed; boundary="4pboO0tTiRdMGiP3bvgc6qU9xQ1x0GLH6"; protected-headers="v1" From: Sean Bruno To: freebsd-net@freebsd.org Message-ID: <3b590d4f-5eeb-f4f7-8ce5-ee71807d6e14@freebsd.org> Subject: Re: Intel 82567V-2 using em driver, no carrier or constant link-state changes with 1000BaseT References: In-Reply-To: --4pboO0tTiRdMGiP3bvgc6qU9xQ1x0GLH6 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 11/27/16 12:40, Michael Knap wrote: > Preface: I've been a long-time linux user, and I am enjoying the BSD > experience. For the following scenario, I have reproduced these results= > with 3 or more cables which are known to be good. >=20 > Using FreeBSD 10.3 Stable : > FreeBSD 10.3-STABLE #0 r295946+07c41cd(9.10-STABLE): Wed Nov 9 00:19:2= 5 > UTC 2016 root@gauntlet > :/freenas-9.10-releng/_BE/objs/freenas-9.10-releng/_BE/os/sys/FreeNAS.a= md64 >=20 > Also, this isn't a NIC, per se, as it is onboard, but I will call it a = NIC > or card or whatever. >=20 > Using em driver, though I don't know how to determine a driver version = (if > there is such a thing). >=20 > Basically, the card will not push gigabit, though it will work with > 100BaseTX. However, there seems to be more than just that as the chip-s= et > is advertised as a gigabit Ethernet controller. >=20 > When connected to a 100BaseTX switch, everything is good. Leaving it in= > autodetect mode, and connecting to a 1000baseTX switch (with good CAT6 > cable), the card's link state oscillates from link up and link down: >=20 > Nov 27 13:07:38 freenas kernel: em0: link state changed to DOWN > Nov 27 13:07:38 freenas kernel: em0: link state changed to DOWN > Nov 27 13:07:41 freenas kernel: em0: link state changed to UP > Nov 27 13:07:41 freenas kernel: em0: link state changed to UP > Nov 27 13:07:41 freenas kernel: em0: link state changed to DOWN > Nov 27 13:07:41 freenas kernel: em0: link state changed to DOWN > Nov 27 13:07:55 freenas kernel: em0: link state changed to UP > Nov 27 13:07:55 freenas kernel: em0: link state changed to UP > Nov 27 13:07:56 freenas kernel: em0: link state changed to DOWN > Nov 27 13:07:56 freenas kernel: em0: link state changed to DOWN > Nov 27 13:07:58 freenas kernel: em0: link state changed to UP > Nov 27 13:07:58 freenas kernel: em0: link state changed to UP > Nov 27 13:07:59 freenas kernel: em0: link state changed to DOWN > Nov 27 13:07:59 freenas kernel: em0: link state changed to DOWN > Nov 27 13:08:01 freenas kernel: em0: link state changed to UP > Nov 27 13:08:01 freenas kernel: em0: link state changed to UP > Nov 27 13:08:02 freenas kernel: em0: link state changed to DOWN > Nov 27 13:08:02 freenas kernel: em0: link state changed to DOWN >=20 > If I issue ifconfig em0 media 100baseTX mediaopt full-duplex, then I h= ave > no carrier. > Also, ifconfig em0 media 1000baseT gives no carrier. > However, if I ifconfig em0 media 10baseT, then I can get an active link= =2E >=20 > Interestingly, man em(4) does not claim to support this chipset, though= it > seems that this chipset was once supported in either e1000 or igb for o= lder > freeBSD versions? >=20 > Now, at least from the driver's POV, I should be able to handle gigabit= , as >=20 > ifconfig -m em0 > em0: flags=3D8c02 metric 0 mtu 150= 0 > options=3D4219b > capabilities=3D5399b > ether 00:25:11:59:d4:be > inet 10.42.0.111 netmask 0xffffff00 broadcast 10.42.0.255 > nd6 options=3D9 > media: Ethernet 10baseT/UTP (10baseT/UTP ) > status: active > supported media: > media autoselect > media 1000baseT > media 1000baseT mediaopt full-duplex > media 100baseTX mediaopt full-duplex > media 100baseTX > media 10baseT/UTP mediaopt full-duplex > media 10baseT/UTP >=20 > However when connected to gigabit switch, any explicit declaration of m= edia > fails except for 10baseT, even the autoselect declaration fails with no= > carrier. >=20 > But remember, 100baseTX works out of the box on a 100Mbit switch. >=20 > So, those more experienced, can you shed some light on what is happenin= g? > I'm especially interested in the man em(4) result even though the chips= et > has been supported in the past, and intel does provide drivers for this= > chipset, though I'm not sure if I could compile them or not. BTW, my > switches are only consumer grade, unmanaged. Is that where I'm stuck? >=20 > Thanks for such an awesome license, operating system, and community. > _______________________________________________ Just so I know which device this specifically is, can you post "pciconf -lvbc" to a pastebin or dpaste type site so we can review which driver this should be using. Linux seems to use igb(4) for this instead of em(4= ). sean --4pboO0tTiRdMGiP3bvgc6qU9xQ1x0GLH6-- --PFOCGjnjAi1KG6vQUNom3O89XpU5GrkQb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQF8BAEBCgBmBQJYQGOAXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kz74IAK6IOD9D4gy/3DIQUPj0S4z7 SiCk53QF0SSoITCSptF1XibqvlPGAYdJnHKtZe4l+mKYs5gDZx+9WVVdzWV8rYqw BukK4OC4qepdvl+7XuFib+cHSy64XCoAEs/NLk8is/2kx7xcpLceWXLsE59cmHOP +JJ35h/E4nx3YP0BOo6Mij0cThDARskep9f4YBruou9D5OeUwACdATvWmFnCle2E 7d6PNcSoEsHpdflQIPNs48HCGtZ+OamoSv4hL4nv+Cr3EMsInvNw1GFltUiG2GDH sZgGaDZ3oJSNF6qet2aryS0F/kbA2tqxOYMdv6I2a5UqlFdmKy5rHRYV5kw5lJM= =IIen -----END PGP SIGNATURE----- --PFOCGjnjAi1KG6vQUNom3O89XpU5GrkQb-- From owner-freebsd-net@freebsd.org Thu Dec 1 20:08:23 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCB72C61412 for ; Thu, 1 Dec 2016 20:08:23 +0000 (UTC) (envelope-from jeffrey.e.pieper@intel.com) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ORSMGA102.jf.intel.com", Issuer "Intel External Issuing CA 6A" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9C7B9147A; Thu, 1 Dec 2016 20:08:23 +0000 (UTC) (envelope-from jeffrey.e.pieper@intel.com) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 01 Dec 2016 12:07:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,726,1477983600"; d="scan'208";a="12333394" Received: from orsmsx104.amr.corp.intel.com ([10.22.225.131]) by orsmga002.jf.intel.com with ESMTP; 01 Dec 2016 12:07:14 -0800 Received: from orsmsx162.amr.corp.intel.com (10.22.240.85) by ORSMSX104.amr.corp.intel.com (10.22.225.131) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 1 Dec 2016 12:07:14 -0800 Received: from orsmsx111.amr.corp.intel.com ([169.254.12.190]) by ORSMSX162.amr.corp.intel.com ([10.22.240.85]) with mapi id 14.03.0248.002; Thu, 1 Dec 2016 12:07:09 -0800 From: "Pieper, Jeffrey E" To: Sean Bruno , "freebsd-net@freebsd.org" Subject: RE: Intel 82567V-2 using em driver, no carrier or constant link-state changes with 1000BaseT Thread-Topic: Intel 82567V-2 using em driver, no carrier or constant link-state changes with 1000BaseT Thread-Index: AQHSS/vQj5igiKbtkUqEOjpdei6LvKDzhGig Date: Thu, 1 Dec 2016 20:07:08 +0000 Message-ID: <2A35EA60C3C77D438915767F458D656883995CC2@ORSMSX111.amr.corp.intel.com> References: <3b590d4f-5eeb-f4f7-8ce5-ee71807d6e14@freebsd.org> In-Reply-To: <3b590d4f-5eeb-f4f7-8ce5-ee71807d6e14@freebsd.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNWRjNzk1YzgtNjQ1OC00MTRlLWI4MzctYjRmMjAxYTI3YTUyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IkIyRXhIZCtid1dGNklPZlp3T1g2andRS290bUFZM2VOZEdrdXY1QkxSdDQ9In0= x-ctpclassification: CTP_IC x-originating-ip: [10.22.254.138] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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, 01 Dec 2016 20:08:23 -0000 -----Original Message----- From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd-net@freebsd.org] = On Behalf Of Sean Bruno Sent: Thursday, December 01, 2016 9:53 AM To: freebsd-net@freebsd.org Subject: Re: Intel 82567V-2 using em driver, no carrier or constant link-st= ate changes with 1000BaseT On 11/27/16 12:40, Michael Knap wrote: > Preface: I've been a long-time linux user, and I am enjoying the BSD > experience. For the following scenario, I have reproduced these results > with 3 or more cables which are known to be good. >=20 > Using FreeBSD 10.3 Stable : > FreeBSD 10.3-STABLE #0 r295946+07c41cd(9.10-STABLE): Wed Nov 9 00:19:25 > UTC 2016 root@gauntlet > :/freenas-9.10-releng/_BE/objs/freenas-9.10-releng/_BE/os/sys/FreeNAS.amd= 64 >=20 > Also, this isn't a NIC, per se, as it is onboard, but I will call it a NI= C > or card or whatever. >=20 > Using em driver, though I don't know how to determine a driver version (i= f > there is such a thing). >=20 > Basically, the card will not push gigabit, though it will work with > 100BaseTX. However, there seems to be more than just that as the chip-set > is advertised as a gigabit Ethernet controller. >=20 > When connected to a 100BaseTX switch, everything is good. Leaving it in > autodetect mode, and connecting to a 1000baseTX switch (with good CAT6 > cable), the card's link state oscillates from link up and link down: >=20 > Nov 27 13:07:38 freenas kernel: em0: link state changed to DOWN > Nov 27 13:07:38 freenas kernel: em0: link state changed to DOWN > Nov 27 13:07:41 freenas kernel: em0: link state changed to UP > Nov 27 13:07:41 freenas kernel: em0: link state changed to UP > Nov 27 13:07:41 freenas kernel: em0: link state changed to DOWN > Nov 27 13:07:41 freenas kernel: em0: link state changed to DOWN > Nov 27 13:07:55 freenas kernel: em0: link state changed to UP > Nov 27 13:07:55 freenas kernel: em0: link state changed to UP > Nov 27 13:07:56 freenas kernel: em0: link state changed to DOWN > Nov 27 13:07:56 freenas kernel: em0: link state changed to DOWN > Nov 27 13:07:58 freenas kernel: em0: link state changed to UP > Nov 27 13:07:58 freenas kernel: em0: link state changed to UP > Nov 27 13:07:59 freenas kernel: em0: link state changed to DOWN > Nov 27 13:07:59 freenas kernel: em0: link state changed to DOWN > Nov 27 13:08:01 freenas kernel: em0: link state changed to UP > Nov 27 13:08:01 freenas kernel: em0: link state changed to UP > Nov 27 13:08:02 freenas kernel: em0: link state changed to DOWN > Nov 27 13:08:02 freenas kernel: em0: link state changed to DOWN >=20 > If I issue ifconfig em0 media 100baseTX mediaopt full-duplex, then I hav= e > no carrier. > Also, ifconfig em0 media 1000baseT gives no carrier. > However, if I ifconfig em0 media 10baseT, then I can get an active link. >=20 > Interestingly, man em(4) does not claim to support this chipset, though i= t > seems that this chipset was once supported in either e1000 or igb for old= er > freeBSD versions? >=20 > Now, at least from the driver's POV, I should be able to handle gigabit, = as >=20 > ifconfig -m em0 > em0: flags=3D8c02 metric 0 mtu 1500 > options=3D4219b > capabilities=3D5399b > ether 00:25:11:59:d4:be > inet 10.42.0.111 netmask 0xffffff00 broadcast 10.42.0.255 > nd6 options=3D9 > media: Ethernet 10baseT/UTP (10baseT/UTP ) > status: active > supported media: > media autoselect > media 1000baseT > media 1000baseT mediaopt full-duplex > media 100baseTX mediaopt full-duplex > media 100baseTX > media 10baseT/UTP mediaopt full-duplex > media 10baseT/UTP >=20 > However when connected to gigabit switch, any explicit declaration of med= ia > fails except for 10baseT, even the autoselect declaration fails with no > carrier. >=20 > But remember, 100baseTX works out of the box on a 100Mbit switch. >=20 > So, those more experienced, can you shed some light on what is happening? > I'm especially interested in the man em(4) result even though the chipset > has been supported in the past, and intel does provide drivers for this > chipset, though I'm not sure if I could compile them or not. BTW, my > switches are only consumer grade, unmanaged. Is that where I'm stuck? >=20 > Thanks for such an awesome license, operating system, and community. > _______________________________________________ >Just so I know which device this specifically is, can you post "pciconf >-lvbc" to a pastebin or dpaste type site so we can review which driver >this should be using. Linux seems to use igb(4) for this instead of em(4)= . > >sean Sean, This is a client (em) part, and should be 10CE (Boazman/Boulder Creek). Jeff From owner-freebsd-net@freebsd.org Thu Dec 1 21:08:51 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3BAF6C61294 for ; Thu, 1 Dec 2016 21:08:51 +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 F209B1474 for ; Thu, 1 Dec 2016 21:08:50 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id B140315A2; Thu, 1 Dec 2016 21:08:50 +0000 (UTC) Date: Thu, 1 Dec 2016 21:08:50 +0000 To: freebsd-net@freebsd.org From: "rstone (Ryan Stone)" Reply-to: D8685+325+e4f2116f95066c9b@reviews.freebsd.org Subject: [Differential] D8685: Fix a false positive in a buf_ring assert Message-ID: <23e98bd4e5fac48d220a1f5375bb3309@localhost.localdomain> 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: D8685: Fix a false positive in a buf_ring assert X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: MDEzOTI4NDRhNGFhM2E4ZDMxNzFmNTdkMjdlIFhAkWI= MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_23e98bd4e5fac48d220a1f5375bb3309" 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: Thu, 01 Dec 2016 21:08:51 -0000 --b1_23e98bd4e5fac48d220a1f5375bb3309 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: base64 VGhpcyByZXZpc2lvbiB3YXMgYXV0b21hdGljYWxseSB1cGRhdGVkIHRvIHJlZmxlY3QgdGhlIGNv bW1pdHRlZCBjaGFuZ2VzLgpyc3RvbmUgbWFya2VkIGFuIGlubGluZSBjb21tZW50IGFzIGRvbmUu CkNsb3NlZCBieSBjb21taXQgclMzMDkzNzI6IEZpeCBhIGZhbHNlIHBvc2l0aXZlIGluIGEgYnVm X3JpbmcgYXNzZXJ0IChhdXRob3JlZCBieSByc3RvbmUpLgoKQ0hBTkdFRCBQUklPUiBUTyBDT01N SVQKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvRDg2ODU/dnM9MjI2MzMmaWQ9MjI2NTEj dG9jCgpSRVBPU0lUT1JZCiAgclMgRnJlZUJTRCBzcmMgcmVwb3NpdG9yeQoKQ0hBTkdFUyBTSU5D RSBMQVNUIFVQREFURQogIGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNk