From owner-freebsd-net@freebsd.org Sun Sep 30 02:20:09 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 57BE110B1B60 for ; Sun, 30 Sep 2018 02:20:09 +0000 (UTC) (envelope-from vas@admin.sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc:5400:1ff:feaf:6afb]) (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 F29598FD84 for ; Sun, 30 Sep 2018 02:20:08 +0000 (UTC) (envelope-from vas@admin.sibptus.ru) Received: from vas by admin.sibptus.ru with local (Exim 4.91 (FreeBSD)) (envelope-from ) id 1g6RL5-0000Xa-3d for freebsd-net@freebsd.org; Sun, 30 Sep 2018 09:20:07 +0700 Date: Sun, 30 Sep 2018 09:20:07 +0700 From: Victor Sudakov To: freebsd-net@freebsd.org Subject: why rtsold ? Message-ID: <20180930022007.GA2041@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: Victor Sudakov X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 30 Sep 2018 02:20:09 -0000 Dear Colleagues, When running FreeBSD as an IPv6 host im SLAAC mode, is "rtsold_enable=YES" really necessary? I did not enable rtsold and IPv6 still works fine only with fconfig_re0="" ifconfig_re0_ipv6="inet6 accept_rtadv" What would be the point of enabling rtsold then? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ From owner-freebsd-net@freebsd.org Sun Sep 30 03:04:37 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E05D10B2DEE for ; Sun, 30 Sep 2018 03:04:37 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8A48D71643 for ; Sun, 30 Sep 2018 03:04:36 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lf1-f41.google.com with SMTP id v17-v6so7538320lfe.3 for ; Sat, 29 Sep 2018 20:04:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oumSSh8rUO1xDJ0wW5ekF9uOzNQxCNdgdt1A4EIcvPQ=; b=YVu651IGam3glRTH1mwtUDwpG+j+4vBpEyqwfxuVyW4GeChH1uIyDk2C9+LGGyou5H SfAQjsYNN5WR4KkYYnbPwJU8A3+D4gjv7o9NXaINKrmfrnFTsHJTUja8iRj1rohoOtwF tI97W/9FeDmUtQQgvdLL/Jh1koo7PR4OlkIvMT6tNOu9giI7Gy/leS8N6nsRg4VEXRTs 95eZJoDHJThN9VipyjCPP4SsUIlHHnvaEIlJYPd+FeqqKhHsJ7UsypLNSxqK/olhd03I IXJmJ242Z9vJED5IvxEB4WypbqqV7puSZgnMLd/NzyRhfZDOH2MoiD+0T8cbOQNPT8G8 GcQA== X-Gm-Message-State: ABuFfoi8d/WCPxuNN5Kqp24SzdoN4GvwoNHTjRFREUS1B7Q+N07CVgyK MjdwzQCEUPXnfvTg1IcJL18JWtawK12IaG6FgUY= X-Google-Smtp-Source: ACcGV62VCVeq2lrk2svT2W6tQlMm7Rm+wbZNspKK2S4iXuXHNMLVRNEeixDJCnyN4OfgSLx/VOq4DHUBOwstUjHqf9s= X-Received: by 2002:a19:5e5d:: with SMTP id z29-v6mr2326830lfi.110.1538276282170; Sat, 29 Sep 2018 19:58:02 -0700 (PDT) MIME-Version: 1.0 References: <20180930022007.GA2041@admin.sibptus.ru> In-Reply-To: <20180930022007.GA2041@admin.sibptus.ru> From: Alan Somers Date: Sat, 29 Sep 2018 20:57:17 -0600 Message-ID: Subject: Re: why rtsold ? To: vas@mpeks.tomsk.su Cc: FreeBSD Net Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 30 Sep 2018 03:04:37 -0000 On Sat, Sep 29, 2018 at 8:20 PM Victor Sudakov wrote: > Dear Colleagues, > > When running FreeBSD as an IPv6 host im SLAAC mode, is > "rtsold_enable=YES" really necessary? I did not enable rtsold and IPv6 > still works fine only with > > fconfig_re0="" > ifconfig_re0_ipv6="inet6 accept_rtadv" > > What would be the point of enabling rtsold then? > > -- > Victor Sudakov, VAS4-RIPE, VAS47-RIPN > 2:5005/49@fidonet http://vas.tomsk.ru/ > The router may send a router advertisement whenever it wants. That's why your machine seems to work even without rtsold. However, SLAAC addresses expire after a certain amount of time. rtsold will ask the router for a new advertisement before your address expires. You aren't guaranteed to have problems if you don't run rtsold, but you aren't guaranteed not to have problems if you don't. Best to let it run. -Alan From owner-freebsd-net@freebsd.org Sun Sep 30 05:24:04 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F05AF10B532D for ; Sun, 30 Sep 2018 05:24:03 +0000 (UTC) (envelope-from vas@admin.sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc:5400:1ff:feaf:6afb]) (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 8A4FC74899; Sun, 30 Sep 2018 05:24:03 +0000 (UTC) (envelope-from vas@admin.sibptus.ru) Received: from vas by admin.sibptus.ru with local (Exim 4.91 (FreeBSD)) (envelope-from ) id 1g6UD4-0001CQ-8C; Sun, 30 Sep 2018 12:24:02 +0700 Date: Sun, 30 Sep 2018 12:24:02 +0700 From: Victor Sudakov To: Alan Somers Cc: FreeBSD Net Subject: Re: why rtsold ? Message-ID: <20180930052402.GA2335@admin.sibptus.ru> References: <20180930022007.GA2041@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: Victor Sudakov X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 30 Sep 2018 05:24:04 -0000 Alan Somers wrote: > > > > When running FreeBSD as an IPv6 host im SLAAC mode, is > > "rtsold_enable=YES" really necessary? I did not enable rtsold and IPv6 > > still works fine only with > > > > fconfig_re0="" > > ifconfig_re0_ipv6="inet6 accept_rtadv" > > > > What would be the point of enabling rtsold then? > > The router may send a router advertisement whenever it wants. That's why > your machine seems to work even without rtsold. However, SLAAC addresses > expire after a certain amount of time. rtsold will ask the router for a > new advertisement before your address expires. You aren't guaranteed to > have problems if you don't run rtsold, but you aren't guaranteed not to > have problems if you don't. Best to let it run. I see the point but who on earth sent the initial router solicitation on boot if I never enabled rtsold? I have not found rtsold in /etc/rc.d/netif or similar startup script. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ From owner-freebsd-net@freebsd.org Sun Sep 30 12:55:08 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B715510BF024 for ; Sun, 30 Sep 2018 12:55:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 53BF481C87 for ; Sun, 30 Sep 2018 12:55:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 1569710BF023; Sun, 30 Sep 2018 12:55:08 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 024A910BF022 for ; Sun, 30 Sep 2018 12:55:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 89DF981C7F for ; Sun, 30 Sep 2018 12:55:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id D204320912 for ; Sun, 30 Sep 2018 12:55:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w8UCt65M091827 for ; Sun, 30 Sep 2018 12:55:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8UCt6nj091826 for net@FreeBSD.org; Sun, 30 Sep 2018 12:55:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 231416] dhcp / dhclient: bad udp checksums if running on a vlan on a Intel I211 / Broadcom interfaces Date: Sun, 30 Sep 2018 12:55:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: lev@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: 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.27 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, 30 Sep 2018 12:55:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231416 --- Comment #5 from Lev A. Serebryakov --- I can add one more datapoint: 82574L Gigabit Network Connection (which is s= hown as "em") doesn't have this problem on same FreeBSD revision. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Sep 30 13:18:31 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF3E910BF61C for ; Sun, 30 Sep 2018 13:18:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 68E048245F for ; Sun, 30 Sep 2018 13:18:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 290FE10BF61B; Sun, 30 Sep 2018 13:18:31 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 05BE010BF61A for ; Sun, 30 Sep 2018 13:18:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 97FC48245B for ; Sun, 30 Sep 2018 13:18:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id D80EF20BEF for ; Sun, 30 Sep 2018 13:18:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w8UDITKO058935 for ; Sun, 30 Sep 2018 13:18:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8UDITUg058934 for net@FreeBSD.org; Sun, 30 Sep 2018 13:18:29 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 231659] 12-ALPHA7 r338900 crashes with IPsec on network load Date: Sun, 30 Sep 2018 13:18:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: crash, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lev@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 30 Sep 2018 13:18:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231659 --- Comment #12 from Lev A. Serebryakov --- Ok. Now I have kernel with INVARIANTs and WITNESS and I have space fro crashdumps. I've got 3 crashdumps with exactly same panic message: Assertion (staterr & E1000_RXD_STAT_DD) !=3D 0 failed at /data/src/sys/dev/e1000/em_txrx.c:698 Here is stacktrace: #0 doadump (textdump=3D1) at pcpu.h:230 #1 0xffffffff80565a70 in kern_reboot (howto=3D260) at /data/src/sys/kern/kern_shutdown.c:446 #2 0xffffffff80565ec3 in vpanic (fmt=3D, ap=3D) at /data/src/sys/kern/kern_shutdown.c:872 #3 0xffffffff80565c23 in panic (fmt=3D) at /data/src/sys/kern/kern_shutdown.c:799 #4 0xffffffff803f1de4 in em_isc_rxd_pkt_get (arg=3D, ri=3D) at /data/src/sys/dev/e1000/em_txrx.c:698 #5 0xffffffff806688d8 in iflib_rxeof (rxq=3D0xfffff80002295800, budget=3D<= value optimized out>) at /data/src/sys/net/iflib.c:2684 #6 0xffffffff80664d19 in _task_fn_rx (context=3D0xfffff80002295800) at /data/src/sys/net/iflib.c:3820 #7 0xffffffff805a5e49 in gtaskqueue_run_locked (queue=3D0xfffff800021dc400= ) at /data/src/sys/kern/subr_gtaskqueue.c:332 #8 0xffffffff805a5c08 in gtaskqueue_thread_loop (arg=3D) at /data/src/sys/kern/subr_gtaskqueue.c:507 #9 0xffffffff8052f5c4 in fork_exit (callout=3D0xffffffff805a5b80 , arg=3D0xfffffe00017f8008, frame=3D0xfffffe000043a= c00) at /data/src/sys/kern/kern_fork.c:1057 #10 0xffffffff8081cbfe in fork_trampoline () at /data/src/sys/amd64/amd64/exception.S:993 #11 0x0000000000000000 in ?? () --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Sep 30 13:18:44 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0293910BF62E for ; Sun, 30 Sep 2018 13:18:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8CE6F82485 for ; Sun, 30 Sep 2018 13:18:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5054010BF62D; Sun, 30 Sep 2018 13:18:43 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E8DC10BF62C for ; Sun, 30 Sep 2018 13:18:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D0D7A8247D for ; Sun, 30 Sep 2018 13:18:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 36AA320BF2 for ; Sun, 30 Sep 2018 13:18:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w8UDIg09059172 for ; Sun, 30 Sep 2018 13:18:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8UDIg96059171 for net@FreeBSD.org; Sun, 30 Sep 2018 13:18:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 231659] 12-ALPHA7 r338900 crashes with IPsec on network load Date: Sun, 30 Sep 2018 13:18:42 +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, crash, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lev@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords 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.27 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, 30 Sep 2018 13:18:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231659 Lev A. Serebryakov changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |IntelNetworking --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Sep 30 13:32:44 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D83A010BFC9E for ; Sun, 30 Sep 2018 13:32:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 710ED82CE4 for ; Sun, 30 Sep 2018 13:32:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3426710BFC9D; Sun, 30 Sep 2018 13:32:44 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 222DF10BFC9C for ; Sun, 30 Sep 2018 13:32:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B452D82CE0 for ; Sun, 30 Sep 2018 13:32:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id AFFC220EAC for ; Sun, 30 Sep 2018 13:32:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w8UDWgH4092458 for ; Sun, 30 Sep 2018 13:32:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8UDWgaK092457 for net@FreeBSD.org; Sun, 30 Sep 2018 13:32:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 231659] [em] 12-ALPHA7 r338900 crashes with IPsec on network load Date: Sun, 30 Sep 2018 13:32:42 +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, crash, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc 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.27 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, 30 Sep 2018 13:32:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231659 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|12-ALPHA7 r338900 crashes |[em] 12-ALPHA7 r338900 |with IPsec on network load |crashes with IPsec on | |network load --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Sep 30 13:35:06 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2C44A10BFD92 for ; Sun, 30 Sep 2018 13:35:06 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8C2A682DD2; Sun, 30 Sep 2018 13:35:05 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lj1-x22b.google.com with SMTP id r8-v6so9691649ljc.10; Sun, 30 Sep 2018 06:35:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=d4eBO6h2AjePnWB4eT/K0NHirc8L9ptDErKPEzYsmpk=; b=F+xCMu+4LiFA8rjHkwJ+lFa2+Gm3cYdzbp3MSJG5ui/5r4+kn1p8tfwDuGhy8aC4NH bqhvAQ40omGUI9TAmTBChRZZpWdN3VfJqZM7zjC9HpRqXE8NkHhAjL01LyghobAPDM/n SWXf4aodp0DxyPOMRfHdvgmuVjlieqmOjK8MPcKn/7VonGiwKFz4EjFIZABVDGmXVpkz EowANOksTAhf92k4wNi1RBerxdpv/vmXtsYpFjkT+AM7v2MXFIFraUXgj/zBCJpanRl2 v4j6wtF4fXN2qNf2Cz+LSIFXobOjIk9EIuw4+hhAvE7evwm6VmntCfYZPKyVJPxXZ2KU pZfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=d4eBO6h2AjePnWB4eT/K0NHirc8L9ptDErKPEzYsmpk=; b=S3tVLDQKoWXYfF61q5q1L+XU5z3jQ51OsqtIoiTvFJwp9iwE50zVN5wuXG5b0XLbV3 ks+DZ1tRN6iTAIDBDqPk2Ap1RJFz9vvrUfakbeIsdffPZuBH9VWRjhEvCVlN5Wqr2XXR 8NVW5GB2hyb8pdgoGrDZDT4zhaBBKc/xtP52Oe8IOVa4op/S4W4I/oiLnNARxKMg+iRQ 2cuHOAEPVOZLlsw0iO2SEbEbZLMrr0w0+kMTnrWx75WVhrsw+tYJElHJUCfZ1rvj9f4y OCNSzYDWZhPskFqddG0jF1uHRnvPJ0/HuebsZ5/TFnMhEnv/javCb68lB8ybxyhOQzaY Elfw== X-Gm-Message-State: ABuFfoiQpxuqZXChvrBDu6lpqzGjRjMqmxEO6K3jhug70toQpERUtlrv pxSMmiT8ObdYHwRMGn2FejDB6ZRH1yw+LMjE4U8= X-Google-Smtp-Source: ACcGV60wyitGP9+U1YnRvPIw42skX0UZ9+SyFwntlfLklzaamTq5WXOQAWhy/KCcf7Sc+S6Hup6+LiQeS2XkFbJ6I+Q= X-Received: by 2002:a2e:2b08:: with SMTP id q8-v6mr3907203lje.128.1538314503711; Sun, 30 Sep 2018 06:35:03 -0700 (PDT) MIME-Version: 1.0 References: <20180930022007.GA2041@admin.sibptus.ru> <20180930052402.GA2335@admin.sibptus.ru> In-Reply-To: <20180930052402.GA2335@admin.sibptus.ru> From: alan somers Date: Sun, 30 Sep 2018 06:34:51 -0700 Message-ID: Subject: Re: why rtsold ? To: Victor Sudakov Cc: Alan Somers , FreeBSD Net Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 30 Sep 2018 13:35:06 -0000 On Sat, Sep 29, 2018, 11:24 PM Victor Sudakov wrote: > Alan Somers wrote: > > > > > > When running FreeBSD as an IPv6 host im SLAAC mode, is > > > "rtsold_enable=YES" really necessary? I did not enable rtsold and IPv6 > > > still works fine only with > > > > > > fconfig_re0="" > > > ifconfig_re0_ipv6="inet6 accept_rtadv" > > > > > > What would be the point of enabling rtsold then? > > > > The router may send a router advertisement whenever it wants. That's why > > your machine seems to work even without rtsold. However, SLAAC addresses > > expire after a certain amount of time. rtsold will ask the router for a > > new advertisement before your address expires. You aren't guaranteed to > > have problems if you don't run rtsold, but you aren't guaranteed not to > > have problems if you don't. Best to let it run. > > I see the point but who on earth sent the initial router solicitation > on boot if I never enabled rtsold? > > I have not found rtsold in /etc/rc.d/netif or similar startup script. > > -- > Victor Sudakov, VAS4-RIPE, VAS47-RIPN > 2:5005/49@fidonet http://vas.tomsk.ru/ The rtsol command will send a single router solicitation. It's probably getting invoked on startup. Or, you might've just gotten lucky and heard an unsolicited router advertisement. From owner-freebsd-net@freebsd.org Sun Sep 30 13:42:57 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A47110C0246 for ; Sun, 30 Sep 2018 13:42:57 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (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 E99EA83349; Sun, 30 Sep 2018 13:42:56 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 8CD902147B; Sun, 30 Sep 2018 09:42:56 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sun, 30 Sep 2018 09:42:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yuripv.net; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=tTlMnhNPZd9CePUlJfr1891djl39w OsyyFu/ZIkAqdU=; b=Nq60tNu5F2pJQbHHgAZepHydLHVVqA8vmZy+e1nq5Sfp+ I74+WraESPR9vTxa44Rs1s17fPxenfGIcywH60tqk2E7D2e8MQ7wDCU70C0nNjxK Mp2LZ8PkKcWb+yFdt/ufs+LCTScf4Thiv7wNyOX/A4aAx4gLhO+FVE2fcBd4axJh jGDFOK5r+6oaGCTdzc02lkaltMXANr/GnMoQj7Q2FF+lg0E0/lYY+b4+Xa6nBZcE 5FPSINvtvY1XIYgfQQWWzPgTz/P965adJeMpC0fvuEzic//8mHCeXVwbrx7KuAFN dwqY9mpcT/SQ50YJPSWd0mT2oPXweipF/yqxnT1LQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=tTlMnh NPZd9CePUlJfr1891djl39wOsyyFu/ZIkAqdU=; b=MncOuY3x7vILHoVHZB2glO HK6L+p2wR9vpjLwSr9E2qdf0R7Qm9ZCBNxbqnFxxoarkDLU0JFytZ5Z9h9YCWMR+ 55flC5ZdUk5znWBfopiWanfTXnFQyfQB/7AZxnJXhcVpwXaAGHPiHgMPL2mEpB1a 5ozOJHuj/H+6jDAig3AlgOP8jaHeD74j8WH1j4K8aZ5N6d9kQ9gtjm97/EYo+5cQ QGfuPn43O3UE2N7Us9vZx8Bu9bchACOjoHEPunOSP1XSfGe4uQesgFwqNXn4kRqY aCUR3KdMvNkc7VmIc1QeeRU8cHG714GlR44v8kyQkcJb070jzCoDGIoYlxrHgQrA == X-ME-Proxy: X-ME-Sender: Received: from [192.168.1.2] (unknown [85.175.16.0]) by mail.messagingengine.com (Postfix) with ESMTPA id 1A238102D2; Sun, 30 Sep 2018 09:42:53 -0400 (EDT) Subject: Re: why rtsold ? To: alan somers , Victor Sudakov Cc: FreeBSD Net , Alan Somers References: <20180930022007.GA2041@admin.sibptus.ru> <20180930052402.GA2335@admin.sibptus.ru> From: Yuri Pankov Message-ID: <945d1de4-a34a-6801-d569-24566037f80c@yuripv.net> Date: Sun, 30 Sep 2018 16:42:52 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 30 Sep 2018 13:42:57 -0000 alan somers wrote: > On Sat, Sep 29, 2018, 11:24 PM Victor Sudakov wrote: > >> Alan Somers wrote: >>>> >>>> When running FreeBSD as an IPv6 host im SLAAC mode, is >>>> "rtsold_enable=YES" really necessary? I did not enable rtsold and IPv6 >>>> still works fine only with >>>> >>>> fconfig_re0="" >>>> ifconfig_re0_ipv6="inet6 accept_rtadv" >>>> >>>> What would be the point of enabling rtsold then? >>> >>> The router may send a router advertisement whenever it wants. That's why >>> your machine seems to work even without rtsold. However, SLAAC addresses >>> expire after a certain amount of time. rtsold will ask the router for a >>> new advertisement before your address expires. You aren't guaranteed to >>> have problems if you don't run rtsold, but you aren't guaranteed not to >>> have problems if you don't. Best to let it run. >> >> I see the point but who on earth sent the initial router solicitation >> on boot if I never enabled rtsold? >> >> I have not found rtsold in /etc/rc.d/netif or similar startup script. >> >> -- >> Victor Sudakov, VAS4-RIPE, VAS47-RIPN >> 2:5005/49@fidonet http://vas.tomsk.ru/ > > > The rtsol command will send a single router solicitation. It's probably > getting invoked on startup. Or, you might've just gotten lucky and heard an > unsolicited router advertisement. Indeed, it's called from /etc/network.subr if rtsold is NOT enabled. From owner-freebsd-net@freebsd.org Sun Sep 30 14:03:02 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DC14110C0900 for ; Sun, 30 Sep 2018 14:03:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7902783B9A for ; Sun, 30 Sep 2018 14:03:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3E37010C08FF; Sun, 30 Sep 2018 14:03:02 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2CE9610C08FE for ; Sun, 30 Sep 2018 14:03:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE2B583B94 for ; Sun, 30 Sep 2018 14:03:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 16EB0212E9 for ; Sun, 30 Sep 2018 14:03:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w8UE302D074704 for ; Sun, 30 Sep 2018 14:03:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8UE30FF074703 for net@FreeBSD.org; Sun, 30 Sep 2018 14:03:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 231659] [em] 12-ALPHA7 r338900 crashes with IPsec on network load Date: Sun, 30 Sep 2018 14:03: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, crash, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lev@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 30 Sep 2018 14:03:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231659 --- Comment #13 from Lev A. Serebryakov --- Without debug options in kernel crashes are all different, but it is always GPE. Looks like memory corruption. Please note, that without SAD/SDP everything works. And with "null" SAD everything works for hours. Even sending works with IPsec and aes-256-gcm/aes-256-cbc. Only combination= of IPsec with true encryption and receiving data leads to crash. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Sep 30 14:03:34 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5208F10C0925 for ; Sun, 30 Sep 2018 14:03:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id DAC1883BFB for ; Sun, 30 Sep 2018 14:03:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A026C10C0924; Sun, 30 Sep 2018 14:03:33 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7E2AE10C0923 for ; Sun, 30 Sep 2018 14:03:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1EF2483BF1 for ; Sun, 30 Sep 2018 14:03:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 6DFF3212ED for ; Sun, 30 Sep 2018 14:03:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w8UE3Wf0075494 for ; Sun, 30 Sep 2018 14:03:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8UE3WC1075493 for net@FreeBSD.org; Sun, 30 Sep 2018 14:03:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 231659] [em] 12-ALPHA7 r338900 crashes with IPsec on network load Date: Sun, 30 Sep 2018 14:03:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: IntelNetworking, crash, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lev@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 30 Sep 2018 14:03:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231659 --- Comment #14 from Lev A. Serebryakov --- One crash without debug options Fatal trap 9: general protection fault while in kernel mode cpuid =3D 1; apic id =3D 01 instruction pointer =3D 0x20:0xffffffff806585ea cpuid =3D 0; apic id =3D 00 instruction pointer =3D 0x20:0xffffffff806dab77 stack pointer =3D 0x28:0xfffffe0025d10a10 frame pointer =3D 0x28:0xfffffe0025d10b40 stack pointer =3D 0x28:0xfffffe0000470a30 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 11 (swi1: netisr 0) trap number =3D 9 panic: general protection fault #0 doadump (textdump=3D1) at pcpu.h:230 #1 0xffffffff8056008b in kern_reboot (howto=3D260) at /data/src/sys/kern/kern_shutdown.c:446 #2 0xffffffff805604c3 in vpanic (fmt=3D, ap=3D) at /data/src/sys/kern/kern_shutdown.c:872 #3 0xffffffff805602b3 in panic (fmt=3D) at /data/src/sys/kern/kern_shutdown.c:799 #4 0xffffffff8081fd2f in trap_fatal (frame=3D0xfffffe0025d10950, eva=3D0) = at /data/src/sys/amd64/amd64/trap.c:929 #5 0xffffffff8081f22d in trap (frame=3D0xfffffe0025d10950) at counter.h:87 #6 0xffffffff807ff367 in calltrap () at /data/src/sys/amd64/amd64/exception.S:232 #7 0xffffffff806dab77 in ip_output (m=3D, opt=3D, ro=3D, flags=3D, = imo=3D0x0, inp=3D0x0) at /data/src/sys/netinet/ip_output.c:659 #8 0xffffffff807462b8 in ipsec_process_done (m=3D0xfffff8009947b700, sp=3D= 0x0, sav=3D0xfffff800058ef200, idx=3D1) at /data/src/sys/netipsec/ipsec_output.c= :796 #9 0xffffffff8075b55b in esp_output_cb (crp=3D0xfffff800b20bf000) at /data/src/sys/netipsec/xform_esp.c:951 #10 0xffffffff80784007 in swcr_process (dev=3D, crp=3D= , hint=3D) at /data/src/sys/opencrypto/cryptosoft.c:1222 #11 0xffffffff807804eb in crypto_dispatch (crp=3D0xfffff800b20bf000) at /data/src/sys/opencrypto/crypto.c:1001 #12 0xffffffff8075af80 in esp_output (m=3D0xfffff8009947b700, sp=3D0xfffff8000541eb00, sav=3D, idx=3D0, skip=3D20, p= rotoff=3D9) at /data/src/sys/netipsec/xform_esp.c:869 #13 0xffffffff8074581f in ipsec4_perform_request (m=3D, sp=3D, inp=3D0xfffff800058fc3d0, idx=3D0) at /data/src/sys/netipsec/ipsec_output.c:275 #14 0xffffffff80745916 in ipsec4_output (m=3D0xfffff8009947b700, inp=3D0xfffff800058fc3d0) at /data/src/sys/netipsec/ipsec_output.c:292 #15 0xffffffff806da49e in ip_output (m=3D, opt=3D, ro=3D, flags=3D, = imo=3D0x0, inp=3D0xfffff800058fc3d0) at /data/src/sys/netinet/ip_output.c:549 #16 0xffffffff806e84b5 in tcp_output (tp=3D0xfffff80099d72000) at /data/src/sys/netinet/tcp_output.c:1409 #17 0xffffffff806e4bc3 in tcp_do_segment (m=3D0xfffff800b2473400, th=3D, so=3D0xfffff80005e67000, tp=3D0xfffff80099d72000, drop_hdrl= en=3D52, tlen=3D, iptos=3D0 '\0') at atomic.h:221 #18 0xffffffff806e1a51 in tcp_input (mp=3D, offp=3D, proto=3D) at /data/src/sys/netinet/tcp_input.c:1392 #19 0xffffffff806d2078 in ip_input (m=3D0x0) at /data/src/sys/netinet/ip_input.c:827 #20 0xffffffff8065c343 in swi_net (arg=3D) at /data/src/sys/net/netisr.c:901 #21 0xffffffff8052ffc5 in ithread_loop (arg=3D) at /data/src/sys/kern/kern_intr.c:1043 #22 0xffffffff8052d0a6 in fork_exit (callout=3D0xffffffff8052fe60 , arg=3D0xfffff8000204e540, frame=3D0xfffffe0025d11c00) at /data/src/sys/kern/kern_fork.c:1057 #23 0xffffffff8080034e in fork_trampoline () at /data/src/sys/amd64/amd64/exception.S:993 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Sep 30 14:04:05 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3EC0F10C0961 for ; Sun, 30 Sep 2018 14:04:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BAA0283C94 for ; Sun, 30 Sep 2018 14:04:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 78D3210C095F; Sun, 30 Sep 2018 14:04:04 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3D3CC10C095C for ; Sun, 30 Sep 2018 14:04:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D215C83C7E for ; Sun, 30 Sep 2018 14:04: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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 146AD212F6 for ; Sun, 30 Sep 2018 14:04:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w8UE42ZB076144 for ; Sun, 30 Sep 2018 14:04:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8UE425n076143 for net@FreeBSD.org; Sun, 30 Sep 2018 14:04:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 231659] [em] 12-ALPHA7 r338900 crashes with IPsec on network load Date: Sun, 30 Sep 2018 14:04:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: IntelNetworking, crash, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lev@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 30 Sep 2018 14:04:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231659 --- Comment #15 from Lev A. Serebryakov --- Other crash without debug options Fatal trap 9: general protection fault while in kernel mode cpuid =3D 0; cpuid =3D 1; apic id =3D 01 instruction pointer =3D 0x20:0xffffffff806585ea stack pointer =3D 0x28:0xfffffe0000470a30 frame pointer =3D 0x28:0xfffffe0000470b00 apic id =3D 00 instruction pointer =3D 0x20:0xffffffff806dab77 code segment =3D base 0x0, limit 0xfffff, type 0x1b stack pointer =3D 0x28:0xfffffe0025d10a10 =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D frame pointer =3D 0x28:0xfffffe0025d10b= 40 interrupt enabled, resume, IOPL =3D 0 current process =3D 0 (if_io_tqg_1) trap number =3D 9 panic: general protection fault cpuid =3D 1 #0 doadump (textdump=3D1) at pcpu.h:230 #1 0xffffffff8056008b in kern_reboot (howto=3D260) at /data/src/sys/kern/kern_shutdown.c:446 #2 0xffffffff805604c3 in vpanic (fmt=3D, ap=3D) at /data/src/sys/kern/kern_shutdown.c:872 #3 0xffffffff805602b3 in panic (fmt=3D) at /data/src/sys/kern/kern_shutdown.c:799 #4 0xffffffff8081fd2f in trap_fatal (frame=3D0xfffffe0000470970, eva=3D0) = at /data/src/sys/amd64/amd64/trap.c:929 #5 0xffffffff8081f22d in trap (frame=3D0xfffffe0000470970) at counter.h:87 #6 0xffffffff807ff367 in calltrap () at /data/src/sys/amd64/amd64/exception.S:232 #7 0xffffffff806585ea in iflib_rxeof (rxq=3D, budget= =3D) at /data/src/sys/net/iflib.c:2770 #8 0xffffffff80654970 in _task_fn_rx (context=3D0xfffff80002292ac0) at /data/src/sys/net/iflib.c:3820 #9 0xffffffff8059fa63 in gtaskqueue_run_locked (queue=3D0xfffff800021da500= ) at /data/src/sys/kern/subr_gtaskqueue.c:332 #10 0xffffffff8059f7e8 in gtaskqueue_thread_loop (arg=3D) at /data/src/sys/kern/subr_gtaskqueue.c:507 #11 0xffffffff8052d0a6 in fork_exit (callout=3D0xffffffff8059f760 , arg=3D0xfffffe00017fa020, frame=3D0xfffffe0000470= c00) at /data/src/sys/kern/kern_fork.c:1057 #12 0xffffffff8080034e in fork_trampoline () at /data/src/sys/amd64/amd64/exception.S:993 #13 0x0000000000000000 in ?? () --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Sep 30 14:09:53 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E480A10C0D29 for ; Sun, 30 Sep 2018 14:09:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7B103840ED for ; Sun, 30 Sep 2018 14:09:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3D04310C0D28; Sun, 30 Sep 2018 14:09:52 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1B1BE10C0D27 for ; Sun, 30 Sep 2018 14:09:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 978AE840E5 for ; Sun, 30 Sep 2018 14:09:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id C6C912130E for ; Sun, 30 Sep 2018 14:09:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w8UE9ova081802 for ; Sun, 30 Sep 2018 14:09:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8UE9obM081801 for net@FreeBSD.org; Sun, 30 Sep 2018 14:09:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 231659] [em] 12-ALPHA7 r338900 crashes with IPsec on network load Date: Sun, 30 Sep 2018 14:09:50 +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, crash, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lev@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 30 Sep 2018 14:09:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231659 --- Comment #16 from Lev A. Serebryakov --- And third non-debug crash Fatal trap 9: general protection fault while in kernel mode cpuid =3D 0; apic id =3D 00 instruction pointer =3D 0x20:0xffffffff806dab77 stack pointer =3D 0x28:0xfffffe0025d10a10 frame pointer =3D 0x28:0xfffffe0025d10b40 cpuid =3D 1; apic id =3D 01 instruction pointer =3D 0x20:0xffffffff806585ea code segment =3D base 0x0, limit 0xfffff, type 0x1b stack pointer =3D 0x28:0xfffffe0000470a30 =3D DPL 0, pres 1, long 1, def32 0, gran 1 frame pointer =3D 0x28:0xfffffe0000470b00 processor eflags =3D interrupt enabled, code segment = =3D base 0x0, limit 0xfffff, type 0x1b resume, IOPL =3D 0 current process =3D 11 (swi1: netisr 0) trap number =3D 9 =3D DPL 0, pres 1, long 1, def32 0, gran 1 #0 doadump (textdump=3D1) at pcpu.h:230 #1 0xffffffff8056008b in kern_reboot (howto=3D260) at /data/src/sys/kern/kern_shutdown.c:446 #2 0xffffffff805604c3 in vpanic (fmt=3D, ap=3D) at /data/src/sys/kern/kern_shutdown.c:872 #3 0xffffffff805602b3 in panic (fmt=3D) at /data/src/sys/kern/kern_shutdown.c:799 #4 0xffffffff8081fd2f in trap_fatal (frame=3D0xfffffe0025d10950, eva=3D0) = at /data/src/sys/amd64/amd64/trap.c:929 #5 0xffffffff8081f22d in trap (frame=3D0xfffffe0025d10950) at counter.h:87 #6 0xffffffff807ff367 in calltrap () at /data/src/sys/amd64/amd64/exception.S:232 #7 0xffffffff806dab77 in ip_output (m=3D, opt=3D, ro=3D, flags=3D, = imo=3D0x0, inp=3D0x0) at /data/src/sys/netinet/ip_output.c:659 #8 0xffffffff807462b8 in ipsec_process_done (m=3D0xfffff80005782400, sp=3D= 0x0, sav=3D0xfffff80005402100, idx=3D1) at /data/src/sys/netipsec/ipsec_output.c= :796 #9 0xffffffff8075b55b in esp_output_cb (crp=3D0xfffff8008c5e1080) at /data/src/sys/netipsec/xform_esp.c:951 #10 0xffffffff80784007 in swcr_process (dev=3D, crp=3D= , hint=3D) at /data/src/sys/opencrypto/cryptosoft.c:1222 #11 0xffffffff807804eb in crypto_dispatch (crp=3D0xfffff8008c5e1080) at /data/src/sys/opencrypto/crypto.c:1001 #12 0xffffffff8075af80 in esp_output (m=3D0xfffff80005782400, sp=3D0xfffff8008c371100, sav=3D, idx=3D0, skip=3D20, p= rotoff=3D9) at /data/src/sys/netipsec/xform_esp.c:869 #13 0xffffffff8074581f in ipsec4_perform_request (m=3D, sp=3D, inp=3D0xfffff80005a611e8, idx=3D0) at /data/src/sys/netipsec/ipsec_output.c:275 #14 0xffffffff80745916 in ipsec4_output (m=3D0xfffff80005782400, inp=3D0xfffff80005a611e8) at /data/src/sys/netipsec/ipsec_output.c:292 #15 0xffffffff806da49e in ip_output (m=3D, opt=3D, ro=3D, flags=3D, = imo=3D0x0, inp=3D0xfffff80005a611e8) at /data/src/sys/netinet/ip_output.c:549 #16 0xffffffff806e84b5 in tcp_output (tp=3D0xfffff80005a63760) at /data/src/sys/netinet/tcp_output.c:1409 #17 0xffffffff806e4bc3 in tcp_do_segment (m=3D0xfffff80005da8700, th=3D, so=3D0xfffff80005b5ea38, tp=3D0xfffff80005a63760, drop_hdrl= en=3D52, tlen=3D, iptos=3D0 '\0') at atomic.h:221 #18 0xffffffff806e1a51 in tcp_input (mp=3D, offp=3D, proto=3D) at /data/src/sys/netinet/tcp_input.c:1392 #19 0xffffffff806d2078 in ip_input (m=3D0x0) at /data/src/sys/netinet/ip_input.c:827 #20 0xffffffff8065c343 in swi_net (arg=3D) at /data/src/sys/net/netisr.c:901 #21 0xffffffff8052ffc5 in ithread_loop (arg=3D) at /data/src/sys/kern/kern_intr.c:1043 #22 0xffffffff8052d0a6 in fork_exit (callout=3D0xffffffff8052fe60 , arg=3D0xfffff8000204e540, frame=3D0xfffffe0025d11c00) at /data/src/sys/kern/kern_fork.c:1057 #23 0xffffffff8080034e in fork_trampoline () at /data/src/sys/amd64/amd64/exception.S:993 #24 0x0000000000000000 in ?? () --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Sep 30 14:10:49 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3CA8910C0D78 for ; Sun, 30 Sep 2018 14:10:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CD4F1842C8 for ; Sun, 30 Sep 2018 14:10:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9285310C0D77; Sun, 30 Sep 2018 14:10:48 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 815F210C0D76 for ; Sun, 30 Sep 2018 14:10:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1F1F3842BB for ; Sun, 30 Sep 2018 14:10:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 387B721326 for ; Sun, 30 Sep 2018 14:10:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w8UEAlTC082996 for ; Sun, 30 Sep 2018 14:10:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8UEAl2u082995 for net@FreeBSD.org; Sun, 30 Sep 2018 14:10:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 231659] [em] 12-ALPHA7 r338900 crashes with IPsec on network load Date: Sun, 30 Sep 2018 14:10:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: IntelNetworking, crash, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lev@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 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, 30 Sep 2018 14:10:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231659 --- Comment #17 from Lev A. Serebryakov --- I have all crashdumps saved, and I have corresponding kernel.full saved, to= o, so I could provide any additional information which could be extracted with "kgdb" from these. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Sep 30 14:12:45 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6563110C0F6A for ; Sun, 30 Sep 2018 14:12:45 +0000 (UTC) (envelope-from vas@admin.sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc:5400:1ff:feaf:6afb]) (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 0589F8450A; Sun, 30 Sep 2018 14:12:44 +0000 (UTC) (envelope-from vas@admin.sibptus.ru) Received: from vas by admin.sibptus.ru with local (Exim 4.91 (FreeBSD)) (envelope-from ) id 1g6cSh-00025R-8d; Sun, 30 Sep 2018 21:12:43 +0700 Date: Sun, 30 Sep 2018 21:12:43 +0700 From: Victor Sudakov To: Yuri Pankov Cc: alan somers , FreeBSD Net , Alan Somers Subject: Re: why rtsold ? Message-ID: <20180930141243.GA7992@admin.sibptus.ru> References: <20180930022007.GA2041@admin.sibptus.ru> <20180930052402.GA2335@admin.sibptus.ru> <945d1de4-a34a-6801-d569-24566037f80c@yuripv.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <945d1de4-a34a-6801-d569-24566037f80c@yuripv.net> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: Victor Sudakov X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 30 Sep 2018 14:12:45 -0000 Yuri Pankov wrote: [dd] > >> > >> I have not found rtsold in /etc/rc.d/netif or similar startup script. > > > > > > The rtsol command will send a single router solicitation. It's probably > > getting invoked on startup. Or, you might've just gotten lucky and heard an > > unsolicited router advertisement. > > Indeed, it's called from /etc/network.subr if rtsold is NOT enabled. Thanks a lot, all is clear now. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ From owner-freebsd-net@freebsd.org Sun Sep 30 21:00:10 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E9CE710A6FE9 for ; Sun, 30 Sep 2018 21:00:09 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8A90F721C4 for ; Sun, 30 Sep 2018 21:00:09 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4F56110A6FE4; Sun, 30 Sep 2018 21:00:09 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2DA1A10A6FE3 for ; Sun, 30 Sep 2018 21:00:09 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C38C9721BE for ; Sun, 30 Sep 2018 21:00:08 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 2D78E24C59 for ; Sun, 30 Sep 2018 21:00:08 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w8UL087W090107 for ; Sun, 30 Sep 2018 21:00:08 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8UL088A090106 for net@FreeBSD.org; Sun, 30 Sep 2018 21:00:08 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201809302100.w8UL088A090106@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: net@FreeBSD.org Subject: Problem reports for net@FreeBSD.org that need special attention Date: Sun, 30 Sep 2018 21:00:08 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 30 Sep 2018 21:00:10 -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 | 221146 | [ixgbe] Problem with second laggport New | 204438 | setsockopt() handling of kern.ipc.maxsockbuf limi New | 205592 | TCP processing in IPSec causes kernel panic New | 213410 | [carp] service netif restart causes hang only whe Open | 165622 | [ndis][panic][patch] Unregistered use of FPU in k Open | 193452 | Dell PowerEdge 210 II -- Kernel panic bce (broadc Open | 202510 | [CARP] advertisements sourced from CARP IP cause Open | 222273 | igb(4): Kernel panic (fatal trap 12) due to netwo Open | 227720 | Kernel panic in ppp server 9 problems total for which you should take action. From owner-freebsd-net@freebsd.org Mon Oct 1 04:04:55 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0436F10B1BB1 for ; Mon, 1 Oct 2018 04:04:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9541B7FC68 for ; Mon, 1 Oct 2018 04:04:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5949910B1BAF; Mon, 1 Oct 2018 04:04:54 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 47FBB10B1BAE for ; Mon, 1 Oct 2018 04:04:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DDA7C7FC63 for ; Mon, 1 Oct 2018 04:04:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 3569C91D for ; Mon, 1 Oct 2018 04:04:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9144rfD017367 for ; Mon, 1 Oct 2018 04:04:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9144roA017366 for net@FreeBSD.org; Mon, 1 Oct 2018 04:04:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 218579] Wake on Lan doesn't work for bge NIC driver Date: Mon, 01 Oct 2018 04:04:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: needs-qa, patch, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cy@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cy@FreeBSD.org X-Bugzilla-Flags: 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.27 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, 01 Oct 2018 04:04:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218579 --- Comment #11 from Cy Schubert --- (In reply to NK from comment #10) Sketchy details. There's nothing to go on. The WOL patch was developed for 12-CURRENT only. The only issue is a system will not halt -p after being woken by WOL, but will after a reboot. I'll try to port it back to 11-STABLE if anyone is interested. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Oct 1 10:47:40 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A89310B0169 for ; Mon, 1 Oct 2018 10:47:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CC54F71218 for ; Mon, 1 Oct 2018 10:47:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9082010B0160; Mon, 1 Oct 2018 10:47:39 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7EFC410B015F for ; Mon, 1 Oct 2018 10:47:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1D01971212 for ; Mon, 1 Oct 2018 10:47:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 67AFF451E for ; Mon, 1 Oct 2018 10:47:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w91AlcE4044387 for ; Mon, 1 Oct 2018 10:47:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w91AlcYX044386 for net@FreeBSD.org; Mon, 1 Oct 2018 10:47:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 231428] 12.0-ALPHA6 crashes with gif (IPv4 in IPv4) over vtnet Date: Mon, 01 Oct 2018 10:47:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ae@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 01 Oct 2018 10:47:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231428 Andrey V. Elsukov changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Assignee|net@FreeBSD.org |ae@FreeBSD.org Resolution|--- |FIXED --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Oct 1 10:46:20 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9CB7710AFD4B for ; Mon, 1 Oct 2018 10:46:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3A6367114D for ; Mon, 1 Oct 2018 10:46:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id EDF7310AFD42; Mon, 1 Oct 2018 10:46:19 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DC65210AFD41 for ; Mon, 1 Oct 2018 10:46:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7EC187114B for ; Mon, 1 Oct 2018 10:46: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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id C766E451C for ; Mon, 1 Oct 2018 10:46:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w91AkIeN043101 for ; Mon, 1 Oct 2018 10:46:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w91AkI5D043100 for net@FreeBSD.org; Mon, 1 Oct 2018 10:46:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 231428] 12.0-ALPHA6 crashes with gif (IPv4 in IPv4) over vtnet Date: Mon, 01 Oct 2018 10:46:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.27 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, 01 Oct 2018 10:46:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231428 --- Comment #7 from commit-hook@freebsd.org --- A commit references this bug: Author: ae Date: Mon Oct 1 10:46:01 UTC 2018 New revision: 339039 URL: https://svnweb.freebsd.org/changeset/base/339039 Log: Add INP_INFO_WUNLOCK_ASSERT() macro and use it instead of INP_INFO_UNLOCK_ASSERT() in TCP-related code. For encapsulated traffic it is possible, that the code is running in net_epoch_preempt section, and INP_INFO_UNLOCK_ASSERT() is very strict assertion for such case. PR: 231428 Reviewed by: mmacy, tuexen Approved by: re (kib) Differential Revision: https://reviews.freebsd.org/D17335 Changes: head/sys/netinet/in_pcb.h head/sys/netinet/siftr.c head/sys/netinet/tcp_hpts.c head/sys/netinet/tcp_input.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Oct 1 14:16:44 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5CB1B10BDFEC for ; Mon, 1 Oct 2018 14:16:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EE8BA7836B for ; Mon, 1 Oct 2018 14:16:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id AEB7510BDFE6; Mon, 1 Oct 2018 14:16:43 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D50010BDFE5 for ; Mon, 1 Oct 2018 14:16:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3EA3578367 for ; Mon, 1 Oct 2018 14:16:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 8A877621C for ; Mon, 1 Oct 2018 14:16:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w91EGgch091391 for ; Mon, 1 Oct 2018 14:16:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w91EGg9e091390 for net@FreeBSD.org; Mon, 1 Oct 2018 14:16:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 231476] igb I210 can not turn on TSO6 Date: Mon, 01 Oct 2018 14:16:42 +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, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: shurd@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.27 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, 01 Oct 2018 14:16:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231476 --- Comment #4 from Stephen Hurd --- Fixed in r338840 Thanks for the report! --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Oct 1 14:17:03 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38E4B10BE027 for ; Mon, 1 Oct 2018 14:17:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CA8A678391 for ; Mon, 1 Oct 2018 14:17:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8F59910BE026; Mon, 1 Oct 2018 14:17:02 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7E21810BE025 for ; Mon, 1 Oct 2018 14:17:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1FB467838F for ; Mon, 1 Oct 2018 14:17:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 6C0DF621F for ; Mon, 1 Oct 2018 14:17:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w91EH1Z3091676 for ; Mon, 1 Oct 2018 14:17:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w91EH1xX091675 for net@FreeBSD.org; Mon, 1 Oct 2018 14:17:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 231476] igb I210 can not turn on TSO6 Date: Mon, 01 Oct 2018 14:17:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: shurd@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 01 Oct 2018 14:17:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231476 Stephen Hurd changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Oct 1 16:36:37 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 263CC109E59B for ; Mon, 1 Oct 2018 16:36:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C1D1780E08 for ; Mon, 1 Oct 2018 16:36:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 87361109E592; Mon, 1 Oct 2018 16:36:36 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 75FDE109E591 for ; Mon, 1 Oct 2018 16:36:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3895580E04 for ; Mon, 1 Oct 2018 16:36:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 8B8A8757A for ; Mon, 1 Oct 2018 16:36:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w91GaZKm093230 for ; Mon, 1 Oct 2018 16:36:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w91GaZ6g093229 for net@FreeBSD.org; Mon, 1 Oct 2018 16:36:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 231428] 12.0-ALPHA6 crashes with gif (IPv4 in IPv4) over vtnet Date: Mon, 01 Oct 2018 16:36:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rgrimes@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ae@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.27 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, 01 Oct 2018 16:36:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231428 Rodney W. Grimes changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |net@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Oct 1 17:37:53 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F263510A4F89 for ; Mon, 1 Oct 2018 17:37:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8F16B83BAD for ; Mon, 1 Oct 2018 17:37:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5433110A4F87; Mon, 1 Oct 2018 17:37:52 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4303010A4F85 for ; Mon, 1 Oct 2018 17:37:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D87A683BA8 for ; Mon, 1 Oct 2018 17:37:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 311071007B for ; Mon, 1 Oct 2018 17:37:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w91HbpCL039180 for ; Mon, 1 Oct 2018 17:37:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w91Hbp3w039179 for net@FreeBSD.org; Mon, 1 Oct 2018 17:37:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 176419] socketpair support for LOCAL_PEERCRED Date: Mon, 01 Oct 2018 17:37:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: asomers@FreeBSD.org X-Bugzilla-Flags: 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.27 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, 01 Oct 2018 17:37:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D176419 --- Comment #6 from commit-hook@freebsd.org --- A commit references this bug: Author: asomers Date: Mon Oct 1 17:37:00 UTC 2018 New revision: 339067 URL: https://svnweb.freebsd.org/changeset/base/339067 Log: MFC r337222: Fix LOCAL_PEERCRED with socketpair(2) Enable the LOCAL_PEERCRED socket option for unix domain stream sockets created with socketpair(2). Previously, it only worked with unix domain stream sockets created with socket(2)/listen(2)/connect(2)/accept(2). PR: 176419 Reported by: Nicholas Wilson Differential Revision: https://reviews.freebsd.org/D16350 Changes: _U stable/11/ stable/11/sys/kern/uipc_syscalls.c stable/11/sys/kern/uipc_usrreq.c stable/11/sys/sys/unpcb.h stable/11/tests/sys/kern/Makefile stable/11/tests/sys/kern/unix_socketpair_test.c --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Oct 1 18:01:13 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A2FE10A5878 for ; Mon, 1 Oct 2018 18:01:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CAEC484AC2 for ; Mon, 1 Oct 2018 18:01:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8D70710A5877; Mon, 1 Oct 2018 18:01:12 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7C1D510A5876 for ; Mon, 1 Oct 2018 18:01:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1D30A84ABE for ; Mon, 1 Oct 2018 18:01:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 657E9103D9 for ; Mon, 1 Oct 2018 18:01:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w91I1B4X024675 for ; Mon, 1 Oct 2018 18:01:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w91I1Bqf024661 for net@FreeBSD.org; Mon, 1 Oct 2018 18:01:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 176419] socketpair support for LOCAL_PEERCRED Date: Mon, 01 Oct 2018 18:01:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: asomers@FreeBSD.org X-Bugzilla-Flags: 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.27 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, 01 Oct 2018 18:01:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D176419 --- Comment #7 from commit-hook@freebsd.org --- A commit references this bug: Author: asomers Date: Mon Oct 1 18:00:53 UTC 2018 New revision: 339068 URL: https://svnweb.freebsd.org/changeset/base/339068 Log: MFC r337222: Fix LOCAL_PEERCRED with socketpair(2) Enable the LOCAL_PEERCRED socket option for unix domain stream sockets created with socketpair(2). Previously, it only worked with unix domain stream sockets created with socket(2)/listen(2)/connect(2)/accept(2). PR: 176419 Reported by: Nicholas Wilson Differential Revision: https://reviews.freebsd.org/D16350 Changes: _U stable/10/ stable/10/sys/kern/uipc_syscalls.c stable/10/sys/kern/uipc_usrreq.c stable/10/sys/sys/unpcb.h stable/10/tests/sys/kern/Makefile stable/10/tests/sys/kern/unix_socketpair_test.c --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Oct 1 18:01:35 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 558CE10A58DE for ; Mon, 1 Oct 2018 18:01:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E605284D40 for ; Mon, 1 Oct 2018 18:01:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id ABF5810A58DD; Mon, 1 Oct 2018 18:01:34 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9AF7210A58DC for ; Mon, 1 Oct 2018 18:01:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3BE7E84D38 for ; Mon, 1 Oct 2018 18:01:34 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 8AB53103F0 for ; Mon, 1 Oct 2018 18:01:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w91I1Xuc041451 for ; Mon, 1 Oct 2018 18:01:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w91I1XvQ041436 for net@FreeBSD.org; Mon, 1 Oct 2018 18:01:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 176419] socketpair support for LOCAL_PEERCRED Date: Mon, 01 Oct 2018 18:01:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: asomers@FreeBSD.org X-Bugzilla-Flags: mfc-stable10+ mfc-stable11+ X-Bugzilla-Changed-Fields: bug_status flagtypes.name resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 01 Oct 2018 18:01:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D176419 Alan Somers changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Flags|mfc-stable10?, |mfc-stable10+, |mfc-stable11? |mfc-stable11+ Resolution|--- |FIXED --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Mon Oct 1 18:51:06 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5AB4110A745A for ; Mon, 1 Oct 2018 18:51:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E8DA3873BE for ; Mon, 1 Oct 2018 18:51:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id AE41810A7459; Mon, 1 Oct 2018 18:51:05 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D0F110A7457 for ; Mon, 1 Oct 2018 18:51:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3E673873B7 for ; Mon, 1 Oct 2018 18:51:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 9DA2010ADE for ; Mon, 1 Oct 2018 18:51:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w91Ip4JA086265 for ; Mon, 1 Oct 2018 18:51:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w91Ip4l2086264 for net@FreeBSD.org; Mon, 1 Oct 2018 18:51:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 218579] Wake on Lan doesn't work for bge NIC driver Date: Mon, 01 Oct 2018 18:51:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: needs-qa, patch, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: thfrdue@gmx.de X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cy@FreeBSD.org X-Bugzilla-Flags: 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.27 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, 01 Oct 2018 18:51:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218579 --- Comment #12 from thfrdue@gmx.de --- (In reply to Cy Schubert from comment #11) I would very much appreciate it. Thanks a lot for your efforts! --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Oct 2 01:02:51 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E1A810AF782 for ; Tue, 2 Oct 2018 01:02:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 249DA7467C for ; Tue, 2 Oct 2018 01:02:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id DB94D10AF781; Tue, 2 Oct 2018 01:02:50 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C976210AF780 for ; Tue, 2 Oct 2018 01:02:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 66D5E7467B for ; Tue, 2 Oct 2018 01:02:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 9F7C814119 for ; Tue, 2 Oct 2018 01:02:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9212n6L050042 for ; Tue, 2 Oct 2018 01:02:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9212nei050041 for net@FreeBSD.org; Tue, 2 Oct 2018 01:02:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 218579] Wake on Lan doesn't work for bge NIC driver Date: Tue, 02 Oct 2018 01:02:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: needs-qa, patch, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cy@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cy@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 02 Oct 2018 01:02:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218579 --- Comment #13 from Cy Schubert --- Created attachment 197700 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D197700&action= =3Dedit WOL patch for stable/11 Same patch, for stable/11. I haven't tried to build or use this particular patch on stable/11. However a previous version was developed for current/11= at the time. This patch has the same problem as the -CURRENT patch, the system will reboot on halt -p the first time around. I'm not sure of the solution = for this yet. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Oct 2 11:13:12 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB79510BFF02 for ; Tue, 2 Oct 2018 11:13:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8967B871C9 for ; Tue, 2 Oct 2018 11:13:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4B6E610BFEFF; Tue, 2 Oct 2018 11:13:11 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A3E410BFEFE for ; Tue, 2 Oct 2018 11:13:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D1AD2871C7 for ; Tue, 2 Oct 2018 11:13:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 1096F1958C for ; Tue, 2 Oct 2018 11:13:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w92BD9wL097770 for ; Tue, 2 Oct 2018 11:13:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w92BD9BY097769 for net@FreeBSD.org; Tue, 2 Oct 2018 11:13:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 129036] [ipfw] 'ipfw fwd' does not change outgoing interface name Date: Tue, 02 Oct 2018 11:13: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: 6.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: 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.27 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, 02 Oct 2018 11:13:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D129036 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eugen@freebsd.org Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Oct 2 22:34:55 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 45E4210AF82D for ; Tue, 2 Oct 2018 22:34:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D83447FF29 for ; Tue, 2 Oct 2018 22:34:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9D39610AF82C; Tue, 2 Oct 2018 22:34:54 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8BF8610AF82B for ; Tue, 2 Oct 2018 22:34:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1AB557FF24 for ; Tue, 2 Oct 2018 22:34:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 66A1B1F39C for ; Tue, 2 Oct 2018 22:34:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w92MYrvw069137 for ; Tue, 2 Oct 2018 22:34:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w92MYrct069136 for net@FreeBSD.org; Tue, 2 Oct 2018 22:34:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 230857] loading carp module panic i386 kernel (VIMAGE related) Date: Tue, 02 Oct 2018 22:34:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: panic, vimage X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@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.27 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, 02 Oct 2018 22:34:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230857 --- Comment #2 from Bjoern A. Zeeb --- Hi, just to let you know; working on this; just found a simplistic case to reproduce this without carp, which should make it easier to debug. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Oct 2 22:35:12 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1DF810AF861 for ; Tue, 2 Oct 2018 22:35:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8F2537FF5D for ; Tue, 2 Oct 2018 22:35:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5442610AF85F; Tue, 2 Oct 2018 22:35:11 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 42FE410AF85D for ; Tue, 2 Oct 2018 22:35:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D98217FF54 for ; Tue, 2 Oct 2018 22:35:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 33E6C1F3A0 for ; Tue, 2 Oct 2018 22:35:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w92MZAT6069407 for ; Tue, 2 Oct 2018 22:35:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w92MZA7e069406 for net@FreeBSD.org; Tue, 2 Oct 2018 22:35:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 230857] loading carp module panic i386 kernel (VIMAGE related) Date: Tue, 02 Oct 2018 22:35:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: panic, vimage X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@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.27 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, 02 Oct 2018 22:35:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230857 Bjoern A. Zeeb changed: What |Removed |Added ---------------------------------------------------------------------------- CC|net@FreeBSD.org | --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Tue Oct 2 23:58:08 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8A7CB10B19A6 for ; Tue, 2 Oct 2018 23:58:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1BEF682493 for ; Tue, 2 Oct 2018 23:58:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D510810B19A1; Tue, 2 Oct 2018 23:58:07 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C3C6D10B19A0 for ; Tue, 2 Oct 2018 23:58:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 657148248E for ; Tue, 2 Oct 2018 23:58:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id AD1901FE9D for ; Tue, 2 Oct 2018 23:58:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w92Nw6Z7052507 for ; Tue, 2 Oct 2018 23:58:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w92Nw6dD052505 for net@FreeBSD.org; Tue, 2 Oct 2018 23:58:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 230857] loading carp module panic i386 kernel (VIMAGE related) Date: Tue, 02 Oct 2018 23:58:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: panic, vimage X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rgrimes@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@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.27 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, 02 Oct 2018 23:58:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230857 Rodney W. Grimes changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |net@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Oct 3 15:18:44 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1C15510C69A7 for ; Wed, 3 Oct 2018 15:18:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A9A0F810ED for ; Wed, 3 Oct 2018 15:18:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6AE8A10C69A6; Wed, 3 Oct 2018 15:18:43 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 58DB610C69A5 for ; Wed, 3 Oct 2018 15:18:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EAADE810E4 for ; Wed, 3 Oct 2018 15:18:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 2362427E48 for ; Wed, 3 Oct 2018 15:18:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w93FIgRF057240 for ; Wed, 3 Oct 2018 15:18:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w93FIgph057231 for net@FreeBSD.org; Wed, 3 Oct 2018 15:18:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 231416] dhcp / dhclient: bad udp checksums if running on a vlan on a Intel I211 / Broadcom interfaces Date: Wed, 03 Oct 2018 15:18:40 +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: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: shurd@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 03 Oct 2018 15:18:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231416 Stephen Hurd changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |In Progress --- Comment #6 from Stephen Hurd --- The packet captures are consistent with the checksum being calculated with = the pseudo header having the correct checksum, not zero. Forcing the UDP check= sum to zero before passing to the card would likely work around the issue, but I want to figure out what changed to cause this issue to crop up first. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Oct 3 17:40:47 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 08A4F10A835F for ; Wed, 3 Oct 2018 17:40:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 99D46884A0 for ; Wed, 3 Oct 2018 17:40:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5B76C10A835E; Wed, 3 Oct 2018 17:40:46 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A3F410A835D for ; Wed, 3 Oct 2018 17:40:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DF66488494 for ; Wed, 3 Oct 2018 17:40:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 211B91236 for ; Wed, 3 Oct 2018 17:40:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w93Heiia010272 for ; Wed, 3 Oct 2018 17:40:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w93HeiSW010271 for net@FreeBSD.org; Wed, 3 Oct 2018 17:40:44 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 227259] accept()/poll() and shutdown()/close() - not work as in FreeBSD10, may broke many apps Date: Wed, 03 Oct 2018 17:40:44 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: needs-qa, patch, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jtl@freebsd.org X-Bugzilla-Flags: 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.27 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, 03 Oct 2018 17:40:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227259 --- Comment #18 from commit-hook@freebsd.org --- A commit references this bug: Author: glebius Date: Wed Oct 3 17:40:05 UTC 2018 New revision: 339170 URL: https://svnweb.freebsd.org/changeset/base/339170 Log: In PR 227259, a user is reporting that they have code which is using shutdown() to wakeup another thread blocked on a stream listen socket. This code is failing, while it used to work on FreeBSD 10 and still works on Linux. It seems reasonable to add another exception to support something users a= re actually doing, which used to work on FreeBSD 10, and still works on Linu= x. And, it seems like it should be acceptable to POSIX, as we still return ENOTCONN. This patch is different to what had been committed to stable/11, since code around listening sockets is different. Patch in D15019 is written by jtl@, slightly modified by me. PR: 227259 Obtained from: jtl Approved by: re (kib) Differential Revision: D15019 Changes: head/sys/kern/uipc_socket.c --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Wed Oct 3 18:10:22 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9AB3910A8FC4 for ; Wed, 3 Oct 2018 18:10:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 34A7B89487 for ; Wed, 3 Oct 2018 18:10:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E7E9D10A8FC3; Wed, 3 Oct 2018 18:10:21 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D5D3610A8FC2 for ; Wed, 3 Oct 2018 18:10:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 71BC489480 for ; Wed, 3 Oct 2018 18:10:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id B1DE51668 for ; Wed, 3 Oct 2018 18:10:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w93IAKGm090833 for ; Wed, 3 Oct 2018 18:10:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w93IAKbd090822 for net@FreeBSD.org; Wed, 3 Oct 2018 18:10:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 231416] dhcp / dhclient: bad udp checksums if running on a vlan on a Intel I211 / Broadcom interfaces Date: Wed, 03 Oct 2018 18:10:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: shurd@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: 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.27 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, 03 Oct 2018 18:10:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231416 --- Comment #7 from Stephen Hurd --- Can you test with the patch in the review here: https://reviews.freebsd.org/D17393 I'm not confident this will fix the problem, but it's the only obvious issu= e I saw tracing the send path: bpf.c:bpfwrite() if_ethersubr.c:ether_output() if_ethersubr.c:ether_output_frame() if_vlan.c:vlan_transmit() iflib.c:iflib_if_transmit() ... igb_txrx.c:igb_isc_txd_encap() igb_txrx.c:igb_tx_ctx_setup() If this fixes the issue, the bce(4) issue is a different issue. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Oct 3 18:23:36 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A8CF010A99B4 for ; Wed, 3 Oct 2018 18:23:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3E08E8A0E6 for ; Wed, 3 Oct 2018 18:23:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id F256110A99B2; Wed, 3 Oct 2018 18:23:35 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DFCD710A99B1 for ; Wed, 3 Oct 2018 18:23:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7BCCE8A0DF for ; Wed, 3 Oct 2018 18:23: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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id CECF11942 for ; Wed, 3 Oct 2018 18:23:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w93INYaI001850 for ; Wed, 3 Oct 2018 18:23:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w93INYiR001849 for net@FreeBSD.org; Wed, 3 Oct 2018 18:23:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 231416] dhcp / dhclient: bad udp checksums if running on a vlan on a Intel I211 / Broadcom interfaces Date: Wed, 03 Oct 2018 18:23:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vangyzen@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: 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.27 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, 03 Oct 2018 18:23:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231416 --- Comment #8 from Eric van Gyzen --- I'll test it in the next day or two. I think I can only test it on my home firewall, so I have to schedule downtime with the family. ;) I would be grateful if other people tested it, too. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Oct 3 18:40:26 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BB4D410A9F46 for ; Wed, 3 Oct 2018 18:40:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 554EB8A7BF for ; Wed, 3 Oct 2018 18:40:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 13C1610A9F44; Wed, 3 Oct 2018 18:40:26 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 01C7E10A9F43 for ; Wed, 3 Oct 2018 18:40:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 86FF88A7B6 for ; Wed, 3 Oct 2018 18:40:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id D72FA1AAB for ; Wed, 3 Oct 2018 18:40:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w93IeO42028823 for ; Wed, 3 Oct 2018 18:40:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w93IeOQC028822 for net@FreeBSD.org; Wed, 3 Oct 2018 18:40:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 231416] dhcp / dhclient: bad udp checksums if running on a vlan on a Intel I211 / Broadcom interfaces Date: Wed, 03 Oct 2018 18:40:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: lev@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: 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.27 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, 03 Oct 2018 18:40:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231416 --- Comment #9 from Lev A. Serebryakov --- I'll check it in 3 or 4 hours and will report back. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Oct 3 20:21:57 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B12D210AC5CA for ; Wed, 3 Oct 2018 20:21:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4C8F88DE89 for ; Wed, 3 Oct 2018 20:21:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 119C010AC5C7; Wed, 3 Oct 2018 20:21:57 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0061610AC5C6 for ; Wed, 3 Oct 2018 20:21:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 964008DE80 for ; Wed, 3 Oct 2018 20:21: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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id CBDD529C0 for ; Wed, 3 Oct 2018 20:21:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w93KLtnM083214 for ; Wed, 3 Oct 2018 20:21:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w93KLttZ083213 for net@FreeBSD.org; Wed, 3 Oct 2018 20:21:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 231416] dhcp / dhclient: bad udp checksums if running on a vlan on a Intel I211 / Broadcom interfaces Date: Wed, 03 Oct 2018 20:21: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: CURRENT X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: lev@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: 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.27 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, 03 Oct 2018 20:21:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231416 --- Comment #10 from Lev A. Serebryakov --- Nope. It make worse. I've explained problems with more details ant phabricator. I don't noow, should we duplicate all comments in two places? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Oct 3 20:37:10 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A74410ACC88 for ; Wed, 3 Oct 2018 20:37:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id DB9108E7FB for ; Wed, 3 Oct 2018 20:37:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A08E710ACC87; Wed, 3 Oct 2018 20:37:09 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F42B10ACC86 for ; Wed, 3 Oct 2018 20:37:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 306E18E7F7 for ; Wed, 3 Oct 2018 20:37: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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 788272B44 for ; Wed, 3 Oct 2018 20:37:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w93Kb82R009683 for ; Wed, 3 Oct 2018 20:37:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w93Kb8Vw009682 for net@FreeBSD.org; Wed, 3 Oct 2018 20:37:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 231416] dhcp / dhclient: bad udp checksums if running on a vlan on a Intel I211 / Broadcom interfaces Date: Wed, 03 Oct 2018 20:37:07 +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: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: shurd@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: 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.27 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, 03 Oct 2018 20:37:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231416 --- Comment #11 from Stephen Hurd --- (In reply to Lev A. Serebryakov from comment #10) I think that comments regarding the patch can/should go on Phabricator only= and comments about the bug should go here (and likely not on Phabricator). --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Oct 3 21:05:18 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14C7610AD807; Wed, 3 Oct 2018 21:05:18 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AF7A88F691; Wed, 3 Oct 2018 21:05:17 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 673363C475F; Wed, 3 Oct 2018 21:05:16 +0000 (UTC) Date: Wed, 3 Oct 2018 21:05:16 +0000 From: Brooks Davis To: freebsd-arch@freebsd.org Cc: freebsd-net@freebsd.org, freebsd-stable@freebsd.org, freebsd-fcp@freebsd.org Subject: FCP-0101: Deprecating most 10/100 Ethernet drivers Message-ID: <20181003210516.GA71565@spindle.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9jxsPFA5p3P2qPhR" Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 03 Oct 2018 21:05:18 -0000 --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline >>> Please direct replies to freebsd-arch <<< FCP-01010 (https://github.com/freebsd/fcp/blob/master/fcp-0101.md) outlines a plan to deprecate most 10/100 Ethernet drivers in FreeBSD 12 and remove them in FreeBSD 13 to reduce the burden of maintaining and improving the network stack. We have discussed this within the core team and intend to move forward as proposed. We are solictiting feedback on the list of drivers to be excepted from removal. The current list of drivers slated for REMOVAL is: ae, bfe, bm, cs, dme, ed, ep, ex, fe, pcn, rl, sf, smc, sn, ste, tl, tx, txp, vx, wb, xe The current list of drivers that will STAY in the tree is: dc, ffec, fxpl, hme, le, sis, vr, xl The criteria for exception are: - Popular in applications where it is likely to be deployed beyond the support lifetime of FreeBSD 12 (late 2023). - 5 reports of uses in the wild on machines running FreeBSD 12 will be deemed satisfy the "popular" requirement. - Required to make a well supported embedded or emulation platform usable. - Ported to use iflib (reducing future maintenance cost.) Please reply to this message with nominations to the exception list. The full FCP-0101 is included below. -- Brooks --- authors: Brooks Davis state: feedback --- # FCP 101: Deprecation and removal of 10/100 Ethernet drivers Deprecate most 10 and 10/100Mbps Ethernet drivers and remove them before FreeBSD 13. ## Problem Statement Each network driver creates drag for the project as we attempt to improve the network stack or provide new features such as expanded 32-bit compatibility. For example, the author has edited every single NIC driver more than once in the past year to update management (`ioctl`) interfaces. We could improve this situation by converting drivers to iflib, but each additional driver takes work. 10 and 100 megabit Ethernet drivers are largely irrelevant today and we have a significant number of them in the tree. The ones that are no longer used and/or are not known to be working need to be removed due to the significant ongoing 'tax' on new development. For at least a decade, most systems (including small embedded systems) have shipped with gigabit Ethernet devices and virtual machines commonly emulate popular gigabit devices. We wish to retain support for popular physical and virtual devices while removing support for uncommon ones. With a few exceptions these drivers are unlikely to be used by our user base by the time FreeBSD 12 is obsolete (approximately 2024). ## Proposed Solution We propose to deprecate devices which are not sufficiently popular. This will entail: - (October 2018) Send this list to freebsd-net and freebsd-stable. - (Before FreeBSD 12.0-RELEASE - October 2018) Update the manpages and attach routines for each device to be removed and merge those changes to FreeBSD 12. - (One month after FreeBSD 12.0-RELEASE - January 2018) Remind freebsd-net and freebsd-stable users of pending deletion. - (Two months after FreeBSD 12.0-RELEASE - February 2019) Delete deprecated devices. Through out this process, solicit feedback on additions to the exception list and update this document as required. For a device to be placed on the exception list the device must meet one of the following criteria: - Popular in applications where it is likely to be deployed beyond the support lifetime of FreeBSD 12 (late 2023). - 5 reports of uses in the wild on machines running FreeBSD 12 will be deemed satisfy the "popular" requirement. - Required to make a well supported embedded or emulation platform usable. - Ported to use iflib (reducing future maintenance cost.) ### Exceptions to removal Device | Reason -------|------------------------------------------------- ffec | Onboard Ethernet for Vybrid arm7 boards fxp | Popular device long recommended by the project. dc | Popular device for CardBus card. hme | Built in interface on many supported sparc64 platforms. le | Emulated by QEMU, alternatives don't yet work for mips64. sis | Soekris Engineering net45xx, net48xx, lan1621, and lan1641. vr | Soekris Engineering net5501, some Asus motherboards. xl | Popular device for CardBus card. Note: USB devices have been excluded from consideration in this round. ### Device to be removed ae, bfe, bm, cs, dme, ed, ep, ex, fe, pcn, rl, sf, smc, sn, ste, tl, tx, txp, vx, wb, xe ## Final Disposition TBD --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJbtS8LAAoJEKzQXbSebgfAgGIIAIf/HrZS1GimKs2lATax83yk 8LzR3qFz0t5ZJAzYjh6u+BjXxBM2cca8MhLHojG+qMzMVpKsSZ0x97YJyxg8Eu+o urJ5gDZ1wb6hcfRcrbg87/9Ek68gcAjY8MsSNjTJbyAigQmFrRVkhdELn4QF3wU7 hU+1LOmbtL/yp3qk2Ub/wd1zeOu6MKd5mcFbAOjWHxV9Yz5Mb/uisVtuOeEPmStT zm8UcjAwlBJXR2j2O1/u0JXh1oEh4gXA6ARD3G2Gtr+peKiLcpiEPzttvidAtrdQ PevJk/Xp+Tugrl963b0Yg9LLecww+z+Ta8X2NKxULlz0vSzkYQDUl82X2do3jms= =A/uC -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR-- From owner-freebsd-net@freebsd.org Wed Oct 3 22:36:05 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 765EA10AFEA3 for ; Wed, 3 Oct 2018 22:36:05 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 096BD73464 for ; Wed, 3 Oct 2018 22:36:05 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id BF19210AFEA2; Wed, 3 Oct 2018 22:36:04 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D06B10AFEA1 for ; Wed, 3 Oct 2018 22:36:04 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-lj1-f194.google.com (mail-lj1-f194.google.com [209.85.208.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 247DE73463 for ; Wed, 3 Oct 2018 22:36:04 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: by mail-lj1-f194.google.com with SMTP id p89-v6so6619157ljb.3 for ; Wed, 03 Oct 2018 15:36:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=oXgmTNXq1cBcVtQ8gC1hocgx6HjJoKGGfDc0kRL5K6w=; b=ElGDgi4BTLI+d0C78sStkujrJ0y5kaWb3aoh1RwZzWSM6AqlXtOIsajYI1O9HK7LG6 J4CiQWGHCs1Hhc6pf5Z77sIlPGBBIUVoUOwQmCOJRCBUsvmMxvByBIkjsdxka1vJGV5n yHlafOJaDLgTGiRzGrQgrTI/CLRR0Bg0zQ2nOiAPedCtB2u+06M8vkTnMQgx4ATwOnmB l5ZD8NHE2s4SPpp1bnvSWrssaxdzSOmDzx2Q/1gZoNVveXHZJe3KpvDs8W0yjG4YPigO qsy4d+49XZ+pBWoef7iEfU6NW1xrj6fuisFu6QrVAhZG8TkC1GhKe2Gx6HjRxRK8GS+H rc8g== X-Gm-Message-State: ABuFfoi4X99KFT1W6X8WSRO/s8O5s28yPGsi5g1xiCccwnRxMWIzN+j+ 0vEnRuToLVqlBGlb1OnTimm+TrVwZn6j5YaC3Q2w9g== X-Google-Smtp-Source: ACcGV60FxF+cf8CsqIgP1IogNbvL619iP2HOQF7OSBd2F++3btsY1xoyHqG2Pn+LW2bIbtOsr2XkHVLT/T9sBffUH8I= X-Received: by 2002:a2e:2d0a:: with SMTP id t10-v6mr2538378ljt.8.1538605657400; Wed, 03 Oct 2018 15:27:37 -0700 (PDT) MIME-Version: 1.0 References: <20180901014953.GV45503@funkthat.com> In-Reply-To: <20180901014953.GV45503@funkthat.com> From: "K. Macy" Date: Wed, 3 Oct 2018 15:27:25 -0700 Message-ID: Subject: Re: vale and netmap module questions To: FreeBSD Net , Luigi Rizzo Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 03 Oct 2018 22:36:05 -0000 On Fri, Aug 31, 2018 at 6:50 PM John-Mark Gurney wrote: > > First, does vale work for anyone? At least one of the documented > commands in vale(4) does not work. > The documentation with respect to naming is wrong. I didn't have a bit when I was using it so never got around to fixing it. > After manually building the netmap module and loading it: > # tcpdump -ni vale-a:1 > 313.748851 nm_open [947] invalid bridge name vale-a:1 > tcpdump: netmap open: cannot access vale-a:1: Invalid argument > > If I run tcpdump with a more correct looking name of vale1:a, I get a > null deref panic in ifunit_ref. Full trace is at the end. > > Second, is there a good reason why the netmap module is still > disconnected from being built as a module? I guess not working > would be one, but I figure the above might be an aarch64 specific > problem, and not a general issue. > > FreeBSD generic 12.0-ALPHA3 FreeBSD 12.0-ALPHA3 #0 r338296M: Sat Aug 25 06:17:25 UTC 2018 freebsd@generic:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 > > netmap: loaded module > Fatal data abort: > x0: ffff00005894f900 > x1: ffff000040351028 > x2: 5 > x3: ffff0000405e4090 > x4: 4000 > x5: 0 > x6: 0 > x7: ffff000040351cb0 > x8: 0 > x9: ffff000000a09960 > x10: ffff00005894f908 > x11: 0 > x12: 1 > x13: fffffcffc0000000 > x14: 3 > x15: 10000 > x16: ffff00005cd35580 > x17: ffff000000476de0 > x18: ffff000040351010 > x19: ffff000040351160 > x20: fffffd000739798e > x21: ffff000000a02000 > x22: 1 > x23: 0 > x24: fffffd0007397988 > x25: 0 > x26: 1 > x27: 0 > x28: fffffd0007397982 > x29: ffff000040351050 > sp: ffff000040351010 > lr: ffff000000476e0c > elr: ffff000000476e1c > spsr: 60000345 > far: 28 > esr: 96000007 > [ thread pid 802 tid 100096 ] > Stopped at ifunit_ref+0x3c: ldr x8, [x8, #40] > db> bt > Tracing pid 802 tid 100096 td 0xfffffd0007422000 > db_trace_self() at db_stack_trace+0xf0 > pc = 0xffff00000069b81c lr = 0xffff0000000d6b28 > sp = 0xffff000040350920 fp = 0xffff000040350950 > > db_stack_trace() at db_command+0x220 > pc = 0xffff0000000d6b28 lr = 0xffff0000000d67ac > sp = 0xffff000040350960 fp = 0xffff000040350a40 > > db_command() at db_command_loop+0x60 > pc = 0xffff0000000d67ac lr = 0xffff0000000d6570 > sp = 0xffff000040350a50 fp = 0xffff000040350a70 > > db_command_loop() at db_trap+0xf4 > pc = 0xffff0000000d6570 lr = 0xffff0000000d9694 > sp = 0xffff000040350a80 fp = 0xffff000040350ca0 > > db_trap() at kdb_trap+0x1d8 > pc = 0xffff0000000d9694 lr = 0xffff0000003cdf70 > sp = 0xffff000040350cb0 fp = 0xffff000040350d60 > > kdb_trap() at data_abort+0x1e0 > pc = 0xffff0000003cdf70 lr = 0xffff0000006b5ca4 > sp = 0xffff000040350d70 fp = 0xffff000040350e20 > > data_abort() at do_el1h_sync+0x11c > pc = 0xffff0000006b5ca4 lr = 0xffff0000006b59c0 > sp = 0xffff000040350e30 fp = 0xffff000040350e60 > > do_el1h_sync() at handle_el1h_sync+0x74 > pc = 0xffff0000006b59c0 lr = 0xffff00000069d874 > sp = 0xffff000040350e70 fp = 0xffff000040350f80 > > handle_el1h_sync() at ifunit_ref+0x28 > pc = 0xffff00000069d874 lr = 0xffff000000476e08 > sp = 0xffff000040350f90 fp = 0xffff000040351050 > > ifunit_ref() at netmap_get_bdg_na+0x194 > pc = 0xffff000000476e08 lr = 0xffff00005cd20b24 > sp = 0xffff000040351060 fp = 0xffff0000403510c0 > > netmap_get_bdg_na() at netmap_get_na+0x1b0 > pc = 0xffff00005cd20b24 lr = 0xffff00005cd15994 > sp = 0xffff0000403510d0 fp = 0xffff000040351120 > > netmap_get_na() at netmap_ioctl+0xcd0 > pc = 0xffff00005cd15994 lr = 0xffff00005cd18160 > sp = 0xffff000040351130 fp = 0xffff0000403511f0 > > netmap_ioctl() at netmap_ioctl_legacy+0x4b8 > pc = 0xffff00005cd18160 lr = 0xffff00005cd2b188 > sp = 0xffff000040351200 fp = 0xffff0000403515b0 > > netmap_ioctl_legacy() at netmap_ioctl+0x15c > pc = 0xffff00005cd2b188 lr = 0xffff00005cd175ec > sp = 0xffff0000403515c0 fp = 0xffff000040351680 > > netmap_ioctl() at freebsd_netmap_ioctl+0x4c > pc = 0xffff00005cd175ec lr = 0xffff00005cd25f94 > sp = 0xffff000040351690 fp = 0xffff0000403516b0 > > freebsd_netmap_ioctl() at devfs_ioctl+0xc4 > pc = 0xffff00005cd25f94 lr = 0xffff00000025f1ac > sp = 0xffff0000403516c0 fp = 0xffff000040351700 > > devfs_ioctl() at VOP_IOCTL_APV+0xa8 > pc = 0xffff00000025f1ac lr = 0xffff0000006ef704 > sp = 0xffff000040351710 fp = 0xffff000040351730 > > VOP_IOCTL_APV() at vn_ioctl+0x110 > pc = 0xffff0000006ef704 lr = 0xffff00000045c828 > sp = 0xffff000040351740 fp = 0xffff000040351840 > > vn_ioctl() at devfs_ioctl_f+0x24 > pc = 0xffff00000045c828 lr = 0xffff00000025f818 > sp = 0xffff000040351850 fp = 0xffff000040351860 > > devfs_ioctl_f() at kern_ioctl+0x358 > pc = 0xffff00000025f818 lr = 0xffff0000003f130c > sp = 0xffff000040351870 fp = 0xffff0000403518c0 > > kern_ioctl() at sys_ioctl+0x15c > pc = 0xffff0000003f130c lr = 0xffff0000003f0f64 > sp = 0xffff0000403518d0 fp = 0xffff0000403519a0 > > sys_ioctl() at do_el0_sync+0x4b8 > pc = 0xffff0000003f0f64 lr = 0xffff0000006b61f8 > sp = 0xffff0000403519b0 fp = 0xffff000040351a70 > > do_el0_sync() at handle_el0_sync+0x84 > pc = 0xffff0000006b61f8 lr = 0xffff00000069da00 > sp = 0xffff000040351a80 fp = 0xffff000040351b90 > > handle_el0_sync() at 0x401996f4 > pc = 0xffff00000069da00 lr = 0x00000000401996f4 > sp = 0xffff000040351ba0 fp = 0x0000ffffffffe2f0 > > Line number maps: > (kgdb) list *ifunit_ref+0x28 > 0xffff000000476e08 is in ifunit_ref (/usr/src/sys/net/if.c:2417). > 2412 struct ifnet * > 2413 ifunit_ref(const char *name) > 2414 { > 2415 struct ifnet *ifp; > 2416 > 2417 IFNET_RLOCK_NOSLEEP(); > 2418 CK_STAILQ_FOREACH(ifp, &V_ifnet, if_link) { > 2419 if (strncmp(name, ifp->if_xname, IFNAMSIZ) == 0 && > 2420 !(ifp->if_flags & IFF_DYING)) > 2421 break; > > Following look to be correct, but modules don't build by default w/ > debug symbols, so I had to rebuild the module... > > Reading symbols from /usr/obj/usr/src/arm64.aarch64/sys/modules/netmap/netmap.kld...done. > (kgdb) list *netmap_get_bdg_na+0x194 > 0xcb18 is in netmap_get_bdg_na (/usr/src/sys/dev/netmap/netmap_vale.c:931). > 926 /* > 927 * try see if there is a matching NIC with this name > 928 * (after the bridge's name) > 929 */ > 930 ifname = nr_name + b->bdg_namelen + 1; > 931 ifp = ifunit_ref(ifname); > 932 if (!ifp) { > 933 /* Create an ephemeral virtual port. > 934 * This block contains all the ephemeral-specific logic. > 935 */ > (kgdb) list *netmap_get_na+0x1b0 > 0x1994 is in netmap_get_na (/usr/src/sys/dev/netmap/netmap.c:1538). > 1533 error = netmap_get_pipe_na(hdr, na, nmd, create); > 1534 if (error || *na != NULL) > 1535 goto out; > 1536 > 1537 /* try to see if this is a bridge port */ > 1538 error = netmap_get_bdg_na(hdr, na, nmd, create); > 1539 if (error) > 1540 goto out; > 1541 > 1542 if (*na != NULL) /* valid match in netmap_get_bdg_na() */ > > Thanks. > > -- > John-Mark Gurney Voice: +1 415 225 5579 > > "All that I will do, has been done, All that I have, has not." > _______________________________________________ > 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 Thu Oct 4 00:49:02 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 50BE710B2D0C for ; Thu, 4 Oct 2018 00:49:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E028077513 for ; Thu, 4 Oct 2018 00:49:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A4BDA10B2D0B; Thu, 4 Oct 2018 00:49:01 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9352310B2D08 for ; Thu, 4 Oct 2018 00:49:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 33A0577510 for ; Thu, 4 Oct 2018 00:49:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 8152C5250 for ; Thu, 4 Oct 2018 00:49:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w940n0NA055334 for ; Thu, 4 Oct 2018 00:49:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w940n0vb055333 for net@FreeBSD.org; Thu, 4 Oct 2018 00:49:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 191040] [em] netif hangs the system if interface is cabled and configured but there is no link Date: Thu, 04 Oct 2018 00:49:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords 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.27 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, 04 Oct 2018 00:49:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D191040 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |IntelNetworking --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Oct 4 04:01:41 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7D97F10BE7DE for ; Thu, 4 Oct 2018 04:01:41 +0000 (UTC) (envelope-from citrin+bsd@citrin.ru) Received: from hz.citrin.ru (hz.citrin.ru [IPv6:2a01:4f8:d16:10c3::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 18BBC81AA6 for ; Thu, 4 Oct 2018 04:01:40 +0000 (UTC) (envelope-from citrin+bsd@citrin.ru) Received: from x220.lan (unknown [IPv6:2601:18a:c680:9888:c901:3cf8:5a21:d5d7]) by hz.citrin.ru (Postfix) with ESMTPSA id 6D95C2E899D for ; Thu, 4 Oct 2018 04:01:38 +0000 (UTC) Subject: Re: why rtsold ? To: freebsd-net@freebsd.org References: <20180930022007.GA2041@admin.sibptus.ru> From: Anton Yuzhaninov Openpgp: preference=signencrypt Message-ID: Date: Thu, 4 Oct 2018 00:01:36 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0.1 MIME-Version: 1.0 In-Reply-To: <20180930022007.GA2041@admin.sibptus.ru> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrin.ru; s=s0; t=1538625698; bh=PFG9UyFo8MdXsItsu1nWwi5nIpFZ9uHNybk9tqmAN8w=; h=Subject:To:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=ka+gR+vIYxRSRSL3h2t6cQcwGWpkvtnjMqUnwZdfIVoyn774OdaPvND5ZlrCdb/JngA431JWYs5jzoPTMK7EsOaiKzwZ7IPZ4qkb8b/4tF9OaLga+tjQsrlO9CASda89u4g1LbIIx8VBahz0FXLY2usr3qT4arg/GnqGZGq9K1I= X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 04:01:41 -0000 On 9/29/18 10:20 PM, Victor Sudakov wrote: > When running FreeBSD as an IPv6 host im SLAAC mode, is > "rtsold_enable=YES" really necessary? I did not enable rtsold and IPv6 > still works fine only with rtsold is needed to write DNS server address from RDNSS RA option to /etc/resolv.conf man rtsold /-R From owner-freebsd-net@freebsd.org Thu Oct 4 05:24:10 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9890E10C0411 for ; Thu, 4 Oct 2018 05:24:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3643F838DE for ; Thu, 4 Oct 2018 05:24:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id EFDE210C0410; Thu, 4 Oct 2018 05:24:09 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DED0810C040F for ; Thu, 4 Oct 2018 05:24:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 78D08838DB for ; Thu, 4 Oct 2018 05:24:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id C6A53796A for ; Thu, 4 Oct 2018 05:24:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w945O89B054570 for ; Thu, 4 Oct 2018 05:24:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w945O8ag054569 for net@FreeBSD.org; Thu, 4 Oct 2018 05:24:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 191040] [em] netif hangs the system if interface is cabled and configured but there is no link Date: Thu, 04 Oct 2018 05:24:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 05:24:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D191040 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eugen@freebsd.org --- Comment #2 from Eugene Grosbein --- Is it still a problem for 10.4-RELEASE or 11.2-RELEASE? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Oct 4 06:03:22 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6F11110C124D; Thu, 4 Oct 2018 06:03:22 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:d12:604::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D854C84DCF; Thu, 4 Oct 2018 06:03:21 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13:0:0:0:5]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id w94638ZY001523 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 4 Oct 2018 08:03:09 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: brooks@freebsd.org Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id w94637vj087882 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 4 Oct 2018 13:03:07 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers To: Brooks Davis , freebsd-arch@freebsd.org References: <20181003210516.GA71565@spindle.one-eyed-alien.net> Cc: "freebsd-net@freebsd.org" From: Eugene Grosbein Message-ID: <45c44128-85cb-5b4c-3af3-cbdf1560c9be@grosbein.net> Date: Thu, 4 Oct 2018 13:03:01 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20181003210516.GA71565@spindle.one-eyed-alien.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM,SPF_PASS autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 SPF_PASS SPF: sender matches SPF record * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 06:03:22 -0000 04.10.2018 4:05, Brooks Davis wrote: >>>> Please direct replies to freebsd-arch <<< > > FCP-01010 (https://github.com/freebsd/fcp/blob/master/fcp-0101.md) > outlines a plan to deprecate most 10/100 Ethernet drivers in FreeBSD 12 > and remove them in FreeBSD 13 to reduce the burden of maintaining and > improving the network stack. We have discussed this within the > core team and intend to move forward as proposed. We are solictiting > feedback on the list of drivers to be excepted from removal. > > The current list of drivers slated for REMOVAL is: > > ae, bfe, bm, cs, dme, ed, ep, ex, fe, pcn, rl, sf, smc, sn, > ste, tl, tx, txp, vx, wb, xe > > The current list of drivers that will STAY in the tree is: > > dc, ffec, fxpl, hme, le, sis, vr, xl "fxpl" should have been "fxp" here, I suppose. While I have no objection for general direction, I have doubts about removal of ste(4) and especially rl(4). These are cheap 100Mbit VERY popular NICs sold in enourmous values in certain markets by vendors like D-Link and TP-Link using various trade names. Lack of support for such popular 100M cards won't be good for FreeBSD, I suppose. From owner-freebsd-net@freebsd.org Thu Oct 4 07:49:14 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E13E10C3081 for ; Thu, 4 Oct 2018 07:49:14 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id AE2B3887E5 for ; Thu, 4 Oct 2018 07:49:13 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 70FC610C3080; Thu, 4 Oct 2018 07:49:13 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E55710C307F for ; Thu, 4 Oct 2018 07:49:13 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CF9CB887D4; Thu, 4 Oct 2018 07:49:12 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-qt1-x835.google.com with SMTP id b4-v6so796842qtc.7; Thu, 04 Oct 2018 00:49:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ONTA2LZXhniqE8i6PjRjYF4D/36ekXcoZsVxHdTKooo=; b=eb25kt3mh+SHbS29q/ayAikqkQ9+nVkK6HFpnJpohBxx70HE36FQ5PPdfmccVWQrAM Fgc6l6fRl8Y4h0BV/R4etQvV3QCxuRhd7p0pzI66A2XWl2oRyEfOaMbH17BTSGSlI1yr SPpf/0xF/YLqedZdr1hKOFrLnTlNMRAYEp7tI8AdqDhtbFD2SzVwW7hR08RI80tv3mvO vaMajbQ29ohHSPl7kFLx1Xh9WkXNA2vQ3a+rjoyfiz1dPvy7y32b7gM6PBR1iyZXHK4u op6NhzkZ87tGr46MaTxeZJeifPhxvK6LA9KMt2ETOzjx6+V8Jzpq9zpcZyHzouvfZXXx gbrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ONTA2LZXhniqE8i6PjRjYF4D/36ekXcoZsVxHdTKooo=; b=ZYnqZ67/CUX0szqmlnKUwO24t2RdkIHnL8TdLLY3LLWb1a0Jz9vKqk3ObUjkiAPS5v yWWTmdZs/h6ehp4Bh05m4hQlQZdFhai8fmvjefGI1OFVRsHAngVsNYgCiXhy2NOMzSkX bvkI5UQCSUtMvrur0r/pqrGJOH8Ub/Y79VRIniwkHbM+QXTtTEHfQCGRxIG2+KcZl2L8 vMK8u6m7g8gAXIrJiQexspDKDVzIXWVjVE0NAv+qtva19pyxerXK4LK9sQxGbLEIxP9g h7eqFwinNDRs/M8IgyS3BMPBjXCz260LJeo9/eLPzYhkzk3kfYmldkopgwpX+4zUDKvx aaXQ== X-Gm-Message-State: ABuFfoizUsg3WuwKvH/Ye2oVYUuI0/Ib2lKUyBZxvjBmsEqxI3jvsetw QCIbP55Q6tYwt0eiFmQdbwNii59GVjNecQsTEIIYbJ0S X-Google-Smtp-Source: ACcGV60Kjo9pTQwC54QK5NKulcwVJNQQdVhjF9G8X9t0+qK12xgsqbEnRaITg7gZIYChtaflGX5k5UugA7XuShUP4Ro= X-Received: by 2002:a0c:8c44:: with SMTP id o4-v6mr4120933qvb.179.1538639352018; Thu, 04 Oct 2018 00:49:12 -0700 (PDT) MIME-Version: 1.0 References: <20180901014953.GV45503@funkthat.com> In-Reply-To: From: Vincenzo Maffione Date: Thu, 4 Oct 2018 09:48:59 +0200 Message-ID: Subject: Re: vale and netmap module questions To: "K. Macy" Cc: "freebsd-net@freebsd.org" , Luigi Rizzo Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 07:49:14 -0000 Hi, I fixed this upstream in this commit https://github.com/luigirizzo/netmap/commit/282f404ccb4fc777056a591127060e29657c9ab7 I will apply the change into FreeBSD as soon as HEAD thaws. Cheers, Vincenzo Il giorno gio 4 ott 2018 alle ore 00:36 K. Macy ha scritto: > On Fri, Aug 31, 2018 at 6:50 PM John-Mark Gurney wrote: > > > > First, does vale work for anyone? At least one of the documented > > commands in vale(4) does not work. > > > The documentation with respect to naming is wrong. I didn't have a bit > when I was using it so never got around to fixing it. > > > > After manually building the netmap module and loading it: > > # tcpdump -ni vale-a:1 > > 313.748851 nm_open [947] invalid bridge name vale-a:1 > > tcpdump: netmap open: cannot access vale-a:1: Invalid argument > > > > If I run tcpdump with a more correct looking name of vale1:a, I get a > > null deref panic in ifunit_ref. Full trace is at the end. > > > > Second, is there a good reason why the netmap module is still > > disconnected from being built as a module? I guess not working > > would be one, but I figure the above might be an aarch64 specific > > problem, and not a general issue. > > > > FreeBSD generic 12.0-ALPHA3 FreeBSD 12.0-ALPHA3 #0 r338296M: Sat Aug 25 > 06:17:25 UTC 2018 freebsd@generic:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC > arm64 > > > > netmap: loaded module > > Fatal data abort: > > x0: ffff00005894f900 > > x1: ffff000040351028 > > x2: 5 > > x3: ffff0000405e4090 > > x4: 4000 > > x5: 0 > > x6: 0 > > x7: ffff000040351cb0 > > x8: 0 > > x9: ffff000000a09960 > > x10: ffff00005894f908 > > x11: 0 > > x12: 1 > > x13: fffffcffc0000000 > > x14: 3 > > x15: 10000 > > x16: ffff00005cd35580 > > x17: ffff000000476de0 > > x18: ffff000040351010 > > x19: ffff000040351160 > > x20: fffffd000739798e > > x21: ffff000000a02000 > > x22: 1 > > x23: 0 > > x24: fffffd0007397988 > > x25: 0 > > x26: 1 > > x27: 0 > > x28: fffffd0007397982 > > x29: ffff000040351050 > > sp: ffff000040351010 > > lr: ffff000000476e0c > > elr: ffff000000476e1c > > spsr: 60000345 > > far: 28 > > esr: 96000007 > > [ thread pid 802 tid 100096 ] > > Stopped at ifunit_ref+0x3c: ldr x8, [x8, #40] > > db> bt > > Tracing pid 802 tid 100096 td 0xfffffd0007422000 > > db_trace_self() at db_stack_trace+0xf0 > > pc = 0xffff00000069b81c lr = 0xffff0000000d6b28 > > sp = 0xffff000040350920 fp = 0xffff000040350950 > > > > db_stack_trace() at db_command+0x220 > > pc = 0xffff0000000d6b28 lr = 0xffff0000000d67ac > > sp = 0xffff000040350960 fp = 0xffff000040350a40 > > > > db_command() at db_command_loop+0x60 > > pc = 0xffff0000000d67ac lr = 0xffff0000000d6570 > > sp = 0xffff000040350a50 fp = 0xffff000040350a70 > > > > db_command_loop() at db_trap+0xf4 > > pc = 0xffff0000000d6570 lr = 0xffff0000000d9694 > > sp = 0xffff000040350a80 fp = 0xffff000040350ca0 > > > > db_trap() at kdb_trap+0x1d8 > > pc = 0xffff0000000d9694 lr = 0xffff0000003cdf70 > > sp = 0xffff000040350cb0 fp = 0xffff000040350d60 > > > > kdb_trap() at data_abort+0x1e0 > > pc = 0xffff0000003cdf70 lr = 0xffff0000006b5ca4 > > sp = 0xffff000040350d70 fp = 0xffff000040350e20 > > > > data_abort() at do_el1h_sync+0x11c > > pc = 0xffff0000006b5ca4 lr = 0xffff0000006b59c0 > > sp = 0xffff000040350e30 fp = 0xffff000040350e60 > > > > do_el1h_sync() at handle_el1h_sync+0x74 > > pc = 0xffff0000006b59c0 lr = 0xffff00000069d874 > > sp = 0xffff000040350e70 fp = 0xffff000040350f80 > > > > handle_el1h_sync() at ifunit_ref+0x28 > > pc = 0xffff00000069d874 lr = 0xffff000000476e08 > > sp = 0xffff000040350f90 fp = 0xffff000040351050 > > > > ifunit_ref() at netmap_get_bdg_na+0x194 > > pc = 0xffff000000476e08 lr = 0xffff00005cd20b24 > > sp = 0xffff000040351060 fp = 0xffff0000403510c0 > > > > netmap_get_bdg_na() at netmap_get_na+0x1b0 > > pc = 0xffff00005cd20b24 lr = 0xffff00005cd15994 > > sp = 0xffff0000403510d0 fp = 0xffff000040351120 > > > > netmap_get_na() at netmap_ioctl+0xcd0 > > pc = 0xffff00005cd15994 lr = 0xffff00005cd18160 > > sp = 0xffff000040351130 fp = 0xffff0000403511f0 > > > > netmap_ioctl() at netmap_ioctl_legacy+0x4b8 > > pc = 0xffff00005cd18160 lr = 0xffff00005cd2b188 > > sp = 0xffff000040351200 fp = 0xffff0000403515b0 > > > > netmap_ioctl_legacy() at netmap_ioctl+0x15c > > pc = 0xffff00005cd2b188 lr = 0xffff00005cd175ec > > sp = 0xffff0000403515c0 fp = 0xffff000040351680 > > > > netmap_ioctl() at freebsd_netmap_ioctl+0x4c > > pc = 0xffff00005cd175ec lr = 0xffff00005cd25f94 > > sp = 0xffff000040351690 fp = 0xffff0000403516b0 > > > > freebsd_netmap_ioctl() at devfs_ioctl+0xc4 > > pc = 0xffff00005cd25f94 lr = 0xffff00000025f1ac > > sp = 0xffff0000403516c0 fp = 0xffff000040351700 > > > > devfs_ioctl() at VOP_IOCTL_APV+0xa8 > > pc = 0xffff00000025f1ac lr = 0xffff0000006ef704 > > sp = 0xffff000040351710 fp = 0xffff000040351730 > > > > VOP_IOCTL_APV() at vn_ioctl+0x110 > > pc = 0xffff0000006ef704 lr = 0xffff00000045c828 > > sp = 0xffff000040351740 fp = 0xffff000040351840 > > > > vn_ioctl() at devfs_ioctl_f+0x24 > > pc = 0xffff00000045c828 lr = 0xffff00000025f818 > > sp = 0xffff000040351850 fp = 0xffff000040351860 > > > > devfs_ioctl_f() at kern_ioctl+0x358 > > pc = 0xffff00000025f818 lr = 0xffff0000003f130c > > sp = 0xffff000040351870 fp = 0xffff0000403518c0 > > > > kern_ioctl() at sys_ioctl+0x15c > > pc = 0xffff0000003f130c lr = 0xffff0000003f0f64 > > sp = 0xffff0000403518d0 fp = 0xffff0000403519a0 > > > > sys_ioctl() at do_el0_sync+0x4b8 > > pc = 0xffff0000003f0f64 lr = 0xffff0000006b61f8 > > sp = 0xffff0000403519b0 fp = 0xffff000040351a70 > > > > do_el0_sync() at handle_el0_sync+0x84 > > pc = 0xffff0000006b61f8 lr = 0xffff00000069da00 > > sp = 0xffff000040351a80 fp = 0xffff000040351b90 > > > > handle_el0_sync() at 0x401996f4 > > pc = 0xffff00000069da00 lr = 0x00000000401996f4 > > sp = 0xffff000040351ba0 fp = 0x0000ffffffffe2f0 > > > > Line number maps: > > (kgdb) list *ifunit_ref+0x28 > > 0xffff000000476e08 is in ifunit_ref (/usr/src/sys/net/if.c:2417). > > 2412 struct ifnet * > > 2413 ifunit_ref(const char *name) > > 2414 { > > 2415 struct ifnet *ifp; > > 2416 > > 2417 IFNET_RLOCK_NOSLEEP(); > > 2418 CK_STAILQ_FOREACH(ifp, &V_ifnet, if_link) { > > 2419 if (strncmp(name, ifp->if_xname, IFNAMSIZ) == 0 > && > > 2420 !(ifp->if_flags & IFF_DYING)) > > 2421 break; > > > > Following look to be correct, but modules don't build by default w/ > > debug symbols, so I had to rebuild the module... > > > > Reading symbols from > /usr/obj/usr/src/arm64.aarch64/sys/modules/netmap/netmap.kld...done. > > (kgdb) list *netmap_get_bdg_na+0x194 > > 0xcb18 is in netmap_get_bdg_na > (/usr/src/sys/dev/netmap/netmap_vale.c:931). > > 926 /* > > 927 * try see if there is a matching NIC with this name > > 928 * (after the bridge's name) > > 929 */ > > 930 ifname = nr_name + b->bdg_namelen + 1; > > 931 ifp = ifunit_ref(ifname); > > 932 if (!ifp) { > > 933 /* Create an ephemeral virtual port. > > 934 * This block contains all the > ephemeral-specific logic. > > 935 */ > > (kgdb) list *netmap_get_na+0x1b0 > > 0x1994 is in netmap_get_na (/usr/src/sys/dev/netmap/netmap.c:1538). > > 1533 error = netmap_get_pipe_na(hdr, na, nmd, create); > > 1534 if (error || *na != NULL) > > 1535 goto out; > > 1536 > > 1537 /* try to see if this is a bridge port */ > > 1538 error = netmap_get_bdg_na(hdr, na, nmd, create); > > 1539 if (error) > > 1540 goto out; > > 1541 > > 1542 if (*na != NULL) /* valid match in netmap_get_bdg_na() */ > > > > Thanks. > > > > -- > > John-Mark Gurney Voice: +1 415 225 5579 > > > > "All that I will do, has been done, All that I have, has not." > > _______________________________________________ > > 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" > -- Vincenzo From owner-freebsd-net@freebsd.org Thu Oct 4 08:44:12 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E04A10C4AD7; Thu, 4 Oct 2018 08:44:12 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A5DAB8A8A5; Thu, 4 Oct 2018 08:44:11 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id 81F071E8BF; Thu, 4 Oct 2018 08:44:11 +0000 (UTC) Date: Thu, 4 Oct 2018 08:44:11 +0000 From: Alexey Dokuchaev To: Brooks Davis Cc: freebsd-arch@freebsd.org, freebsd-net@freebsd.org, freebsd-stable@freebsd.org, freebsd-fcp@freebsd.org Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers Message-ID: <20181004084411.GA50348@FreeBSD.org> References: <20181003210516.GA71565@spindle.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181003210516.GA71565@spindle.one-eyed-alien.net> User-Agent: Mutt/1.9.5 (2018-04-13) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 08:44:12 -0000 On Wed, Oct 03, 2018 at 09:05:16PM +0000, Brooks Davis wrote: > FCP-01010 (https://github.com/freebsd/fcp/blob/master/fcp-0101.md) > outlines a plan to deprecate most 10/100 Ethernet drivers in FreeBSD 12 Holy shit! OK I guess I can understand removing 10 (I personally haven't seen one in a very long time) but 100 are omnipresent and most of my NICs are in fact 100. > and remove them in FreeBSD 13 to reduce the burden of maintaining and > improving the network stack. Looking at the commits they require near zero maintenance. What exactly is the burden here? Another question: why the fuck FreeBSD likes to kill non-broken, low-volatile and perfectly working stuff? We offer probably the best NIC driver support on the block, yet you're proposing to shrink one of the few areas where we shine. WTF?! > The current list of drivers slated for REMOVAL is: > > ae, bfe, bm, cs, dme, ed, ep, ex, fe, pcn, rl, sf, smc, sn, > ste, tl, tx, txp, vx, wb, xe ae(4) was used in Asus EeePC 701/900 which are still popular among hackers. My home router uses sf(4) happily. It's a dual-port card and I don't want to look for expensive and completely needless replacement. Other people have already told you about ed/rl/etc. > Please reply to this message with nominations to the exception list. As it can be seen this list tends to cover nearly all 100 cards, yet no one (pardon me if I missed those) asks for 10. So how about making this proposal cover only 10 cards, if you can't resist the itch to remove something from the tree? ./danfe From owner-freebsd-net@freebsd.org Thu Oct 4 09:41:34 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D6A410C6281; Thu, 4 Oct 2018 09:41:34 +0000 (UTC) (envelope-from freebsd-stable@sentry.org) Received: from shadow.sentry.org (shadow.sentry.org [210.8.237.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "shadow.sentry.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9FD2D8C87F; Thu, 4 Oct 2018 09:41:33 +0000 (UTC) (envelope-from freebsd-stable@sentry.org) Received: from shadow.sentry.org (localhost [127.0.0.1]) by shadow.sentry.org (8.15.2/8.15.2) with ESMTP id w949S6MX080717; Thu, 4 Oct 2018 19:28:06 +1000 (AEST) (envelope-from freebsd-stable@sentry.org) Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers To: Brooks Davis Cc: freebsd-net@freebsd.org, freebsd-fcp@freebsd.org, freebsd-stable@freebsd.org, freebsd-arch@freebsd.org References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <20181004084411.GA50348@FreeBSD.org> From: Trev Message-ID: Date: Thu, 4 Oct 2018 19:28:06 +1000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 SeaMonkey/2.49.4 MIME-Version: 1.0 In-Reply-To: <20181004084411.GA50348@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (shadow.sentry.org [0.0.0.0]); Thu, 04 Oct 2018 19:28:06 +1000 (AEST) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 09:41:34 -0000 > On Wed, Oct 03, 2018 at 09:05:16PM +0000, Brooks Davis wrote: > FCP-01010 (https://github.com/freebsd/fcp/blob/master/fcp-0101.md) > outlines a plan to deprecate most 10/100 Ethernet drivers in FreeBSD 12 > and remove them in FreeBSD 13 to reduce the burden of maintaining and > improving the network stack. > > The current list of drivers slated for REMOVAL is: > > ae, bfe, bm, cs, dme, ed, ep, ex, fe, pcn, rl, sf, smc, sn, > ste, tl, tx, txp, vx, wb, xe > > Please reply to this message with nominations to the exception list. Sill using my Asus EeePC 701 (just bought a new battery pack) for FreeBSD with ae nic (and I do not foresee discontinuing its use any time soon as its serial port comes in handy for talking to other serial devices). From owner-freebsd-net@freebsd.org Thu Oct 4 11:30:56 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14D5A10A3A26; Thu, 4 Oct 2018 11:30:56 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A5B8190D7C; Thu, 4 Oct 2018 11:30:55 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 82562CD9; Thu, 4 Oct 2018 07:30:47 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 04 Oct 2018 07:30:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= from:subject:to:cc:references:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=u 0/+4vTeyUtZEdHMOWufT0+0I+A2Wx9kDDPIjy9Z6F4=; b=03m9wIpuzTWydipnp O4u17hZGbdpHz2Yps0V0Saej05E/3CYyNk+b64fBomP3FSuslPtxy7q5Z39wT4MS wODvVnS6/UKv3GJVJxGRKXLlNNZHiEb/49i5VchShPkYTufAiKlJ+Q5yBnr+WYM7 JslPc5vDNOaDmnyUJJg3Q8VFzKcVLG15+LWu9dy0VNkCpE7YLrW2GRLk3lv/l87z pXB1QUc1fbFdVuLXZyrAPAzLk8zs3zfx5bTzVRUKm+ydqaBsARAftBAuao+/HDNS eVG5RAw/D5pnkP3XSFpFqf9/jsWOPmtvPGvhCmf3vxdQ+wQylJofl1tt0rcoDgwg FYqig== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=u0/+4vTeyUtZEdHMOWufT0+0I+A2Wx9kDDPIjy9Z6 F4=; b=tSF2dWqWsegvuri3VVbQQi7sccrOPc/1Uyln/r0TCp4cCI1gORxY2UNe1 p6Dg25c7vYJke0txGnUkSoRjWQNtv/8pWfDJ4RUUglPCH9Ab6b0uO6xMA4UWW4Gs dlyEFQthhHDXBp3XnDffYDzcyrXeFfZCCazOBR3FFCCsAzC+0sf+suAYjStgS7nx njxq3wMlFY9rc7m2Io9yA4/rke0vqYsBS4HrpxGl4RcAT9IfSppwDM6IGsLX/17Y CGrqkNaOwY1Gxt/XE5qIoUJ9pooZy21FW9H5Q8ft6SBB1Wib8B4VJAQ5c5Fgr+ya U9juHXMnnKubI19Arz9lCwe9LGUvA== X-ME-Sender: X-ME-Proxy: Received: from [192.168.1.15] (parsley.growveg.org [82.70.91.97]) by mail.messagingengine.com (Postfix) with ESMTPA id A1497102DE; Thu, 4 Oct 2018 07:30:45 -0400 (EDT) From: tech-lists Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers To: Brooks Davis , freebsd-arch@freebsd.org Cc: freebsd-net@freebsd.org, freebsd-fcp@freebsd.org, freebsd-stable@freebsd.org References: <20181003210516.GA71565@spindle.one-eyed-alien.net> Organization: zyxst.net Message-ID: <55a44e73-60ab-e386-360a-b0a0198a0e71@zyxst.net> Date: Thu, 4 Oct 2018 12:30:45 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20181003210516.GA71565@spindle.one-eyed-alien.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 11:30:56 -0000 On 03/10/18 22:05, Brooks Davis wrote: > We are solictiting > feedback on the list of drivers to be excepted from removal. > > The current list of drivers slated for REMOVAL is: > > ae, bfe, bm, cs, dme, ed, ep, ex, fe, pcn, rl, sf, smc, sn, > ste, tl, tx, txp, vx, wb, xe Please do not remove rl. I have two rl interfaces in a machine built in 2011 still in daily use. One rl interface is an aftermarket card bought new in *2016*. The other one is built into the motherboard. That's just the stuff I personally own. rl is in lots of machines which will probably still be running a decade from now. I'm astonished you're considering removing rl given how common it is. -- J. From owner-freebsd-net@freebsd.org Thu Oct 4 12:06:41 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1F03010A6F55; Thu, 4 Oct 2018 12:06:41 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from smtp.burggraben.net (smtp.burggraben.net [IPv6:2a01:4f8:140:50a2::3:1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "ns.exwg.net", Issuer "Christoph Moench-Tegeder" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A144892A63; Thu, 4 Oct 2018 12:06:40 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from localhost (localhost [127.0.0.1]) by smtp.burggraben.net (Postfix) with ESMTP id 2CF666002F6; Thu, 4 Oct 2018 14:06:39 +0200 (CEST) X-Spam-Scanned: by amavisd-new at exwg.net Received: from smtp.burggraben.net ([127.0.0.1]) by localhost (ns.burggraben.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id quPWIdgyPJfD; Thu, 4 Oct 2018 14:06:27 +0200 (CEST) Received: from elch.exwg.net (elch.exwg.net [IPv6:2001:470:7120:1:127b:44ff:fe4f:148d]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "elch.exwg.net", Issuer "Christoph Moench-Tegeder" (verified OK)) by smtp.burggraben.net (Postfix) with ESMTPS; Thu, 4 Oct 2018 14:06:27 +0200 (CEST) Received: by elch.exwg.net (Postfix, from userid 1000) id CA8BB2733A; Thu, 4 Oct 2018 14:06:26 +0200 (CEST) Date: Thu, 4 Oct 2018 14:06:26 +0200 From: Christoph Moench-Tegeder To: Alexey Dokuchaev Cc: Brooks Davis , freebsd-net@freebsd.org, freebsd-fcp@freebsd.org, freebsd-stable@freebsd.org, freebsd-arch@freebsd.org Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers Message-ID: <20181004120626.GA39489@elch.exwg.net> Mail-Followup-To: Alexey Dokuchaev , Brooks Davis , freebsd-net@freebsd.org, freebsd-fcp@freebsd.org, freebsd-stable@freebsd.org, freebsd-arch@freebsd.org References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <20181004084411.GA50348@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20181004084411.GA50348@FreeBSD.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 12:06:41 -0000 ## Alexey Dokuchaev (danfe@FreeBSD.org): > > FCP-01010 (https://github.com/freebsd/fcp/blob/master/fcp-0101.md) > > outlines a plan to deprecate most 10/100 Ethernet drivers in FreeBSD 12 > > Holy shit! OK I guess I can understand removing 10 (I personally haven't > seen one in a very long time) but 100 are omnipresent and most of my NICs > are in fact 100. Don't panic - they're talking about removing the 100 MBps NICS, not the 100 GBps NICs. Jokes aside - obviously there are very different populations of NICS. Here, the only 100MBps interface is in the IP phone, and I would guess that even most consumer hardware comes with a GBps interface on board (heck, even RPis have a GBit interface, even if can't use more than 30% of it's bandwith). Checking with a hardware-dealer: very few NICs in their catalog are 100MBps, most are gigabit-grade. I would have expected that things look different in the embedded world... On the other hand, some data centers I know routinely use 10GBps, and 1 GBps is considered "legacy" there. So, perceptions are very different... let's keep this rational and make a list of cards still in use. Regards, Christoph -- Spare Space From owner-freebsd-net@freebsd.org Thu Oct 4 12:29:01 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0967D10A805B; Thu, 4 Oct 2018 12:29:01 +0000 (UTC) (envelope-from vterziev@gvcgroup.com) Received: from mgate03.itsfogo.com (mgate03.itsfogo.com [195.72.134.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.itsfogo.com", Issuer "Thawte RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 83C6693A9E; Thu, 4 Oct 2018 12:29:00 +0000 (UTC) (envelope-from vterziev@gvcgroup.com) From: Vladimir Terziev To: "freebsd-arch@freebsd.org" , "freebsd-net@freebsd.org" CC: Brooks Davis , Eugene Grosbein Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers Thread-Topic: FCP-0101: Deprecating most 10/100 Ethernet drivers Thread-Index: AQHUW1z8oQomlAn8e0yTY1T+r3ZBB6UOd46AgABnmwA= Date: Thu, 4 Oct 2018 12:13:50 +0000 Message-ID: References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <45c44128-85cb-5b4c-3af3-cbdf1560c9be@grosbein.net> In-Reply-To: <45c44128-85cb-5b4c-3af3-cbdf1560c9be@grosbein.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.3445.9.1) x-originating-ip: [10.138.239.10] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 12:29:01 -0000 I also call for keeping of the ste(4) driver. We use several 4-head D-Link DFE-580TX cards. Removing their support would = incur serious expenses for us for replacement hardware. > On 4 Oct 2018, at 09:03, Eugene Grosbein wrote: >=20 > 04.10.2018 4:05, Brooks Davis wrote: >=20 >>>>> Please direct replies to freebsd-arch <<< >>=20 >> FCP-01010 (https://github.com/freebsd/fcp/blob/master/fcp-0101.md) >> outlines a plan to deprecate most 10/100 Ethernet drivers in FreeBSD 12 >> and remove them in FreeBSD 13 to reduce the burden of maintaining and >> improving the network stack. We have discussed this within the >> core team and intend to move forward as proposed. We are solictiting >> feedback on the list of drivers to be excepted from removal. >>=20 >> The current list of drivers slated for REMOVAL is: >>=20 >> ae, bfe, bm, cs, dme, ed, ep, ex, fe, pcn, rl, sf, smc, sn, >> ste, tl, tx, txp, vx, wb, xe >>=20 >> The current list of drivers that will STAY in the tree is: >>=20 >> dc, ffec, fxpl, hme, le, sis, vr, xl >=20 > "fxpl" should have been "fxp" here, I suppose. >=20 > While I have no objection for general direction, I have doubts about remo= val of ste(4) and especially rl(4). > These are cheap 100Mbit VERY popular NICs sold in enourmous values in cer= tain markets > by vendors like D-Link and TP-Link using various trade names. >=20 > Lack of support for such popular 100M cards won't be good for FreeBSD, I = suppose. >=20 > _______________________________________________ > 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 Thu Oct 4 12:35:20 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 15A6D10A850A; Thu, 4 Oct 2018 12:35:20 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id A83199407F; Thu, 4 Oct 2018 12:35:19 +0000 (UTC) (envelope-from des@des.no) Received: from next.des.no (smtp.des.no [194.63.250.102]) by smtp.des.no (Postfix) with ESMTP id 5E8EE8846; Thu, 4 Oct 2018 12:35:18 +0000 (UTC) Received: by next.des.no (Postfix, from userid 1001) id 06A59B660; Thu, 4 Oct 2018 14:35:19 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Alexey Dokuchaev Cc: Brooks Davis , freebsd-arch@freebsd.org, freebsd-net@freebsd.org, freebsd-stable@freebsd.org, freebsd-fcp@freebsd.org Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers In-Reply-To: <20181004084411.GA50348@FreeBSD.org> (Alexey Dokuchaev's message of "Thu, 4 Oct 2018 08:44:11 +0000") References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <20181004084411.GA50348@FreeBSD.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (berkeley-unix) Date: Thu, 04 Oct 2018 14:35:18 +0200 Message-ID: <86va6h7uux.fsf@next.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 12:35:20 -0000 Alexey Dokuchaev writes: > Looking at the commits they require near zero maintenance. Please do not confuse =E2=80=9Cnobody is maintaining them=E2=80=9D with =E2= =80=9Cthey don't need maintenance=E2=80=9D, because they do. And please assume good faith. Broo= ks asked for people to speak up if they care about some of the drivers he proposed to remove; all you had to do was say =E2=80=9CI still use this dri= ver=E2=80=9D. There was no need to attack him, much less to swear. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-net@freebsd.org Thu Oct 4 12:39:34 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B87EE10A8892 for ; Thu, 4 Oct 2018 12:39:34 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (net-2-44-121-52.cust.vodafonedsl.it [2.44.121.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mailserver.netfence.it", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2B109943F5 for ; Thu, 4 Oct 2018 12:39:33 +0000 (UTC) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) (authenticated bits=0) by soth.netfence.it (8.15.2/8.15.2) with ESMTPSA id w94Ccqlp032149 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 4 Oct 2018 14:39:01 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers To: freebsd-net@freebsd.org References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <20181004084411.GA50348@FreeBSD.org> <20181004120626.GA39489@elch.exwg.net> From: Andrea Venturoli Cc: cmt@burggraben.net Message-ID: <12fa91bc-ef00-9170-c887-273865c8e1bd@netfence.it> Date: Thu, 4 Oct 2018 14:38:51 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0.1 MIME-Version: 1.0 In-Reply-To: <20181004120626.GA39489@elch.exwg.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 12:39:34 -0000 On 10/4/18 2:06 PM, Christoph Moench-Tegeder wrote: > (heck, even RPis have a GBit interface Only the 3B. Older models, up to the first RPi3 still have a 100Mb/s NIC. I just happen to have an RPi3 and I'd really love to convert it to FreeBSD once 12.x is stable enough. BTW, I also use fxp interfaces a lot, but that's just because I have several of them around: no use spending a few Euros for faster cards if they are going to be used for ADSL lines. Then I have an old "hot-spare" computer that has an onboard FastEthernet NIC... I'll have to check which one it is and if support for it is being dropped. Or... I could insert another spare fxp there too :) Seriously, I'd be disappointed if the yet-to-come-to-stable support for my Raspberry was deprivated of its NIC driver. Other than that, on the amd64 side, I'll live with this (if I have to). bye av. From owner-freebsd-net@freebsd.org Thu Oct 4 12:49:55 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A17610A8FE8; Thu, 4 Oct 2018 12:49:55 +0000 (UTC) (envelope-from luciano@vespaperitivo.it) Received: from baobab.bilink.net (baobab.bilink.net [212.45.144.44]) by mx1.freebsd.org (Postfix) with ESMTP id DD54694C5F; Thu, 4 Oct 2018 12:49:54 +0000 (UTC) (envelope-from luciano@vespaperitivo.it) Received: from baobab.bilink.net (localhost [127.0.0.1]) by baobab.bilink.it (Postfix) with ESMTP id 42Qt574NgSz1ftWX; Thu, 4 Oct 2018 14:49:47 +0200 (CEST) Received: from hermes.mcs.it (hermes.mcs.it [192.168.132.21]) by baobab.bilink.it (Postfix) with ESMTP id 42Qt573dbmz1ftWT; Thu, 4 Oct 2018 14:49:47 +0200 (CEST) Received: from mordeus (unknown [192.168.45.6]) by hermes.mcs.it (Postfix) with ESMTP id 56C5E23949; Thu, 4 Oct 2018 14:49:47 +0200 (CEST) Date: Thu, 4 Oct 2018 14:49:47 +0200 From: Luciano Mannucci To: freebsd-net@freebsd.org Cc: freebsd-arch@freebsd.org Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers In-Reply-To: <45c44128-85cb-5b4c-3af3-cbdf1560c9be@grosbein.net> References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <45c44128-85cb-5b4c-3af3-cbdf1560c9be@grosbein.net> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd10.3) X-Face: 4qPv4GNcD; h<7Q/sK>+GqF4=CR@KmnPkSmwd+#%\F`4yjKO3"C]p'z=(oWRnsYBQGM\5g:4skqQY0NnV'dM:Mm:^/_+I@a"; [-s=ogufdF"9ggQ'=y MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <42Qt573dbmz1ftWT@baobab.bilink.it> X-Virus-Scanned: PippoLillo, ClamAV using ClamSMTP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 12:49:55 -0000 On Thu, 4 Oct 2018 13:03:01 +0700 Eugene Grosbein wrote: > > The current list of drivers that will STAY in the tree is: > > > > dc, ffec, fxpl, hme, le, sis, vr, xl > > "fxpl" should have been "fxp" here, I suppose. > > While I have no objection for general direction, I have doubts about removal > of ste(4) and especially rl(4). These are cheap 100Mbit VERY popular NICs > sold in enourmous values in certain markets by vendors like D-Link and > TP-Link using various trade names. > > Lack of support for such popular 100M cards won't be good for FreeBSD, I > suppose. + 1 I have a lot of them in production systems. It would be a pity that they will never get a 12.x or newer version ever. I can replace few de cards but not everything... Luciano. -- /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG / \ AND POSTINGS / WWW: http://www.lesassaie.IT/ From owner-freebsd-net@freebsd.org Thu Oct 4 12:58:59 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 868C610A95BC for ; Thu, 4 Oct 2018 12:58:59 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it1-x12b.google.com (mail-it1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0E0DF953D8 for ; Thu, 4 Oct 2018 12:58:59 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it1-x12b.google.com with SMTP id p64-v6so13854351itp.0 for ; Thu, 04 Oct 2018 05:58:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BKTL4xuvcMBz4CQ2fA7FexX9P6hdEJMlWtmrnncI5Dg=; b=zczaN9fQVrFKbj6tugKh7CyQfZQ2hebFgp8LJ6rkr0NX7IxOuPxFD+n6GpqOdOKofY yupIdKpCBS1MdSbGC3DlhflCJhR4M4HA53/dg2iBqePvWDcJMmHNVZI59TOzST/Pc6P3 r0ap6aVhc69JNuKf9NDehCVj2QDR6L+4Dcd531Pf6nFRSNQEFGFleHuIIEdGqdL44VGh AyC/iAnTJ37Z+WkzRvc6+GdOhu4LszSeS+lk01V+Sj9QOtDubcz8riRZVEohFsEhr8vr /tmXuJCEGKAyV72MinmmA2Mq6fAH3t0OxrGmD3dF2oKQ0lgeHRylwSgi3QcB3gW29RAe pOyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BKTL4xuvcMBz4CQ2fA7FexX9P6hdEJMlWtmrnncI5Dg=; b=DYIc2/plLQKwHEWITqRILzSMEuToLFQcpMZ1+RL179h11Ao9xRdTK5GnLc7QI3ZyHo ko7qDPkNGUCgWkWhXleovUTdRR3esLfj1RLk4YQcLFjMHB/heO2gSBZr5IwhcWcsrLrD 8zHqkAGa13CCnoh4QFohsu72Fc50Vgh6odomS4be91rJydFXhmBuYCBpzqNZcl0G9fpG Wak5zBoerum1V2LLejFJrxsIrJYj4Ity3C2i8rpjKUEs0f++fueZnAN1qyUQDLCL2Fpm ps/gzPPSARmngffHvroYcnc8gJpL4xLbbPcTrAKpql2Vuyh1ZWA03p8tkT9DNYI08TWF 7sXA== X-Gm-Message-State: ABuFfoiV3R4E9wthJ6wqBc/VlxK3ufDi1Qrr77x5KE2ATMFuCtBqTAfw hf3RKwjS1Y+sI0dhM21mSwc6t4zTkfXyevwROaUM4L7k X-Google-Smtp-Source: ACcGV61pi0fpl6iGGNnk8fsK1Cb6rS0EP2Ix7tsQbpGYbSajXL8/Wp/44XhhFTPEiIx7EJlIiarmxsyul7UDhPknNyg= X-Received: by 2002:a24:1c94:: with SMTP id c142-v6mr4870923itc.75.1538657938275; Thu, 04 Oct 2018 05:58:58 -0700 (PDT) MIME-Version: 1.0 References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <45c44128-85cb-5b4c-3af3-cbdf1560c9be@grosbein.net> <42Qt573dbmz1ftWT@baobab.bilink.it> In-Reply-To: <42Qt573dbmz1ftWT@baobab.bilink.it> From: Warner Losh Date: Thu, 4 Oct 2018 06:58:47 -0600 Message-ID: Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers To: luciano@vespaperitivo.it Cc: FreeBSD Net , "freebsd-arch@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 12:58:59 -0000 On Thu, Oct 4, 2018 at 6:53 AM Luciano Mannucci wrote: > On Thu, 4 Oct 2018 13:03:01 +0700 > Eugene Grosbein wrote: > > > The current list of drivers that will STAY in the tree is: > > > > > > dc, ffec, fxpl, hme, le, sis, vr, xl > > > > "fxpl" should have been "fxp" here, I suppose. > Yes. > > While I have no objection for general direction, I have doubts about > removal > > of ste(4) and especially rl(4). These are cheap 100Mbit VERY popular NICs > > sold in enourmous values in certain markets by vendors like D-Link and > > TP-Link using various trade names. > Enough people are using rl that it's off the list by my count. > > Lack of support for such popular 100M cards won't be good for FreeBSD, I > > suppose. > > I have a lot of them in production systems. It would be a pity that they > will never get a 12.x or newer version ever. I can replace few de cards > but not everything... > To be clear, the proposal is that 12.x be the last branch they are supported in and not in 13. So while we'd remove them from current soon, they'd still be in 12 for the life of the 12.x branch, so into the early 2020's. Warner From owner-freebsd-net@freebsd.org Thu Oct 4 13:07:56 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1E5A210A9A28 for ; Thu, 4 Oct 2018 13:07:56 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9FFF2958EB for ; Thu, 4 Oct 2018 13:07:55 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io1-xd34.google.com with SMTP id p4-v6so7832768iom.3 for ; Thu, 04 Oct 2018 06:07:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9mIHULBX1kVwtTwodZcHYwSmmtg1NerNJ6YRELoeZbs=; b=mC9mykkocwqgYjG1HmWAop3WNmcXs+XzC52j83sF1JwIlSH/scLbKSFMPD/PsDLCMS FGa3isvhCmfGQHRJKb8QI55hupzsjwifTuPp6irEc+V99xi/pVwohtAV8z0PhwWB3mZ7 xj3KtClKF7uIEpuoMQjm0H+5e281892F0gcuptX2QUMPIJYdkRu4BLfgrgHRTwOZD/WK nNhU7VrMUc0KBY9kWhWSYJBjHE7CmxFHbgX922n2XzBL73DpydwGOLYTP6fNIZFQR0GZ 4glKio1n5lbZZvWNpLn3SlXLHJCt2Z7JIc71JsYxIGA2r7rgv/It6/T0pUvb+8S9bbvO x/qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9mIHULBX1kVwtTwodZcHYwSmmtg1NerNJ6YRELoeZbs=; b=OncF/IoApuw28e4Eh8TZFPVkfTHGu6tg63N9z8ekjRnCrLjdbzB8jDsddfNS6q8Ago gADZ72nPFtpN9EVptf7T+7U2DodZPFONHNvB0LVlLXd7xGCA1JDNKtFhM5F6i/wPmwS1 b4q62990bGJ2hT2nwQuorS11xbo5rMszbD4S3BSN27f7rZVhV+gGOqn2dhTBCAXjkwCD /aNwPWb3o4wb7km89+Gn7UJ3LJslDwHmTvoy3FVR/GgpA+EUrr2MW+SWX0jhkPvROiDP fddaPyLWfodrZxgzsunPJWII/ODlHpVksYaeY1ZL9tIx5JWWQ4A7Wwj+XbmJoKF2AaZO BV6w== X-Gm-Message-State: ABuFfogN/K9eE7Qak91RpzeMAyvc9ffqlLY9Pr4vnUpZy3tjBXbBsAZG WEHVODFncnofjhOiqIOKC6VKqR0VnuyzTE4o6a9Lfg== X-Google-Smtp-Source: ACcGV6248mDexwkUBIAGL9LrKwjM5xJbv162K5jpqnZafffvRm2Mlh1/tMaHrYBQRcyI6tE2SnUGAHv5EFLuRIl71UU= X-Received: by 2002:a6b:e715:: with SMTP id b21-v6mr4537243ioh.37.1538658474822; Thu, 04 Oct 2018 06:07:54 -0700 (PDT) MIME-Version: 1.0 References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <20181004084411.GA50348@FreeBSD.org> In-Reply-To: <20181004084411.GA50348@FreeBSD.org> From: Warner Losh Date: Thu, 4 Oct 2018 07:07:43 -0600 Message-ID: Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers To: Alexey Dokuchaev Cc: Brooks Davis , FreeBSD Net , freebsd-fcp@freebsd.org, FreeBSD-STABLE Mailing List , "freebsd-arch@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 13:07:56 -0000 On Thu, Oct 4, 2018 at 2:45 AM Alexey Dokuchaev wrote: > Looking at the commits they require near zero maintenance. What exactly > is the burden here? > I believe that characterization is incorrect. There's a burden. And it's death of a thousand cuts. And many of those cuts have been inflicted on brooks@. Most of these drivers have had dozens or hundreds of commits each over the years to keep up with the API changes. This acts as a tax on innovation because it's such a pain in the back side to change all the drivers in the tree. I did a back of the envelope computation that this is on the order of hundreds of hours of time, spread across all the drivers over all the years we've supported them. Some of these drivers are clearly unused, and so that's 100% wasted effort. Most of these drivers are on machines that most likely won't be able to run 13.0 well when it comes out in 2 years due to increased memory demands that it will almost certainly have. The declining use means we anticipate that if we were to maintain them until 13, it would be wasted effort for at least some on the list. That's why that one way to get the driver off the list is to convert to iflib. That greatly reduces the burden by centralizing all the stupid, common things of a driver so that we only have to change one place, not dozens. At the root of this problem is the community's long resistance to having data reported back to the project data about the machines running FreeBSD. Absent any real and significant data, the only way to know if things are unused is to ask. We cannot have the act of merely asking cause people to freak out and hurl expletives all over the place. That's significantly not cool. Warner From owner-freebsd-net@freebsd.org Thu Oct 4 13:59:51 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AFA6310AB5B1; Thu, 4 Oct 2018 13:59:51 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 41ACC97B84; Thu, 4 Oct 2018 13:59:51 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.55.3]) by phk.freebsd.dk (Postfix) with ESMTP id 109031483F; Thu, 4 Oct 2018 13:59:48 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.15.2/8.15.2) with ESMTPS id w94DxmIW089561 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 4 Oct 2018 13:59:48 GMT (envelope-from phk@critter.freebsd.dk) Received: (from phk@localhost) by critter.freebsd.dk (8.15.2/8.15.2/Submit) id w94Dxlto089560; Thu, 4 Oct 2018 13:59:47 GMT (envelope-from phk) To: Warner Losh cc: Alexey Dokuchaev , freebsd-fcp@freebsd.org, FreeBSD Net , Brooks Davis , FreeBSD-STABLE Mailing List , "freebsd-arch@freebsd.org" Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers In-reply-to: From: "Poul-Henning Kamp" References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <20181004084411.GA50348@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <89558.1538661587.1@critter.freebsd.dk> Content-Transfer-Encoding: quoted-printable Date: Thu, 04 Oct 2018 13:59:47 +0000 Message-ID: <89559.1538661587@critter.freebsd.dk> X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 13:59:51 -0000 -------- In message , Warner Losh writes: >Most of these drivers have had dozens or hundreds of commits each over th= e >years to keep up with the API changes. This acts as a tax on innovation >because it's such a pain in the back side to change all the drivers in th= e >tree. As one who has been there, a couple of times: SECONDED! It is particular unpleasant when you have no way to test the changes. -- = Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe = Never attribute to malice what can adequately be explained by incompetence= . From owner-freebsd-net@freebsd.org Thu Oct 4 14:26:53 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 27A9810AC536; Thu, 4 Oct 2018 14:26:53 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [18.222.6.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.soaustin.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D0A9870EAB; Thu, 4 Oct 2018 14:26:52 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from lonesome.com (unknown [18.188.142.31]) by mail.soaustin.net (Postfix) with ESMTPSA id F052016E65; Thu, 4 Oct 2018 14:26:45 +0000 (UTC) Date: Thu, 4 Oct 2018 14:26:44 +0000 From: Mark Linimon To: Alexey Dokuchaev Cc: Brooks Davis , freebsd-net@freebsd.org, freebsd-fcp@freebsd.org, freebsd-stable@freebsd.org, freebsd-arch@freebsd.org Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers Message-ID: <20181004142644.GA17270@lonesome.com> References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <20181004084411.GA50348@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181004084411.GA50348@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 14:26:53 -0000 On Thu, Oct 04, 2018 at 08:44:11AM +0000, Alexey Dokuchaev wrote: > OK I guess I can understand removing 10 (I personally haven't seen > one in a very long time) but 100 are omnipresent and most of my NICs > are in fact 100. Sigh. If you really plan to still be using i386 and 10/100 ether in 2024, perhaps you should consider NetBSD. You can buy used core i5 laptops for around $20 if you shop around. mcl From owner-freebsd-net@freebsd.org Thu Oct 4 14:38:52 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5FFC010ACC26; Thu, 4 Oct 2018 14:38:52 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-TO1-obe.outbound.protection.outlook.com (mail-eopbgr670084.outbound.protection.outlook.com [40.107.67.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F02F771656; Thu, 4 Oct 2018 14:38:51 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YTOPR0101MB1820.CANPRD01.PROD.OUTLOOK.COM (52.132.44.160) by YTOPR0101MB1980.CANPRD01.PROD.OUTLOOK.COM (52.132.50.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.23; Thu, 4 Oct 2018 14:38:49 +0000 Received: from YTOPR0101MB1820.CANPRD01.PROD.OUTLOOK.COM ([fe80::65af:417a:161f:f4eb]) by YTOPR0101MB1820.CANPRD01.PROD.OUTLOOK.COM ([fe80::65af:417a:161f:f4eb%3]) with mapi id 15.20.1207.021; Thu, 4 Oct 2018 14:38:49 +0000 From: Rick Macklem To: Warner Losh , Alexey Dokuchaev CC: "freebsd-fcp@freebsd.org" , FreeBSD Net , Brooks Davis , FreeBSD-STABLE Mailing List , "freebsd-arch@freebsd.org" Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers Thread-Topic: FCP-0101: Deprecating most 10/100 Ethernet drivers Thread-Index: AQHUW75rx+tO2i59GUe7XUN0ESb1HKUPDvyAgAAYPpE= Date: Thu, 4 Oct 2018 14:38:49 +0000 Message-ID: References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <20181004084411.GA50348@FreeBSD.org>, In-Reply-To: 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=rmacklem@uoguelph.ca; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; YTOPR0101MB1980; 6:kV5ZB4JSEYRVf3zHXpxavNILmzqqRhPIFGsfl390ay3wuf3q8bqHLuteczFawiXlbJZgHIJ4D4KiCQOMIYy3m+dYD28nQNO22AGpglBeqXkBDNuhC5jUsx44UbV82m2dnI6YoISNINVGjdxJxZtqcoKmzNU6KpOf9/Ft8ALI/90mWeuWxo0U7X9qbkPiCSnud4rqLWGZad1SAewCm2uBewvphu3EuN59oR0Lp45d7077W38jTinPGs0zh62xOfPY0BtF8PnFzfHz66Ej5AaTemuYnBH/yNRa40npZNEGooq3dNYgwo9Eykj7XU/QukJWdQYA57c6WMftc2JQEL53nXY2a7vgu/usmW4ywzzr7AwPkuea/J5VjFTYMDFbPL5gVTcFyxh4GjTYOI3lOfP5Fr1JSr1mz3IQXJYtXuPGepXA3pgK/5CHe3UbaaMSoehVyIYiBUpEWcjyIzpyzkVIxA==; 5:VVHaBrd/Xo8/C+Fm+Eqbl4byLGis9Bd3HGB6pnFaag9dNGpqh/JHPfRNseiOk2EQcLc3R8gG5jC5OfHRczAvw+XktzX+/ah9tva9iPr4dLk7GSaZKIz+r3nQ+gvulhOQFm/5AA0ci0xdOVcJ1dCamAzIRFRc6iDanVShO9eJbkk=; 7:oNvWsvNBq41VxbUuEwoY5300e0XIc7nt/NbAsCIxf/z6YwX2BmPBiWITE8e3wyUTIpmqYXd/8fcP01PQVpzD4iPxaw/QEZXS4MzXWtw5s3HB49pLcOGBDeBPCo3nHT4KjiQo3JwWZUSxRXy8lPGnUdibt8Q0QRRjPy9qfgk5PwPThRztCVAV9rhf2ICKvjCubDy/PpoMSIA2XIrcA12yIKRUx9jseRkN0u8jAi1SskTcnIE4MHCWkp/RS6sm0z2Z x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: f3cfb827-9c8d-42a7-de02-08d62a071946 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:YTOPR0101MB1980; x-ms-traffictypediagnostic: YTOPR0101MB1980: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(3231355)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(149066)(150057)(6041310)(20161123560045)(20161123558120)(20161123562045)(201703131423095)(201702281529075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(201708071742011)(7699051); SRVR:YTOPR0101MB1980; BCL:0; PCL:0; RULEID:; SRVR:YTOPR0101MB1980; x-forefront-prvs: 0815F8251E x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(366004)(396003)(39860400002)(376002)(346002)(189003)(199004)(55016002)(71200400001)(71190400001)(256004)(5660300001)(46003)(6506007)(478600001)(53936002)(97736004)(33656002)(86362001)(186003)(54906003)(110136005)(6436002)(5250100002)(102836004)(9686003)(229853002)(14454004)(99286004)(106356001)(25786009)(6246003)(2900100001)(4326008)(105586002)(8676002)(81166006)(81156014)(305945005)(8936002)(476003)(68736007)(2906002)(74316002)(7696005)(76176011)(446003)(486006)(11346002)(786003)(74482002)(316002); DIR:OUT; SFP:1101; SCL:1; SRVR:YTOPR0101MB1980; H:YTOPR0101MB1820.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) x-microsoft-antispam-message-info: dUiyQ2ENIUTCNV/XbdypwGDzOVtIuOzFqyn2XBZRtT/adkv3RQjoRbq5D3CkAMr4oATDrDQg9Mqa1yQ9SiEuXudftgsq4jt6Hh81gYKKvg1BeMeH3SNIlZaUhOeebJZfymZarU85duc8XIu2yUf2/i5OPsyxnygBBsaK7fr/Cl5DBaZFSXckAOMu5IxE02Fq11lvBDGFlBLRXOu35HtbYpFy3icXOATqClKrXbq2XD666Hxhb7hjaaCCqmIFiWVqR4OqnHj38zdOgvJ6xYKCwmlL7IvVORNtGipz92gnYoV5JZ+951g/Bt3wRsDJQME5mxJ5P5MWo4m1FLIA0FeHrOgSlH42F2aLdtH4rgM7C4k= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-Network-Message-Id: f3cfb827-9c8d-42a7-de02-08d62a071946 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Oct 2018 14:38:49.6125 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-Transport-CrossTenantHeadersStamped: YTOPR0101MB1980 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 14:38:52 -0000 Warner Losh wrote: [lots of stuff snipped] >That's why that one way to get the driver off the list is to convert to >iflib. That greatly reduces the burden by centralizing all the stupid, >common things of a driver so that we only have to change one place, not >dozens. I can probably do this for bfe and fxp, since I have both. Can someone suggest a good example driver that has already been converted, so I can see what needs to be done? Again, I don't care if they stay in the current/head tree. [more stuff snipped] rick From owner-freebsd-net@freebsd.org Thu Oct 4 14:40:12 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0644D10ACD52; Thu, 4 Oct 2018 14:40:12 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ABE727183D; Thu, 4 Oct 2018 14:40:11 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id A3C634C48; Thu, 4 Oct 2018 14:40:11 +0000 (UTC) Date: Thu, 4 Oct 2018 14:40:11 +0000 From: Alexey Dokuchaev To: Mark Linimon Cc: Brooks Davis , freebsd-net@freebsd.org, freebsd-fcp@freebsd.org, freebsd-stable@freebsd.org, freebsd-arch@freebsd.org Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers Message-ID: <20181004144011.GA70537@FreeBSD.org> References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <20181004084411.GA50348@FreeBSD.org> <20181004142644.GA17270@lonesome.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181004142644.GA17270@lonesome.com> User-Agent: Mutt/1.9.5 (2018-04-13) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 14:40:12 -0000 On Thu, Oct 04, 2018 at 02:26:44PM +0000, Mark Linimon wrote: > On Thu, Oct 04, 2018 at 08:44:11AM +0000, Alexey Dokuchaev wrote: > > OK I guess I can understand removing 10 (I personally haven't seen > > one in a very long time) but 100 are omnipresent and most of my NICs > > are in fact 100. > > Sigh. If you really plan to still be using i386 and 10/100 ether in > 2024, perhaps you should consider NetBSD. I don't quite understand why are you grouping 10/100 vs. 1000 rather than 10 vs. 100/1000. ./danfe From owner-freebsd-net@freebsd.org Thu Oct 4 14:43:46 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1AB1010AD28A for ; Thu, 4 Oct 2018 14:43:46 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it1-x135.google.com (mail-it1-x135.google.com [IPv6:2607:f8b0:4864:20::135]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6476971EBE for ; Thu, 4 Oct 2018 14:43:45 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it1-x135.google.com with SMTP id c23-v6so13413895itd.5 for ; Thu, 04 Oct 2018 07:43:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mSYsp+MPBtH1sN6OJmBg072JbNMsaRf5Beq+czvHypk=; b=ZBEO2NPYh/v1rzdKzuHejRB8k5+Ijmf7/pmNPfFnQVFfdJ0Duy9YC88iIpn/SctkOe z8s1CpvFycrm66y2Ewy4JHH6X1BU2AV1bXO5u6Oxm1ihyQXDzOlYm8RCBpVrvSfAwQzS +L1NQveWIx5pJCXYrN6ctGi9AgOWg4WYN4q+J0j2lXrlkopNOg2yd+63Wcuux/wWAEb7 PLSTzHMFlLx5zcs5pYfciIDh9gXKkZ7vGgcHLZtD8rsCBjDqCDdZOD8iDuhZeuqLS4Ny ntQe/jZe+F96/uqUB9w0gvAKuvyXpjSiwDnDYUXBPAnzjrMCUHKU+Hb/uP3EcZVXEyu2 qSeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mSYsp+MPBtH1sN6OJmBg072JbNMsaRf5Beq+czvHypk=; b=YD4l7ieKqESydpcOzvLvx+AOL18P5BnqBibDD51l7yyC6LEOR0gauL42hqoqUgtOlm 5mxsthdae6Y652ciWejmlNdRGRyTtCE0I8mCNoUtccp4uiD0jb5dAcNqgaOKdQ4BPkXP w8UsocjiugnFv5kievCIFYjs68TaEbXUCXdG91/clgfOUaJQAcu/jIgytprnsClu167z SCj2Fghub+rzyip4yINyLy3Sg81jTvSufzjRMQlaRRuS9/YWGa9SacGb8GcADlObPo/6 g0V036T/N3RsKU1j/0S0L3QIB6s2b5XEidu9A9Fx8Z6iPwJXam60f9ctM5bvpmw7i0Sm O+PQ== X-Gm-Message-State: ABuFfohpNnW7OOEwyMOjMo+EZeH7jf8108UMSc52JEkWo6As2xMjLGJ6 uwyjtmkyLHuPRaR7ajNuDoBH3eeLF6egmlSX52VLyg== X-Google-Smtp-Source: ACcGV63dyT9JCR5N2bY1kW5S8iBZXUw3ujeb8lY6FkIB/7qZkioiIT9k/RW6lAfiJ5Almsu8IDcO4OPa3FFFZQqUp8I= X-Received: by 2002:a24:1c94:: with SMTP id c142-v6mr5269918itc.75.1538664224668; Thu, 04 Oct 2018 07:43:44 -0700 (PDT) MIME-Version: 1.0 References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <20181004084411.GA50348@FreeBSD.org> <20181004142644.GA17270@lonesome.com> <20181004144011.GA70537@FreeBSD.org> In-Reply-To: <20181004144011.GA70537@FreeBSD.org> From: Warner Losh Date: Thu, 4 Oct 2018 08:43:33 -0600 Message-ID: Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers To: Alexey Dokuchaev Cc: Mark Linimon , freebsd-fcp@freebsd.org, FreeBSD Net , FreeBSD-STABLE Mailing List , "freebsd-arch@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 14:43:46 -0000 On Thu, Oct 4, 2018 at 8:40 AM Alexey Dokuchaev wrote: > On Thu, Oct 04, 2018 at 02:26:44PM +0000, Mark Linimon wrote: > > On Thu, Oct 04, 2018 at 08:44:11AM +0000, Alexey Dokuchaev wrote: > > > OK I guess I can understand removing 10 (I personally haven't seen > > > one in a very long time) but 100 are omnipresent and most of my NICs > > > are in fact 100. > > > > Sigh. If you really plan to still be using i386 and 10/100 ether in > > 2024, perhaps you should consider NetBSD. > > I don't quite understand why are you grouping 10/100 vs. 1000 rather than > 10 vs. 100/1000. > As far as I know, none of the drivers listed could do 1Gbps. They were all specifically 10Mbps or 10/100Mbps. Support for 10Mbps or 100Mbps isn't being removed from the tree: there's still dozens of GigE drivers that can do those speeds that have PCI or better bus attachments. Warner From owner-freebsd-net@freebsd.org Thu Oct 4 15:03:42 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C13CC10ADFCE for ; Thu, 4 Oct 2018 15:03:42 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 518A172D15 for ; Thu, 4 Oct 2018 15:03:42 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: by mailman.ysv.freebsd.org (Postfix) id 166B810ADFCD; Thu, 4 Oct 2018 15:03:42 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E894810ADFCC for ; Thu, 4 Oct 2018 15:03:41 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5458F72D13; Thu, 4 Oct 2018 15:03:41 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id w94F3ZKO006706; Thu, 4 Oct 2018 08:03:38 -0700 (PDT) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id w94F3Yim006705; Thu, 4 Oct 2018 08:03:34 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201810041503.w94F3Yim006705@pdx.rh.CN85.dnsmgr.net> Subject: Re: vale and netmap module questions In-Reply-To: To: Vincenzo Maffione Date: Thu, 4 Oct 2018 08:03:34 -0700 (PDT) CC: "K. Macy" , Luigi Rizzo , "freebsd-net@freebsd.org" X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 15:03:43 -0000 > Hi, > I fixed this upstream in this commit > https://github.com/luigirizzo/netmap/commit/282f404ccb4fc777056a591127060e29657c9ab7 > I will apply the change into FreeBSD as soon as HEAD thaws. This appears to be a man page change only, please do submit that to re@freebsd.org to be committed now. Thanks, Rod > Cheers, > Vincenzo > > Il giorno gio 4 ott 2018 alle ore 00:36 K. Macy ha > scritto: > > > On Fri, Aug 31, 2018 at 6:50 PM John-Mark Gurney wrote: > > > > > > First, does vale work for anyone? At least one of the documented > > > commands in vale(4) does not work. > > > > > The documentation with respect to naming is wrong. I didn't have a bit > > when I was using it so never got around to fixing it. > > > > > > > After manually building the netmap module and loading it: > > > # tcpdump -ni vale-a:1 > > > 313.748851 nm_open [947] invalid bridge name vale-a:1 > > > tcpdump: netmap open: cannot access vale-a:1: Invalid argument > > > > > > If I run tcpdump with a more correct looking name of vale1:a, I get a > > > null deref panic in ifunit_ref. Full trace is at the end. > > > > > > Second, is there a good reason why the netmap module is still > > > disconnected from being built as a module? I guess not working > > > would be one, but I figure the above might be an aarch64 specific > > > problem, and not a general issue. > > > > > > FreeBSD generic 12.0-ALPHA3 FreeBSD 12.0-ALPHA3 #0 r338296M: Sat Aug 25 > > 06:17:25 UTC 2018 freebsd@generic:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC > > arm64 > > > > > > netmap: loaded module > > > Fatal data abort: > > > x0: ffff00005894f900 > > > x1: ffff000040351028 > > > x2: 5 > > > x3: ffff0000405e4090 > > > x4: 4000 > > > x5: 0 > > > x6: 0 > > > x7: ffff000040351cb0 > > > x8: 0 > > > x9: ffff000000a09960 > > > x10: ffff00005894f908 > > > x11: 0 > > > x12: 1 > > > x13: fffffcffc0000000 > > > x14: 3 > > > x15: 10000 > > > x16: ffff00005cd35580 > > > x17: ffff000000476de0 > > > x18: ffff000040351010 > > > x19: ffff000040351160 > > > x20: fffffd000739798e > > > x21: ffff000000a02000 > > > x22: 1 > > > x23: 0 > > > x24: fffffd0007397988 > > > x25: 0 > > > x26: 1 > > > x27: 0 > > > x28: fffffd0007397982 > > > x29: ffff000040351050 > > > sp: ffff000040351010 > > > lr: ffff000000476e0c > > > elr: ffff000000476e1c > > > spsr: 60000345 > > > far: 28 > > > esr: 96000007 > > > [ thread pid 802 tid 100096 ] > > > Stopped at ifunit_ref+0x3c: ldr x8, [x8, #40] > > > db> bt > > > Tracing pid 802 tid 100096 td 0xfffffd0007422000 > > > db_trace_self() at db_stack_trace+0xf0 > > > pc = 0xffff00000069b81c lr = 0xffff0000000d6b28 > > > sp = 0xffff000040350920 fp = 0xffff000040350950 > > > > > > db_stack_trace() at db_command+0x220 > > > pc = 0xffff0000000d6b28 lr = 0xffff0000000d67ac > > > sp = 0xffff000040350960 fp = 0xffff000040350a40 > > > > > > db_command() at db_command_loop+0x60 > > > pc = 0xffff0000000d67ac lr = 0xffff0000000d6570 > > > sp = 0xffff000040350a50 fp = 0xffff000040350a70 > > > > > > db_command_loop() at db_trap+0xf4 > > > pc = 0xffff0000000d6570 lr = 0xffff0000000d9694 > > > sp = 0xffff000040350a80 fp = 0xffff000040350ca0 > > > > > > db_trap() at kdb_trap+0x1d8 > > > pc = 0xffff0000000d9694 lr = 0xffff0000003cdf70 > > > sp = 0xffff000040350cb0 fp = 0xffff000040350d60 > > > > > > kdb_trap() at data_abort+0x1e0 > > > pc = 0xffff0000003cdf70 lr = 0xffff0000006b5ca4 > > > sp = 0xffff000040350d70 fp = 0xffff000040350e20 > > > > > > data_abort() at do_el1h_sync+0x11c > > > pc = 0xffff0000006b5ca4 lr = 0xffff0000006b59c0 > > > sp = 0xffff000040350e30 fp = 0xffff000040350e60 > > > > > > do_el1h_sync() at handle_el1h_sync+0x74 > > > pc = 0xffff0000006b59c0 lr = 0xffff00000069d874 > > > sp = 0xffff000040350e70 fp = 0xffff000040350f80 > > > > > > handle_el1h_sync() at ifunit_ref+0x28 > > > pc = 0xffff00000069d874 lr = 0xffff000000476e08 > > > sp = 0xffff000040350f90 fp = 0xffff000040351050 > > > > > > ifunit_ref() at netmap_get_bdg_na+0x194 > > > pc = 0xffff000000476e08 lr = 0xffff00005cd20b24 > > > sp = 0xffff000040351060 fp = 0xffff0000403510c0 > > > > > > netmap_get_bdg_na() at netmap_get_na+0x1b0 > > > pc = 0xffff00005cd20b24 lr = 0xffff00005cd15994 > > > sp = 0xffff0000403510d0 fp = 0xffff000040351120 > > > > > > netmap_get_na() at netmap_ioctl+0xcd0 > > > pc = 0xffff00005cd15994 lr = 0xffff00005cd18160 > > > sp = 0xffff000040351130 fp = 0xffff0000403511f0 > > > > > > netmap_ioctl() at netmap_ioctl_legacy+0x4b8 > > > pc = 0xffff00005cd18160 lr = 0xffff00005cd2b188 > > > sp = 0xffff000040351200 fp = 0xffff0000403515b0 > > > > > > netmap_ioctl_legacy() at netmap_ioctl+0x15c > > > pc = 0xffff00005cd2b188 lr = 0xffff00005cd175ec > > > sp = 0xffff0000403515c0 fp = 0xffff000040351680 > > > > > > netmap_ioctl() at freebsd_netmap_ioctl+0x4c > > > pc = 0xffff00005cd175ec lr = 0xffff00005cd25f94 > > > sp = 0xffff000040351690 fp = 0xffff0000403516b0 > > > > > > freebsd_netmap_ioctl() at devfs_ioctl+0xc4 > > > pc = 0xffff00005cd25f94 lr = 0xffff00000025f1ac > > > sp = 0xffff0000403516c0 fp = 0xffff000040351700 > > > > > > devfs_ioctl() at VOP_IOCTL_APV+0xa8 > > > pc = 0xffff00000025f1ac lr = 0xffff0000006ef704 > > > sp = 0xffff000040351710 fp = 0xffff000040351730 > > > > > > VOP_IOCTL_APV() at vn_ioctl+0x110 > > > pc = 0xffff0000006ef704 lr = 0xffff00000045c828 > > > sp = 0xffff000040351740 fp = 0xffff000040351840 > > > > > > vn_ioctl() at devfs_ioctl_f+0x24 > > > pc = 0xffff00000045c828 lr = 0xffff00000025f818 > > > sp = 0xffff000040351850 fp = 0xffff000040351860 > > > > > > devfs_ioctl_f() at kern_ioctl+0x358 > > > pc = 0xffff00000025f818 lr = 0xffff0000003f130c > > > sp = 0xffff000040351870 fp = 0xffff0000403518c0 > > > > > > kern_ioctl() at sys_ioctl+0x15c > > > pc = 0xffff0000003f130c lr = 0xffff0000003f0f64 > > > sp = 0xffff0000403518d0 fp = 0xffff0000403519a0 > > > > > > sys_ioctl() at do_el0_sync+0x4b8 > > > pc = 0xffff0000003f0f64 lr = 0xffff0000006b61f8 > > > sp = 0xffff0000403519b0 fp = 0xffff000040351a70 > > > > > > do_el0_sync() at handle_el0_sync+0x84 > > > pc = 0xffff0000006b61f8 lr = 0xffff00000069da00 > > > sp = 0xffff000040351a80 fp = 0xffff000040351b90 > > > > > > handle_el0_sync() at 0x401996f4 > > > pc = 0xffff00000069da00 lr = 0x00000000401996f4 > > > sp = 0xffff000040351ba0 fp = 0x0000ffffffffe2f0 > > > > > > Line number maps: > > > (kgdb) list *ifunit_ref+0x28 > > > 0xffff000000476e08 is in ifunit_ref (/usr/src/sys/net/if.c:2417). > > > 2412 struct ifnet * > > > 2413 ifunit_ref(const char *name) > > > 2414 { > > > 2415 struct ifnet *ifp; > > > 2416 > > > 2417 IFNET_RLOCK_NOSLEEP(); > > > 2418 CK_STAILQ_FOREACH(ifp, &V_ifnet, if_link) { > > > 2419 if (strncmp(name, ifp->if_xname, IFNAMSIZ) == 0 > > && > > > 2420 !(ifp->if_flags & IFF_DYING)) > > > 2421 break; > > > > > > Following look to be correct, but modules don't build by default w/ > > > debug symbols, so I had to rebuild the module... > > > > > > Reading symbols from > > /usr/obj/usr/src/arm64.aarch64/sys/modules/netmap/netmap.kld...done. > > > (kgdb) list *netmap_get_bdg_na+0x194 > > > 0xcb18 is in netmap_get_bdg_na > > (/usr/src/sys/dev/netmap/netmap_vale.c:931). > > > 926 /* > > > 927 * try see if there is a matching NIC with this name > > > 928 * (after the bridge's name) > > > 929 */ > > > 930 ifname = nr_name + b->bdg_namelen + 1; > > > 931 ifp = ifunit_ref(ifname); > > > 932 if (!ifp) { > > > 933 /* Create an ephemeral virtual port. > > > 934 * This block contains all the > > ephemeral-specific logic. > > > 935 */ > > > (kgdb) list *netmap_get_na+0x1b0 > > > 0x1994 is in netmap_get_na (/usr/src/sys/dev/netmap/netmap.c:1538). > > > 1533 error = netmap_get_pipe_na(hdr, na, nmd, create); > > > 1534 if (error || *na != NULL) > > > 1535 goto out; > > > 1536 > > > 1537 /* try to see if this is a bridge port */ > > > 1538 error = netmap_get_bdg_na(hdr, na, nmd, create); > > > 1539 if (error) > > > 1540 goto out; > > > 1541 > > > 1542 if (*na != NULL) /* valid match in netmap_get_bdg_na() */ > > > > > > Thanks. > > > > > > -- > > > John-Mark Gurney Voice: +1 415 225 5579 > > > > > > "All that I will do, has been done, All that I have, has not." > > > _______________________________________________ > > > 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" > > > > > -- > Vincenzo > _______________________________________________ > 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" > -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-net@freebsd.org Thu Oct 4 15:05:27 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2719810AE060 for ; Thu, 4 Oct 2018 15:05:27 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7FEB572E03 for ; Thu, 4 Oct 2018 15:05:26 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 4196410AE05F; Thu, 4 Oct 2018 15:05:26 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F297C10AE05D for ; Thu, 4 Oct 2018 15:05:25 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8DCDC72E01; Thu, 4 Oct 2018 15:05:25 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-qt1-x834.google.com with SMTP id q41-v6so10193991qtq.10; Thu, 04 Oct 2018 08:05:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qSTAwMsCFWpfuaH5AVsfQyfJYbtzhkCyo/oObqqvOQ8=; b=m2JpLVod+4P25vfcmuzHiM67jNEqvkahVXEICrgUFkQbPIA/qhmumFjvtOzImV8Cf1 fKFkWgBkz4UQ22KYNlfnMyhfzTM0v05oEQlafYu/yeC0aTV4oRlMr0qPcUu8TThbG7Tw pcQK20klHAwHXqq7F+Spx8y70qjbZHjw6lIXhBzSMO5cg9TnbU3DgPtfAkm1pPcbBI9p J1zQGqtw9yf+UMxlSba2cqt8GxXcmsToGmLRLSQSGDQ5+dwrtI36eETpQukkbLRcDQ5a 6VRbZ3nTB9XzgTp19RX6shQdpQ3qZuYg/A2uJW4+hFtdZcvFdU6lTqPRyH8INx9P5MvZ QVRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qSTAwMsCFWpfuaH5AVsfQyfJYbtzhkCyo/oObqqvOQ8=; b=edgsbJSpYuredTwb+unm1H7du6CzSMEO8eAPSI0xPIdqsZ7814oFcWAjBKGdGm+nMe EfayY8bYhJRmJAvGQfV1E+7gaE9olNx6TdzCuWOd+nKsjnYjsq8QVKHBiJ7zsG7S2eo7 t04S+388bgElLT976Nhoi9gc6eI82J97Uo3hCKblBgUwgz+4M3DWcnB2Yr0xUhEHLG5u WkPzcWzletqZrIA/9zPp3Q0lOgGBZNasD92JWTdVtACnoTTK3bDhE61fy05eVWIjARqm Z2MtGpCI9vZ/3zvuiz5HBseuKrHIyMtTomlIGVp5mJCvnma6H+VhUCRYZA5VmG3KbA8z CYHQ== X-Gm-Message-State: ABuFfohANb8B2JxmdqPlT9ju9XB4k/xt4Aq1t9P8896h4V357E3IQ063 URgaD/Yq++GjKwOXlsBNj8IXrT5VDAlc4YFuT+g= X-Google-Smtp-Source: ACcGV61g0KEZsxDIym/eNER0laYeXvam8yMzvA6QkzxWoQPitKB8lwh6H1CP3NQMnMuo7PbWgqELWOX/QpVqmal2XCU= X-Received: by 2002:ac8:36c8:: with SMTP id b8-v6mr5920808qtc.49.1538665524834; Thu, 04 Oct 2018 08:05:24 -0700 (PDT) MIME-Version: 1.0 References: <201810041503.w94F3Yim006705@pdx.rh.CN85.dnsmgr.net> In-Reply-To: <201810041503.w94F3Yim006705@pdx.rh.CN85.dnsmgr.net> From: Vincenzo Maffione Date: Thu, 4 Oct 2018 17:05:12 +0200 Message-ID: Subject: Re: vale and netmap module questions To: freebsd-rwg@pdx.rh.cn85.dnsmgr.net Cc: "K. Macy" , Luigi Rizzo , "freebsd-net@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 15:05:27 -0000 Hi Rodney, Sure. Is there a specific procedure for this, or should I just send the .diff to re@freebsd.org? Thanks, Vincenzo Il giorno gio 4 ott 2018 alle ore 17:03 Rodney W. Grimes < freebsd-rwg@pdx.rh.cn85.dnsmgr.net> ha scritto: > > Hi, > > I fixed this upstream in this commit > > > https://github.com/luigirizzo/netmap/commit/282f404ccb4fc777056a591127060e29657c9ab7 > > I will apply the change into FreeBSD as soon as HEAD thaws. > > This appears to be a man page change only, > please do submit that to re@freebsd.org to be > committed now. > > Thanks, > Rod > > > Cheers, > > Vincenzo > > > > Il giorno gio 4 ott 2018 alle ore 00:36 K. Macy ha > > scritto: > > > > > On Fri, Aug 31, 2018 at 6:50 PM John-Mark Gurney > wrote: > > > > > > > > First, does vale work for anyone? At least one of the documented > > > > commands in vale(4) does not work. > > > > > > > The documentation with respect to naming is wrong. I didn't have a bit > > > when I was using it so never got around to fixing it. > > > > > > > > > > After manually building the netmap module and loading it: > > > > # tcpdump -ni vale-a:1 > > > > 313.748851 nm_open [947] invalid bridge name vale-a:1 > > > > tcpdump: netmap open: cannot access vale-a:1: Invalid argument > > > > > > > > If I run tcpdump with a more correct looking name of vale1:a, I get a > > > > null deref panic in ifunit_ref. Full trace is at the end. > > > > > > > > Second, is there a good reason why the netmap module is still > > > > disconnected from being built as a module? I guess not working > > > > would be one, but I figure the above might be an aarch64 specific > > > > problem, and not a general issue. > > > > > > > > FreeBSD generic 12.0-ALPHA3 FreeBSD 12.0-ALPHA3 #0 r338296M: Sat Aug > 25 > > > 06:17:25 UTC 2018 freebsd@generic > :/usr/obj/usr/src/arm64.aarch64/sys/GENERIC > > > arm64 > > > > > > > > netmap: loaded module > > > > Fatal data abort: > > > > x0: ffff00005894f900 > > > > x1: ffff000040351028 > > > > x2: 5 > > > > x3: ffff0000405e4090 > > > > x4: 4000 > > > > x5: 0 > > > > x6: 0 > > > > x7: ffff000040351cb0 > > > > x8: 0 > > > > x9: ffff000000a09960 > > > > x10: ffff00005894f908 > > > > x11: 0 > > > > x12: 1 > > > > x13: fffffcffc0000000 > > > > x14: 3 > > > > x15: 10000 > > > > x16: ffff00005cd35580 > > > > x17: ffff000000476de0 > > > > x18: ffff000040351010 > > > > x19: ffff000040351160 > > > > x20: fffffd000739798e > > > > x21: ffff000000a02000 > > > > x22: 1 > > > > x23: 0 > > > > x24: fffffd0007397988 > > > > x25: 0 > > > > x26: 1 > > > > x27: 0 > > > > x28: fffffd0007397982 > > > > x29: ffff000040351050 > > > > sp: ffff000040351010 > > > > lr: ffff000000476e0c > > > > elr: ffff000000476e1c > > > > spsr: 60000345 > > > > far: 28 > > > > esr: 96000007 > > > > [ thread pid 802 tid 100096 ] > > > > Stopped at ifunit_ref+0x3c: ldr x8, [x8, #40] > > > > db> bt > > > > Tracing pid 802 tid 100096 td 0xfffffd0007422000 > > > > db_trace_self() at db_stack_trace+0xf0 > > > > pc = 0xffff00000069b81c lr = 0xffff0000000d6b28 > > > > sp = 0xffff000040350920 fp = 0xffff000040350950 > > > > > > > > db_stack_trace() at db_command+0x220 > > > > pc = 0xffff0000000d6b28 lr = 0xffff0000000d67ac > > > > sp = 0xffff000040350960 fp = 0xffff000040350a40 > > > > > > > > db_command() at db_command_loop+0x60 > > > > pc = 0xffff0000000d67ac lr = 0xffff0000000d6570 > > > > sp = 0xffff000040350a50 fp = 0xffff000040350a70 > > > > > > > > db_command_loop() at db_trap+0xf4 > > > > pc = 0xffff0000000d6570 lr = 0xffff0000000d9694 > > > > sp = 0xffff000040350a80 fp = 0xffff000040350ca0 > > > > > > > > db_trap() at kdb_trap+0x1d8 > > > > pc = 0xffff0000000d9694 lr = 0xffff0000003cdf70 > > > > sp = 0xffff000040350cb0 fp = 0xffff000040350d60 > > > > > > > > kdb_trap() at data_abort+0x1e0 > > > > pc = 0xffff0000003cdf70 lr = 0xffff0000006b5ca4 > > > > sp = 0xffff000040350d70 fp = 0xffff000040350e20 > > > > > > > > data_abort() at do_el1h_sync+0x11c > > > > pc = 0xffff0000006b5ca4 lr = 0xffff0000006b59c0 > > > > sp = 0xffff000040350e30 fp = 0xffff000040350e60 > > > > > > > > do_el1h_sync() at handle_el1h_sync+0x74 > > > > pc = 0xffff0000006b59c0 lr = 0xffff00000069d874 > > > > sp = 0xffff000040350e70 fp = 0xffff000040350f80 > > > > > > > > handle_el1h_sync() at ifunit_ref+0x28 > > > > pc = 0xffff00000069d874 lr = 0xffff000000476e08 > > > > sp = 0xffff000040350f90 fp = 0xffff000040351050 > > > > > > > > ifunit_ref() at netmap_get_bdg_na+0x194 > > > > pc = 0xffff000000476e08 lr = 0xffff00005cd20b24 > > > > sp = 0xffff000040351060 fp = 0xffff0000403510c0 > > > > > > > > netmap_get_bdg_na() at netmap_get_na+0x1b0 > > > > pc = 0xffff00005cd20b24 lr = 0xffff00005cd15994 > > > > sp = 0xffff0000403510d0 fp = 0xffff000040351120 > > > > > > > > netmap_get_na() at netmap_ioctl+0xcd0 > > > > pc = 0xffff00005cd15994 lr = 0xffff00005cd18160 > > > > sp = 0xffff000040351130 fp = 0xffff0000403511f0 > > > > > > > > netmap_ioctl() at netmap_ioctl_legacy+0x4b8 > > > > pc = 0xffff00005cd18160 lr = 0xffff00005cd2b188 > > > > sp = 0xffff000040351200 fp = 0xffff0000403515b0 > > > > > > > > netmap_ioctl_legacy() at netmap_ioctl+0x15c > > > > pc = 0xffff00005cd2b188 lr = 0xffff00005cd175ec > > > > sp = 0xffff0000403515c0 fp = 0xffff000040351680 > > > > > > > > netmap_ioctl() at freebsd_netmap_ioctl+0x4c > > > > pc = 0xffff00005cd175ec lr = 0xffff00005cd25f94 > > > > sp = 0xffff000040351690 fp = 0xffff0000403516b0 > > > > > > > > freebsd_netmap_ioctl() at devfs_ioctl+0xc4 > > > > pc = 0xffff00005cd25f94 lr = 0xffff00000025f1ac > > > > sp = 0xffff0000403516c0 fp = 0xffff000040351700 > > > > > > > > devfs_ioctl() at VOP_IOCTL_APV+0xa8 > > > > pc = 0xffff00000025f1ac lr = 0xffff0000006ef704 > > > > sp = 0xffff000040351710 fp = 0xffff000040351730 > > > > > > > > VOP_IOCTL_APV() at vn_ioctl+0x110 > > > > pc = 0xffff0000006ef704 lr = 0xffff00000045c828 > > > > sp = 0xffff000040351740 fp = 0xffff000040351840 > > > > > > > > vn_ioctl() at devfs_ioctl_f+0x24 > > > > pc = 0xffff00000045c828 lr = 0xffff00000025f818 > > > > sp = 0xffff000040351850 fp = 0xffff000040351860 > > > > > > > > devfs_ioctl_f() at kern_ioctl+0x358 > > > > pc = 0xffff00000025f818 lr = 0xffff0000003f130c > > > > sp = 0xffff000040351870 fp = 0xffff0000403518c0 > > > > > > > > kern_ioctl() at sys_ioctl+0x15c > > > > pc = 0xffff0000003f130c lr = 0xffff0000003f0f64 > > > > sp = 0xffff0000403518d0 fp = 0xffff0000403519a0 > > > > > > > > sys_ioctl() at do_el0_sync+0x4b8 > > > > pc = 0xffff0000003f0f64 lr = 0xffff0000006b61f8 > > > > sp = 0xffff0000403519b0 fp = 0xffff000040351a70 > > > > > > > > do_el0_sync() at handle_el0_sync+0x84 > > > > pc = 0xffff0000006b61f8 lr = 0xffff00000069da00 > > > > sp = 0xffff000040351a80 fp = 0xffff000040351b90 > > > > > > > > handle_el0_sync() at 0x401996f4 > > > > pc = 0xffff00000069da00 lr = 0x00000000401996f4 > > > > sp = 0xffff000040351ba0 fp = 0x0000ffffffffe2f0 > > > > > > > > Line number maps: > > > > (kgdb) list *ifunit_ref+0x28 > > > > 0xffff000000476e08 is in ifunit_ref (/usr/src/sys/net/if.c:2417). > > > > 2412 struct ifnet * > > > > 2413 ifunit_ref(const char *name) > > > > 2414 { > > > > 2415 struct ifnet *ifp; > > > > 2416 > > > > 2417 IFNET_RLOCK_NOSLEEP(); > > > > 2418 CK_STAILQ_FOREACH(ifp, &V_ifnet, if_link) { > > > > 2419 if (strncmp(name, ifp->if_xname, IFNAMSIZ) > == 0 > > > && > > > > 2420 !(ifp->if_flags & IFF_DYING)) > > > > 2421 break; > > > > > > > > Following look to be correct, but modules don't build by default w/ > > > > debug symbols, so I had to rebuild the module... > > > > > > > > Reading symbols from > > > /usr/obj/usr/src/arm64.aarch64/sys/modules/netmap/netmap.kld...done. > > > > (kgdb) list *netmap_get_bdg_na+0x194 > > > > 0xcb18 is in netmap_get_bdg_na > > > (/usr/src/sys/dev/netmap/netmap_vale.c:931). > > > > 926 /* > > > > 927 * try see if there is a matching NIC with this name > > > > 928 * (after the bridge's name) > > > > 929 */ > > > > 930 ifname = nr_name + b->bdg_namelen + 1; > > > > 931 ifp = ifunit_ref(ifname); > > > > 932 if (!ifp) { > > > > 933 /* Create an ephemeral virtual port. > > > > 934 * This block contains all the > > > ephemeral-specific logic. > > > > 935 */ > > > > (kgdb) list *netmap_get_na+0x1b0 > > > > 0x1994 is in netmap_get_na (/usr/src/sys/dev/netmap/netmap.c:1538). > > > > 1533 error = netmap_get_pipe_na(hdr, na, nmd, create); > > > > 1534 if (error || *na != NULL) > > > > 1535 goto out; > > > > 1536 > > > > 1537 /* try to see if this is a bridge port */ > > > > 1538 error = netmap_get_bdg_na(hdr, na, nmd, create); > > > > 1539 if (error) > > > > 1540 goto out; > > > > 1541 > > > > 1542 if (*na != NULL) /* valid match in > netmap_get_bdg_na() */ > > > > > > > > Thanks. > > > > > > > > -- > > > > John-Mark Gurney Voice: +1 415 225 > 5579 > > > > > > > > "All that I will do, has been done, All that I have, has not." > > > > _______________________________________________ > > > > 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" > > > > > > > > > -- > > Vincenzo > > _______________________________________________ > > 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" > > > > -- > Rod Grimes > rgrimes@freebsd.org > -- Vincenzo From owner-freebsd-net@freebsd.org Thu Oct 4 15:08:08 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2C98110AE224; Thu, 4 Oct 2018 15:08:08 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C7B5973127; Thu, 4 Oct 2018 15:08:07 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id C00C555FA; Thu, 4 Oct 2018 15:08:07 +0000 (UTC) Date: Thu, 4 Oct 2018 15:08:07 +0000 From: Alexey Dokuchaev To: Warner Losh Cc: Mark Linimon , freebsd-fcp@freebsd.org, FreeBSD Net , FreeBSD-STABLE Mailing List , "freebsd-arch@freebsd.org" Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers Message-ID: <20181004150807.GB70537@FreeBSD.org> References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <20181004084411.GA50348@FreeBSD.org> <20181004142644.GA17270@lonesome.com> <20181004144011.GA70537@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.5 (2018-04-13) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 15:08:08 -0000 On Thu, Oct 04, 2018 at 08:43:33AM -0600, Warner Losh wrote: > As far as I know, none of the drivers listed could do 1Gbps. Right. My point was that original proposal put 10/100 drivers into one basket, which is IMHO not fair: 10Mbps cards are rarely seen and used, 100mbps are not, just like 1000bps ones. That said, I'm okay with deorbiting NICs that cannot do more than 10mbps. Cards that can do at least 100mbps should stay. Following up on Ricks' question, seeing a good example of modernization a certain driver would help interested people/hw owners to keep drivers for their cards viable. ./danfe From owner-freebsd-net@freebsd.org Thu Oct 4 15:25:45 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 458BF10AEDA6 for ; Thu, 4 Oct 2018 15:25:45 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id DABFE740E6 for ; Thu, 4 Oct 2018 15:25:44 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: by mailman.ysv.freebsd.org (Postfix) id 9FBB110AEDA3; Thu, 4 Oct 2018 15:25:44 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 65ABF10AEDA1 for ; Thu, 4 Oct 2018 15:25:44 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9B27A740E3; Thu, 4 Oct 2018 15:25:43 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id w94FPenh006804; Thu, 4 Oct 2018 08:25:40 -0700 (PDT) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id w94FPeY0006803; Thu, 4 Oct 2018 08:25:40 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201810041525.w94FPeY0006803@pdx.rh.CN85.dnsmgr.net> Subject: Re: vale and netmap module questions In-Reply-To: To: Vincenzo Maffione Date: Thu, 4 Oct 2018 08:25:40 -0700 (PDT) CC: Luigi Rizzo , "K. Macy" , "freebsd-net@freebsd.org" X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 15:25:45 -0000 > Hi Rodney, > Sure. Is there a specific procedure for this, or should I just send the > .diff to re@freebsd.org? Yes, there is a procedure: https://wiki.freebsd.org/Releng/ChangeRequestGuidelines the specific details for when the release is ^head is towards the bottom. Thanks again, > > Thanks, > Vincenzo > > Il giorno gio 4 ott 2018 alle ore 17:03 Rodney W. Grimes < > freebsd-rwg@pdx.rh.cn85.dnsmgr.net> ha scritto: > > > > Hi, > > > I fixed this upstream in this commit > > > > > https://github.com/luigirizzo/netmap/commit/282f404ccb4fc777056a591127060e29657c9ab7 > > > I will apply the change into FreeBSD as soon as HEAD thaws. > > > > This appears to be a man page change only, > > please do submit that to re@freebsd.org to be > > committed now. > > > > Thanks, > > Rod > > > > > Cheers, > > > Vincenzo > > > > > > Il giorno gio 4 ott 2018 alle ore 00:36 K. Macy ha > > > scritto: > > > > > > > On Fri, Aug 31, 2018 at 6:50 PM John-Mark Gurney > > wrote: > > > > > > > > > > First, does vale work for anyone? At least one of the documented > > > > > commands in vale(4) does not work. > > > > > > > > > The documentation with respect to naming is wrong. I didn't have a bit > > > > when I was using it so never got around to fixing it. > > > > > > > > > > > > > After manually building the netmap module and loading it: > > > > > # tcpdump -ni vale-a:1 > > > > > 313.748851 nm_open [947] invalid bridge name vale-a:1 > > > > > tcpdump: netmap open: cannot access vale-a:1: Invalid argument > > > > > > > > > > If I run tcpdump with a more correct looking name of vale1:a, I get a > > > > > null deref panic in ifunit_ref. Full trace is at the end. > > > > > > > > > > Second, is there a good reason why the netmap module is still > > > > > disconnected from being built as a module? I guess not working > > > > > would be one, but I figure the above might be an aarch64 specific > > > > > problem, and not a general issue. > > > > > > > > > > FreeBSD generic 12.0-ALPHA3 FreeBSD 12.0-ALPHA3 #0 r338296M: Sat Aug > > 25 > > > > 06:17:25 UTC 2018 freebsd@generic > > :/usr/obj/usr/src/arm64.aarch64/sys/GENERIC > > > > arm64 > > > > > > > > > > netmap: loaded module > > > > > Fatal data abort: > > > > > x0: ffff00005894f900 > > > > > x1: ffff000040351028 > > > > > x2: 5 > > > > > x3: ffff0000405e4090 > > > > > x4: 4000 > > > > > x5: 0 > > > > > x6: 0 > > > > > x7: ffff000040351cb0 > > > > > x8: 0 > > > > > x9: ffff000000a09960 > > > > > x10: ffff00005894f908 > > > > > x11: 0 > > > > > x12: 1 > > > > > x13: fffffcffc0000000 > > > > > x14: 3 > > > > > x15: 10000 > > > > > x16: ffff00005cd35580 > > > > > x17: ffff000000476de0 > > > > > x18: ffff000040351010 > > > > > x19: ffff000040351160 > > > > > x20: fffffd000739798e > > > > > x21: ffff000000a02000 > > > > > x22: 1 > > > > > x23: 0 > > > > > x24: fffffd0007397988 > > > > > x25: 0 > > > > > x26: 1 > > > > > x27: 0 > > > > > x28: fffffd0007397982 > > > > > x29: ffff000040351050 > > > > > sp: ffff000040351010 > > > > > lr: ffff000000476e0c > > > > > elr: ffff000000476e1c > > > > > spsr: 60000345 > > > > > far: 28 > > > > > esr: 96000007 > > > > > [ thread pid 802 tid 100096 ] > > > > > Stopped at ifunit_ref+0x3c: ldr x8, [x8, #40] > > > > > db> bt > > > > > Tracing pid 802 tid 100096 td 0xfffffd0007422000 > > > > > db_trace_self() at db_stack_trace+0xf0 > > > > > pc = 0xffff00000069b81c lr = 0xffff0000000d6b28 > > > > > sp = 0xffff000040350920 fp = 0xffff000040350950 > > > > > > > > > > db_stack_trace() at db_command+0x220 > > > > > pc = 0xffff0000000d6b28 lr = 0xffff0000000d67ac > > > > > sp = 0xffff000040350960 fp = 0xffff000040350a40 > > > > > > > > > > db_command() at db_command_loop+0x60 > > > > > pc = 0xffff0000000d67ac lr = 0xffff0000000d6570 > > > > > sp = 0xffff000040350a50 fp = 0xffff000040350a70 > > > > > > > > > > db_command_loop() at db_trap+0xf4 > > > > > pc = 0xffff0000000d6570 lr = 0xffff0000000d9694 > > > > > sp = 0xffff000040350a80 fp = 0xffff000040350ca0 > > > > > > > > > > db_trap() at kdb_trap+0x1d8 > > > > > pc = 0xffff0000000d9694 lr = 0xffff0000003cdf70 > > > > > sp = 0xffff000040350cb0 fp = 0xffff000040350d60 > > > > > > > > > > kdb_trap() at data_abort+0x1e0 > > > > > pc = 0xffff0000003cdf70 lr = 0xffff0000006b5ca4 > > > > > sp = 0xffff000040350d70 fp = 0xffff000040350e20 > > > > > > > > > > data_abort() at do_el1h_sync+0x11c > > > > > pc = 0xffff0000006b5ca4 lr = 0xffff0000006b59c0 > > > > > sp = 0xffff000040350e30 fp = 0xffff000040350e60 > > > > > > > > > > do_el1h_sync() at handle_el1h_sync+0x74 > > > > > pc = 0xffff0000006b59c0 lr = 0xffff00000069d874 > > > > > sp = 0xffff000040350e70 fp = 0xffff000040350f80 > > > > > > > > > > handle_el1h_sync() at ifunit_ref+0x28 > > > > > pc = 0xffff00000069d874 lr = 0xffff000000476e08 > > > > > sp = 0xffff000040350f90 fp = 0xffff000040351050 > > > > > > > > > > ifunit_ref() at netmap_get_bdg_na+0x194 > > > > > pc = 0xffff000000476e08 lr = 0xffff00005cd20b24 > > > > > sp = 0xffff000040351060 fp = 0xffff0000403510c0 > > > > > > > > > > netmap_get_bdg_na() at netmap_get_na+0x1b0 > > > > > pc = 0xffff00005cd20b24 lr = 0xffff00005cd15994 > > > > > sp = 0xffff0000403510d0 fp = 0xffff000040351120 > > > > > > > > > > netmap_get_na() at netmap_ioctl+0xcd0 > > > > > pc = 0xffff00005cd15994 lr = 0xffff00005cd18160 > > > > > sp = 0xffff000040351130 fp = 0xffff0000403511f0 > > > > > > > > > > netmap_ioctl() at netmap_ioctl_legacy+0x4b8 > > > > > pc = 0xffff00005cd18160 lr = 0xffff00005cd2b188 > > > > > sp = 0xffff000040351200 fp = 0xffff0000403515b0 > > > > > > > > > > netmap_ioctl_legacy() at netmap_ioctl+0x15c > > > > > pc = 0xffff00005cd2b188 lr = 0xffff00005cd175ec > > > > > sp = 0xffff0000403515c0 fp = 0xffff000040351680 > > > > > > > > > > netmap_ioctl() at freebsd_netmap_ioctl+0x4c > > > > > pc = 0xffff00005cd175ec lr = 0xffff00005cd25f94 > > > > > sp = 0xffff000040351690 fp = 0xffff0000403516b0 > > > > > > > > > > freebsd_netmap_ioctl() at devfs_ioctl+0xc4 > > > > > pc = 0xffff00005cd25f94 lr = 0xffff00000025f1ac > > > > > sp = 0xffff0000403516c0 fp = 0xffff000040351700 > > > > > > > > > > devfs_ioctl() at VOP_IOCTL_APV+0xa8 > > > > > pc = 0xffff00000025f1ac lr = 0xffff0000006ef704 > > > > > sp = 0xffff000040351710 fp = 0xffff000040351730 > > > > > > > > > > VOP_IOCTL_APV() at vn_ioctl+0x110 > > > > > pc = 0xffff0000006ef704 lr = 0xffff00000045c828 > > > > > sp = 0xffff000040351740 fp = 0xffff000040351840 > > > > > > > > > > vn_ioctl() at devfs_ioctl_f+0x24 > > > > > pc = 0xffff00000045c828 lr = 0xffff00000025f818 > > > > > sp = 0xffff000040351850 fp = 0xffff000040351860 > > > > > > > > > > devfs_ioctl_f() at kern_ioctl+0x358 > > > > > pc = 0xffff00000025f818 lr = 0xffff0000003f130c > > > > > sp = 0xffff000040351870 fp = 0xffff0000403518c0 > > > > > > > > > > kern_ioctl() at sys_ioctl+0x15c > > > > > pc = 0xffff0000003f130c lr = 0xffff0000003f0f64 > > > > > sp = 0xffff0000403518d0 fp = 0xffff0000403519a0 > > > > > > > > > > sys_ioctl() at do_el0_sync+0x4b8 > > > > > pc = 0xffff0000003f0f64 lr = 0xffff0000006b61f8 > > > > > sp = 0xffff0000403519b0 fp = 0xffff000040351a70 > > > > > > > > > > do_el0_sync() at handle_el0_sync+0x84 > > > > > pc = 0xffff0000006b61f8 lr = 0xffff00000069da00 > > > > > sp = 0xffff000040351a80 fp = 0xffff000040351b90 > > > > > > > > > > handle_el0_sync() at 0x401996f4 > > > > > pc = 0xffff00000069da00 lr = 0x00000000401996f4 > > > > > sp = 0xffff000040351ba0 fp = 0x0000ffffffffe2f0 > > > > > > > > > > Line number maps: > > > > > (kgdb) list *ifunit_ref+0x28 > > > > > 0xffff000000476e08 is in ifunit_ref (/usr/src/sys/net/if.c:2417). > > > > > 2412 struct ifnet * > > > > > 2413 ifunit_ref(const char *name) > > > > > 2414 { > > > > > 2415 struct ifnet *ifp; > > > > > 2416 > > > > > 2417 IFNET_RLOCK_NOSLEEP(); > > > > > 2418 CK_STAILQ_FOREACH(ifp, &V_ifnet, if_link) { > > > > > 2419 if (strncmp(name, ifp->if_xname, IFNAMSIZ) > > == 0 > > > > && > > > > > 2420 !(ifp->if_flags & IFF_DYING)) > > > > > 2421 break; > > > > > > > > > > Following look to be correct, but modules don't build by default w/ > > > > > debug symbols, so I had to rebuild the module... > > > > > > > > > > Reading symbols from > > > > /usr/obj/usr/src/arm64.aarch64/sys/modules/netmap/netmap.kld...done. > > > > > (kgdb) list *netmap_get_bdg_na+0x194 > > > > > 0xcb18 is in netmap_get_bdg_na > > > > (/usr/src/sys/dev/netmap/netmap_vale.c:931). > > > > > 926 /* > > > > > 927 * try see if there is a matching NIC with this name > > > > > 928 * (after the bridge's name) > > > > > 929 */ > > > > > 930 ifname = nr_name + b->bdg_namelen + 1; > > > > > 931 ifp = ifunit_ref(ifname); > > > > > 932 if (!ifp) { > > > > > 933 /* Create an ephemeral virtual port. > > > > > 934 * This block contains all the > > > > ephemeral-specific logic. > > > > > 935 */ > > > > > (kgdb) list *netmap_get_na+0x1b0 > > > > > 0x1994 is in netmap_get_na (/usr/src/sys/dev/netmap/netmap.c:1538). > > > > > 1533 error = netmap_get_pipe_na(hdr, na, nmd, create); > > > > > 1534 if (error || *na != NULL) > > > > > 1535 goto out; > > > > > 1536 > > > > > 1537 /* try to see if this is a bridge port */ > > > > > 1538 error = netmap_get_bdg_na(hdr, na, nmd, create); > > > > > 1539 if (error) > > > > > 1540 goto out; > > > > > 1541 > > > > > 1542 if (*na != NULL) /* valid match in > > netmap_get_bdg_na() */ > > > > > > > > > > Thanks. > > > > > > > > > > -- > > > > > John-Mark Gurney Voice: +1 415 225 > > 5579 > > > > > > > > > > "All that I will do, has been done, All that I have, has not." > > > > > _______________________________________________ > > > > > 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" > > > > > > > > > > > > > -- > > > Vincenzo > > > _______________________________________________ > > > 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" > > > > > > > -- > > Rod Grimes > > rgrimes@freebsd.org > > > > > -- > Vincenzo > _______________________________________________ > 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" > -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-net@freebsd.org Thu Oct 4 15:46:13 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1936E10AF7A1; Thu, 4 Oct 2018 15:46:13 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3F74D74D96; Thu, 4 Oct 2018 15:46:11 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id 85pBgMWaIwyxU85pCgBVAw; Thu, 04 Oct 2018 09:46:04 -0600 X-Authority-Analysis: v=2.3 cv=NPJhBHyg c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=smKx5t2vBNcA:10 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=pGLkceISAAAA:8 a=mWm0YDQeuCclk_H0j58A:9 a=8wXVE3Uy4fUhRt1V:21 a=4jGVw-z9EJOV3jKp:21 a=CjuIK1q_8ugA:10 a=_Tt1_Y8nLLjDiYd8RLkA:9 a=g1D6cVUl-6yD_9a0:21 a=-9_FuqygaB4bePlk:21 a=AkvTBx0Z0YGVrdNs:21 a=_W_S_7VecoQA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 Received: from [10.168.101.253] (S0106788a207e2972.gv.shawcable.net [70.66.154.233]) by spqr.komquats.com (Postfix) with ESMTPSA id 79EA3154E; Thu, 4 Oct 2018 08:47:44 -0700 (PDT) MIME-Version: 1.0 From: Cy Schubert Subject: RE: FCP-0101: Deprecating most 10/100 Ethernet drivers Date: Thu, 4 Oct 2018 08:46:03 -0700 To: Poul-Henning Kamp , Warner Losh CC: Alexey Dokuchaev , Brooks Davis , FreeBSD-STABLE Mailing List , FreeBSD Net , "freebsd-arch@freebsd.org" , "freebsd-fcp@freebsd.org" Message-Id: <20181004154744.79EA3154E@spqr.komquats.com> X-CMAE-Envelope: MS4wfKNMz4m05A6D71Kv19EkrViQQ3A97TBLwVkBHqLUFZnBEkFSrX1z0L1CedVgK4bAIBAhDyuJEetEzBzEg3rYg1A4IAkDmCRxJdqgzkcF8CPWn30MIPkF /AD8VuppSq2LpG6TsXuXcMPlFRqom3Q9XlEl9zgHLPwnEsl6vKhRrrbjzssD4XslX5pyJ0O6G99igClJzMfHpAcbtMqSfq8R+mPYN1vRNUePyV+mO58w8sPX aSb5P8owLANw7TBYwi1iKRoMfRe5bqi/gm7BNFTyllumWBa+zGzA2Fv9rCm+24z4X5bLCwR/PQTfRwiyrj+cotWVUpZDMd/EU+eo+vPhtHsNys0IuW4L/h2x 8ZQr5AfepWncRT7VUEHhtSSe2+n81g== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 15:46:13 -0000 I'm willing to help out with rl(4) as I have one here. Others, not schedule= d for removal, that I can help one way or another are are NICs, including w= ireless, currently installed here. --- Sent using a tiny phone keyboard. Apologies for any typos and autocorrect. Also, this old phone only supports top post. Apologies. Cy Schubert or The need of the many outweighs the greed of the few. --- -----Original Message----- From: Poul-Henning Kamp Sent: 04/10/2018 07:03 To: Warner Losh Cc: Alexey Dokuchaev; Brooks Davis; FreeBSD-STABLE Mailing List; FreeBSD Ne= t; freebsd-arch@freebsd.org; freebsd-fcp@freebsd.org Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers -------- In message , Warner Losh writes: >Most of these drivers have had dozens or hundreds of commits each over the >years to keep up with the API changes. This acts as a tax on innovation >because it's such a pain in the back side to change all the drivers in the >tree. As one who has been there, a couple of times: SECONDED! It is particular unpleasant when you have no way to test the changes. --=20 Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe =20 Never attribute to malice what can adequately be explained by incompetence. _______________________________________________ freebsd-arch@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Thu Oct 4 15:52:17 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B193010AFBF3; Thu, 4 Oct 2018 15:52:17 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E57F5753B8; Thu, 4 Oct 2018 15:52:16 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id 85vAgr4GWWppD85vBgpESt; Thu, 04 Oct 2018 09:52:14 -0600 X-Authority-Analysis: v=2.3 cv=YIcrNiOx c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=smKx5t2vBNcA:10 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=LXThwzgc8wN3FM9o13oA:9 a=fqc2PL_DztmBmVzj:21 a=ZEiQw5VPCOVqgmOC:21 a=CjuIK1q_8ugA:10 a=AIbFiXiN0DI7uwZkaOQA:9 a=L0QZSfI6CJ03u12I:21 a=H279Z_-4CPkF8jX7:21 a=BSQxGs51GfGbYr7p:21 a=_W_S_7VecoQA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 Received: from [10.168.101.253] (S0106788a207e2972.gv.shawcable.net [70.66.154.233]) by spqr.komquats.com (Postfix) with ESMTPSA id 6C2A51571; Thu, 4 Oct 2018 08:53:55 -0700 (PDT) MIME-Version: 1.0 From: Cy Schubert Subject: RE: FCP-0101: Deprecating most 10/100 Ethernet drivers Date: Thu, 4 Oct 2018 08:52:14 -0700 To: Rick Macklem , Warner Losh , Alexey Dokuchaev CC: FreeBSD Net , "freebsd-fcp@freebsd.org" , Brooks Davis , FreeBSD-STABLE Mailing List , "freebsd-arch@freebsd.org" Message-Id: <20181004155355.6C2A51571@spqr.komquats.com> X-CMAE-Envelope: MS4wfGMshGmXv5liWXXAk0SNXTIODQak7iDJNiKbtro3L2CrLjwqEP6Oe/u+j7v1fQyS2K9q7yySvQLqFIAj2pCJuyi9kC9q6iH5AL+ygt6FXvC70npchxsy Br09qRjipULCE3Yyun+iTT3l6FdqodsPfURrJ8SVePvCKcbWIsobU0/tNJtN+bXCRQRoz/7dAY7D+KR33fxdExjBVu8HSxuYrjtfmjM3VEgf0g+weYcvjOFR MasDAjgRQ1MB2+kph2Jet9+MaoVZbUAGJIjo5OyWgwEErvyT6+JV8tNhCc+idngEkNlsuEWR7WaWtWP1RHX12csBdpE3m47r6EO3sLBO849bAE7AX6GsMSxa 2OomvdRLZYVYMVzErke/DNPdk7DeO4G9YicW3hk0K+sA7+9O/sg= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 15:52:17 -0000 I have rl, fxp, xl, dc, bge (which I have an uncommitted patch for), nfe, a= nd sk. Not all are scheduled for removal but this is my inventory for which= I can test and am willing to help out with. Add iwn and ath too. --- Sent using a tiny phone keyboard. Apologies for any typos and autocorrect. Also, this old phone only supports top post. Apologies. Cy Schubert or The need of the many outweighs the greed of the few. --- -----Original Message----- From: Rick Macklem Sent: 04/10/2018 07:41 To: Warner Losh; Alexey Dokuchaev Cc: FreeBSD Net; freebsd-fcp@freebsd.org; Brooks Davis; FreeBSD-STABLE Mail= ing List; freebsd-arch@freebsd.org Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers Warner Losh wrote: [lots of stuff snipped] >That's why that one way to get the driver off the list is to convert to >iflib. That greatly reduces the burden by centralizing all the stupid, >common things of a driver so that we only have to change one place, not >dozens. I can probably do this for bfe and fxp, since I have both. Can someone suggest a good example driver that has already been converted, so I can see what needs to be done? Again, I don't care if they stay in the current/head tree. [more stuff snipped] rick _______________________________________________ freebsd-arch@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Thu Oct 4 15:53:49 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B073810AFD22 for ; Thu, 4 Oct 2018 15:53:49 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it1-x131.google.com (mail-it1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3833F75533 for ; Thu, 4 Oct 2018 15:53:49 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it1-x131.google.com with SMTP id e74-v6so1847315ita.2 for ; Thu, 04 Oct 2018 08:53:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dB0vU18jO+K8xwwl4vXxW3H0Qrno7/GlJCT85H+qyDI=; b=JqXwPAGzj5oOtDfkXmkQC33LC9adNykBe3EcP4XaczRYrChUI/bxSb/dlD/9+RHwhS txA4L9Pq7QP4n5dTzICmOx34PdpW8TKaIk3b+mKNWlKMMWOTVCc746ctVyH02Ix32z9d bmCtEbcdYiF4N184vnFNG0418MuFjuxouFHyVXfBVOX7cvWVCeOhKPmssXTqPC/YCLV0 cluwtkCCzgdvHzbxvUSoz+jHb8aAnFDF2xrh0GpYgwgKwhPG1HNBuhMnc4kjR5WlN5An v+oDklrJok/UXOpag/zkZ5nispI0DUsxTDIpd1nnYmKJnJ3lkQS7NRwFvBFNwavMrGIh nDtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dB0vU18jO+K8xwwl4vXxW3H0Qrno7/GlJCT85H+qyDI=; b=TF2o+bf6eKMKfyBav28FQwnxvwCLlfJT/TG20DaUKQCVsL33tR26NwrZ+CJx9R1e/Y vZcS/YgWoobMlfPRs/6tNOIQ56eMrkWg7ByIM0MqfkGInpLNbVhWKNGIX6HSNWSbOMkD RNbpR8VeQMPz6kLmlSe26p3o3+2ViSUkYcrCvPc0erLUTiEqKD+MCnabEfJdLE4/AN0w 7etDYBUk/5ILEQH7pt6GcZ709cqGSUT7XuPi3GHAlwrwxNYV4wqsc+G3zkNySFE/tbAr AYaWEpFZNQ5AmdjgcxrIdkpsIOI90AlJckD/+Ol62uOM18AdE2H4fFPXcTz8PApCuKtn HoPg== X-Gm-Message-State: ABuFfog/qRUhJ8DeBK6V0dRm7JuRoPByOjt4KkOOde+BCCpPzLzWqQ45 lVCfXjG4xeDmc0ypvliaJ9Z8ikDXT9FWlIiMGWcijg== X-Google-Smtp-Source: ACcGV62WFya3GcyBdemgjkR86qUYoyUcDI0t8MgoNPGjiGk4UzFkvGOPX41a/9xx+XJ+ZSpdsfBVHeOZQb/upa96nJQ= X-Received: by 2002:a24:ac5:: with SMTP id 188-v6mr5112743itw.39.1538668428558; Thu, 04 Oct 2018 08:53:48 -0700 (PDT) MIME-Version: 1.0 References: <20181004154744.79EA3154E@spqr.komquats.com> In-Reply-To: <20181004154744.79EA3154E@spqr.komquats.com> From: Warner Losh Date: Thu, 4 Oct 2018 09:53:37 -0600 Message-ID: Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers To: Cy Schubert Cc: Poul-Henning Kamp , Alexey Dokuchaev , Brooks Davis , FreeBSD-STABLE Mailing List , FreeBSD Net , "freebsd-arch@freebsd.org" , freebsd-fcp@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 15:53:49 -0000 On Thu, Oct 4, 2018 at 9:46 AM Cy Schubert wrote: > I'm willing to help out with rl(4) as I have one here. Others, not > scheduled for removal, that I can help one way or another are are NICs, > including wireless, currently installed here. > There's an iflib man page that's a decent place to start. The API has evolved over time, so corrections to the man page would be welcome (and committed as quickly as the freeze allows). I'm reading through the current iflib drivers to see which one would be best to recommend. Warner From owner-freebsd-net@freebsd.org Thu Oct 4 15:57:23 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1C64E10B00C1 for ; Thu, 4 Oct 2018 15:57:23 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8E72975906 for ; Thu, 4 Oct 2018 15:57:22 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 533F010B00C0; Thu, 4 Oct 2018 15:57:22 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0FD6D10B00BF for ; Thu, 4 Oct 2018 15:57:22 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A0E6375903; Thu, 4 Oct 2018 15:57:21 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-qt1-x835.google.com with SMTP id l9-v6so10430197qtf.5; Thu, 04 Oct 2018 08:57:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OOrpdTQbNgA3++/yFlgxPhx3LUppsErTIvIiDW2ytC8=; b=jgO+u0DP/MouffyNNiwCpfYJki2XoOgBIh+6LkQjdP+qX8UZrJra9mwpgL/c4Z/FFQ hr7R/Up3P2L1HBvv3tOU04+mR7O3I9GhDdoKf4GQo6lwwKSpMdr0BNa3nvKdQPT905xS MQC31uvhpx7C/q4CiXa/X+G2PvMvl/OKuV44ssWHTFiEbGkxpgkHMEc6L3aJ9NYde2dp 2wN/RyPL6tXBvGBwoPJFVrfGqHiD3V2KssDCPRqmD0oRfR2GyXVzSpZKAQ/RBOdm0Xhe 5isQ4RvSVCIL5z1Hp8PHcW3TV/ZOdRR7sI/4Q3d59nZU24gQjyN1PqeodFPJp4qehuRQ rT7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OOrpdTQbNgA3++/yFlgxPhx3LUppsErTIvIiDW2ytC8=; b=fzQXiV/LbRI7/7RCVsYbpVocelkVoFfdfx+GBsL/dbuf2VYOAElS/hxkezOvb3i2jC 9kpjIVCe1BHc/MaoSY09C4mHsItkRlQ0ZIPEIPO6/m0AHwukTN/emtnvdSkcy+SBtPSO UzoSKHrH+IE8pfVghw8QJ1qSNT4PZkmzo2ayz0TEmK0w94k9Uq2TGNBKZrpiQj3novBm f5PzTPpbVdChNkpkrL9iDYNUHd5pJHrfIHmcly+I9n2GooOTzA6C4Ixwk4X2mYjaZLdx lzODfp6ta+fN/UPEFLgBSKKRlX3jTkF5gf34j+urdDWfQrU8EJMGhv2h2nKFGhLZ0/H1 lAUg== X-Gm-Message-State: ABuFfohalU71ufy7Z4mk14/0BBEP+7oPmMxFB7ptxXgCe5EnPQndjLfv rFHopKnGXEZoMewPfw1lqhewT8s6qcpzDtjdyhNjpSWI X-Google-Smtp-Source: ACcGV60cFLcjjYtXVwXfzAIkihr9jBbjJftRw/VdBBIso+BNBsToAmqmcimL6LBjwTcED9wyOY4GX5hEfnd6OVufTpc= X-Received: by 2002:a0c:8c44:: with SMTP id o4-v6mr5646716qvb.179.1538668640902; Thu, 04 Oct 2018 08:57:20 -0700 (PDT) MIME-Version: 1.0 References: <201810041525.w94FPeY0006803@pdx.rh.CN85.dnsmgr.net> In-Reply-To: <201810041525.w94FPeY0006803@pdx.rh.CN85.dnsmgr.net> From: Vincenzo Maffione Date: Thu, 4 Oct 2018 17:57:09 +0200 Message-ID: Subject: Re: vale and netmap module questions To: freebsd-rwg@pdx.rh.cn85.dnsmgr.net Cc: Luigi Rizzo , "K. Macy" , "freebsd-net@freebsd.org" , "George V. Neville-Neil" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 15:57:23 -0000 I created a new patch on reviews.freebsd.org https://reviews.freebsd.org/D17411 I need to wait for mentor's approval before writing to re@ Thanks, Vincenzo Il giorno gio 4 ott 2018 alle ore 17:25 Rodney W. Grimes < freebsd-rwg@pdx.rh.cn85.dnsmgr.net> ha scritto: > > Hi Rodney, > > Sure. Is there a specific procedure for this, or should I just send the > > .diff to re@freebsd.org? > > Yes, there is a procedure: > https://wiki.freebsd.org/Releng/ChangeRequestGuidelines > > the specific details for when the release is ^head is > towards the bottom. > > Thanks again, > > > > Thanks, > > Vincenzo > > > > Il giorno gio 4 ott 2018 alle ore 17:03 Rodney W. Grimes < > > freebsd-rwg@pdx.rh.cn85.dnsmgr.net> ha scritto: > > > > > > Hi, > > > > I fixed this upstream in this commit > > > > > > > > https://github.com/luigirizzo/netmap/commit/282f404ccb4fc777056a591127060e29657c9ab7 > > > > I will apply the change into FreeBSD as soon as HEAD thaws. > > > > > > This appears to be a man page change only, > > > please do submit that to re@freebsd.org to be > > > committed now. > > > > > > Thanks, > > > Rod > > > > > > > Cheers, > > > > Vincenzo > > > > > > > > Il giorno gio 4 ott 2018 alle ore 00:36 K. Macy > ha > > > > scritto: > > > > > > > > > On Fri, Aug 31, 2018 at 6:50 PM John-Mark Gurney > > > > wrote: > > > > > > > > > > > > First, does vale work for anyone? At least one of the documented > > > > > > commands in vale(4) does not work. > > > > > > > > > > > The documentation with respect to naming is wrong. I didn't have a > bit > > > > > when I was using it so never got around to fixing it. > > > > > > > > > > > > > > > > After manually building the netmap module and loading it: > > > > > > # tcpdump -ni vale-a:1 > > > > > > 313.748851 nm_open [947] invalid bridge name vale-a:1 > > > > > > tcpdump: netmap open: cannot access vale-a:1: Invalid argument > > > > > > > > > > > > If I run tcpdump with a more correct looking name of vale1:a, I > get a > > > > > > null deref panic in ifunit_ref. Full trace is at the end. > > > > > > > > > > > > Second, is there a good reason why the netmap module is still > > > > > > disconnected from being built as a module? I guess not working > > > > > > would be one, but I figure the above might be an aarch64 specific > > > > > > problem, and not a general issue. > > > > > > > > > > > > FreeBSD generic 12.0-ALPHA3 FreeBSD 12.0-ALPHA3 #0 r338296M: Sat > Aug > > > 25 > > > > > 06:17:25 UTC 2018 freebsd@generic > > > :/usr/obj/usr/src/arm64.aarch64/sys/GENERIC > > > > > arm64 > > > > > > > > > > > > netmap: loaded module > > > > > > Fatal data abort: > > > > > > x0: ffff00005894f900 > > > > > > x1: ffff000040351028 > > > > > > x2: 5 > > > > > > x3: ffff0000405e4090 > > > > > > x4: 4000 > > > > > > x5: 0 > > > > > > x6: 0 > > > > > > x7: ffff000040351cb0 > > > > > > x8: 0 > > > > > > x9: ffff000000a09960 > > > > > > x10: ffff00005894f908 > > > > > > x11: 0 > > > > > > x12: 1 > > > > > > x13: fffffcffc0000000 > > > > > > x14: 3 > > > > > > x15: 10000 > > > > > > x16: ffff00005cd35580 > > > > > > x17: ffff000000476de0 > > > > > > x18: ffff000040351010 > > > > > > x19: ffff000040351160 > > > > > > x20: fffffd000739798e > > > > > > x21: ffff000000a02000 > > > > > > x22: 1 > > > > > > x23: 0 > > > > > > x24: fffffd0007397988 > > > > > > x25: 0 > > > > > > x26: 1 > > > > > > x27: 0 > > > > > > x28: fffffd0007397982 > > > > > > x29: ffff000040351050 > > > > > > sp: ffff000040351010 > > > > > > lr: ffff000000476e0c > > > > > > elr: ffff000000476e1c > > > > > > spsr: 60000345 > > > > > > far: 28 > > > > > > esr: 96000007 > > > > > > [ thread pid 802 tid 100096 ] > > > > > > Stopped at ifunit_ref+0x3c: ldr x8, [x8, #40] > > > > > > db> bt > > > > > > Tracing pid 802 tid 100096 td 0xfffffd0007422000 > > > > > > db_trace_self() at db_stack_trace+0xf0 > > > > > > pc = 0xffff00000069b81c lr = 0xffff0000000d6b28 > > > > > > sp = 0xffff000040350920 fp = 0xffff000040350950 > > > > > > > > > > > > db_stack_trace() at db_command+0x220 > > > > > > pc = 0xffff0000000d6b28 lr = 0xffff0000000d67ac > > > > > > sp = 0xffff000040350960 fp = 0xffff000040350a40 > > > > > > > > > > > > db_command() at db_command_loop+0x60 > > > > > > pc = 0xffff0000000d67ac lr = 0xffff0000000d6570 > > > > > > sp = 0xffff000040350a50 fp = 0xffff000040350a70 > > > > > > > > > > > > db_command_loop() at db_trap+0xf4 > > > > > > pc = 0xffff0000000d6570 lr = 0xffff0000000d9694 > > > > > > sp = 0xffff000040350a80 fp = 0xffff000040350ca0 > > > > > > > > > > > > db_trap() at kdb_trap+0x1d8 > > > > > > pc = 0xffff0000000d9694 lr = 0xffff0000003cdf70 > > > > > > sp = 0xffff000040350cb0 fp = 0xffff000040350d60 > > > > > > > > > > > > kdb_trap() at data_abort+0x1e0 > > > > > > pc = 0xffff0000003cdf70 lr = 0xffff0000006b5ca4 > > > > > > sp = 0xffff000040350d70 fp = 0xffff000040350e20 > > > > > > > > > > > > data_abort() at do_el1h_sync+0x11c > > > > > > pc = 0xffff0000006b5ca4 lr = 0xffff0000006b59c0 > > > > > > sp = 0xffff000040350e30 fp = 0xffff000040350e60 > > > > > > > > > > > > do_el1h_sync() at handle_el1h_sync+0x74 > > > > > > pc = 0xffff0000006b59c0 lr = 0xffff00000069d874 > > > > > > sp = 0xffff000040350e70 fp = 0xffff000040350f80 > > > > > > > > > > > > handle_el1h_sync() at ifunit_ref+0x28 > > > > > > pc = 0xffff00000069d874 lr = 0xffff000000476e08 > > > > > > sp = 0xffff000040350f90 fp = 0xffff000040351050 > > > > > > > > > > > > ifunit_ref() at netmap_get_bdg_na+0x194 > > > > > > pc = 0xffff000000476e08 lr = 0xffff00005cd20b24 > > > > > > sp = 0xffff000040351060 fp = 0xffff0000403510c0 > > > > > > > > > > > > netmap_get_bdg_na() at netmap_get_na+0x1b0 > > > > > > pc = 0xffff00005cd20b24 lr = 0xffff00005cd15994 > > > > > > sp = 0xffff0000403510d0 fp = 0xffff000040351120 > > > > > > > > > > > > netmap_get_na() at netmap_ioctl+0xcd0 > > > > > > pc = 0xffff00005cd15994 lr = 0xffff00005cd18160 > > > > > > sp = 0xffff000040351130 fp = 0xffff0000403511f0 > > > > > > > > > > > > netmap_ioctl() at netmap_ioctl_legacy+0x4b8 > > > > > > pc = 0xffff00005cd18160 lr = 0xffff00005cd2b188 > > > > > > sp = 0xffff000040351200 fp = 0xffff0000403515b0 > > > > > > > > > > > > netmap_ioctl_legacy() at netmap_ioctl+0x15c > > > > > > pc = 0xffff00005cd2b188 lr = 0xffff00005cd175ec > > > > > > sp = 0xffff0000403515c0 fp = 0xffff000040351680 > > > > > > > > > > > > netmap_ioctl() at freebsd_netmap_ioctl+0x4c > > > > > > pc = 0xffff00005cd175ec lr = 0xffff00005cd25f94 > > > > > > sp = 0xffff000040351690 fp = 0xffff0000403516b0 > > > > > > > > > > > > freebsd_netmap_ioctl() at devfs_ioctl+0xc4 > > > > > > pc = 0xffff00005cd25f94 lr = 0xffff00000025f1ac > > > > > > sp = 0xffff0000403516c0 fp = 0xffff000040351700 > > > > > > > > > > > > devfs_ioctl() at VOP_IOCTL_APV+0xa8 > > > > > > pc = 0xffff00000025f1ac lr = 0xffff0000006ef704 > > > > > > sp = 0xffff000040351710 fp = 0xffff000040351730 > > > > > > > > > > > > VOP_IOCTL_APV() at vn_ioctl+0x110 > > > > > > pc = 0xffff0000006ef704 lr = 0xffff00000045c828 > > > > > > sp = 0xffff000040351740 fp = 0xffff000040351840 > > > > > > > > > > > > vn_ioctl() at devfs_ioctl_f+0x24 > > > > > > pc = 0xffff00000045c828 lr = 0xffff00000025f818 > > > > > > sp = 0xffff000040351850 fp = 0xffff000040351860 > > > > > > > > > > > > devfs_ioctl_f() at kern_ioctl+0x358 > > > > > > pc = 0xffff00000025f818 lr = 0xffff0000003f130c > > > > > > sp = 0xffff000040351870 fp = 0xffff0000403518c0 > > > > > > > > > > > > kern_ioctl() at sys_ioctl+0x15c > > > > > > pc = 0xffff0000003f130c lr = 0xffff0000003f0f64 > > > > > > sp = 0xffff0000403518d0 fp = 0xffff0000403519a0 > > > > > > > > > > > > sys_ioctl() at do_el0_sync+0x4b8 > > > > > > pc = 0xffff0000003f0f64 lr = 0xffff0000006b61f8 > > > > > > sp = 0xffff0000403519b0 fp = 0xffff000040351a70 > > > > > > > > > > > > do_el0_sync() at handle_el0_sync+0x84 > > > > > > pc = 0xffff0000006b61f8 lr = 0xffff00000069da00 > > > > > > sp = 0xffff000040351a80 fp = 0xffff000040351b90 > > > > > > > > > > > > handle_el0_sync() at 0x401996f4 > > > > > > pc = 0xffff00000069da00 lr = 0x00000000401996f4 > > > > > > sp = 0xffff000040351ba0 fp = 0x0000ffffffffe2f0 > > > > > > > > > > > > Line number maps: > > > > > > (kgdb) list *ifunit_ref+0x28 > > > > > > 0xffff000000476e08 is in ifunit_ref (/usr/src/sys/net/if.c:2417). > > > > > > 2412 struct ifnet * > > > > > > 2413 ifunit_ref(const char *name) > > > > > > 2414 { > > > > > > 2415 struct ifnet *ifp; > > > > > > 2416 > > > > > > 2417 IFNET_RLOCK_NOSLEEP(); > > > > > > 2418 CK_STAILQ_FOREACH(ifp, &V_ifnet, if_link) { > > > > > > 2419 if (strncmp(name, ifp->if_xname, > IFNAMSIZ) > > > == 0 > > > > > && > > > > > > 2420 !(ifp->if_flags & IFF_DYING)) > > > > > > 2421 break; > > > > > > > > > > > > Following look to be correct, but modules don't build by default > w/ > > > > > > debug symbols, so I had to rebuild the module... > > > > > > > > > > > > Reading symbols from > > > > > > /usr/obj/usr/src/arm64.aarch64/sys/modules/netmap/netmap.kld...done. > > > > > > (kgdb) list *netmap_get_bdg_na+0x194 > > > > > > 0xcb18 is in netmap_get_bdg_na > > > > > (/usr/src/sys/dev/netmap/netmap_vale.c:931). > > > > > > 926 /* > > > > > > 927 * try see if there is a matching NIC with this > name > > > > > > 928 * (after the bridge's name) > > > > > > 929 */ > > > > > > 930 ifname = nr_name + b->bdg_namelen + 1; > > > > > > 931 ifp = ifunit_ref(ifname); > > > > > > 932 if (!ifp) { > > > > > > 933 /* Create an ephemeral virtual port. > > > > > > 934 * This block contains all the > > > > > ephemeral-specific logic. > > > > > > 935 */ > > > > > > (kgdb) list *netmap_get_na+0x1b0 > > > > > > 0x1994 is in netmap_get_na > (/usr/src/sys/dev/netmap/netmap.c:1538). > > > > > > 1533 error = netmap_get_pipe_na(hdr, na, nmd, create); > > > > > > 1534 if (error || *na != NULL) > > > > > > 1535 goto out; > > > > > > 1536 > > > > > > 1537 /* try to see if this is a bridge port */ > > > > > > 1538 error = netmap_get_bdg_na(hdr, na, nmd, create); > > > > > > 1539 if (error) > > > > > > 1540 goto out; > > > > > > 1541 > > > > > > 1542 if (*na != NULL) /* valid match in > > > netmap_get_bdg_na() */ > > > > > > > > > > > > Thanks. > > > > > > > > > > > > -- > > > > > > John-Mark Gurney Voice: +1 415 225 > > > 5579 > > > > > > > > > > > > "All that I will do, has been done, All that I have, has > not." > > > > > > _______________________________________________ > > > > > > 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" > > > > > > > > > > > > > > > > > -- > > > > Vincenzo > > > > _______________________________________________ > > > > 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" > > > > > > > > > > -- > > > Rod Grimes > > > rgrimes@freebsd.org > > > > > > > > > -- > > Vincenzo > > _______________________________________________ > > 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" > > > > -- > Rod Grimes > rgrimes@freebsd.org > -- Vincenzo From owner-freebsd-net@freebsd.org Thu Oct 4 15:59:01 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 98BC710B0200; Thu, 4 Oct 2018 15:59:01 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 158A575AAB; Thu, 4 Oct 2018 15:59:00 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id w94FwtdI007084; Thu, 4 Oct 2018 08:58:55 -0700 (PDT) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id w94FwtQD007083; Thu, 4 Oct 2018 08:58:55 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201810041558.w94FwtQD007083@pdx.rh.CN85.dnsmgr.net> Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers In-Reply-To: To: Warner Losh Date: Thu, 4 Oct 2018 08:58:55 -0700 (PDT) CC: Cy Schubert , Alexey Dokuchaev , Brooks Davis , FreeBSD-STABLE Mailing List , FreeBSD Net , Poul-Henning Kamp , "freebsd-arch@freebsd.org" , freebsd-fcp@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 15:59:01 -0000 > On Thu, Oct 4, 2018 at 9:46 AM Cy Schubert > wrote: > > > I'm willing to help out with rl(4) as I have one here. Others, not > > scheduled for removal, that I can help one way or another are are NICs, > > including wireless, currently installed here. > > > > There's an iflib man page that's a decent place to start. The API has > evolved over time, so corrections to the man page would be welcome (and > committed as quickly as the freeze allows). I'm reading through the current > iflib drivers to see which one would be best to recommend. Nothing in the current state of the "freeze" would block a man page correction. -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-net@freebsd.org Thu Oct 4 16:07:36 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B2E310B0B76; Thu, 4 Oct 2018 16:07:36 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7128C76583; Thu, 4 Oct 2018 16:07:35 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id 86A0gr9VvWppD86A1gpIQi; Thu, 04 Oct 2018 10:07:34 -0600 X-Authority-Analysis: v=2.3 cv=YIcrNiOx c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=smKx5t2vBNcA:10 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=iNGMpphc3T5klhet3SkA:9 a=FwdSzZpY-AED6S4V:21 a=nP5a0vt2DfjzhsF2:21 a=CjuIK1q_8ugA:10 a=lQAYqbelq4TCjjL6:21 a=yRds3KjQjLn9Fhxo:21 a=51MI_dSXgo8BWtul:21 a=_W_S_7VecoQA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 Received: from [10.168.101.253] (S0106788a207e2972.gv.shawcable.net [70.66.154.233]) by spqr.komquats.com (Postfix) with ESMTPSA id 8CAFD15E7; Thu, 4 Oct 2018 09:09:15 -0700 (PDT) MIME-Version: 1.0 From: Cy Schubert Subject: RE: FCP-0101: Deprecating most 10/100 Ethernet drivers Date: Thu, 4 Oct 2018 09:07:34 -0700 To: Alexey Dokuchaev , Warner Losh CC: Mark Linimon , "freebsd-arch@freebsd.org" , "freebsd-fcp@freebsd.org" , FreeBSD-STABLE Mailing List , FreeBSD Net Message-Id: <20181004160915.8CAFD15E7@spqr.komquats.com> X-CMAE-Envelope: MS4wfPUIH3w5HSxtDe0JC0aDKpqaaCOALBGnuftciLF1uBydigCIIK2DkxiFz+Bgmy6Qjd2BQVIkJlSBQ0FOc/eXlq7nUTVhxIexU+ubFeep1RD+tUzcsS/c gdEelJV4UabnvyXdkHvR1gPgCKseAKsxic+DMSfGBeZPcCgRAu3uxNqtHpPIdjx0G/3Qg+serq0Yw817hcq1TWovTZRXuZvxNe4ggE7fXUgXSitdL93mF5Lg LBpC5msF5BELsc3NqaPhBhXXDIqZR8ncWM5tJogMlLMiPnMqYkMF3kpAAFW0UbxV233GIRiOf99nv5g0eb4qggdgBEVUKMycd20wwV3EItcrow1hfSR9ZKJK o0o/sF6K0brd6CqEr8vuM5xK/tQpwQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 16:07:36 -0000 People need to submit patches then. OTOH, they can all be moved to ports. I= MO, when pkgbase becomes a reality, much of this will become moot. People w= ill be able to mix and match base and ports packages. --- Sent using a tiny phone keyboard. Apologies for any typos and autocorrect. Also, this old phone only supports top post. Apologies. Cy Schubert or The need of the many outweighs the greed of the few. --- -----Original Message----- From: Alexey Dokuchaev Sent: 04/10/2018 08:11 To: Warner Losh Cc: Mark Linimon; freebsd-arch@freebsd.org; freebsd-fcp@freebsd.org; FreeBS= D-STABLE Mailing List; FreeBSD Net Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers On Thu, Oct 04, 2018 at 08:43:33AM -0600, Warner Losh wrote: > As far as I know, none of the drivers listed could do 1Gbps. Right. My point was that original proposal put 10/100 drivers into one basket, which is IMHO not fair: 10Mbps cards are rarely seen and used, 100mbps are not, just like 1000bps ones. That said, I'm okay with deorbiting NICs that cannot do more than 10mbps. Cards that can do at least 100mbps should stay. Following up on Ricks' question, seeing a good example of modernization a certain driver would help interested people/hw owners to keep drivers for their cards viable. ./danfe _______________________________________________ freebsd-arch@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Thu Oct 4 16:13:14 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6832B10B1062 for ; Thu, 4 Oct 2018 16:13:14 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it1-x131.google.com (mail-it1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9B24776B64 for ; Thu, 4 Oct 2018 16:13:13 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it1-x131.google.com with SMTP id e74-v6so1946578ita.2 for ; Thu, 04 Oct 2018 09:13:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hW4LF5T2u8OYOcB31fyBhLwOhcZMQ5TPUhtlrrhgtNw=; b=tfyI3xuUUzhZlJa8tCz2lTy5+ELwo3YrXTMmIuOcexzqq65kcGtgySqg/28R/tj9LS KKdKzsIWumvTrfnIcM0pT8zO0fSIzyapfpc/p/I1FFDDJ7RRPEVbWROoYVoPvGtm9QFF NE6JfnGPDDrc5VbIORgDrGYEq0igOmtxZP1p8Dt069wHBsrdUJf8ZlDr97GI0s4qqPwp RYUJSubFbH98kmkOVZEFuU456zCbRWbGBor3PHvygdi6v50vk4u25w1Sepqu03QfG1DQ Mf6fAu0ERF9/IQCjSd/po9Rww2cr1Oo3CbopxwEilV38iWfOBbZ1TPJEh/Be4txqxXLN kWIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hW4LF5T2u8OYOcB31fyBhLwOhcZMQ5TPUhtlrrhgtNw=; b=jBTTkFzFqzSo1/IBTE3+ELcrdpUAe7RdKrU5FjuRxS+pXdX4ecTTNrSrCLv4y2eFPk hCGyXaokmLhlmqRzKipfZrfAaLcjpfXDNVK9MhK9HqLcPP3cTw5UCNNZhpS45pnK/HZA jA79JoumfZHugKoLqmk09CL0dIzXdyWfsi55qjRvVlNIP7f+O77xWo2epC2s2H73Ns9p Rh9vzgp8+r7wEv8c/aP9yN24eXgqTEcI1iIAR5fPKACHvKuYtUfjww2ndbpx+IZVGaPB j91p66LPhqgkfDMOvNl1hsvo8C71Ryq5iOaTFn3nwGQ9mSHoonRZAh84bmiYBSeDBkWx ia5Q== X-Gm-Message-State: ABuFfogoRW6QZw3nL8HmAeuEFIAWswf8kcl+ZuCbVMUg9t+1g78yBn1u dC1fX10Z26JReUli3q8ZQ/fqV1lpaWdLZkktdIJ+NA== X-Google-Smtp-Source: ACcGV62I87M88uG/hXNc/MnJcfL7kXoipkWXzwTvxPct+FOFFvmtw9ZBktHsz8wjyVqkCyYBh62bC2w/nNNjOR3LvOs= X-Received: by 2002:a05:660c:b03:: with SMTP id f3mr5549887itk.60.1538669592788; Thu, 04 Oct 2018 09:13:12 -0700 (PDT) MIME-Version: 1.0 References: <201810041558.w94FwtQD007083@pdx.rh.CN85.dnsmgr.net> In-Reply-To: <201810041558.w94FwtQD007083@pdx.rh.CN85.dnsmgr.net> From: Warner Losh Date: Thu, 4 Oct 2018 10:13:01 -0600 Message-ID: Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers To: "Rodney W. Grimes" Cc: Cy Schubert , Alexey Dokuchaev , Brooks Davis , FreeBSD-STABLE Mailing List , FreeBSD Net , Poul-Henning Kamp , "freebsd-arch@freebsd.org" , freebsd-fcp@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 16:13:14 -0000 On Thu, Oct 4, 2018 at 9:59 AM Rodney W. Grimes < freebsd-rwg@pdx.rh.cn85.dnsmgr.net> wrote: > > On Thu, Oct 4, 2018 at 9:46 AM Cy Schubert > > wrote: > > > > > I'm willing to help out with rl(4) as I have one here. Others, not > > > scheduled for removal, that I can help one way or another are are NICs, > > > including wireless, currently installed here. > > > > > > > There's an iflib man page that's a decent place to start. The API has > > evolved over time, so corrections to the man page would be welcome (and > > committed as quickly as the freeze allows). I'm reading through the > current > > iflib drivers to see which one would be best to recommend. > > Nothing in the current state of the "freeze" would block a > man page correction. > All commits, no matter how trivial, require re@ approval. That necessarily slows things down, hence my phrase "as quickly as the freeze allows." Warner From owner-freebsd-net@freebsd.org Thu Oct 4 16:13:55 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1556B10B111A; Thu, 4 Oct 2018 16:13:55 +0000 (UTC) (envelope-from michelle@sorbs.net) Received: from hades.sorbs.net (hades.sorbs.net [72.12.213.40]) by mx1.freebsd.org (Postfix) with ESMTP id BC6A676C3D; Thu, 4 Oct 2018 16:13:54 +0000 (UTC) (envelope-from michelle@sorbs.net) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from isux.com (gate.mhix.org [203.206.128.220]) by hades.sorbs.net (Oracle Communications Messaging Server 7.0.5.29.0 64bit (built Jul 9 2013)) with ESMTPSA id <0PG200J3JYUAFP00@hades.sorbs.net>; Thu, 04 Oct 2018 08:25:28 -0700 (PDT) Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers To: tech-lists , Brooks Davis , freebsd-arch@freebsd.org Cc: freebsd-net@freebsd.org, freebsd-fcp@freebsd.org, freebsd-stable@freebsd.org References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <55a44e73-60ab-e386-360a-b0a0198a0e71@zyxst.net> From: Michelle Sullivan Message-id: <8878cac1-d5d2-4224-6aa5-85516db23c14@sorbs.net> Date: Fri, 05 Oct 2018 01:13:40 +1000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48 In-reply-to: <55a44e73-60ab-e386-360a-b0a0198a0e71@zyxst.net> X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 16:13:55 -0000 tech-lists wrote: > > I'm astonished you're considering removing rl given how common it is. > I'll second that comment - though no disrespect to Brooks. Brooks as far as I can see is just the messenger. -- Michelle Sullivan http://www.mhix.org/ From owner-freebsd-net@freebsd.org Thu Oct 4 16:21:11 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 76AA910B17E6; Thu, 4 Oct 2018 16:21:11 +0000 (UTC) (envelope-from kevin@your.org) Received: from mail.your.org (chi02.mail.your.org [204.9.55.23]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2316B7734A; Thu, 4 Oct 2018 16:21:10 +0000 (UTC) (envelope-from kevin@your.org) Received: from mail.your.org (chi02.mail.your.org [204.9.55.23]) by mail.your.org (Postfix) with ESMTP id D683A433D86; Thu, 4 Oct 2018 16:21:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=your.org; h=content-type :mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s= selector1; bh=Ub5B3JAvXr1w0aAon9vpA15qJtY=; b=TMJKve9G5Sm8YRqvPP IDSa//zIxUUWaHjTd5sIqcFlzOSQXmfrZy+p2lCblGpmEmr7w2x7Ju85wwfl1S16 G+fT/FeVD214sdElXPcR9I2MsiirjmAeFw933y8KvhpMWprhmu5CJ9DbieKBHKAe BZ9iY92Yq8t1kDqVXB7SMqUxQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=your.org; h=content-type :mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; q=dns; s= selector1; b=m4EgeILpTGFGe3BFxowLIz717J+dhThiKZi1Lbl53Eq39G5Y/yL t2hHMgpbsH4BZ7KYaqFJDLXoY7g1NrceWKvTU7gRsAPri+QZoB8LYUKIATJo59c1 n11TmI43kp3xgTTK356OdNg+n76q2VgIxN+kibkYT2QXC3Siwjm3DXgw= Received: from unassigned.v6.your.org (unknown [IPv6:2001:4978:1:45:f964:f9ab:54b2:c38d]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.your.org (Postfix) with ESMTPSA id AB02D433D85; Thu, 4 Oct 2018 16:21:03 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.0 \(3445.100.39\)) Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers From: Kevin Day In-Reply-To: Date: Thu, 4 Oct 2018 11:21:03 -0500 Cc: luciano@vespaperitivo.it, FreeBSD Net , "freebsd-arch@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <43356262-A30B-4B4E-AB81-DE79DB985806@your.org> References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <45c44128-85cb-5b4c-3af3-cbdf1560c9be@grosbein.net> <42Qt573dbmz1ftWT@baobab.bilink.it> To: Warner Losh X-Mailer: Apple Mail (2.3445.100.39) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 16:21:11 -0000 > On Oct 4, 2018, at 7:58 AM, Warner Losh wrote: >=20 > On Thu, Oct 4, 2018 at 6:53 AM Luciano Mannucci = > wrote: >=20 >>> While I have no objection for general direction, I have doubts about >> removal >>> of ste(4) and especially rl(4). These are cheap 100Mbit VERY popular = NICs >>> sold in enourmous values in certain markets by vendors like D-Link = and >>> TP-Link using various trade names. >>=20 >=20 > Enough people are using rl that it's off the list by my count. If you need any extra data, rl is the only one that I'd be sad to lose = as well. We have a lot of embedded devices that are still shipping today = with rl chips. I could chip in a little to sponsor someone to modernize = the driver if needed. From owner-freebsd-net@freebsd.org Thu Oct 4 16:21:21 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9B83510B1810 for ; Thu, 4 Oct 2018 16:21:21 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it1-x12a.google.com (mail-it1-x12a.google.com [IPv6:2607:f8b0:4864:20::12a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B88DB7748D for ; Thu, 4 Oct 2018 16:21:20 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it1-x12a.google.com with SMTP id c23-v6so13908932itd.5 for ; Thu, 04 Oct 2018 09:21:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9ESKOX6UU+T613F+kxO3YUulh7v4el2l+t1kDe4JsJM=; b=AG3GFqptYCAL+mRUppbSVtfz2ylXcCJlal7dfBpIWSkQW4LSbCzMDpxcy6Dr6WO7KT 2UpyTLCiKTgl95IlryPr3WfD7+IcaMFIPqMR2w3dwX4aVC5a/oH+iMPLH7vArO924Zej Tyd01pUvhZ9MStEBZ/5qq9f08SvNAtycwL/OiSpIDaLRQjqSie7Vwozvo3tz5ZkFTQC8 dHyEPDjqJ2LAVLTVP1vfm+4nOcp4gEOS2rcSzvj94wXL7lP907GT+tAybYMq7OXP9Ft1 Ht47id9ub+xyPNGar3PGltbc2EoNsB0rRUS316TA6+n27Vn5fbCb1iXbL4HujpzyOZKK cObg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9ESKOX6UU+T613F+kxO3YUulh7v4el2l+t1kDe4JsJM=; b=dz1e+lN6lfFO03BArlpa+R6hQqSXXuKoJtUrBptgzg1ymuf2oLUiiCe/uZbq54Sy1t HSMtFef8rKeCEiEAnfWulr6UBcIPCy2LHtqYzkmqdm2s+w2TOg/8w0Vx5JBbGnd7WwCW 7dAq3DMgsKKQY2fjkI5g6A07WU75GoYfiXThvogBD+GX3rPMo+WLdBWd6418aA/BQufc cQMaM9pi1S1L59GmViOoeiurmO1Eza/N6hk3Yz+J4iKAQ28BKA1p8LzoKQUSaf0SsbP6 TI8TfxLhxxDIILZO5eqw9fB9co36dwq3Yfy1FTkJS6KC8mLN7UY8kAo467YcAq6kSEzs PsUA== X-Gm-Message-State: ABuFfojH6KHJhEeWv74oT/e2rGd8P/kc0ZP6Xr9CjpHkPZS/5DOVQPje nAeAGL6ZCv2WeJXRxBEJIH/Hg++NSXlqqrBBVkMjIQ== X-Google-Smtp-Source: ACcGV61uIP6uHlXelil+bkWSFpCxB/oi2F+bCFR1krxvlAqTrEfCltxcYhed8fdxaL2Mm+H7jfuZY+YBE5pabQWuU74= X-Received: by 2002:a24:1c94:: with SMTP id c142-v6mr5640647itc.75.1538670080011; Thu, 04 Oct 2018 09:21:20 -0700 (PDT) MIME-Version: 1.0 References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <55a44e73-60ab-e386-360a-b0a0198a0e71@zyxst.net> <8878cac1-d5d2-4224-6aa5-85516db23c14@sorbs.net> In-Reply-To: <8878cac1-d5d2-4224-6aa5-85516db23c14@sorbs.net> From: Warner Losh Date: Thu, 4 Oct 2018 10:21:08 -0600 Message-ID: Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers To: michelle@sorbs.net Cc: tech-lists , Brooks Davis , "freebsd-arch@freebsd.org" , FreeBSD Net , freebsd-fcp@freebsd.org, FreeBSD-STABLE Mailing List Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 16:21:21 -0000 On Thu, Oct 4, 2018 at 10:15 AM Michelle Sullivan wrote: > tech-lists wrote: > > > > I'm astonished you're considering removing rl given how common it is. > > > > I'll second that comment - though no disrespect to Brooks. Brooks as > far as I can see is just the messenger. > Absent good data, one has to make one's best guesses. I guessed wrong here in my comments to Brooks about which ones were must keeps. I knew it was popular back in the day (~2000), but had thought it's popularity had waned much more than it apparently has. I last deployed systems with rl in them around 2007, and at the time it was trailing edge gear (the SBCs we used at Timing Solutions tended to use popular, but ~5-year-old technology because that market segment wanted longevity of spare availability...). Warner From owner-freebsd-net@freebsd.org Thu Oct 4 16:22:27 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7541110B1917; Thu, 4 Oct 2018 16:22:27 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1E02D77626; Thu, 4 Oct 2018 16:22:27 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id E8E343C475F; Thu, 4 Oct 2018 16:22:25 +0000 (UTC) Date: Thu, 4 Oct 2018 16:22:25 +0000 From: Brooks Davis To: freebsd-arch@freebsd.org Cc: freebsd-net@freebsd.org, freebsd-fcp@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers Message-ID: <20181004162225.GE74146@spindle.one-eyed-alien.net> References: <20181003210516.GA71565@spindle.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VdOwlNaOFKGAtAAV" Content-Disposition: inline In-Reply-To: <20181003210516.GA71565@spindle.one-eyed-alien.net> User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 16:22:27 -0000 --VdOwlNaOFKGAtAAV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable >>> Please direct replies to freebsd-arch <<< A few points of clarification: Rod correctly points out that this message makes it look like the FCP is a done deal as written. This is not the case and we welcome feedback on the entire proposal. IMO, soliciting input on the list of drivers along with the proposed process is a way to keep discussion concrete so we will proceed with both. It was asked: when does iflib conversion need to occur to save a driver? My proposed plan it to proceed with deprecation notices of otherwise unpopular drivers, but conversion can come in and remove those notices at and upto (or even after) removal from the tree. In an effort to save some email, we will be moving rl(4) to the list of drivers to STAY as it has proved itself to be popular. A few others appear to be well on their way so keep the reports coming. Thanks, Brooks P.S. As a person who has edited every driver in the tree multiple times in the last year (mostly in an external tree), I will consider this process successful even if we keep the majority of listed drivers in the tree. On Wed, Oct 03, 2018 at 09:05:16PM +0000, Brooks Davis wrote: > >>> Please direct replies to freebsd-arch <<< >=20 > FCP-01010 (https://github.com/freebsd/fcp/blob/master/fcp-0101.md) > outlines a plan to deprecate most 10/100 Ethernet drivers in FreeBSD 12 > and remove them in FreeBSD 13 to reduce the burden of maintaining and > improving the network stack. We have discussed this within the > core team and intend to move forward as proposed. We are solictiting > feedback on the list of drivers to be excepted from removal. >=20 > The current list of drivers slated for REMOVAL is: >=20 > ae, bfe, bm, cs, dme, ed, ep, ex, fe, pcn, rl, sf, smc, sn, > ste, tl, tx, txp, vx, wb, xe >=20 > The current list of drivers that will STAY in the tree is: >=20 > dc, ffec, fxpl, hme, le, sis, vr, xl >=20 > The criteria for exception are: > - Popular in applications where it is likely to be deployed beyond the > support lifetime of FreeBSD 12 (late 2023). > - 5 reports of uses in the wild on machines running FreeBSD 12 will be > deemed satisfy the "popular" > requirement. > - Required to make a well supported embedded or emulation platform usabl= e. > - Ported to use iflib (reducing future maintenance cost.) >=20 > Please reply to this message with nominations to the exception list. >=20 > The full FCP-0101 is included below. >=20 > -- Brooks >=20 > --- > authors: Brooks Davis > state: feedback > --- >=20 > # FCP 101: Deprecation and removal of 10/100 Ethernet drivers >=20 > Deprecate most 10 and 10/100Mbps Ethernet drivers and remove them before > FreeBSD 13. >=20 > ## Problem Statement >=20 > Each network driver creates drag for the project as we attempt to > improve the network stack or provide new features such as expanded > 32-bit compatibility. For example, the author has edited every single > NIC driver more than once in the past year to update management (`ioctl`) > interfaces. We could improve this situation by converting drivers to > iflib, but each additional driver takes work. >=20 > 10 and 100 megabit Ethernet drivers are largely irrelevant today > and we have a significant number of them in the tree. The ones that > are no longer used and/or are not known to be working need to be > removed due to the significant ongoing 'tax' on new development. >=20 > For at least a decade, most systems (including small embedded > systems) have shipped with gigabit Ethernet devices and virtual > machines commonly emulate popular gigabit devices. We wish to > retain support for popular physical and virtual devices while > removing support for uncommon ones. With a few exceptions these > drivers are unlikely to be used by our user base by the time FreeBSD > 12 is obsolete (approximately 2024). >=20 > ## Proposed Solution >=20 > We propose to deprecate devices which are not sufficiently popular. This > will entail: > - (October 2018) Send this list to freebsd-net and freebsd-stable. > - (Before FreeBSD 12.0-RELEASE - October 2018) Update the manpages and > attach routines for each device to be removed and merge those changes > to FreeBSD 12. > - (One month after FreeBSD 12.0-RELEASE - January 2018) Remind > freebsd-net and freebsd-stable users of pending deletion. > - (Two months after FreeBSD 12.0-RELEASE - February 2019) Delete depreca= ted > devices. >=20 > Through out this process, solicit feedback on additions to the exception > list and update this document as required. For a device to be placed on > the exception list the device must meet one of the following criteria: > - Popular in applications where it is likely to be deployed beyond the > support lifetime of FreeBSD 12 (late 2023). > - 5 reports of uses in the wild on machines running FreeBSD 12 will be > deemed satisfy the "popular" > requirement. > - Required to make a well supported embedded or emulation platform usabl= e. > - Ported to use iflib (reducing future maintenance cost.) >=20 > ### Exceptions to removal >=20 > Device | Reason > -------|------------------------------------------------- > ffec | Onboard Ethernet for Vybrid arm7 boards > fxp | Popular device long recommended by the project. > dc | Popular device for CardBus card. > hme | Built in interface on many supported sparc64 platforms. > le | Emulated by QEMU, alternatives don't yet work for mips64. > sis | Soekris Engineering net45xx, net48xx, lan1621, and lan1641. > vr | Soekris Engineering net5501, some Asus motherboards. > xl | Popular device for CardBus card. >=20 > Note: USB devices have been excluded from consideration in this round. >=20 > ### Device to be removed >=20 > ae, bfe, bm, cs, dme, ed, ep, ex, fe, pcn, rl, sf, smc, sn, > ste, tl, tx, txp, vx, wb, xe >=20 > ## Final Disposition >=20 > TBD --VdOwlNaOFKGAtAAV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJbtj5BAAoJEKzQXbSebgfAC4wH/203c8m6mZBpqfAuCctlsUsm nJEuJNu9hHYRFe/GZOo5G6l7utCXqgggirIIehYSVP8MoDMBdjFCOKMWhRnqfNgc vZkOEJ04F56y2C1cMWwzBbSkp7omSIoAuIjq2NKZmi0tyY37UKjlvpHUP2LdS0lr eMbug1tgOhXRDGem5+J6hZ/C61F9n9/6l3wdbHGDTGfuR3LdzYVH0M6H3d16OBKW PSNNPnBdK3p8B7HJb6YTryvVJXMajtqg10tvFEWAElLuOc4tieQXfcWH0oSISLZ9 S0kjPyd5exmoosuOxWruuGS3WOEH+0o4TtSys70VyQxRH34h0oGpjCLXedP0ky8= =bJ8N -----END PGP SIGNATURE----- --VdOwlNaOFKGAtAAV-- From owner-freebsd-net@freebsd.org Thu Oct 4 16:23:44 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF4BA10B1B1F; Thu, 4 Oct 2018 16:23:44 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5A268778EC; Thu, 4 Oct 2018 16:23:44 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 6DAD03C475F; Thu, 4 Oct 2018 16:23:43 +0000 (UTC) Date: Thu, 4 Oct 2018 16:23:43 +0000 From: Brooks Davis To: Kevin Day Cc: Warner Losh , FreeBSD Net , "freebsd-arch@freebsd.org" , luciano@vespaperitivo.it Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers Message-ID: <20181004162343.GF74146@spindle.one-eyed-alien.net> References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <45c44128-85cb-5b4c-3af3-cbdf1560c9be@grosbein.net> <42Qt573dbmz1ftWT@baobab.bilink.it> <43356262-A30B-4B4E-AB81-DE79DB985806@your.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Y1L3PTX8QE8cb2T+" Content-Disposition: inline In-Reply-To: <43356262-A30B-4B4E-AB81-DE79DB985806@your.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 16:23:44 -0000 --Y1L3PTX8QE8cb2T+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 04, 2018 at 11:21:03AM -0500, Kevin Day wrote: >=20 >=20 > > On Oct 4, 2018, at 7:58 AM, Warner Losh wrote: > >=20 > > On Thu, Oct 4, 2018 at 6:53 AM Luciano Mannucci > > wrote: > >=20 > >>> While I have no objection for general direction, I have doubts about > >> removal > >>> of ste(4) and especially rl(4). These are cheap 100Mbit VERY popular = NICs > >>> sold in enourmous values in certain markets by vendors like D-Link and > >>> TP-Link using various trade names. > >>=20 > >=20 > > Enough people are using rl that it's off the list by my count. >=20 > If you need any extra data, rl is the only one that I'd be sad to lose as= well. We have a lot of embedded devices that are still shipping today with= rl chips. I could chip in a little to sponsor someone to modernize the dri= ver if needed. It's definitly on the STAY list at this point. If you could help get it update that would be great, especially if it's still shipping (a very useful datapoint). -- Brooks --Y1L3PTX8QE8cb2T+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJbtj6OAAoJEKzQXbSebgfAHNwH/Ro7yBo3G2I9lVw1y1fGEDED rS9XTO/HDOfWkfeYvcez952oBeh6YOsXRgWAxsA7UcO43fYrRtE6R/Hb7XPUoxWa /r5gvhrWWfsmwg/eJCE+wSS8NjCdxWGa2aebZYjQct6tzHjsokuH+m9yvbfx6qD1 ecIhtMITo8Zo+5G5bybcH2JzxM1aJVATq0zVO2Ezy+MkqYg49cCbCqMsAHKFE04L 66ri3K38pMHpZxH74ucW5r4dyVSba5XDr76qKIMxBlqlfJG3OjtWQOfWVv54zXzo SdUeKYnvK7CNxv8MTP99TAk+tQ399mRfKVW5AifmHoEBld572bZzgxwlxyksvjY= =/BDY -----END PGP SIGNATURE----- --Y1L3PTX8QE8cb2T+-- From owner-freebsd-net@freebsd.org Thu Oct 4 17:38:59 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B398910B3F41 for ; Thu, 4 Oct 2018 17:38:59 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it1-x141.google.com (mail-it1-x141.google.com [IPv6:2607:f8b0:4864:20::141]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DA0877B144 for ; Thu, 4 Oct 2018 17:38:58 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it1-x141.google.com with SMTP id 74-v6so14290161itw.1 for ; Thu, 04 Oct 2018 10:38:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SqBfgU3fCH1zqiEW7mq0A7AGd6Y5Qng9r+jOAXqXyfU=; b=glavLR2Jm3bdqDdq4Uk0CAncro430qeKBaT2yH7pwfogcW86cIUZPJcyyZXTqMMrN7 1n+2Hi7q8Yel4RLihxiJ29At4uJPfr1jPX+FBaJhXMLIH79cyb3S8hBwIxDV9iefuAGf QMAfAy75RaRgbkW08QWWzIAbKzS1Uvuos8fhi/ydThxfHtd6TxPLpPOwt0YXExd7y4sI +5u0YQwdqLk5/dRxwb1pYFv4/OGmHPZqfj28VpLg3potUU0nvY+r8FnmpnYojWawG3g0 4uJJ3n8vV1B4iOR6ObAXl9o1ruJ6iagw8bS7FzpzJvTXPPTt3V2RYvIf/jJGKMUKeKPM +NcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SqBfgU3fCH1zqiEW7mq0A7AGd6Y5Qng9r+jOAXqXyfU=; b=jx65KWTDDzmZGCxn9JnFV2y1tdsLc36AagAtqPjvxkcm3rSxhJDFcYfSrXlj2qP/Yi Ay+albTwRt0XxRTkiZnx3be8GxyEMDMDohJ3SerzdsiVrhWP1eeGumnECvjjP3TB+YXL fBMlPxIxY+QxtdMqQrX3fxq6mTOwv+E/ZhjuJG4sXKVcZSJ6rXAyyaL64JEEcMzuFTGh e1Ufu57f30uLbigyvB6Qdb6FGYjxsv4CfANYVQiUPrcQVewLua3pdDxaOxtCFsdQsQgM wQYRR6ux8LPr5jVmrqe9dV0bZTn6GUEDqvJfcC3MBqaaJImT9Rtoc0njVm+NICqZ39QT 0WHA== X-Gm-Message-State: ABuFfohix8GZ+Dzd+cbdcH1B6wIJEZAnDtA2vTK+YgFOAo2KkXjCT1C5 Qgl1hSfjGsKwkK2pgdDcnNrHvMy++c5UVGH5kXyiQg== X-Google-Smtp-Source: ACcGV62HyqJuIyxVs4At+pv6ID5coX+AMcEgIRUDBqTpQqFsWecMMLrfg24TR7jERGqp0uW5bN2yfD6pP9InwfC3+UY= X-Received: by 2002:a02:31d:: with SMTP id y29-v6mr6016517jad.98.1538674738107; Thu, 04 Oct 2018 10:38:58 -0700 (PDT) MIME-Version: 1.0 References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <55a44e73-60ab-e386-360a-b0a0198a0e71@zyxst.net> <8878cac1-d5d2-4224-6aa5-85516db23c14@sorbs.net> <1538673997.14264.9.camel@freebsd.org> In-Reply-To: <1538673997.14264.9.camel@freebsd.org> From: Warner Losh Date: Thu, 4 Oct 2018 11:38:46 -0600 Message-ID: Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers To: Ian Lepore Cc: michelle@sorbs.net, FreeBSD-STABLE Mailing List , FreeBSD Net , "freebsd-arch@freebsd.org" , freebsd-fcp@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 17:38:59 -0000 On Thu, Oct 4, 2018 at 11:26 AM Ian Lepore wrote: > On Thu, 2018-10-04 at 10:21 -0600, Warner Losh wrote: > > On Thu, Oct 4, 2018 at 10:15 AM Michelle Sullivan > > wrote: > > > > > > > > tech-lists wrote: > > > > > > > > > > > > I'm astonished you're considering removing rl given how common it is. > > > > > > > I'll second that comment - though no disrespect to Brooks. Brooks as > > > far as I can see is just the messenger. > > > > > Absent good data, one has to make one's best guesses. I guessed wrong > here > > in my comments to Brooks about which ones were must keeps. I knew it was > > popular back in the day (~2000), but had thought it's popularity had > waned > > much more than it apparently has. I last deployed systems with rl in them > > around 2007, and at the time it was trailing edge gear (the SBCs we used > at > > Timing Solutions tended to use popular, but ~5-year-old technology > because > > that market segment wanted longevity of spare availability...). > > > > Warner > > 11 years later, we (Timing Solutions, now a division of Microchip) are > still using SBCs with rl(4) hardware and still shipping software > updates with that driver built into the kernel. We build systems with a > lifespan in the field of 20 years or more, and the stability and > compatibility across OS upgrades over that kind of span is a BIG reason > to use freebsd rather than linux for such things. > OK. I'd have thought those SBCs would have gone out of production years ago.... It's a good datapoint to know that there's multiple users of FreeBSD using these parts in products that are still shipping. That's a clear and compelling benefit to the project that offsets the efforts that it's taken them to keep things current with rl. In this case, though, rl is off the list, so that hardware should still be good. The only other SBC I was aware of at Timing Solutions was one that had an 'ed' chip on it (an ISA realtek part IIRC) that was used in around 2001, but in a 'one off' custom setup that I don't think will ever be upgraded.... But I have to ask since I know how things worked during my time there and systems that 'would never be upgraded' often times were later... I'd also suggest that rl stands in stark contrast to the cs, wb, sn, smc, sf, tl, tx and vr drivers, which nobody has mentioned in this thread, and which I doubt are in use in any FreeBSD system of any age today. Warner From owner-freebsd-net@freebsd.org Thu Oct 4 17:43:00 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 414BB10B44AF for ; Thu, 4 Oct 2018 17:43:00 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound2r.ore.mailhop.org (outbound2r.ore.mailhop.org [54.200.129.228]) (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 1B2137B84E for ; Thu, 4 Oct 2018 17:42:51 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-RoutePath: aGlwcGll X-MHO-User: a5fd50ef-c7fa-11e8-a70c-1d534e3451d5 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound2.ore.mailhop.org (Halon) with ESMTPSA id a5fd50ef-c7fa-11e8-a70c-1d534e3451d5; Thu, 04 Oct 2018 17:26:40 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id w94HQbEx000310; Thu, 4 Oct 2018 11:26:37 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1538673997.14264.9.camel@freebsd.org> Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers From: Ian Lepore To: Warner Losh , michelle@sorbs.net Cc: FreeBSD-STABLE Mailing List , FreeBSD Net , "freebsd-arch@freebsd.org" , freebsd-fcp@freebsd.org Date: Thu, 04 Oct 2018 11:26:37 -0600 In-Reply-To: References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <55a44e73-60ab-e386-360a-b0a0198a0e71@zyxst.net> <8878cac1-d5d2-4224-6aa5-85516db23c14@sorbs.net> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 17:43:00 -0000 On Thu, 2018-10-04 at 10:21 -0600, Warner Losh wrote: > On Thu, Oct 4, 2018 at 10:15 AM Michelle Sullivan > wrote: > > > > > tech-lists wrote: > > > > > > > > > I'm astonished you're considering removing rl given how common it is. > > > > > I'll second that comment - though no disrespect to Brooks.  Brooks as > > far as I can see is just the messenger. > > > Absent good data, one has to make one's best guesses. I guessed wrong here > in my comments to Brooks about which ones were must keeps. I knew it was > popular back in the day (~2000), but had thought it's popularity had waned > much more than it apparently has. I last deployed systems with rl in them > around 2007, and at the time it was trailing edge gear (the SBCs we used at > Timing Solutions tended to use popular, but ~5-year-old technology because > that market segment wanted longevity of spare availability...). > > Warner 11 years later, we (Timing Solutions, now a division of Microchip) are still using SBCs with rl(4) hardware and still shipping software updates with that driver built into the kernel. We build systems with a lifespan in the field of 20 years or more, and the stability and compatibility across OS upgrades over that kind of span is a BIG reason to use freebsd rather than linux for such things. -- Ian From owner-freebsd-net@freebsd.org Thu Oct 4 17:58:41 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B0A9010B4BA5 for ; Thu, 4 Oct 2018 17:58:41 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it1-x133.google.com (mail-it1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 42A677C1B1 for ; Thu, 4 Oct 2018 17:58:41 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it1-x133.google.com with SMTP id p64-v6so15334864itp.0 for ; Thu, 04 Oct 2018 10:58:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=H4wpBeohmCgTa0t3GpKab3BGtsR+5MKwBOnLIofY5fA=; b=vPVKMu8kofxzG53rI+wpbu8TQ79VdoNOUZ2zpaB6o3rC8ma6rBxCPksqBZTJFQ3FbB KuY/OvIAYmPNhdN3WHsMn9+NH3/cEnJzNbLnVnLPSWnsOd1uGCdc7IQlO2vmHTPo9jeh 20Vei+jMyPZc2W45qlGq0f4V41QguqlEQQh4ukbgu1/tVC9GBYRA9mRTrTa+PxdlJZNw 6gXFcg1CmlXulhpES8pEbwb8TbaFwyzYxoeLvi07vvW6GCHQhQpfaITvC5kWuixoBOf0 aqVA4sEKi6JoXtkdutnp5IYjRDfOFfSwpTWxx7u4A8itCNgfA2Ao0gU0fjieCoVDpFul VUfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=H4wpBeohmCgTa0t3GpKab3BGtsR+5MKwBOnLIofY5fA=; b=ilYfXYLwOCY3aOnQDRjcgQ0Uf0/ZEVoeA/dx388b/DHTK2TLhWkrnDiRuCVMHvXYBZ Lr3exPScFyw1s8cnz9RqqYxTcq48p1I4tS/HzheCqceMXUJ89gtWjN0n2BeTyXkgzNy7 RI8+CA3T4CMvb4tr2Ky18yq+3wKBiD4g+UNMOaWKdf3+j4LhbyRR3Oz1fSKfDZFGU77D 7gTrptYMaOlX+dlV30K6po7SYJa6Oa4OGsjdNjzvnnfOUVxWiWDOT86OlM+gdjhJj+3t XoF+oc6k4MWf4sbN0c63tXjnszeWAoXTAvzhrHAN+GNZsQZqp0OpegRN3J2N4PHtB424 S1bw== X-Gm-Message-State: ABuFfojfeeOh9hb7TR2aWVQvu4mVW18cwzopCStiER/jweybR8LQzA6v BWCkVcvIrD1f7orvH0S3WTEicOETsqcSn9GoPiOBbfYL X-Google-Smtp-Source: ACcGV603OJNJGULvVfKBgz+Z2jKVWYqZtFTXxcSkhpSGe0spX88Y/J3UujQeOtJCk8cEDzHJJRX8BlYF5piCTta3kII= X-Received: by 2002:a24:1c94:: with SMTP id c142-v6mr5963145itc.75.1538675920518; Thu, 04 Oct 2018 10:58:40 -0700 (PDT) MIME-Version: 1.0 References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <55a44e73-60ab-e386-360a-b0a0198a0e71@zyxst.net> <8878cac1-d5d2-4224-6aa5-85516db23c14@sorbs.net> <1538673997.14264.9.camel@freebsd.org> <1538675265.14264.12.camel@freebsd.org> In-Reply-To: <1538675265.14264.12.camel@freebsd.org> From: Warner Losh Date: Thu, 4 Oct 2018 11:58:29 -0600 Message-ID: Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers To: Ian Lepore Cc: FreeBSD Net , freebsd-fcp@freebsd.org, FreeBSD-STABLE Mailing List , "freebsd-arch@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 17:58:42 -0000 On Thu, Oct 4, 2018 at 11:47 AM Ian Lepore wrote: > On Thu, 2018-10-04 at 11:38 -0600, Warner Losh wrote: > > On Thu, Oct 4, 2018 at 11:26 AM Ian Lepore wrote: > > > > > > > > On Thu, 2018-10-04 at 10:21 -0600, Warner Losh wrote: > > > > > > > > On Thu, Oct 4, 2018 at 10:15 AM Michelle Sullivan > > > > wrote: > > > > > > > > > > > > > > > > > > > tech-lists wrote: > > > > > > > > > > > > > > > > > > > > > > > > I'm astonished you're considering removing rl given how common > it is. > > > > > > > > > > > I'll second that comment - though no disrespect to Brooks. Brooks > as > > > > > far as I can see is just the messenger. > > > > > > > > > Absent good data, one has to make one's best guesses. I guessed wrong > > > here > > > > > > > > in my comments to Brooks about which ones were must keeps. I knew it > was > > > > popular back in the day (~2000), but had thought it's popularity had > > > waned > > > > > > > > much more than it apparently has. I last deployed systems with rl in > them > > > > around 2007, and at the time it was trailing edge gear (the SBCs we > used > > > at > > > > > > > > Timing Solutions tended to use popular, but ~5-year-old technology > > > because > > > > > > > > that market segment wanted longevity of spare availability...). > > > > > > > > Warner > > > 11 years later, we (Timing Solutions, now a division of Microchip) are > > > still using SBCs with rl(4) hardware and still shipping software > > > updates with that driver built into the kernel. We build systems with a > > > lifespan in the field of 20 years or more, and the stability and > > > compatibility across OS upgrades over that kind of span is a BIG reason > > > to use freebsd rather than linux for such things. > > > > > OK. I'd have thought those SBCs would have gone out of production years > > ago.... It's a good datapoint to know that there's multiple users of > > FreeBSD using these parts in products that are still shipping. That's a > > clear and compelling benefit to the project that offsets the efforts that > > it's taken them to keep things current with rl. > > > > In this case, though, rl is off the list, so that hardware should still > be > > good. The only other SBC I was aware of at Timing Solutions was one that > > had an 'ed' chip on it (an ISA realtek part IIRC) that was used in around > > 2001, but in a 'one off' custom setup that I don't think will ever be > > upgraded.... But I have to ask since I know how things worked during my > > time there and systems that 'would never be upgraded' often times were > > later... > > > > I'd also suggest that rl stands in stark contrast to the cs, wb, sn, smc, > > sf, tl, tx and vr drivers, which nobody has mentioned in this thread, and > > which I doubt are in use in any FreeBSD system of any age today. > > > > Warner > > I checked all our various kernel configs, and the only one on the list > we still use appears to be rl. > > One driver I was surprised to see was not on the list was vte. So I'll > just preemptively mention that we do use that one too. > I'll assume that you've deployed more than 5 of these systems and that you may someday upgrade them as well? Which of the Vortex86 processors are you using, if you can answer that... Warner From owner-freebsd-net@freebsd.org Thu Oct 4 18:03:57 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1FF610B50A2 for ; Thu, 4 Oct 2018 18:03:56 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1b.ore.mailhop.org (outbound1b.ore.mailhop.org [54.200.247.200]) (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 709877C7E6 for ; Thu, 4 Oct 2018 18:03:56 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-RoutePath: aGlwcGll X-MHO-User: 99cde7c4-c7fd-11e8-aed8-99744f00ac98 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound1.ore.mailhop.org (Halon) with ESMTPSA id 99cde7c4-c7fd-11e8-aed8-99744f00ac98; Thu, 04 Oct 2018 17:47:46 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id w94HljgT000365; Thu, 4 Oct 2018 11:47:45 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1538675265.14264.12.camel@freebsd.org> Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers From: Ian Lepore To: Warner Losh Cc: FreeBSD Net , freebsd-fcp@freebsd.org, FreeBSD-STABLE Mailing List , "freebsd-arch@freebsd.org" Date: Thu, 04 Oct 2018 11:47:45 -0600 In-Reply-To: References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <55a44e73-60ab-e386-360a-b0a0198a0e71@zyxst.net> <8878cac1-d5d2-4224-6aa5-85516db23c14@sorbs.net> <1538673997.14264.9.camel@freebsd.org> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 18:03:57 -0000 On Thu, 2018-10-04 at 11:38 -0600, Warner Losh wrote: > On Thu, Oct 4, 2018 at 11:26 AM Ian Lepore wrote: > > > > > On Thu, 2018-10-04 at 10:21 -0600, Warner Losh wrote: > > > > > > On Thu, Oct 4, 2018 at 10:15 AM Michelle Sullivan > > > wrote: > > > > > > > > > > > > > > > tech-lists wrote: > > > > > > > > > > > > > > > > > > > > I'm astonished you're considering removing rl given how common it is. > > > > > > > > > I'll second that comment - though no disrespect to Brooks.  Brooks as > > > > far as I can see is just the messenger. > > > > > > > Absent good data, one has to make one's best guesses. I guessed wrong > > here > > > > > > in my comments to Brooks about which ones were must keeps. I knew it was > > > popular back in the day (~2000), but had thought it's popularity had > > waned > > > > > > much more than it apparently has. I last deployed systems with rl in them > > > around 2007, and at the time it was trailing edge gear (the SBCs we used > > at > > > > > > Timing Solutions tended to use popular, but ~5-year-old technology > > because > > > > > > that market segment wanted longevity of spare availability...). > > > > > > Warner > > 11 years later, we (Timing Solutions, now a division of Microchip) are > > still using SBCs with rl(4) hardware and still shipping software > > updates with that driver built into the kernel. We build systems with a > > lifespan in the field of 20 years or more, and the stability and > > compatibility across OS upgrades over that kind of span is a BIG reason > > to use freebsd rather than linux for such things. > > > OK. I'd have thought those SBCs would have gone out of production years > ago.... It's a good datapoint to know that there's multiple users of > FreeBSD using these parts in products that are still shipping. That's a > clear and compelling benefit to the project that offsets the efforts that > it's taken them to keep things current with rl. > > In this case, though, rl is off the list, so that hardware should still be > good. The only other SBC I was aware of at Timing Solutions was one that > had an 'ed' chip on it (an ISA realtek part IIRC) that was used in around > 2001, but in a 'one off' custom setup that I don't think will ever be > upgraded.... But I have to ask since I know how things worked during my > time there and systems that 'would never be upgraded' often times were > later... > > I'd also suggest that rl stands in stark contrast to the cs, wb, sn, smc, > sf, tl, tx and vr drivers, which nobody has mentioned in this thread, and > which I doubt are in use in any FreeBSD system of any age today. > > Warner I checked all our various kernel configs, and the only one on the list we still use appears to be rl. One driver I was surprised to see was not on the list was vte. So I'll just preemptively mention that we do use that one too. -- Ian From owner-freebsd-net@freebsd.org Thu Oct 4 18:17:56 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5697A10B5881 for ; Thu, 4 Oct 2018 18:17:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E40707D35F for ; Thu, 4 Oct 2018 18:17:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A72D710B587F; Thu, 4 Oct 2018 18:17:55 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9558D10B587E for ; Thu, 4 Oct 2018 18:17:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 337B87D35D for ; Thu, 4 Oct 2018 18:17: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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 7CD4A16762 for ; Thu, 4 Oct 2018 18:17:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w94IHsWf085245 for ; Thu, 4 Oct 2018 18:17:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w94IHsHP085237 for net@FreeBSD.org; Thu, 4 Oct 2018 18:17:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 227259] accept()/poll() and shutdown()/close() - not work as in FreeBSD10, may broke many apps Date: Thu, 04 Oct 2018 18:17:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: needs-qa, patch, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jtl@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jtl@freebsd.org X-Bugzilla-Flags: mfc-stable11+ X-Bugzilla-Changed-Fields: flagtypes.name resolution 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.27 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, 04 Oct 2018 18:17:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227259 Jonathan T. Looney changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|mfc-stable11? |mfc-stable11+ Resolution|--- |FIXED Status|In Progress |Closed --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Thu Oct 4 18:18:10 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0543810B58A3; Thu, 4 Oct 2018 18:18:10 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:d12:604::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7E2AE7D379; Thu, 4 Oct 2018 18:18:09 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13:0:0:0:5]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id w94II1Jw007207 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 4 Oct 2018 20:18:02 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: imp@bsdimp.com Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id w94II1nw095386 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 5 Oct 2018 01:18:01 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers To: Warner Losh , Ian Lepore References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <55a44e73-60ab-e386-360a-b0a0198a0e71@zyxst.net> <8878cac1-d5d2-4224-6aa5-85516db23c14@sorbs.net> <1538673997.14264.9.camel@freebsd.org> Cc: FreeBSD Net , freebsd-fcp@freebsd.org, FreeBSD-STABLE Mailing List , michelle@sorbs.net, "freebsd-arch@freebsd.org" From: Eugene Grosbein Message-ID: <71975da2-af36-7886-47f2-3f630ee67073@grosbein.net> Date: Fri, 5 Oct 2018 01:17:54 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM,SPF_PASS autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 SPF_PASS SPF: sender matches SPF record * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 18:18:10 -0000 05.10.2018 0:38, Warner Losh wrote: > I'd also suggest that rl stands in stark contrast to the cs, wb, sn, smc, > sf, tl, tx and vr drivers, which nobody has mentioned in this thread, and > which I doubt are in use in any FreeBSD system of any age today. vr(4) mentioned in the STAY list or else I would be first yelling as it is still very common in embedded solutions (including integrated ports in my home router). From owner-freebsd-net@freebsd.org Thu Oct 4 18:22:10 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5179610B5AFE; Thu, 4 Oct 2018 18:22:10 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:d12:604::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CF26F7D811; Thu, 4 Oct 2018 18:22:09 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13:0:0:0:5]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id w94IM3pw007260 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 4 Oct 2018 20:22:03 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: brooks@freebsd.org Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id w94IM2l4095408 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 5 Oct 2018 01:22:02 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers To: Brooks Davis , freebsd-arch@freebsd.org References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <20181004162225.GE74146@spindle.one-eyed-alien.net> Cc: freebsd-net@freebsd.org, freebsd-fcp@freebsd.org, freebsd-stable@freebsd.org From: Eugene Grosbein Message-ID: Date: Fri, 5 Oct 2018 01:21:56 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20181004162225.GE74146@spindle.one-eyed-alien.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM,SPF_PASS autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 SPF_PASS SPF: sender matches SPF record * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 18:22:10 -0000 04.10.2018 23:22, Brooks Davis wrote: > In an effort to save some email, we will be moving rl(4) to the list of > drivers to STAY as it has proved itself to be popular. A few others > appear to be well on their way so keep the reports coming. And ste(4) please, as these are hardly replaceable two- and four-ports cards. In many cases it is impossible to replace them without replacement of whole boxes that have no extra PCI slots. From owner-freebsd-net@freebsd.org Thu Oct 4 18:23:29 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8D8F210B5D6E for ; Thu, 4 Oct 2018 18:23:29 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it1-x136.google.com (mail-it1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2AE037DA3D for ; Thu, 4 Oct 2018 18:23:29 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it1-x136.google.com with SMTP id h6-v6so2528991ith.0 for ; Thu, 04 Oct 2018 11:23:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=t6ioxtNxlhWY4VEAbEIW/LTMG/y+05x0eO598I2z1cA=; b=BlLEyhytAIZaK5qJF7c6RzY+uWM313GDMRkBxPKNh/IWyloemT/2pa02i08VtyWPZf ZYkWUZmxjN9M5era56vH+UuI7X+xXSRPVxYXbI6GeHLXfIgXzAV6euEofwGN+jThTKu1 lDdujleKckqWcbrBNHiXSZuzVkRA5x1FkvmfhCaDKZUkj24XelMyH4+17kGTALlmG6hH +bTEMofud6Rul1ALDVQKbQ3Xy6APNSRs5gC9L2LpBIHnf1xmGBPA7cKsnw8KmQDWRfID occLVNaRgQHmxldeHpb5M+K5Tj05XXbA2DQoK+tK1FcDv26abhl0b6UwgoDm10AqClKT hXsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=t6ioxtNxlhWY4VEAbEIW/LTMG/y+05x0eO598I2z1cA=; b=JJrVyMgOitR7c0d/vdfVKHuxXUx20j99TWbpkJIUBeKBRxoIEMwNYV2Uw30n/GJzOv 90stE2mll15gHRs8AV2aphwPjsPJfvnVI5gGTn9PlsjTVEy4HSIunRCbKLbXxDDhxGeW /i+nfK1mt0BKyQw7DvGkVVcJz9kI1qQvIAJCxf3hdDl2JSlfwKSLRsOCtIfR9W2ckpyf lltNI6ioMIn51eJ0ntcJLGpGp/U7RAkWEA8S7C2eVHooQxr4olEgJY1mhQ3A+S8qJV3R I/dOKKSq0gdtrp8l7hQbF0/x8WwNdNOMkD97V4KebCSIo0AzVsUPUPL/L+uPAN4FhQdo kLZg== X-Gm-Message-State: ABuFfojdO6/VAVAVRu5pFxswN8cR4mNI0Ak3bqSTpFcQOeqZIRoM9Qfz 6VUYtFatxokiM2k7KayIis9jc9qdiPkF72AV59TQNw== X-Google-Smtp-Source: ACcGV62xVOVgoGmSCdFiEp21teQGY5S6ouwG+2WdqPtCG/w9bv+QOJfqSpZEjoaMd/6mlM9X3VrTQ12V5BPt8JhXnC0= X-Received: by 2002:a24:ac5:: with SMTP id 188-v6mr5578356itw.39.1538677408464; Thu, 04 Oct 2018 11:23:28 -0700 (PDT) MIME-Version: 1.0 References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <55a44e73-60ab-e386-360a-b0a0198a0e71@zyxst.net> <8878cac1-d5d2-4224-6aa5-85516db23c14@sorbs.net> <1538673997.14264.9.camel@freebsd.org> <71975da2-af36-7886-47f2-3f630ee67073@grosbein.net> In-Reply-To: <71975da2-af36-7886-47f2-3f630ee67073@grosbein.net> From: Warner Losh Date: Thu, 4 Oct 2018 12:23:17 -0600 Message-ID: Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers To: Eugene Grosbein Cc: Ian Lepore , FreeBSD Net , freebsd-fcp@freebsd.org, FreeBSD-STABLE Mailing List , michelle@sorbs.net, "freebsd-arch@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 18:23:29 -0000 On Thu, Oct 4, 2018 at 12:18 PM Eugene Grosbein wrote: > 05.10.2018 0:38, Warner Losh wrote: > > > I'd also suggest that rl stands in stark contrast to the cs, wb, sn, smc, > > sf, tl, tx and vr drivers, which nobody has mentioned in this thread, and > > which I doubt are in use in any FreeBSD system of any age today. > > vr(4) mentioned in the STAY list or else I would be first yelling as > it is still very common in embedded solutions (including integrated ports > in my home router). > Sorry, I'd meant to type vx. :) It's for the first generation of 3com cards after the 3C5x9 ones supported by the ep driver. Warner From owner-freebsd-net@freebsd.org Thu Oct 4 18:24:57 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4527210B5F01 for ; Thu, 4 Oct 2018 18:24:57 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (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 BDE957DC26 for ; Thu, 4 Oct 2018 18:24:56 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-RoutePath: aGlwcGll X-MHO-User: 833b1f58-c800-11e8-af31-edadc92cdc1a X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound1.eu.mailhop.org (Halon) with ESMTPSA id 833b1f58-c800-11e8-af31-edadc92cdc1a; Thu, 04 Oct 2018 18:08:41 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id w94I8ZNZ000419; Thu, 4 Oct 2018 12:08:35 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1538676515.14264.15.camel@freebsd.org> Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers From: Ian Lepore To: Warner Losh Cc: FreeBSD Net , freebsd-fcp@freebsd.org, FreeBSD-STABLE Mailing List , "freebsd-arch@freebsd.org" Date: Thu, 04 Oct 2018 12:08:35 -0600 In-Reply-To: References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <55a44e73-60ab-e386-360a-b0a0198a0e71@zyxst.net> <8878cac1-d5d2-4224-6aa5-85516db23c14@sorbs.net> <1538673997.14264.9.camel@freebsd.org> <1538675265.14264.12.camel@freebsd.org> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 18:24:57 -0000 On Thu, 2018-10-04 at 11:58 -0600, Warner Losh wrote: > On Thu, Oct 4, 2018 at 11:47 AM Ian Lepore wrote: > > > > > On Thu, 2018-10-04 at 11:38 -0600, Warner Losh wrote: > > > > > > On Thu, Oct 4, 2018 at 11:26 AM Ian Lepore > > > wrote: > > > > > > > > > > > > > > > On Thu, 2018-10-04 at 10:21 -0600, Warner Losh wrote: > > > > > > > > > > > > > > > On Thu, Oct 4, 2018 at 10:15 AM Michelle Sullivan > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > tech-lists wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm astonished you're considering removing rl given how > > > > > > > common > > it is. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'll second that comment - though no disrespect to > > > > > > Brooks.  Brooks > > as > > > > > > > > > > > > > > > > > > > > > > > > far as I can see is just the messenger. > > > > > > > > > > > Absent good data, one has to make one's best guesses. I > > > > > guessed wrong > > > > here > > > > > > > > > > > > > > > in my comments to Brooks about which ones were must keeps. I > > > > > knew it > > was > > > > > > > > > > > > > > > > > popular back in the day (~2000), but had thought it's > > > > > popularity had > > > > waned > > > > > > > > > > > > > > > much more than it apparently has. I last deployed systems > > > > > with rl in > > them > > > > > > > > > > > > > > > > > around 2007, and at the time it was trailing edge gear (the > > > > > SBCs we > > used > > > > > > > > > > > at > > > > > > > > > > > > > > > Timing Solutions tended to use popular, but ~5-year-old > > > > > technology > > > > because > > > > > > > > > > > > > > > that market segment wanted longevity of spare > > > > > availability...). > > > > > > > > > > Warner > > > > 11 years later, we (Timing Solutions, now a division of > > > > Microchip) are > > > > still using SBCs with rl(4) hardware and still shipping > > > > software > > > > updates with that driver built into the kernel. We build > > > > systems with a > > > > lifespan in the field of 20 years or more, and the stability > > > > and > > > > compatibility across OS upgrades over that kind of span is a > > > > BIG reason > > > > to use freebsd rather than linux for such things. > > > > > > > OK. I'd have thought those SBCs would have gone out of production > > > years > > > ago.... It's a good datapoint to know that there's multiple users > > > of > > > FreeBSD using these parts in products that are still shipping. > > > That's a > > > clear and compelling benefit to the project that offsets the > > > efforts that > > > it's taken them to keep things current with rl. > > > > > > In this case, though, rl is off the list, so that hardware should > > > still > > be > > > > > > good. The only other SBC I was aware of at Timing Solutions was > > > one that > > > had an 'ed' chip on it (an ISA realtek part IIRC) that was used > > > in around > > > 2001, but in a 'one off' custom setup that I don't think will > > > ever be > > > upgraded.... But I have to ask since I know how things worked > > > during my > > > time there and systems that 'would never be upgraded' often times > > > were > > > later... > > > > > > I'd also suggest that rl stands in stark contrast to the cs, wb, > > > sn, smc, > > > sf, tl, tx and vr drivers, which nobody has mentioned in this > > > thread, and > > > which I doubt are in use in any FreeBSD system of any age today. > > > > > > Warner > > I checked all our various kernel configs, and the only one on the > > list > > we still use appears to be rl. > > > > One driver I was surprised to see was not on the list was vte. So > > I'll > > just preemptively mention that we do use that one too. > > > I'll assume that you've deployed more than 5 of these systems and > that you > may someday upgrade them as well?  Which of the Vortex86 processors > are you > using, if you can answer that... > > Warner It's a DM&P Vortex86DX on a PCA-6743 board, which you can still buy. 32-bit only, BTW, which is why I hate hearing recent mumblings about discarding 32-bit x86 support in freebsd. -- Ian From owner-freebsd-net@freebsd.org Thu Oct 4 18:30:33 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1729710B6548; Thu, 4 Oct 2018 18:30:33 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:d12:604::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 93B757E2C8; Thu, 4 Oct 2018 18:30:32 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13:0:0:0:5]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id w94IUP0w007359 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 4 Oct 2018 20:30:26 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: linimon@lonesome.com Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id w94IUPfR095554 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 5 Oct 2018 01:30:25 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers To: Mark Linimon , Alexey Dokuchaev References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <20181004084411.GA50348@FreeBSD.org> <20181004142644.GA17270@lonesome.com> Cc: freebsd-fcp@freebsd.org, freebsd-net@freebsd.org, Brooks Davis , freebsd-stable@freebsd.org, freebsd-arch@freebsd.org From: Eugene Grosbein Message-ID: Date: Fri, 5 Oct 2018 01:30:18 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20181004142644.GA17270@lonesome.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM,SPF_PASS autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 SPF_PASS SPF: sender matches SPF record * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 18:30:33 -0000 04.10.2018 21:26, Mark Linimon wrote: > You can buy used core i5 laptops for around $20 if you shop around. And plus even more for overseas delivery. From owner-freebsd-net@freebsd.org Thu Oct 4 18:42:30 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E38BD10B700C; Thu, 4 Oct 2018 18:42:29 +0000 (UTC) (envelope-from spork@bway.net) Received: from smtp2.bway.net (smtp2.v6.bway.net [IPv6:2607:d300:1::28]) (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 845557F574; Thu, 4 Oct 2018 18:42:29 +0000 (UTC) (envelope-from spork@bway.net) Received: from frankentosh.sporklab.com (pool-108-53-194-153.nwrknj.fios.verizon.net [108.53.194.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: spork@bway.net) by smtp2.bway.net (Postfix) with ESMTPSA id 6626095853; Thu, 4 Oct 2018 14:42:21 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers From: Charles Sprickman In-Reply-To: <20181004155355.6C2A51571@spqr.komquats.com> Date: Thu, 4 Oct 2018 14:42:19 -0400 Cc: Rick Macklem , Warner Losh , Alexey Dokuchaev , FreeBSD Net , "freebsd-fcp@freebsd.org" , Brooks Davis , FreeBSD-STABLE Mailing List , "freebsd-arch@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <11826345-1B82-46CB-894C-E567725F8EB8@bway.net> References: <20181004155355.6C2A51571@spqr.komquats.com> To: Cy Schubert X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 18:42:30 -0000 > On Oct 4, 2018, at 11:52 AM, Cy Schubert = wrote: >=20 > I have rl, fxp, xl, dc, bge (which I have an uncommitted patch for), = nfe, and sk. Not all are scheduled for removal but this is my inventory = for which I can test and am willing to help out with. Add iwn and ath = too. I also have a stack of old stuff (almost certain there=E2=80=99s at = least one vx in there - VORTEX power!). If anyone needs cards, please = contact me and if I have it, I=E2=80=99ll send it your way. Also have = some old video (AGP), sound (ISA), SATA (PCI-X) and other total rando = stuff. One place I see the older cards are in some firewall boxes that are in = SFF boxes. Old PCI 10/100 NICs are more than adequate for backup WAN = purposes (xDSL, cable, etc.) and some of the SFF boxes have one pci-e = plus one pci slot and that=E2=80=99s it. Charles >=20 > --- > Sent using a tiny phone keyboard. > Apologies for any typos and autocorrect. > Also, this old phone only supports top post. Apologies. >=20 > Cy Schubert > or > The need of the many outweighs the greed of the few. > --- >=20 > -----Original Message----- > From: Rick Macklem > Sent: 04/10/2018 07:41 > To: Warner Losh; Alexey Dokuchaev > Cc: FreeBSD Net; freebsd-fcp@freebsd.org; Brooks Davis; FreeBSD-STABLE = Mailing List; freebsd-arch@freebsd.org > Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers >=20 > Warner Losh wrote: > [lots of stuff snipped] >> That's why that one way to get the driver off the list is to convert = to >> iflib. That greatly reduces the burden by centralizing all the = stupid, >> common things of a driver so that we only have to change one place, = not >> dozens. >=20 > I can probably do this for bfe and fxp, since I have both. > Can someone suggest a good example driver that has already been = converted, > so I can see what needs to be done? >=20 > Again, I don't care if they stay in the current/head tree. >=20 > [more stuff snipped] >=20 > rick >=20 > _______________________________________________ > freebsd-arch@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to = "freebsd-arch-unsubscribe@freebsd.org" >=20 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to = "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Thu Oct 4 18:54:24 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D4DA810B7671; Thu, 4 Oct 2018 18:54:24 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 6F95C7FE38; Thu, 4 Oct 2018 18:54:24 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.55.3]) by phk.freebsd.dk (Postfix) with ESMTP id 5DE431483F; Thu, 4 Oct 2018 18:54:23 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.15.2/8.15.2) with ESMTPS id w94IsMYw090725 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 4 Oct 2018 18:54:22 GMT (envelope-from phk@critter.freebsd.dk) Received: (from phk@localhost) by critter.freebsd.dk (8.15.2/8.15.2/Submit) id w94IsMpA090724; Thu, 4 Oct 2018 18:54:22 GMT (envelope-from phk) To: Brooks Davis cc: freebsd-arch@freebsd.org, freebsd-net@freebsd.org, freebsd-fcp@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers In-reply-to: <20181003210516.GA71565@spindle.one-eyed-alien.net> From: "Poul-Henning Kamp" References: <20181003210516.GA71565@spindle.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <90722.1538679262.1@critter.freebsd.dk> Date: Thu, 04 Oct 2018 18:54:22 +0000 Message-ID: <90723.1538679262@critter.freebsd.dk> X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 18:54:25 -0000 -------- >FCP-01010 (https://github.com/freebsd/fcp/blob/master/fcp-0101.md) Can I open a FCP to rename FCP to FBS (for FreeBSD BikeShed) ? Guys... most if not all of these emails could have been sent to directly Brooks without Cc'ing four mailing lists. Then Brooks could revise his tallies and scores to match informed reality and _then_ we could discuss if the criteria were sound on the list(s). Poul-Henning (singing an almost 20 year old refrain again) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-net@freebsd.org Thu Oct 4 19:26:51 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 260C610B848B; Thu, 4 Oct 2018 19:26:51 +0000 (UTC) (envelope-from joel@vnode.se) Received: from oden.vnode.se (oden.vnode.se [45.76.82.188]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "oden.vnode.se", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A6BD48109B; Thu, 4 Oct 2018 19:26:50 +0000 (UTC) (envelope-from joel@vnode.se) Received: from ymer.vnode.se (62-20-154-136-no280.tbcn.telia.com [62.20.154.136]) by oden.vnode.se (Postfix) with ESMTPSA id AF8A11F62B; Thu, 4 Oct 2018 21:26:48 +0200 (CEST) Date: Thu, 4 Oct 2018 21:26:48 +0200 From: Joel Dahl To: Warner Losh Cc: Eugene Grosbein , FreeBSD-STABLE Mailing List , Ian Lepore , FreeBSD Net , michelle@sorbs.net, "freebsd-arch@freebsd.org" , freebsd-fcp@freebsd.org Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers Message-ID: <20181004192648.GA5522@ymer.vnode.se> Mail-Followup-To: Warner Losh , Eugene Grosbein , FreeBSD-STABLE Mailing List , Ian Lepore , FreeBSD Net , michelle@sorbs.net, "freebsd-arch@freebsd.org" , freebsd-fcp@freebsd.org References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <55a44e73-60ab-e386-360a-b0a0198a0e71@zyxst.net> <8878cac1-d5d2-4224-6aa5-85516db23c14@sorbs.net> <1538673997.14264.9.camel@freebsd.org> <71975da2-af36-7886-47f2-3f630ee67073@grosbein.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 19:26:51 -0000 On Thu, Oct 04, 2018 at 12:23:17PM -0600, Warner Losh wrote: > On Thu, Oct 4, 2018 at 12:18 PM Eugene Grosbein wrote: > > > 05.10.2018 0:38, Warner Losh wrote: > > > > > I'd also suggest that rl stands in stark contrast to the cs, wb, sn, smc, > > > sf, tl, tx and vr drivers, which nobody has mentioned in this thread, and > > > which I doubt are in use in any FreeBSD system of any age today. > > > > vr(4) mentioned in the STAY list or else I would be first yelling as > > it is still very common in embedded solutions (including integrated ports > > in my home router). > > > > Sorry, I'd meant to type vx. :) It's for the first generation of 3com cards > after the 3C5x9 ones supported by the ep driver. I mentioned vx. Working fine here: vx0: <3COM 3C590 Etherlink III PCI> port 0x1100-0x111f irq 20 at device 0.0 on pci16 -- Joel From owner-freebsd-net@freebsd.org Thu Oct 4 19:36:27 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6519310B8953; Thu, 4 Oct 2018 19:36:27 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id ACD14816A1; Thu, 4 Oct 2018 19:36:26 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id 89Q5gNr1qwyxU89Q6gCRZg; Thu, 04 Oct 2018 13:36:24 -0600 X-Authority-Analysis: v=2.3 cv=NPJhBHyg c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=8nJEP1OIZ-IA:10 a=smKx5t2vBNcA:10 a=lRtnlflVAAAA:8 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=nOql8xjiBvw8Set5z38A:9 a=wPNLvfGTeEIA:10 a=203WYvXZLHx0qCticVN7:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 Received: from slippy.cwsent.com (slippy8 [10.2.2.6]) by spqr.komquats.com (Postfix) with ESMTPS id 021F619BF; Thu, 4 Oct 2018 12:38:04 -0700 (PDT) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id w94Ja45H004525; Thu, 4 Oct 2018 12:36:04 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id w94Ja4EK004522; Thu, 4 Oct 2018 12:36:04 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201810041936.w94Ja4EK004522@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Charles Sprickman cc: Cy Schubert , Alexey Dokuchaev , Rick Macklem , FreeBSD-STABLE Mailing List , FreeBSD Net , "freebsd-arch@freebsd.org" , "freebsd-fcp@freebsd.org" , Warner Losh Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers In-Reply-To: Message from Charles Sprickman via freebsd-fcp of "Thu, 04 Oct 2018 14:42:19 -0400." <11826345-1B82-46CB-894C-E567725F8EB8@bway.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Date: Thu, 04 Oct 2018 12:36:04 -0700 X-CMAE-Envelope: MS4wfN7RKI/ywlF4s0JK8Z152uABEeYEXH828NnSGltI10c66vdrs4+xuKLjfjHhnBUFe2odxrlE5ySLWinZwyLPippihdAB8L4uugFN1pn+ux85wPNf3OUl kOnXgCju79BdpELB9XlzbxEUbsmUntNx4c87Z0aIzyio0vLumYlmip1vLVBswQ6TjQCmdXnhFSFBEH7rp0eu/dl24GoENxXQKqF3Cf7QXAPweHdpeBCGkh80 gRpG5o2tvFRPJEmBO7nPMB6nNelLHPsMGQWYrcOOS7HgQQbBH7OASSlUMCWoXCjinpGam54347+B+/Gg0g1dKG7PDkvHPzSTY7cGcQvlQAsFuBI35JEdlKqX kXI1daQpiMggpBSih5dtmzf2gQsvSjLrQNZWdk7PIR8/HcP+4i8= X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 19:36:27 -0000 In message <11826345-1B82-46CB-894C-E567725F8EB8@bway.net>, Charles Sprickman v ia freebsd-fcp writes: > > > > On Oct 4, 2018, at 11:52 AM, Cy Schubert wrote: > > > > I have rl, fxp, xl, dc, bge (which I have an uncommitted patch for), nfe, a > nd sk. Not all are scheduled for removal but this is my inventory for which I > can test and am willing to help out with. Add iwn and ath too. > > I also have a stack of old stuff (almost certain there’s at least one vx in > there - VORTEX power!). If anyone needs cards, please contact me and if I h > ave it, I’ll send it your way. Also have some old video (AGP), sound (ISA) > , SATA (PCI-X) and other total rando stuff. > > One place I see the older cards are in some firewall boxes that are in SFF bo > xes. Old PCI 10/100 NICs are more than adequate for backup WAN purposes (xDSL > , cable, etc.) and some of the SFF boxes have one pci-e plus one pci slot and > that’s it. My firewall has most of them. It has 2 sk(4), 2 nfe(4), fxp(4), and xl(4), with xl and fxp connected to my ISP and the others on my internal network. My testbed has sk(4), nfe(4), and dc(4), connected to my DMZ, for ipfilter testing. My main build machine and my current laptop have sk(4), nfe(4), bge(4), while my i386 testbed (an old laptop) has rl(4). I have a spare motherboard (in case something breaks, while I purchase a replacement) with nv(4). All parts, including CPUs, are interchangeable. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. From owner-freebsd-net@freebsd.org Thu Oct 4 19:45:23 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7CD7410B8DE4 for ; Thu, 4 Oct 2018 19:45:23 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vtr.rulingia.com (vtr.rulingia.com [IPv6:2001:19f0:5801:ebe:5400:1ff:fe53:30fd]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vtr.rulingia.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AF4E681DAA for ; Thu, 4 Oct 2018 19:45:22 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (ppp59-167-167-3.static.internode.on.net [59.167.167.3]) by vtr.rulingia.com (8.15.2/8.15.2) with ESMTPS id w94JjAx3014595 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 5 Oct 2018 05:45:16 +1000 (AEST) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.15.2/8.15.2) with ESMTPS id w94Jj5WJ097015 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 5 Oct 2018 05:45:05 +1000 (AEST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.15.2/8.15.2/Submit) id w94Jj5Ht097014; Fri, 5 Oct 2018 05:45:05 +1000 (AEST) (envelope-from peter) Date: Fri, 5 Oct 2018 05:45:05 +1000 From: Peter Jeremy To: Andrea Venturoli Cc: freebsd-net@freebsd.org Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers Message-ID: <20181004194505.GB21091@server.rulingia.com> References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <20181004084411.GA50348@FreeBSD.org> <20181004120626.GA39489@elch.exwg.net> <12fa91bc-ef00-9170-c887-273865c8e1bd@netfence.it> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="r5Pyd7+fXNt84Ff3" Content-Disposition: inline In-Reply-To: <12fa91bc-ef00-9170-c887-273865c8e1bd@netfence.it> X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.10.0 (2018-05-17) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 19:45:23 -0000 --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2018-Oct-04 14:38:51 +0200, Andrea Venturoli via freebsd-net wrote: >Older models, up to the first RPi3 still have a 100Mb/s NIC. >I just happen to have an RPi3 and I'd really love to convert it to=20 >FreeBSD once 12.x is stable enough. All the RPi variants have Ethernet to USB adapters. They are explicitly excluded from the proposed deprecation. >BTW, I also use fxp interfaces a lot, but that's just because I have=20 Also explicitly excluded because of its popularity. --=20 Peter Jeremy --r5Pyd7+fXNt84Ff3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAlu2bcBfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi CzQdDQ/+OlAhY1//8T6dBT3X1MTrTfrfGTOIWbdpxj6NAGqqAEIp2nql4PR7nF7v EOTMooocXO4u8UclG8dVbM6+6rRDi+JUZjK4XGJDJuWTeya1kFcJhPL3vtAKUi5E kSoqA7eFdErXRroO4Ft6y2dk2wvf44iyeyw3FWlsjf4UxlEBIUlaJkkTLRpur2br VHh3i6ALa39djLGNuDvcsyfKY1GHlhWONyoaBmTi2KEO5kbR4/rzWVf3A18ehF8C 24TcJuoyBxgG6jY6QhduQ2oZlWDrfAL5Y0N+mIzCNmHn6lIFmX0l/LOm/dhi/Vyz awWC/j6VWKScvsm1vkd6SJRV7HozH7aDWogmT6b11XCDexyMJviyLnGPoL51Klgh RhmGj602tgTvqG/TplIyi77PAh+fHYWu4sShdW1FFhI16wrzW8p6yw9JD1AKYZmx yuGV7TWGM5ysmnqcJ90R4z/JyBgKw/0xirXlaTx6SJy4CvK6bLuifkcqMxTtVNmo KROAcqygFlE1i7tmMhtfdAix+IsrdWiYkchtbK94205EenYqYBX3Jyos8wDhcjA8 0qm5Cl7su8X1n5StRKZKa7E5RsOOTcWwXj9Q5QidUaBzY/5aZ1wHrb/iIiHXeq39 /0Nw/GVso2JhkWDIdwDCYc0BzzcD4WLl65P+Tv9VHwako3cuOEI= =PNY7 -----END PGP SIGNATURE----- --r5Pyd7+fXNt84Ff3-- From owner-freebsd-net@freebsd.org Thu Oct 4 19:54:37 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 237D210B90D5; Thu, 4 Oct 2018 19:54:37 +0000 (UTC) (envelope-from srs0=uily=mq=mail.sermon-archive.info=doug@sermon-archive.info) Received: from mail.sermon-archive.info (sermon-archive.info [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id B065F821A4; Thu, 4 Oct 2018 19:54:36 +0000 (UTC) (envelope-from srs0=uily=mq=mail.sermon-archive.info=doug@sermon-archive.info) Received: from [10.0.1.251] (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 42R3W83DbCz2fjRy; Thu, 4 Oct 2018 12:54:28 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers From: Doug Hardie In-Reply-To: <20181003210516.GA71565@spindle.one-eyed-alien.net> Date: Thu, 4 Oct 2018 12:54:28 -0700 Cc: freebsd-arch@freebsd.org, freebsd-net@freebsd.org, freebsd-fcp@freebsd.org, freebsd-stable@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <15FCEA6B-C017-40C5-8193-8C7AA3F563CC@mail.sermon-archive.info> References: <20181003210516.GA71565@spindle.one-eyed-alien.net> To: Brooks Davis X-Mailer: Apple Mail (2.3445.9.1) X-Virus-Scanned: clamav-milter 0.100.1 at mail X-Virus-Status: Clean X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 19:54:37 -0000 I have a number of production servers that only have bge and I don't see = that listed in either category. None of them are running FreeBSD 12 yet = as it has not been released. Also there are some with rl. Those are = add-on boards so they could be changed, but would require extensive = effort as the machines are about a 4 hour drive from here and would = require reconfiguration (an error prone process when you are tired). I also have two production machines with ue devices. There is no = provision for replacing them. They are running an early version of 12 = as 11 doesn't run on those machines. I don't see ue listed in either = category. -- Doug > On 3 October 2018, at 14:05, Brooks Davis wrote: >=20 >>>> Please direct replies to freebsd-arch <<< >=20 > FCP-01010 (https://github.com/freebsd/fcp/blob/master/fcp-0101.md) > outlines a plan to deprecate most 10/100 Ethernet drivers in FreeBSD = 12 > and remove them in FreeBSD 13 to reduce the burden of maintaining and > improving the network stack. We have discussed this within the > core team and intend to move forward as proposed. We are solictiting > feedback on the list of drivers to be excepted from removal. >=20 > The current list of drivers slated for REMOVAL is: >=20 > ae, bfe, bm, cs, dme, ed, ep, ex, fe, pcn, rl, sf, smc, sn, > ste, tl, tx, txp, vx, wb, xe >=20 > The current list of drivers that will STAY in the tree is: >=20 > dc, ffec, fxpl, hme, le, sis, vr, xl >=20 > The criteria for exception are: > - Popular in applications where it is likely to be deployed beyond the > support lifetime of FreeBSD 12 (late 2023). > - 5 reports of uses in the wild on machines running FreeBSD 12 will = be > deemed satisfy the "popular" > requirement. > - Required to make a well supported embedded or emulation platform = usable. > - Ported to use iflib (reducing future maintenance cost.) >=20 > Please reply to this message with nominations to the exception list. >=20 > The full FCP-0101 is included below. >=20 > -- Brooks >=20 > --- > authors: Brooks Davis > state: feedback > --- >=20 > # FCP 101: Deprecation and removal of 10/100 Ethernet drivers >=20 > Deprecate most 10 and 10/100Mbps Ethernet drivers and remove them = before > FreeBSD 13. >=20 > ## Problem Statement >=20 > Each network driver creates drag for the project as we attempt to > improve the network stack or provide new features such as expanded > 32-bit compatibility. For example, the author has edited every single > NIC driver more than once in the past year to update management = (`ioctl`) > interfaces. We could improve this situation by converting drivers to > iflib, but each additional driver takes work. >=20 > 10 and 100 megabit Ethernet drivers are largely irrelevant today > and we have a significant number of them in the tree. The ones that > are no longer used and/or are not known to be working need to be > removed due to the significant ongoing 'tax' on new development. >=20 > For at least a decade, most systems (including small embedded > systems) have shipped with gigabit Ethernet devices and virtual > machines commonly emulate popular gigabit devices. We wish to > retain support for popular physical and virtual devices while > removing support for uncommon ones. With a few exceptions these > drivers are unlikely to be used by our user base by the time FreeBSD > 12 is obsolete (approximately 2024). >=20 > ## Proposed Solution >=20 > We propose to deprecate devices which are not sufficiently popular. = This > will entail: > - (October 2018) Send this list to freebsd-net and freebsd-stable. > - (Before FreeBSD 12.0-RELEASE - October 2018) Update the manpages and > attach routines for each device to be removed and merge those = changes > to FreeBSD 12. > - (One month after FreeBSD 12.0-RELEASE - January 2018) Remind > freebsd-net and freebsd-stable users of pending deletion. > - (Two months after FreeBSD 12.0-RELEASE - February 2019) Delete = deprecated > devices. >=20 > Through out this process, solicit feedback on additions to the = exception > list and update this document as required. For a device to be placed = on > the exception list the device must meet one of the following criteria: > - Popular in applications where it is likely to be deployed beyond the > support lifetime of FreeBSD 12 (late 2023). > - 5 reports of uses in the wild on machines running FreeBSD 12 will = be > deemed satisfy the "popular" > requirement. > - Required to make a well supported embedded or emulation platform = usable. > - Ported to use iflib (reducing future maintenance cost.) >=20 > ### Exceptions to removal >=20 > Device | Reason > -------|------------------------------------------------- > ffec | Onboard Ethernet for Vybrid arm7 boards > fxp | Popular device long recommended by the project. > dc | Popular device for CardBus card. > hme | Built in interface on many supported sparc64 platforms. > le | Emulated by QEMU, alternatives don't yet work for mips64. > sis | Soekris Engineering net45xx, net48xx, lan1621, and lan1641. > vr | Soekris Engineering net5501, some Asus motherboards. > xl | Popular device for CardBus card. >=20 > Note: USB devices have been excluded from consideration in this round. >=20 > ### Device to be removed >=20 > ae, bfe, bm, cs, dme, ed, ep, ex, fe, pcn, rl, sf, smc, sn, > ste, tl, tx, txp, vx, wb, xe >=20 > ## Final Disposition >=20 > TBD From owner-freebsd-net@freebsd.org Thu Oct 4 21:00:19 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1CF2C10BA921 for ; Thu, 4 Oct 2018 21:00:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id AE29B84AB1 for ; Thu, 4 Oct 2018 21:00:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7344710BA91D; Thu, 4 Oct 2018 21:00:18 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 61EB610BA91C for ; Thu, 4 Oct 2018 21:00:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0291284AAD for ; Thu, 4 Oct 2018 21:00:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 370FC17DB7 for ; Thu, 4 Oct 2018 21:00:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w94L0Hw3020930 for ; Thu, 4 Oct 2018 21:00:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w94L0Hw3020929 for net@FreeBSD.org; Thu, 4 Oct 2018 21:00:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 231859] ipoib datagram mode: unicast packets are received as multicast packets Date: Thu, 04 Oct 2018 21:00: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: 11.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.27 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, 04 Oct 2018 21:00:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231859 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Oct 4 21:06:56 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D5D5E10BAE33; Thu, 4 Oct 2018 21:06:55 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vtr.rulingia.com (vtr.rulingia.com [IPv6:2001:19f0:5801:ebe:5400:1ff:fe53:30fd]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vtr.rulingia.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2514E8510F; Thu, 4 Oct 2018 21:06:54 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (ppp59-167-167-3.static.internode.on.net [59.167.167.3]) by vtr.rulingia.com (8.15.2/8.15.2) with ESMTPS id w94L6ZWA015005 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 5 Oct 2018 07:06:46 +1000 (AEST) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.15.2/8.15.2) with ESMTPS id w94L6TSr097472 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 5 Oct 2018 07:06:29 +1000 (AEST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.15.2/8.15.2/Submit) id w94L6TSU097471; Fri, 5 Oct 2018 07:06:29 +1000 (AEST) (envelope-from peter) Date: Fri, 5 Oct 2018 07:06:28 +1000 From: Peter Jeremy To: Alexey Dokuchaev Cc: freebsd-net@freebsd.org, freebsd-fcp@freebsd.org, freebsd-stable@freebsd.org, freebsd-arch@freebsd.org Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers Message-ID: <20181004210628.GC21091@server.rulingia.com> References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <20181004084411.GA50348@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="A6N2fC+uXW/VQSAv" Content-Disposition: inline In-Reply-To: <20181004084411.GA50348@FreeBSD.org> X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.10.0 (2018-05-17) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 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, 04 Oct 2018 21:06:56 -0000 --A6N2fC+uXW/VQSAv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2018-Oct-04 08:44:11 +0000, Alexey Dokuchaev wrote: >Looking at the commits they require near zero maintenance. What exactly >is the burden here? As various others have stated, this isn't true. All the code in FreeBSD has an ongoing maintenance cost and is an impediment to adding new features. There is no point in spending valuable developer effort to update drivers and test them with unusual/obsolete hardware unless those drivers are going to actually be used. >Another question: why the fuck FreeBSD likes to kill >non-broken, low-volatile and perfectly working stuff? That language is uncalled for. >We offer probably >the best NIC driver support on the block, yet you're proposing to shrink >one of the few areas where we shine. WTF?! Supporting NICs that no-one uses doesn't benefit anyone. No-one is talking about removing NICs that are in active use. >ae(4) was used in Asus EeePC 701/900 which are still popular among hackers. Those netbooks are more than a decade old now and I don't expect many are still functional. Will people still expect to use them with FreeBSD 13 in 5 years time? >As it can be seen this list tends to cover nearly all 100 cards, yet no >one (pardon me if I missed those) asks for 10. So how about making this >proposal cover only 10 cards, What is the purpose in keeping unused FastEthernet cards in the tree? >if you can't resist the itch to remove >something from the tree? Again, that language is uncalled for. --=20 Peter Jeremy --A6N2fC+uXW/VQSAv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAlu2gNRfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi CzRLMQ/7BHZCxWvC61I7bvv2AtbR4AfOz+Ei84NDcdKie4wNSdTn8w9JHqyEdolj cL49a1chwzS25dJIqpcj0wXM9j+1v0ed8+UYl+JYMVqD7qVdsyKIi66ceg8nnH1i flO/cyBrFfSAs2k1HZd1+BqJg2phvM0utK5MxMrYNqFlFRpfQXu0HnZweyBV7Of0 Nwk4ooKhFTgy+dgi9QVSNmfodD0VOh6J35ZXiSQAsDgtDohv9oliFfbf5FdlzW9t PbjPwhyTbultFQ4rNrJwM05fR2tTFIfMm84P2W5nZS/MMeTKsDjDMad2ePlwL3TX mU2K3f0HN1hfA6LTKiRl9fcFqzKSRQszE9RQ1hjW/rkk2JS2KkpMY2biScONAOmh YhT6kUMQORS5BI3YZxYnHCgGNNVltmXGCgFQBasBaf1Mb456vo2tb3lCEGRaUvi9 Uiv6TkCOWsZHSeMuAVTlWHyaMOnflLH+cu890Ox5FwTACLy6oA4zwSb/fDvOLmn6 CV+R0VEiEze0sUNPIhPPqpWBc5PwuFMnjCyleFeQuMigCOb0JHV6BljJ9XpqQY43 dYxB1HyE+8vPUgqvJBadoh7iVXHOQ74T2XacrU571WY5T/TdEBGaza1vaYKic/td gF8wDjOk8iVpfkvAqTh/ea9Mj6Pn7Gb7I6UAwqW4wD85YAShtxo= =qZrA -----END PGP SIGNATURE----- --A6N2fC+uXW/VQSAv-- From owner-freebsd-net@freebsd.org Fri Oct 5 02:16:30 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CBAB810C0110 for ; Fri, 5 Oct 2018 02:16:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 687C78D7EC for ; Fri, 5 Oct 2018 02:16:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2A88A10C010D; Fri, 5 Oct 2018 02:16:30 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1939E10C010A for ; Fri, 5 Oct 2018 02:16:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ACE318D7E5 for ; Fri, 5 Oct 2018 02:16:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 00CFE1A9F0 for ; Fri, 5 Oct 2018 02:16:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w952GSjg021287 for ; Fri, 5 Oct 2018 02:16:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w952GSTc021282 for net@FreeBSD.org; Fri, 5 Oct 2018 02:16:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 230857] loading carp module panic i386 kernel (VIMAGE related) Date: Fri, 05 Oct 2018 02:16:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: panic, vimage X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@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.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2018 02:16:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230857 Bjoern A. Zeeb changed: What |Removed |Added ---------------------------------------------------------------------------- CC|net@FreeBSD.org |toolchain@FreeBSD.org --- Comment #3 from Bjoern A. Zeeb --- Looks like this is a toolchain issue that circumvents dpcpu/vnet magic. I'll explain in full details in the morning. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Fri Oct 5 06:46:26 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9555710C4252; Fri, 5 Oct 2018 06:46:26 +0000 (UTC) (envelope-from mmacy@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4015673E91; Fri, 5 Oct 2018 06:46:26 +0000 (UTC) (envelope-from mmacy@freebsd.org) Received: from mail-it1-f181.google.com (mail-it1-f181.google.com [209.85.166.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) (Authenticated sender: mmacy) by smtp.freebsd.org (Postfix) with ESMTPSA id 1C96A1B6E7; Fri, 5 Oct 2018 06:46:26 +0000 (UTC) (envelope-from mmacy@freebsd.org) Received: by mail-it1-f181.google.com with SMTP id l191-v6so1293181ita.4; Thu, 04 Oct 2018 23:46:26 -0700 (PDT) X-Gm-Message-State: ABuFfog/I8q7MMDmP/QKC7QON+8R1OH1NUFlQ5+Am/NzaiisNeMBX0z2 Xz3gfkq4c4X4vmonyyIv0R7dc1CIWEtPHOcpLzk= X-Google-Smtp-Source: ACcGV60jJ4+VEPPE1ck+30bKDOZbqHHcZp9pkvsuDAukdUfXoS4Dnn0vWlcoMA6oTta57bdCeN2PTPRRp3ZiYlstZO8= X-Received: by 2002:a24:1cc7:: with SMTP id c190-v6mr7249138itc.30.1538721985377; Thu, 04 Oct 2018 23:46:25 -0700 (PDT) MIME-Version: 1.0 References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <15FCEA6B-C017-40C5-8193-8C7AA3F563CC@mail.sermon-archive.info> In-Reply-To: <15FCEA6B-C017-40C5-8193-8C7AA3F563CC@mail.sermon-archive.info> From: Matthew Macy Date: Thu, 4 Oct 2018 23:46:13 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers To: bc979@lafn.org Cc: freebsd-net@freebsd.org, freebsd-stable@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2018 06:46:26 -0000 On Thu, Oct 4, 2018 at 12:55 PM Doug Hardie wrote: > > I have a number of production servers that only have bge and I don't see = that listed in either category. None of them are running FreeBSD 12 yet as= it has not been released. Also there are some with rl. Those are add-on = boards so they could be changed, but would require extensive effort as the = machines are about a 4 hour drive from here and would require reconfigurati= on (an error prone process when you are tired). > To this day servers ship with bge. My Talos 2 with 2x22x4 P9s has dual onboard bge. -M > I also have two production machines with ue devices. There is no provisi= on for replacing them. They are running an early version of 12 as 11 doesn= 't run on those machines. I don't see ue listed in either category. > > -- Doug > > > On 3 October 2018, at 14:05, Brooks Davis wrote: > > > >>>> Please direct replies to freebsd-arch <<< > > > > FCP-01010 (https://github.com/freebsd/fcp/blob/master/fcp-0101.md) > > outlines a plan to deprecate most 10/100 Ethernet drivers in FreeBSD 12 > > and remove them in FreeBSD 13 to reduce the burden of maintaining and > > improving the network stack. We have discussed this within the > > core team and intend to move forward as proposed. We are solictiting > > feedback on the list of drivers to be excepted from removal. > > > > The current list of drivers slated for REMOVAL is: > > > > ae, bfe, bm, cs, dme, ed, ep, ex, fe, pcn, rl, sf, smc, sn, > > ste, tl, tx, txp, vx, wb, xe > > > > The current list of drivers that will STAY in the tree is: > > > > dc, ffec, fxpl, hme, le, sis, vr, xl > > > > The criteria for exception are: > > - Popular in applications where it is likely to be deployed beyond the > > support lifetime of FreeBSD 12 (late 2023). > > - 5 reports of uses in the wild on machines running FreeBSD 12 will b= e > > deemed satisfy the "popular" > > requirement. > > - Required to make a well supported embedded or emulation platform usab= le. > > - Ported to use iflib (reducing future maintenance cost.) > > > > Please reply to this message with nominations to the exception list. > > > > The full FCP-0101 is included below. > > > > -- Brooks > > > > --- > > authors: Brooks Davis > > state: feedback > > --- > > > > # FCP 101: Deprecation and removal of 10/100 Ethernet drivers > > > > Deprecate most 10 and 10/100Mbps Ethernet drivers and remove them befor= e > > FreeBSD 13. > > > > ## Problem Statement > > > > Each network driver creates drag for the project as we attempt to > > improve the network stack or provide new features such as expanded > > 32-bit compatibility. For example, the author has edited every single > > NIC driver more than once in the past year to update management (`ioctl= `) > > interfaces. We could improve this situation by converting drivers to > > iflib, but each additional driver takes work. > > > > 10 and 100 megabit Ethernet drivers are largely irrelevant today > > and we have a significant number of them in the tree. The ones that > > are no longer used and/or are not known to be working need to be > > removed due to the significant ongoing 'tax' on new development. > > > > For at least a decade, most systems (including small embedded > > systems) have shipped with gigabit Ethernet devices and virtual > > machines commonly emulate popular gigabit devices. We wish to > > retain support for popular physical and virtual devices while > > removing support for uncommon ones. With a few exceptions these > > drivers are unlikely to be used by our user base by the time FreeBSD > > 12 is obsolete (approximately 2024). > > > > ## Proposed Solution > > > > We propose to deprecate devices which are not sufficiently popular. Th= is > > will entail: > > - (October 2018) Send this list to freebsd-net and freebsd-stable. > > - (Before FreeBSD 12.0-RELEASE - October 2018) Update the manpages and > > attach routines for each device to be removed and merge those changes > > to FreeBSD 12. > > - (One month after FreeBSD 12.0-RELEASE - January 2018) Remind > > freebsd-net and freebsd-stable users of pending deletion. > > - (Two months after FreeBSD 12.0-RELEASE - February 2019) Delete deprec= ated > > devices. > > > > Through out this process, solicit feedback on additions to the exceptio= n > > list and update this document as required. For a device to be placed o= n > > the exception list the device must meet one of the following criteria: > > - Popular in applications where it is likely to be deployed beyond the > > support lifetime of FreeBSD 12 (late 2023). > > - 5 reports of uses in the wild on machines running FreeBSD 12 will b= e > > deemed satisfy the "popular" > > requirement. > > - Required to make a well supported embedded or emulation platform usab= le. > > - Ported to use iflib (reducing future maintenance cost.) > > > > ### Exceptions to removal > > > > Device | Reason > > -------|------------------------------------------------- > > ffec | Onboard Ethernet for Vybrid arm7 boards > > fxp | Popular device long recommended by the project. > > dc | Popular device for CardBus card. > > hme | Built in interface on many supported sparc64 platforms. > > le | Emulated by QEMU, alternatives don't yet work for mips64. > > sis | Soekris Engineering net45xx, net48xx, lan1621, and lan1641. > > vr | Soekris Engineering net5501, some Asus motherboards. > > xl | Popular device for CardBus card. > > > > Note: USB devices have been excluded from consideration in this round. > > > > ### Device to be removed > > > > ae, bfe, bm, cs, dme, ed, ep, ex, fe, pcn, rl, sf, smc, sn, > > ste, tl, tx, txp, vx, wb, xe > > > > ## Final Disposition > > > > TBD > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Fri Oct 5 07:46:00 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A383C10C53E2 for ; Fri, 5 Oct 2018 07:46:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 40F27757C3 for ; Fri, 5 Oct 2018 07:46:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 05A6610C53E0; Fri, 5 Oct 2018 07:46:00 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E87E310C53DF for ; Fri, 5 Oct 2018 07:45:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 81907757C2 for ; Fri, 5 Oct 2018 07:45: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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id C7FCA1D787 for ; Fri, 5 Oct 2018 07:45:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w957jwOF054173 for ; Fri, 5 Oct 2018 07:45:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w957jw1t054172 for net@FreeBSD.org; Fri, 5 Oct 2018 07:45:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 231859] ipoib datagram mode: unicast packets are received as multicast packets Date: Fri, 05 Oct 2018 07:45:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2018 07:46:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231859 --- Comment #1 from Hans Petter Selasky --- Is the behaviour the same with an 11-stable kernel? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Oct 5 11:33:40 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6476110A8489 for ; Fri, 5 Oct 2018 11:33:40 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from sender-of-o53.zoho.com (sender-of-o53.zoho.com [135.84.80.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C24417CB7B for ; Fri, 5 Oct 2018 11:33:39 +0000 (UTC) (envelope-from patfbsd@davenulle.org) ARC-Seal: i=1; a=rsa-sha256; t=1538739194; cv=none; d=zoho.com; s=zohoarc; b=Adqb90o0B3f29OvbwhImBhyb89C+zcs3y8JlFbn73xMvDp9SezpbY4DsAh+Tdkb7MSzxFKV2qnMjfbBHna9/1yC3f2aMiVBoPGnuebEkQFm5nrvEjwM6hbypITU6lYdU74Xqp0S8vsqRk6DP2rvEeZoHmxgNXfn+0G3ot9/3q68= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1538739194; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To:ARC-Authentication-Results; bh=ME62lMLfIokHE3iMmZgysDBFYsxF/7RlGlOogejKGMo=; b=HvCY41MchxuNnBy3AqjLJZhXyv15l4obgkyjUINbAEsUZRUcLc5em8kLyg6gwXr98xvyQQ+aEy0t2Dl8A7ouTaRTGgPg2V2o3Wd7udpb3hwGgAraizh599GDqGrmO6qIJcidHIQQAn2HqfwaVdp5iVx7XmQDBcWNT8O6DHMwenU= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=davenulle.org; spf=pass smtp.mailfrom=patfbsd@davenulle.org; dmarc=pass header.from= header.from= Received: from mr185033.univ-rennes1.fr (mr185033.cri.univ-rennes1.fr [129.20.185.33]) by mx.zohomail.com with SMTPS id 1538739191722271.1150279437304; Fri, 5 Oct 2018 04:33:11 -0700 (PDT) Date: Fri, 5 Oct 2018 13:33:02 +0200 From: Patrick Lamaiziere To: freebsd-ports@freebsd.org Cc: freebsd-net@freebsd.org Subject: [freebsd 11.2] net-snmpd incomplete mac addresses Message-ID: <20181005133302.5f518dc6@mr185033.univ-rennes1.fr> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-ZohoMailClient: External X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2018 11:33:40 -0000 Hello, freebsd 11.2/amd64 release net-snmp-5.7.3_18 net-snmpd returns incomplete MAC addresses in IF-MIB::ifPhysAddress, the first octet is always "0". $ snmpwalk -v 2c -c "xxx" localhost 1.3.6.1.2.1.2.2.1.6 IF-MIB::ifPhysAddress.1 = STRING: 0:36:9f:93:7d:f8 IF-MIB::ifPhysAddress.2 = STRING: 0:36:9f:93:7d:fa IF-MIB::ifPhysAddress.3 = STRING: 0:f4:bb:ef:c8:e4 ... $ ifconfig | grep ether ether a0:36:9f:93:7d:f8 ether a0:36:9f:93:7d:fa ether ec:f4:bb:ef:c8:e4 tcpdump confirms that the problem is in net-snmpd (and not the client). Also when using the MIB IP-MIB::ipNetToMediaPhysAddress the MAC addresses are correct. $ snmpwalk -v2c -c '***r***' localhost IP-MIB::ipNetToMediaPhysAddress | grep a0:36:9f:93:7d:f8 IP-MIB::ipNetToMediaPhysAddress.13.10.10.1.118 = STRING: a0:36:9f:93:7d:f8 I've checked net-snmpd 5.7.3 under linux and the mac addresses are correct. (So it's specific to FreeBSD.) Any clue ? Thanks, regards. From owner-freebsd-net@freebsd.org Fri Oct 5 12:15:04 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 35CCE10AA10C for ; Fri, 5 Oct 2018 12:15:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C72887E2AD for ; Fri, 5 Oct 2018 12:15:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 881BF10AA10B; Fri, 5 Oct 2018 12:15:03 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 76ACA10AA10A for ; Fri, 5 Oct 2018 12:15:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 184A17E2AA for ; Fri, 5 Oct 2018 12:15: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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 5E9C71FD52 for ; Fri, 5 Oct 2018 12:15:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w95CF2lZ000330 for ; Fri, 5 Oct 2018 12:15:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w95CF2Qc000322 for net@FreeBSD.org; Fri, 5 Oct 2018 12:15:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 231659] [em] 12-ALPHA7 r338900 crashes with IPsec on network load Date: Fri, 05 Oct 2018 12:15:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: IntelNetworking, crash, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lev@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2018 12:15:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231659 --- Comment #18 from Lev A. Serebryakov --- Do I need to provide additional information? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Oct 5 13:15:42 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B905F10ABBE2; Fri, 5 Oct 2018 13:15:42 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (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 501DB807F9; Fri, 5 Oct 2018 13:15:42 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id D87C121FA9; Fri, 5 Oct 2018 09:15:41 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 05 Oct 2018 09:15:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yuripv.net; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type; s=fm3; bh=hBaa6eXEZ3GHktXnf06mTur0EXY kYqqGxfyA2SGERaQ=; b=G4XKK/wP8JbejRDAWHO5KR4vYrXwLyZyp14IVuQPF+H z+sqeF0qirya3Fn2GeuVkU9pxJhIrXD4zEJyv/EEdqqNpBjdJ5lfOyyKDxhSHn0o g/GErsfvBvLVYFhP+rYvJTKArKlO0JQ7AvCAXRwytEQAsEj4xHaZF2BKA4iOEmGk Jb7fN+iZYGiV1IhhQXcQc9mAK3ubai4jOuOqX79untFnG6o6BHIrJbkxPf7+vYG3 Tf7DC+GVig55qbzwl0mxwj6ibVxd6UQCQ9FkCzH3m29s3+BFeg0O5c3Xko+BjHnC 4pOC6dujxsVN5RquYeWJesWUyWaLXCRoCZ8zahJjUww== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=hBaa6e XEZ3GHktXnf06mTur0EXYkYqqGxfyA2SGERaQ=; b=ZxF0TBvloF2Wvr9cJNfMtQ MBUCrF7flPHpxLHWWljzTh50KgHJXn5FsdgLisR2Fu/s4GsToCRSku1t+XrTaPPi 2LUUdwY/sgm0WOzAKMxKSCIRnAJCG2shb+iv7a7+oBa9Buy3bXXB5iHoqOzVEIji hpOveAAZEoEbLQFb7XsMeg7D+rWGjzDB+mTULySGuec+sDeZHt8Q4AtSjupDMWIe gXbx3a5UeExDuPVCXVqlFHxR02/01m1GprbVwAOtWhQhS9QZLgAO0uRODwuUms8E h5iwUQoUFLJWezNkLHjYjOf/OTrrKA6u1L0zUYwO0lWMhNUVMoJ7adqsdZ9C9l0w == X-ME-Sender: X-ME-Proxy: Received: from [192.168.1.2] (unknown [62.183.124.173]) by mail.messagingengine.com (Postfix) with ESMTPA id AB6C0E4937; Fri, 5 Oct 2018 09:15:39 -0400 (EDT) Subject: Re: [freebsd 11.2] net-snmpd incomplete mac addresses To: Patrick Lamaiziere , freebsd-ports@freebsd.org Cc: freebsd-net@freebsd.org References: <20181005133302.5f518dc6@mr185033.univ-rennes1.fr> From: Yuri Pankov Message-ID: <930810ba-b659-d571-de84-995c1c97f1e5@yuripv.net> Date: Fri, 5 Oct 2018 16:15:21 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181005133302.5f518dc6@mr185033.univ-rennes1.fr> Content-Type: multipart/mixed; boundary="------------0F1F5B7C7CC3A3E1675E8456" Content-Language: en-US X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2018 13:15:43 -0000 This is a multi-part message in MIME format. --------------0F1F5B7C7CC3A3E1675E8456 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Patrick Lamaiziere wrote: > Hello, > > freebsd 11.2/amd64 release > net-snmp-5.7.3_18 > > net-snmpd returns incomplete MAC addresses in IF-MIB::ifPhysAddress, > the first octet is always "0". > > $ snmpwalk -v 2c -c "xxx" localhost 1.3.6.1.2.1.2.2.1.6 > IF-MIB::ifPhysAddress.1 = STRING: 0:36:9f:93:7d:f8 > IF-MIB::ifPhysAddress.2 = STRING: 0:36:9f:93:7d:fa > IF-MIB::ifPhysAddress.3 = STRING: 0:f4:bb:ef:c8:e4 > ... > > $ ifconfig | grep ether > ether a0:36:9f:93:7d:f8 > ether a0:36:9f:93:7d:fa > ether ec:f4:bb:ef:c8:e4 > > tcpdump confirms that the problem is in net-snmpd (and not the client). > > Also when using the MIB IP-MIB::ipNetToMediaPhysAddress the MAC > addresses are correct. > > $ snmpwalk -v2c -c '***r***' localhost IP-MIB::ipNetToMediaPhysAddress | grep a0:36:9f:93:7d:f8 > IP-MIB::ipNetToMediaPhysAddress.13.10.10.1.118 = STRING: a0:36:9f:93:7d:f8 > > I've checked net-snmpd 5.7.3 under linux and the mac addresses are > correct. (So it's specific to FreeBSD.) > > Any clue ? It looks like net-snmp being stupid, try the attached patch (put to files/). --------------0F1F5B7C7CC3A3E1675E8456 Content-Type: text/plain; charset=UTF-8; name="patch-agent_mibgroup_if-mib_data__access_interface__sysctl.c" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename*0="patch-agent_mibgroup_if-mib_data__access_interface__sysctl.c" LS0tIGFnZW50L21pYmdyb3VwL2lmLW1pYi9kYXRhX2FjY2Vzcy9pbnRlcmZhY2Vfc3lzY3Rs LmMub3JpZwkyMDE4LTEwLTA1IDEzOjExOjI1IFVUQworKysgYWdlbnQvbWliZ3JvdXAvaWYt bWliL2RhdGFfYWNjZXNzL2ludGVyZmFjZV9zeXNjdGwuYwpAQCAtMzk3LDcgKzM5Nyw4IEBA IG5ldHNubXBfYXJjaF9pbnRlcmZhY2VfY29udGFpbmVyX2xvYWQobmV0c25tcF9jb250YWlu ZQogICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgIH0KICAgICAgICAgICAgIGFkbCA9 IChzdHJ1Y3Qgc29ja2FkZHJfZGwgKikgYTsKLSAgICAgICAgICAgIGlmX25hbWUgPSAoY2hh ciAqKSBhZGwtPnNkbF9kYXRhOworICAgICAgICAgICAgaWZfbmFtZSA9IG1hbGxvYyhhZGwt PnNkbF9ubGVuICsgMSk7CisgICAgICAgICAgICBtZW1jcHkoaWZfbmFtZSwgYWRsLT5zZGxf ZGF0YSwgYWRsLT5zZGxfbmxlbik7CiAgICAgICAgICAgICBpZl9uYW1lW2FkbC0+c2RsX25s ZW5dID0gJ1wwJzsKICAgICAgICAgfQogICAgICAgICBpZiAoIShpZnAtPmlmbV9hZGRycyAm IFJUQV9JRlApIHx8IGlmX25hbWUgPT0gTlVMTCkgewpAQCAtNDExLDYgKzQxMiw3IEBAIG5l dHNubXBfYXJjaF9pbnRlcmZhY2VfY29udGFpbmVyX2xvYWQobmV0c25tcF9jb250YWluZQog ICAgICAgICAgICAgbmV0c25tcF9hY2Nlc3NfaW50ZXJmYWNlX2NvbnRhaW5lcl9mcmVlKGNv bnRhaW5lciwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICBORVRTTk1QX0FDQ0VTU19JTlRFUkZBQ0VfRlJFRV9OT0ZMQUdTKTsKICAgICAg ICAgICAgIGZyZWUoaWZfbGlzdCk7CisgICAgICAgICAgICBmcmVlKGlmX25hbWUpOwogICAg ICAgICAgICAgcmV0dXJuIC0zOwogICAgICAgICB9CiAKQEAgLTQyOSw2ICs0MzEsNyBAQCBu ZXRzbm1wX2FyY2hfaW50ZXJmYWNlX2NvbnRhaW5lcl9sb2FkKG5ldHNubXBfY29udGFpbmUK ICAgICAgICAgICAgIGVudHJ5LT5wYWRkcl9sZW4gPSA2OwogICAgICAgICAgICAgbWVtc2V0 KGVudHJ5LT5wYWRkciwgMCwgNik7CiAgICAgICAgIH0KKwlmcmVlKGlmX25hbWUpOwogCiAg ICAgICAgIGVudHJ5LT5tdHUgPSBpZnAtPmlmbV9kYXRhLmlmaV9tdHU7CiAgICAgICAgIGVu dHJ5LT50eXBlID0gaWZwLT5pZm1fZGF0YS5pZmlfdHlwZTsK --------------0F1F5B7C7CC3A3E1675E8456-- From owner-freebsd-net@freebsd.org Fri Oct 5 13:16:53 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5CD3410ABCF6; Fri, 5 Oct 2018 13:16:53 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:d12:604::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D9CC980910; Fri, 5 Oct 2018 13:16:52 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13:0:0:0:5]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id w95DGdsq016413 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 5 Oct 2018 15:16:40 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: patfbsd@davenulle.org Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id w95DGcnA004775 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 5 Oct 2018 20:16:39 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: [freebsd 11.2] net-snmpd incomplete mac addresses To: Patrick Lamaiziere , freebsd-ports@freebsd.org References: <20181005133302.5f518dc6@mr185033.univ-rennes1.fr> Cc: freebsd-net@freebsd.org From: Eugene Grosbein Message-ID: Date: Fri, 5 Oct 2018 20:16:32 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20181005133302.5f518dc6@mr185033.univ-rennes1.fr> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM,SPF_PASS autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 SPF_PASS SPF: sender matches SPF record * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2018 13:16:53 -0000 05.10.2018 18:33, Patrick Lamaiziere wrote: > Hello, > > freebsd 11.2/amd64 release > net-snmp-5.7.3_18 > > net-snmpd returns incomplete MAC addresses in IF-MIB::ifPhysAddress, > the first octet is always "0". > > $ snmpwalk -v 2c -c "xxx" localhost 1.3.6.1.2.1.2.2.1.6 > IF-MIB::ifPhysAddress.1 = STRING: 0:36:9f:93:7d:f8 > IF-MIB::ifPhysAddress.2 = STRING: 0:36:9f:93:7d:fa > IF-MIB::ifPhysAddress.3 = STRING: 0:f4:bb:ef:c8:e4 > ... > > $ ifconfig | grep ether > ether a0:36:9f:93:7d:f8 > ether a0:36:9f:93:7d:fa > ether ec:f4:bb:ef:c8:e4 > > tcpdump confirms that the problem is in net-snmpd (and not the client). > > Also when using the MIB IP-MIB::ipNetToMediaPhysAddress the MAC > addresses are correct. > > $ snmpwalk -v2c -c '***r***' localhost IP-MIB::ipNetToMediaPhysAddress | grep a0:36:9f:93:7d:f8 > IP-MIB::ipNetToMediaPhysAddress.13.10.10.1.118 = STRING: a0:36:9f:93:7d:f8 > > I've checked net-snmpd 5.7.3 under linux and the mac addresses are > correct. (So it's specific to FreeBSD.) > > Any clue ? We have bsnmpd in the base system. Does it exhibit same problem? From owner-freebsd-net@freebsd.org Fri Oct 5 14:46:25 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 98C6F10ADA11; Fri, 5 Oct 2018 14:46:25 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "land.berklix.org", Issuer "land.berklix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2034E83015; Fri, 5 Oct 2018 14:46:24 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from mart.js.berklix.net (p2E52C221.dip0.t-ipconnect.de [46.82.194.33]) (authenticated bits=0) by land.berklix.org (8.15.2/8.15.2) with ESMTPSA id w95Drmv9034754 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 5 Oct 2018 13:53:52 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id w95DrhMR076193; Fri, 5 Oct 2018 15:53:43 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.7/8.14.7) with ESMTP id w95DrVkC072450; Fri, 5 Oct 2018 15:53:43 +0200 (CEST) (envelope-from jhs@berklix.com) Message-Id: <201810051353.w95DrVkC072450@fire.js.berklix.net> To: Brooks Davis cc: freebsd-arch@freebsd.org, freebsd-net@freebsd.org, freebsd-fcp@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers From: "Julian H. Stacey" Organization: http://berklix.eu BSD Unix Linux Consultants, Munich Germany User-agent: EXMH on FreeBSD http://berklix.eu/free/ X-From: http://www.berklix.eu/~jhs/ In-reply-to: Your message "Wed, 03 Oct 2018 21:05:16 -0000." <20181003210516.GA71565@spindle.one-eyed-alien.net> Date: Fri, 05 Oct 2018 15:53:31 +0200 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2018 14:46:25 -0000 > >>> Please direct replies to freebsd-arch <<< > > FCP-01010 (https://github.com/freebsd/fcp/blob/master/fcp-0101.md) > outlines a plan to deprecate most 10/100 Ethernet drivers in FreeBSD 12 > and remove them in FreeBSD 13 to reduce the burden of maintaining and > improving the network stack. We have discussed this within the > core team and intend to move forward as proposed. We are solictiting > feedback on the list of drivers to be excepted from removal. > > The current list of drivers slated for REMOVAL is: > > ae, bfe, bm, cs, dme, ed, ep, ex, fe, pcn, rl, sf, smc, sn, > ste, tl, tx, txp, vx, wb, xe I have many hosts using ed & rl, several using ep, & at least one using xe or ex. That's just from memory, maybe other drivers in peril. Unless the functionality of drivers is sub-sumed in to other drivers, stripping all those drivers would motivate some to never upgrade again, or dump FreeBSD for a more conservative BSD, or fork FreeBSD etc. Stripping dead code helps developers play easier, but stripping live code is offensive. Some who periodicaly propose code demolitions forget that many users of FreeBSD don't subscribe lists, except maybe announce, as too busy, maintaining FreeBSD on networks ... until their nets don't work. Cheers, Julian -- Julian Stacey, Computer Consultant, Systems Engineer, BSD Linux Unix, Munich Brexit: 3,700,000 stolen votes in 1st referendum inc. 700,000 from Brits in EU Campaign lies & criminal funding, economy & pound down: New referendum needed. http://exitbrexit.uk From owner-freebsd-net@freebsd.org Fri Oct 5 15:05:16 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E770F10AE2E9; Fri, 5 Oct 2018 15:05:15 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from fry.fubar.geek.nz (fry.fubar.geek.nz [139.59.165.16]) by mx1.freebsd.org (Postfix) with ESMTP id 8C1B683C67; Fri, 5 Oct 2018 15:05:15 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from [IPv6:2001:630:212:2a8:fd98:5c4c:514a:52ac] (unknown [IPv6:2001:630:212:2a8:fd98:5c4c:514a:52ac]) by fry.fubar.geek.nz (Postfix) with ESMTPSA id 7D3B84EC9D; Fri, 5 Oct 2018 15:04:38 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers From: Andrew Turner In-Reply-To: <20181003210516.GA71565@spindle.one-eyed-alien.net> Date: Fri, 5 Oct 2018 16:04:36 +0100 Cc: freebsd-arch@freebsd.org, freebsd-net@freebsd.org, freebsd-fcp@freebsd.org, freebsd-stable@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20181003210516.GA71565@spindle.one-eyed-alien.net> To: Brooks Davis X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2018 15:05:16 -0000 > On 3 Oct 2018, at 22:05, Brooks Davis wrote: >=20 >>>> Please direct replies to freebsd-arch <<< >=20 > FCP-01010 (https://github.com/freebsd/fcp/blob/master/fcp-0101.md) > outlines a plan to deprecate most 10/100 Ethernet drivers in FreeBSD = 12 > and remove them in FreeBSD 13 to reduce the burden of maintaining and > improving the network stack. We have discussed this within the > core team and intend to move forward as proposed. We are solictiting > feedback on the list of drivers to be excepted from removal. >=20 > The current list of drivers slated for REMOVAL is: >=20 > ae, bfe, bm, cs, dme, ed, ep, ex, fe, pcn, rl, sf, smc, sn, > ste, tl, tx, txp, vx, wb, xe smc is found in the Arm models (simulators) [1]. I=E2=80=99ve seen it in = the Foundation and Architecture Envelope Models. I assume it=E2=80=99s = also in the other models, but don=E2=80=99t have a license for them to = check. Andrew [1] = https://developer.arm.com/products/system-design/fixed-virtual-platforms From owner-freebsd-net@freebsd.org Fri Oct 5 15:13:36 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DAEAC10AE905 for ; Fri, 5 Oct 2018 15:13:35 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D3C85842A1 for ; Fri, 5 Oct 2018 15:13:34 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io1-xd2f.google.com with SMTP id n5-v6so566994ioh.5 for ; Fri, 05 Oct 2018 08:13:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2YXOf4VyPauBAfRAGu6+u4Z/ZAW74+nHlykIdp+IS4w=; b=bIhCsEh0fGUDbJBl7/EbA2uDFB0vGFVglRMVCaVYBp9UUqdOit2iJg8OSkshv7qe70 R1o5O56IxrLsYOGlCE+FK7RH3itEgvA8tvXd/ZrdBRiAcCaVrpZ9nOWO59zaTl34xYVs UXUZfsZ9RS/B7BCM834EPIxKewvHtnQh+T3kczm7Guatjr0GcS2Ph8QZg9yBY3+u4BtH gE+HloSwfXhhmpTLwg/ND8cRQnyNCjWDByVGddf2dViwCuezEGSsIs5B96/M61AvthDf BEI3+tppIK9a9f2Fe13Pt+K7CbBkeprMD3Q3fsAYs8ZY19RuY+z0Fg49rFHl97N4BX5P TZvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2YXOf4VyPauBAfRAGu6+u4Z/ZAW74+nHlykIdp+IS4w=; b=EIp13NbgqIw1WRLQouDbg3xSMRg8sZ8kPusZn1bv0tPaLmtqzgWkStqVH4/wOf3U9H 83ONo5IGDGWltvD+hBo6lpPN/CfRLLfFwTl/1LWMJu6eZjtg7eG2UifZ9Jadv5RIx0Xt yasuVbq7BCblPk58QbIG2oil4bETHUPSH2ulDaNs7z8QEhfvTCnOY9PDNNxiXFn6mETM ewzh+KQPGUcravilkYyF7aD8femGl1B4Akzrdyk52cbY1vA0qCP5eaDXt7AUTRKMny44 O1P1cNDaS9mgHiRQCmQ2H7gjFO5HY9aIeAVba2tZAJ+ZsSdFU7WiwlaTn1fPVryT9kAw TzaA== X-Gm-Message-State: ABuFfoimA2//rRG06vy45H5oNUx+atAWWx0pg9yDDkCiup0D96eWYgE5 h8c6a1p+cTlmLw1NNNGLLZzy+NzFciVNOC2+1u2aPwaH X-Google-Smtp-Source: ACcGV61U2HQUUqOp0CJJkJfbz8A1HS0npwHJcowFlpxqMvNBlgHeJR11FrZclRinFXicG4KbOsAbrXV6+Y3wtZUo4SM= X-Received: by 2002:a6b:d004:: with SMTP id x4-v6mr7869274ioa.299.1538752413806; Fri, 05 Oct 2018 08:13:33 -0700 (PDT) MIME-Version: 1.0 References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <201810051353.w95DrVkC072450@fire.js.berklix.net> In-Reply-To: <201810051353.w95DrVkC072450@fire.js.berklix.net> From: Warner Losh Date: Fri, 5 Oct 2018 09:13:22 -0600 Message-ID: Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers To: "Julian H. Stacey" Cc: Brooks Davis , FreeBSD Net , freebsd-fcp@freebsd.org, FreeBSD-STABLE Mailing List , "freebsd-arch@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2018 15:13:36 -0000 On Fri, Oct 5, 2018 at 8:46 AM Julian H. Stacey wrote: > > >>> Please direct replies to freebsd-arch <<< > > > > FCP-01010 (https://github.com/freebsd/fcp/blob/master/fcp-0101.md) > > outlines a plan to deprecate most 10/100 Ethernet drivers in FreeBSD 12 > > and remove them in FreeBSD 13 to reduce the burden of maintaining and > > improving the network stack. We have discussed this within the > > core team and intend to move forward as proposed. We are solictiting > > feedback on the list of drivers to be excepted from removal. > > > > The current list of drivers slated for REMOVAL is: > > > > ae, bfe, bm, cs, dme, ed, ep, ex, fe, pcn, rl, sf, smc, sn, > > ste, tl, tx, txp, vx, wb, xe > > I have many hosts using ed & rl, several using ep, & at least one > using xe or ex. That's just from memory, maybe other drivers in peril. > Later in the thread rl was removed from the list. What systems are you running ed, ex and/or xe on? So far I've heard no reports of people using the latter two in about a decade. Unless the functionality of drivers is sub-sumed in to other drivers, > stripping all those drivers would motivate some to never upgrade > again, or dump FreeBSD for a more conservative BSD, or fork FreeBSD etc. > You could also create a port/pkg for them and assume the burden of maintenance yourself. > Stripping dead code helps developers play easier, but stripping > live code is offensive. Some who periodicaly propose code demolitions > forget that many users of FreeBSD don't subscribe lists, except > maybe announce, as too busy, maintaining FreeBSD on networks ... > until their nets don't work. > I think in this case there will be plenty of warning. They will upgrade to 12, one assumes, and see the deprecation message in their new kernel logs. There's going to be about a 6 month window between when this is announced and when it happens to collect evidence that removal is unwarranted, to show they are still in use by enough people to justify their on-going (yes non-zero) cost to keep in the tree. There's over 2 years before they will be removed from a released version: also plenty of time to build a case that they are in use and/or upgrade to different, supported NICs. If you look at the rest of the thread, you'll see several people have made compelling cases and/or provided evidence of continued use into the future to keep the drivers in the tree. Evidence will save them, but harsh words will not. I think expecting people to blindly maintain code on the off chance someone is still using is offensive as well. We must weigh the costs of continuing with the benefits those cost provide. We don't have good sources of data for what's still in use and what's not, so we have to rely on these periodic calls for data to ensure we aren't wasting our time on hardware that's no longer used. Warner > Cheers, > Julian > -- > Julian Stacey, Computer Consultant, Systems Engineer, BSD Linux Unix, > Munich > Brexit: 3,700,000 stolen votes in 1st referendum inc. 700,000 from Brits > in EU > Campaign lies & criminal funding, economy & pound down: New referendum > needed. > http://exitbrexit.uk > _______________________________________________ > freebsd-fcp@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fcp > To unsubscribe, send any mail to "freebsd-fcp-unsubscribe@freebsd.org" > From owner-freebsd-net@freebsd.org Fri Oct 5 15:18:27 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41CC510AEC07; Fri, 5 Oct 2018 15:18:27 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [IPv6:2001:19f0:300:2185:a:dead:bad:faff]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E126484519; Fri, 5 Oct 2018 15:18:26 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [104.207.135.49]) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5) with ESMTP id w95FIPCq014811; Fri, 5 Oct 2018 16:18:25 +0100 (BST) (envelope-from jamie@donotpassgo.dyslexicfish.net) Received: (from jamie@localhost) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5/Submit) id w95FIP3r014802; Fri, 5 Oct 2018 16:18:25 +0100 (BST) (envelope-from jamie) From: Jamie Landeg-Jones Message-Id: <201810051518.w95FIP3r014802@donotpassgo.dyslexicfish.net> Date: Fri, 05 Oct 2018 16:18:22 +0100 Organization: Dyslexic Fish Cc: freebsd-stable@freebsd.org, freebsd-net@freebsd.org, freebsd-fcp@freebsd.org, freebsd-arch@freebsd.org, brooks@freebsd.org Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <20181004084411.GA50348@FreeBSD.org> <20181004120626.GA39489@elch.exwg.net> In-Reply-To: <20181004120626.GA39489@elch.exwg.net> User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (donotpassgo.dyslexicfish.net [104.207.135.49]); Fri, 05 Oct 2018 16:18:25 +0100 (BST) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2018 15:18:27 -0000 Remember, it's not simply deprecating cards less than 1Gig. I have a card that is 10/100 only, but works fine with the gigabit alc driver: alc0: port 0x2000-0x207f mem 0xe0500000-0xe053ffff irq 16 at device 0.0 on pci1 cheers, jamie From owner-freebsd-net@freebsd.org Fri Oct 5 15:19:15 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D57C10AECE4 for ; Fri, 5 Oct 2018 15:19:15 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8B99D84696 for ; Fri, 5 Oct 2018 15:19:14 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io1-xd2a.google.com with SMTP id l25-v6so10959520ioj.0 for ; Fri, 05 Oct 2018 08:19:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=snscEp4dM3BJgbDdGyBYAuQVJDz/Wzzg3BsRrMpgQMI=; b=XXN0Khz0cPFy1I/z/NEYiyI1A7EG/tPB4Te1Q6uHtxfuJXmNesqsUMquUDTpZSR2NF vvtwdTJwdD416DyTj3XLf6noq9WcoIBXKzUyZ3efcYq9WeZfBd86bozlBv+OOhup05DF JC7qx9DEhRMAh+nzYtqFNwxoRugtNxqirKCWqzf5hRRIBXNjdWY7aKtxmmsVzC/MEX4Y S57iIWeWLf1bbSUg2WLnO2J0EKI6JN+csFshYiXxEkWxlIIaXFkP/9KpFOPzL3vxsAFz Zgc2bW2WmOjVXu9AdzGHOsmHCZLaetIcTx60xs9VNDF5fICPCGd9loDgG0jyad3ilX85 2zgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=snscEp4dM3BJgbDdGyBYAuQVJDz/Wzzg3BsRrMpgQMI=; b=Q4R3LnCfYpZO1rLTWRYzxqLwPB30ON46kEHoV27pa/hCVCgGsMZKh+1hxl/vPfQQFg yphEtK37X/OzkWU8B2/m/FgcYHP8EIxG/jrNkhiUTi16AqVxWis40+52PwdD8za7PYsO k+PZwH2fmE0YKdxXbwiq68WZNhSDDnnzo+Ig2Z3SOoJ/pDnyN6KXVqXisoi8VVgblNuh 8BbiIMItgJgY1bKjsepRz7HIz1hlAdaMioxdHiqVvkb2L8eRgYqr0phau3jTBqeXkqhD RUxVlnlUHQ0BvE0269mYnaUBxvXfntAhbI16fmPKCrpAeSXRiX8TwsO3WdYLCmR2fIPr Ti8g== X-Gm-Message-State: ABuFfojs3zpKJY8TwCJEvkdKfzH9mECwoHGXiwi7cOms17/M3rnC1OxZ PtG7EHF0iTvS6tLhQUtHULI1hfb50dLQCuTyENUd6Yiw X-Google-Smtp-Source: ACcGV61jXpOSGyLgpR1pvuPa3nO2BFWPZ9cQ2ssSESrzF2xhZ+bNoH0fVPUc9YBrKNj6R32qJKruLeLeOkY744Eufm8= X-Received: by 2002:a6b:e715:: with SMTP id b21-v6mr8539518ioh.37.1538752753680; Fri, 05 Oct 2018 08:19:13 -0700 (PDT) MIME-Version: 1.0 References: <20181003210516.GA71565@spindle.one-eyed-alien.net> In-Reply-To: From: Warner Losh Date: Fri, 5 Oct 2018 09:19:02 -0600 Message-ID: Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers To: Andrew Turner Cc: Brooks Davis , FreeBSD Net , freebsd-fcp@freebsd.org, FreeBSD-STABLE Mailing List , "freebsd-arch@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2018 15:19:15 -0000 On Fri, Oct 5, 2018 at 9:05 AM Andrew Turner wrote: > > > On 3 Oct 2018, at 22:05, Brooks Davis wrote: > > > >>>> Please direct replies to freebsd-arch <<< > > > > FCP-01010 (https://github.com/freebsd/fcp/blob/master/fcp-0101.md) > > outlines a plan to deprecate most 10/100 Ethernet drivers in FreeBSD 12 > > and remove them in FreeBSD 13 to reduce the burden of maintaining and > > improving the network stack. We have discussed this within the > > core team and intend to move forward as proposed. We are solictiting > > feedback on the list of drivers to be excepted from removal. > > > > The current list of drivers slated for REMOVAL is: > > > > ae, bfe, bm, cs, dme, ed, ep, ex, fe, pcn, rl, sf, smc, sn, > > ste, tl, tx, txp, vx, wb, xe > > smc is found in the Arm models (simulators) [1]. I=E2=80=99ve seen it in = the > Foundation and Architecture Envelope Models. I assume it=E2=80=99s also i= n the > other models, but don=E2=80=99t have a license for them to check. > Do we currently support those simulators? I see it is in the VERSATILEPB simulator that QEMU provides. Does that still work? Warner From owner-freebsd-net@freebsd.org Fri Oct 5 15:21:36 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B2DE610AF20E; Fri, 5 Oct 2018 15:21:36 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from fry.fubar.geek.nz (fry.fubar.geek.nz [139.59.165.16]) by mx1.freebsd.org (Postfix) with ESMTP id 45C8984BAE; Fri, 5 Oct 2018 15:21:36 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from [IPv6:2001:630:212:2a8:fd98:5c4c:514a:52ac] (unknown [IPv6:2001:630:212:2a8:fd98:5c4c:514a:52ac]) by fry.fubar.geek.nz (Postfix) with ESMTPSA id 96CE84E76A; Fri, 5 Oct 2018 15:21:05 +0000 (UTC) From: Andrew Turner Message-Id: Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers Date: Fri, 5 Oct 2018 16:21:00 +0100 In-Reply-To: Cc: Brooks Davis , FreeBSD Net , freebsd-fcp@freebsd.org, FreeBSD-STABLE Mailing List , "freebsd-arch@freebsd.org" To: Warner Losh References: <20181003210516.GA71565@spindle.one-eyed-alien.net> X-Mailer: Apple Mail (2.3445.9.1) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2018 15:21:37 -0000 > On 5 Oct 2018, at 16:19, Warner Losh wrote: >=20 >=20 >=20 > On Fri, Oct 5, 2018 at 9:05 AM Andrew Turner > wrote: >=20 > > On 3 Oct 2018, at 22:05, Brooks Davis > wrote: > >=20 > >>>> Please direct replies to freebsd-arch <<< > >=20 > > FCP-01010 (https://github.com/freebsd/fcp/blob/master/fcp-0101.md = ) > > outlines a plan to deprecate most 10/100 Ethernet drivers in FreeBSD = 12 > > and remove them in FreeBSD 13 to reduce the burden of maintaining = and > > improving the network stack. We have discussed this within the > > core team and intend to move forward as proposed. We are = solictiting > > feedback on the list of drivers to be excepted from removal. > >=20 > > The current list of drivers slated for REMOVAL is: > >=20 > > ae, bfe, bm, cs, dme, ed, ep, ex, fe, pcn, rl, sf, smc, sn, > > ste, tl, tx, txp, vx, wb, xe >=20 > smc is found in the Arm models (simulators) [1]. I=E2=80=99ve seen it = in the Foundation and Architecture Envelope Models. I assume it=E2=80=99s = also in the other models, but don=E2=80=99t have a license for them to = check. >=20 > Do we currently support those simulators? I see it is in the = VERSATILEPB simulator that QEMU provides. Does that still work? Yes, I boot FreeBSD/arm64 on them in a local Jenkins instance. Andrew From owner-freebsd-net@freebsd.org Fri Oct 5 20:17:17 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 762E010B56B2 for ; Fri, 5 Oct 2018 20:17:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0F1AE8F029 for ; Fri, 5 Oct 2018 20:17:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C4DC410B56B0; Fri, 5 Oct 2018 20:17:16 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B35F810B56AE for ; Fri, 5 Oct 2018 20:17:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 549148F021 for ; Fri, 5 Oct 2018 20:17: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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id B295B23FF6 for ; Fri, 5 Oct 2018 20:17:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w95KHFP1025206 for ; Fri, 5 Oct 2018 20:17:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w95KHF4w025205 for net@FreeBSD.org; Fri, 5 Oct 2018 20:17:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 231416] dhcp / dhclient: bad udp checksums if running on a vlan on a Intel I211 / Broadcom interfaces Date: Fri, 05 Oct 2018 20:17:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: 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.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2018 20:17:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231416 --- Comment #12 from commit-hook@freebsd.org --- A commit references this bug: Author: shurd Date: Fri Oct 5 20:16:20 UTC 2018 New revision: 339207 URL: https://svnweb.freebsd.org/changeset/base/339207 Log: Fix igb corrupting checksums with BPF and VLAN When using a vlan with igb and the vlanhwcsum option, any mbufs which already had the TCP, UDP, or SCTP checksum calculated and therefore don't have the CSUM_[IP|IP6]_[TCP|UDP|SCTP] bits set in the csum_flags field wo= uld have the L4 checksum corrupted by the hardware. This was caused by the driver setting E1000_TXD_POPTS_TXSM any time a checksum bit was set OR a vlan tag was present. The patched driver only sets E1000_TXD_POPTS_TXSM when an offload is requested. PR: 231416 Reported by: pi Approved by: re (gjb) Sponsored by: Limelight Networks Differential Revision: https://reviews.freebsd.org/D17404 Changes: head/sys/dev/e1000/igb_txrx.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Oct 5 20:57:15 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 503C910B68E6; Fri, 5 Oct 2018 20:57:15 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "land.berklix.org", Issuer "land.berklix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D202B70C81; Fri, 5 Oct 2018 20:57:14 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from mart.js.berklix.net (p2E52C221.dip0.t-ipconnect.de [46.82.194.33]) (authenticated bits=0) by land.berklix.org (8.15.2/8.15.2) with ESMTPSA id w95Kv2Xq047363 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 5 Oct 2018 20:57:07 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id w95KuuPN078893; Fri, 5 Oct 2018 22:56:57 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.7/8.14.7) with ESMTP id w95KucIo012200; Fri, 5 Oct 2018 22:56:50 +0200 (CEST) (envelope-from jhs@berklix.com) Message-Id: <201810052056.w95KucIo012200@fire.js.berklix.net> To: Warner Losh cc: Brooks Davis , FreeBSD Net , freebsd-fcp@freebsd.org, FreeBSD-STABLE Mailing List , "freebsd-arch@freebsd.org" Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers From: "Julian H. Stacey" Organization: http://berklix.eu BSD Unix Linux Consultants, Munich Germany User-agent: EXMH on FreeBSD http://berklix.eu/free/ X-From: http://www.berklix.eu/~jhs/ In-reply-to: Your message "Fri, 05 Oct 2018 09:13:22 -0600." Date: Fri, 05 Oct 2018 22:56:38 +0200 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2018 20:57:15 -0000 Thanks for the reply warner, Warner Losh wrote: > On Fri, Oct 5, 2018 at 8:46 AM Julian H. Stacey wrote: > > > > >>> Please direct replies to freebsd-arch <<< > > > > > > FCP-01010 (https://github.com/freebsd/fcp/blob/master/fcp-0101.md) > > > outlines a plan to deprecate most 10/100 Ethernet drivers in FreeBSD 12 > > > and remove them in FreeBSD 13 to reduce the burden of maintaining and > > > improving the network stack. We have discussed this within the > > > core team and intend to move forward as proposed. We are solictiting > > > feedback on the list of drivers to be excepted from removal. > > > > > > The current list of drivers slated for REMOVAL is: > > > > > > ae, bfe, bm, cs, dme, ed, ep, ex, fe, pcn, rl, sf, smc, sn, > > > ste, tl, tx, txp, vx, wb, xe > > > > I have many hosts using ed & rl, several using ep, & at least one > > using xe or ex. That's just from memory, maybe other drivers in peril. > > > > Later in the thread rl was removed from the list. That's a partial relief. > What systems are you running ed, ex and/or xe on? So far I've heard no > reports of people using the latter two in about a decade. I can look more later, but for a quick partial reply: I keep an incomplete ad hoc occasionaly/rarely updated list of logs, useful for odd questions such as this, so I can run quick checks cd ~/tech/log/dmesg ; grep ed0: * */* | grep port # ... vi dual film flip lapn loft slim wind cd ~/tech/log/ifconfig ; grep ed0: * */* dual film flip lapl loft park rain snow wall wind cd ~/tech/log/dmesg ; grep xe0: * */* lapd lapo cd ~/tech/log/ifconfig ; grep xe0: * */* nothing cd ~/tech/log/dmesg ; grep ex0: * */* nothing cd ~/tech/log/ifconfig ; grep ex0: * */* nothing Hosts above are custom PCs no model numbers, but these are standard laptops: xe: lapd: Digital HiNote Ultra2000 http://www.berklix.com/~jhs/hardware/digital/ ed: lapl: Toshiba Libretto 70CT http://www.berklix.com/~jhs/hardware/toshiba/libretto/ ed: lapn: Dell Latitude XPi P133ST http://berklix.com/~jhs/hardware/laptops/dell_latitude_xpi_p133st xe: lapo: Novatech (MiTAC) 8355 http://www.berklix.com/~jhs/hardware/laptops/novatech-8355/ ( PS ed0 is also used by Hewlett Packard Network ScanJet 5 a multi sheet feeder with FreeBSD built inside, however that's stuck on a seriously old release, still a great device though - http://berklix.com/scanjet/ ) PS My master kernel config from pre 4.11 to current: http://www.berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/jhs/sys/amd64/conf/HOLZ So quick summary: ex: I dont seem to use ed: I use on many of my hosts, not just those above, & I have some spare to stick in to any PCI or ISA box I work on if needed. ed & xe I also have on pcmcia & cardbus, so they move around between laptops. > Unless the functionality of drivers is sub-sumed in to other drivers, > > stripping all those drivers would motivate some to never upgrade > > again, or dump FreeBSD for a more conservative BSD, or fork FreeBSD etc. > > > > You could also create a port/pkg for them and assume the burden of > maintenance yourself. Didn't know drivers could be farmed out to ports/, sounds like a recipe for breakage sooner or later. > > Stripping dead code helps developers play easier, but stripping > > live code is offensive. Some who periodicaly propose code demolitions > > forget that many users of FreeBSD don't subscribe lists, except > > maybe announce, as too busy, maintaining FreeBSD on networks ... > > until their nets don't work. > > > > I think in this case there will be plenty of warning. They will upgrade to > 12, one assumes, and see the deprecation message in their new kernel logs. > There's going to be about a 6 month window between when this is announced > and when it happens to collect evidence that removal is unwarranted, to > show they are still in use by enough people to justify their on-going (yes > non-zero) cost to keep in the tree. There's over 2 years before they will > be removed from a released version: also plenty of time to build a case > that they are in use and/or upgrade to different, supported NICs. If you > look at the rest of the thread, you'll see several people have made > compelling cases and/or provided evidence of continued use into the future > to keep the drivers in the tree. Evidence will save them, but harsh words > will not. > > I think expecting people to blindly maintain code on the off chance someone > is still using is offensive as well. We must weigh the costs of continuing > with the benefits those cost provide. We don't have good sources of data > for what's still in use and what's not, so we have to rely on these > periodic calls for data to ensure we aren't wasting our time on hardware > that's no longer used. > > Warner Yes, needs careful balance. Cheers, Julian -- Julian Stacey, Computer Consultant, Systems Engineer, BSD Linux Unix, Munich Brexit: 3,700,000 stolen votes in 1st referendum inc. 700,000 from Brits in EU Campaign lies & criminal funding, economy & pound down: New referendum needed. http://exitbrexit.uk From owner-freebsd-net@freebsd.org Fri Oct 5 21:53:16 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 23F4B10B7EE2; Fri, 5 Oct 2018 21:53:16 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BE0897307F; Fri, 5 Oct 2018 21:53:15 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id ECD2E3C475F; Fri, 5 Oct 2018 21:53:08 +0000 (UTC) Date: Fri, 5 Oct 2018 21:53:08 +0000 From: Brooks Davis To: Jamie Landeg-Jones Cc: freebsd-stable@freebsd.org, freebsd-net@freebsd.org, freebsd-fcp@freebsd.org, freebsd-arch@freebsd.org, brooks@freebsd.org Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers Message-ID: <20181005215308.GA93171@spindle.one-eyed-alien.net> References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <20181004084411.GA50348@FreeBSD.org> <20181004120626.GA39489@elch.exwg.net> <201810051518.w95FIP3r014802@donotpassgo.dyslexicfish.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline In-Reply-To: <201810051518.w95FIP3r014802@donotpassgo.dyslexicfish.net> User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2018 21:53:16 -0000 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 05, 2018 at 04:18:22PM +0100, Jamie Landeg-Jones wrote: > Remember, it's not simply deprecating cards less than 1Gig. >=20 > I have a card that is 10/100 only, but works fine with the gigabit alc dr= iver: >=20 > alc0: port 0x2000-0x207f mem 0xe05000= 00-0xe053ffff irq 16 at device 0.0 on pci1 There are no plans to touch such drivers. -- Brooks --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJbt91EAAoJEKzQXbSebgfAiiIH/0snI3OvAyCkC4phGfs7EQV1 8Zpn6NUb7HPnkUAMYCVfAh+sXmn3Mc7d7jMQoXDHgWAKS6ly2o6U07tpZUDf1lj8 i5jHlzikKveqpwZDBjWqy/wpAVJsFTec7jhTBuY22d+MnRX7GhcOljq4GoPSujpV mZC8N6+DRLOpFio7NjEPh4YcOxMmj6osO4CblR2owWI9AKqpROTDZ8EAHtCseSpe 3zXEJYBkXEL0qE52oapcbXd7pdi2Fq9Cr1QYb+hsqJXzanh0N4T9Q7O2mFF57CBp qaX06ogTSZMAXbQRgsHXM96MUN6Y2cpTpjCqgEZiR1iR9OOcJKmFOcMcfBKurWQ= =Lu2i -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ-- From owner-freebsd-net@freebsd.org Sat Oct 6 03:06:04 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EEE3010C1E4D; Sat, 6 Oct 2018 03:06:03 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [IPv6:2001:19f0:300:2185:a:dead:bad:faff]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A050C7D489; Sat, 6 Oct 2018 03:06:03 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [104.207.135.49]) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5) with ESMTP id w96361xF084586; Sat, 6 Oct 2018 04:06:01 +0100 (BST) (envelope-from jamie@donotpassgo.dyslexicfish.net) Received: (from jamie@localhost) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5/Submit) id w96360U3084585; Sat, 6 Oct 2018 04:06:00 +0100 (BST) (envelope-from jamie) From: Jamie Landeg-Jones Message-Id: <201810060306.w96360U3084585@donotpassgo.dyslexicfish.net> Date: Sat, 06 Oct 2018 04:05:59 +0100 Organization: Dyslexic Fish To: jamie@catflap.org, brooks@freebsd.org Cc: freebsd-stable@freebsd.org, freebsd-net@freebsd.org, freebsd-fcp@freebsd.org, freebsd-arch@freebsd.org, brooks@freebsd.org Subject: Re: FCP-0101: Deprecating most 10/100 Ethernet drivers References: <20181003210516.GA71565@spindle.one-eyed-alien.net> <20181004084411.GA50348@FreeBSD.org> <20181004120626.GA39489@elch.exwg.net> <201810051518.w95FIP3r014802@donotpassgo.dyslexicfish.net> <20181005215308.GA93171@spindle.one-eyed-alien.net> In-Reply-To: <20181005215308.GA93171@spindle.one-eyed-alien.net> User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (donotpassgo.dyslexicfish.net [104.207.135.49]); Sat, 06 Oct 2018 04:06:02 +0100 (BST) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Oct 2018 03:06:04 -0000 Brooks Davis wrote: > On Fri, Oct 05, 2018 at 04:18:22PM +0100, Jamie Landeg-Jones wrote: > > Remember, it's not simply deprecating cards less than 1Gig. > > > > I have a card that is 10/100 only, but works fine with the gigabit alc driver: > > > > alc0: port 0x2000-0x207f mem 0xe0500000-0xe053ffff irq 16 at device 0.0 on pci1 > > There are no plans to touch such drivers. Yep, sorry I wasn't clear. That's what I meant - I was responding to someone who was worried that the support was being dropped for 100Mbps cards. cheers, Jamie From owner-freebsd-net@freebsd.org Sat Oct 6 11:04:16 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 687F110B6554; Sat, 6 Oct 2018 11:04:16 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 060C170AEF; Sat, 6 Oct 2018 11:04:15 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 690343C5; Sat, 6 Oct 2018 07:04:08 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 06 Oct 2018 07:04:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yuripv.net; h= subject:from:to:cc:references:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=g jUVsowN+oYrjTcQcel7IqPxM5RnZwOF0Px4KbrJdKI=; b=j9976gwHZvEmfQCTB IgXJL1mkGW5eZgT6eNuKPF+LoNd74YHGRNCVx0D5cZeVtfCwYm9d4M9LThiFh8L9 fnbas2RBNEwL5Ah/+o6/WEVgNUXwydl/QYdy/aAvN51Tn5FYKy1mQUJzNTAM2dim cP2fgGRvUiC7akMmAj82kZHRnLc+geR26zvKD5fda2SZCijemxJNIPqEqhx5i20q 8UcHlNEObzNK9s/UX4a4ELEgztaD9Tsvy52AksMIOLjQzsHoQFIK9kOTDFJtmEbu GFNdCNke1Ow3gTpJHqSGMbdk6dbG+wfQy9D+bifol675lRijgzmaSIsBWavYAWCw Nn5Iw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=gjUVsowN+oYrjTcQcel7IqPxM5RnZwOF0Px4KbrJd KI=; b=aJG1PZOymisqj7/o+u8+qZU79vIqzErLskG76SdPRPI1oFGn5fFNLmth+ 5jHssRbPeFhOVcdbxLq3hlLcB735dZSJ6DXGx6bXeAxuhUTZHiGXJHqtntIY0gpp EJOVSIleheHmJf2+SHDD3rq88vQrIUtFxzZRENx/tOv6iqmZvdGmVJs936FKxk5W NG1PhGbGZQjz3VpP+I6gKrlw4kFmUHkPgXc57nlSp8a9McQtMnDmSt/nEhEuLTKf Cj7BctjHoBgNslcM3VysCYjRt7dk49k8P4UdBQgfvRIcKnslyl5GspdIyrepIzS7 mAOGjBV4thk9j+vdfQbyHeTm22BVg== X-ME-Sender: X-ME-Proxy: Received: from [192.168.1.2] (unknown [62.183.124.173]) by mail.messagingengine.com (Postfix) with ESMTPA id D2D7A102D3; Sat, 6 Oct 2018 07:04:05 -0400 (EDT) Subject: Re: [freebsd 11.2] net-snmpd incomplete mac addresses From: Yuri Pankov To: Patrick Lamaiziere , freebsd-ports@freebsd.org Cc: freebsd-net@freebsd.org References: <20181005133302.5f518dc6@mr185033.univ-rennes1.fr> <930810ba-b659-d571-de84-995c1c97f1e5@yuripv.net> Message-ID: Date: Sat, 6 Oct 2018 14:03:46 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <930810ba-b659-d571-de84-995c1c97f1e5@yuripv.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Oct 2018 11:04:16 -0000 Yuri Pankov wrote: > Patrick Lamaiziere wrote: >> Hello, >> >> freebsd 11.2/amd64 release >> net-snmp-5.7.3_18 >> >> net-snmpd returns incomplete MAC addresses in IF-MIB::ifPhysAddress, >> the first octet is always "0". >> >> $ snmpwalk -v 2c -c "xxx" localhost 1.3.6.1.2.1.2.2.1.6 >> IF-MIB::ifPhysAddress.1 = STRING: 0:36:9f:93:7d:f8 >> IF-MIB::ifPhysAddress.2 = STRING: 0:36:9f:93:7d:fa >> IF-MIB::ifPhysAddress.3 = STRING: 0:f4:bb:ef:c8:e4 >> ... >> >> $ ifconfig | grep ether >>     ether a0:36:9f:93:7d:f8 >>     ether a0:36:9f:93:7d:fa >>     ether ec:f4:bb:ef:c8:e4 >> >> tcpdump confirms that the problem is in net-snmpd (and not the client). >> >> Also when using the MIB IP-MIB::ipNetToMediaPhysAddress the MAC >> addresses are correct. >> >> $ snmpwalk -v2c -c '***r***' localhost IP-MIB::ipNetToMediaPhysAddress >> | grep a0:36:9f:93:7d:f8 >> IP-MIB::ipNetToMediaPhysAddress.13.10.10.1.118 = STRING: >> a0:36:9f:93:7d:f8 >> >> I've checked net-snmpd 5.7.3 under linux and the mac addresses are >> correct. (So it's specific to FreeBSD.) >> >> Any clue ? > > It looks like net-snmp being stupid, try the attached patch (put to > files/). For the note: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231996 https://sourceforge.net/p/net-snmp/code/merge-requests/20/