From owner-freebsd-net@freebsd.org Sun Mar 17 04:37:23 2019 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 50340154BDF6 for ; Sun, 17 Mar 2019 04:37:23 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DF1658C6AD for ; Sun, 17 Mar 2019 04:37:22 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 8600CC74E for ; Sun, 17 Mar 2019 04:37:22 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-lf1-f42.google.com with SMTP id y62so1367628lfc.13 for ; Sat, 16 Mar 2019 21:37:22 -0700 (PDT) X-Gm-Message-State: APjAAAVUHoXQshQYYOP0c1Q/e8KHT9hdEfZXH9VNWo+Xpy2DL/eJGJEJ MYzKKTmzeheu09HqTvX0WumCHeszV3Rew3M7cbg= X-Google-Smtp-Source: APXvYqww6Z/d/IydJf2/evYrYkz498mJ2ZAEGvuRvyKiLu2mfYJuGQ3PAFDUrJDp7gRoyyHZve893+UXoma+ATbJUis= X-Received: by 2002:a19:7503:: with SMTP id y3mr6111423lfe.83.1552797440842; Sat, 16 Mar 2019 21:37:20 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kyle Evans Date: Sat, 16 Mar 2019 23:37:09 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: if_bridge(4)/bpf on incoming packets To: freebsd-net Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: DF1658C6AD X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 17 Mar 2019 04:37:23 -0000 On Sat, Mar 16, 2019 at 11:17 PM Kyle Evans wrote: > > Hi, > > Given a setup like: > > ifconfig bridge0 create > ifconfig bridge0 addm em0 addm wlan0 up > > Packets coming in on em0 that get routed to wlan0 by the bridge will > not be passed over to wlan0's bpf(4). I have an open review [0] that > proposes changing this so that if we're passing traffic over a bridge, > it gets exposed to the destination interface's bpf interface assuming > it's not the interface that just injected it into the bridge. > > I don't know the history here, though- is there any particular reason > bridge doesn't/shouldn't do this now, or is it just that it's not > useful by conventional (read: almost all) usage of a bridge? > Further reading leads me to believe that it's maybe technically a bug -- see [1], where packets running through bridge_forward and destined for a member interface *do* get pushed through bpf. The problem is that this can never happen, because we've either grabbed it and bailed out in bridge_input [2] before we call bridge_forward, or we're calling bridge_forward for broadcast/multicast [3]. This also leads me to wonder if we should be invoking pfil hooks before bailing out of bridge_input in this case, though, so that pfil hooks have a chance to operate on bridge-passed local traffic as well. [1] https://svnweb.freebsd.org/base/head/sys/net/if_bridge.c?view=markup&pathrev=345194#l2222 [2] https://svnweb.freebsd.org/base/head/sys/net/if_bridge.c?view=markup&pathrev=345194#l2480 [3] https://svnweb.freebsd.org/base/head/sys/net/if_bridge.c?view=markup&pathrev=345194#l2367 From owner-freebsd-net@freebsd.org Sun Mar 17 04:17:36 2019 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 ED688154B45D for ; Sun, 17 Mar 2019 04:17:35 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1D4E48BC80 for ; Sun, 17 Mar 2019 04:17:35 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id BBCD8C519 for ; Sun, 17 Mar 2019 04:17:34 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-lj1-f173.google.com with SMTP id x13so11138021ljj.5 for ; Sat, 16 Mar 2019 21:17:34 -0700 (PDT) X-Gm-Message-State: APjAAAW0yvRnLUNRChvHOHjV998nFRZ6nGg4JIf5tToPGmEIyAbBsVBW F+cbDkrXCMfxgmuWaaScvuU88Rok575P4dQgfdw= X-Google-Smtp-Source: APXvYqwRl6mtCOWkCJAle2d75g84uT4YYx6XWfoMOrzwtj9tfpkAH1RCch0WIc9Kb3VerA0Dr46iHXrKts3Dz8RE8AE= X-Received: by 2002:a2e:88d0:: with SMTP id a16mr6508944ljk.77.1552796253285; Sat, 16 Mar 2019 21:17:33 -0700 (PDT) MIME-Version: 1.0 From: Kyle Evans Date: Sat, 16 Mar 2019 23:17:21 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: if_bridge(4)/bpf on incoming packets To: freebsd-net Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 1D4E48BC80 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 17 Mar 2019 04:17:36 -0000 Hi, Given a setup like: ifconfig bridge0 create ifconfig bridge0 addm em0 addm wlan0 up Packets coming in on em0 that get routed to wlan0 by the bridge will not be passed over to wlan0's bpf(4). I have an open review [0] that proposes changing this so that if we're passing traffic over a bridge, it gets exposed to the destination interface's bpf interface assuming it's not the interface that just injected it into the bridge. I don't know the history here, though- is there any particular reason bridge doesn't/shouldn't do this now, or is it just that it's not useful by conventional (read: almost all) usage of a bridge? My motivation is that in a particular testing setup I am playing with, either em0 or bridge0 get a DHCP address and wlan0 (actually not wlan0 in my testing setup, but keeping with the above example for convenience) also needs to pull a DHCP address from the em0 side of the bridge for... reasons. =) I also anticipate needing to actually monitor traffic received from the bridge by wlan0 along with traffic received on wlan0, rather than monitoring the bridge, so the above change makes this most convenient. Thanks, Kyle Evans [0] https://reviews.freebsd.org/D19586 From owner-freebsd-net@freebsd.org Sun Mar 17 04:58:38 2019 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 3AD02154C5D6 for ; Sun, 17 Mar 2019 04:58:38 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 835138CEC4 for ; Sun, 17 Mar 2019 04:58:37 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 2AB9BC983 for ; Sun, 17 Mar 2019 04:58:37 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-lj1-f169.google.com with SMTP id v10so11188176lji.3 for ; Sat, 16 Mar 2019 21:58:37 -0700 (PDT) X-Gm-Message-State: APjAAAW7lm28MaHdZJeQ7DPmTosbD6lTRskts2TSSsPk38nzWco038wt NdPV90wct6S+99d7GK6IaTGtBDs93ftTd2W3jLY= X-Google-Smtp-Source: APXvYqxIj0WqNs7kWtZraW4q0tgVj6aYoG3xzwLJ6+fkhbds8DLlyxKLu+D/3F5/kwzurNxMDyyJidNWkrhJDXbWvEk= X-Received: by 2002:a2e:9ec2:: with SMTP id h2mr6706961ljk.186.1552798715797; Sat, 16 Mar 2019 21:58:35 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kyle Evans Date: Sat, 16 Mar 2019 23:58:24 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: if_bridge(4)/bpf on incoming packets To: freebsd-net Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 835138CEC4 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 17 Mar 2019 04:58:38 -0000 On Sat, Mar 16, 2019 at 11:37 PM Kyle Evans wrote: > > On Sat, Mar 16, 2019 at 11:17 PM Kyle Evans wrote: > > > > Hi, > > > > Given a setup like: > > > > ifconfig bridge0 create > > ifconfig bridge0 addm em0 addm wlan0 up > > > > Packets coming in on em0 that get routed to wlan0 by the bridge will > > not be passed over to wlan0's bpf(4). I have an open review [0] that > > proposes changing this so that if we're passing traffic over a bridge, > > it gets exposed to the destination interface's bpf interface assuming > > it's not the interface that just injected it into the bridge. > > > > I don't know the history here, though- is there any particular reason > > bridge doesn't/shouldn't do this now, or is it just that it's not > > useful by conventional (read: almost all) usage of a bridge? > > > > Further reading leads me to believe that it's maybe technically a bug > -- see [1], where packets running through bridge_forward and destined > for a member interface *do* get pushed through bpf. The problem is > that this can never happen, because we've either grabbed it and bailed > out in bridge_input [2] before we call bridge_forward, or we're > calling bridge_forward for broadcast/multicast [3]. > > This also leads me to wonder if we should be invoking pfil hooks > before bailing out of bridge_input in this case, though, so that pfil > hooks have a chance to operate on bridge-passed local traffic as well. Apologies for the extra noise... this last e-mail was me failing to notice that the linked snippet is tapping it for the bridge interface, not the destination interface. This is likely irrelevant to my original question. > [1] https://svnweb.freebsd.org/base/head/sys/net/if_bridge.c?view=markup&pathrev=345194#l2222 > [2] https://svnweb.freebsd.org/base/head/sys/net/if_bridge.c?view=markup&pathrev=345194#l2480 > [3] https://svnweb.freebsd.org/base/head/sys/net/if_bridge.c?view=markup&pathrev=345194#l2367 From owner-freebsd-net@freebsd.org Sun Mar 17 21:01:04 2019 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 86BD5154A2A4 for ; Sun, 17 Mar 2019 21:01: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 1F6CF9095F for ; Sun, 17 Mar 2019 21:01:04 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id CD93D154A292; Sun, 17 Mar 2019 21:01: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 A8F1A154A28F for ; Sun, 17 Mar 2019 21:01: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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4082A9094E for ; Sun, 17 Mar 2019 21:01:03 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 4C8C314DDA for ; Sun, 17 Mar 2019 21:01: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 x2HL12G3047894 for ; Sun, 17 Mar 2019 21:01:02 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2HL1202047891 for net@FreeBSD.org; Sun, 17 Mar 2019 21:01:02 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201903172101.x2HL1202047891@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, 17 Mar 2019 21:01:02 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 17 Mar 2019 21:01:04 -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 | 235700 | oce(4) driver causes fatal trap 12 on boot with e 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 | 193452 | Dell PowerEdge 210 II -- Kernel panic bce (broadc Open | 200319 | Bridge+CARP crashes/freezes 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 Open | 233952 | jme NICs non functional after 11.2 to 12.0 upgrad 10 problems total for which you should take action. From owner-freebsd-net@freebsd.org Mon Mar 18 01:52:30 2019 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 9B9081527EB5 for ; Mon, 18 Mar 2019 01:52:30 +0000 (UTC) (envelope-from avv314@gmail.com) Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5616D6AD2E for ; Mon, 18 Mar 2019 01:52:29 +0000 (UTC) (envelope-from avv314@gmail.com) Received: by mail-lf1-x12c.google.com with SMTP id g7so10502948lfh.10 for ; Sun, 17 Mar 2019 18:52:29 -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=IkQOwzdlnEziXmBJ4uAyCJuaF8kT06COO/FyobOTUEQ=; b=b+YshFu+hoBOeP/2dQ7HdG6mBLdJAkEWkwZeeU5eh5hlX0D1DEZJB2Mm8bfLzC7N4V ymj976ecWTS/db6GVU5suzvtO0g+vXJdPzzj4Edff2LeoIBir4D9ONr6vel17MvlFxpe fCZ2s5kvIv7xf1lP52prVE0hCnVN/O5hr0ieY8TaN1P6W5dVOtOKioCKORsRr4MbjZEY Be3NcDZehUj/mebKVEH574A6iLL2i/3+G/a9PomL93vLJocN/Qd0FL7cIpFQB4eDHK4u 9wJq4qK6+hJubVV4w1BLHA5Ua07NjY6a3WhDDebBpuP5KKxgaN2ODAWKy83KjiIXRRBt 2lhQ== 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=IkQOwzdlnEziXmBJ4uAyCJuaF8kT06COO/FyobOTUEQ=; b=ct4H2jfc2IK4fEL9cKniw2f5Zf3k4N1wPeitYyOg/FFdrHpIGN02YRxRam/3PhlVN1 GW5zQJ9pE2LTWh8StSy9PggjyO8RQ1lBDgfoCPaE1DqOqrJJw08Tv87xpb+mAq7djr8m MV/Q9sB19OchbzWBDHVdVkbexryuDmclRTXMAFfW5YFRH00bfeZ9ep/4Q1qX6b+2rr34 At6Yt/clSbGMQ9/ZW7h44UnyhD6W+9X+rDb4Rf7RXGjGu8d7749RCFyTqL3LQ4SK8nxi V6YwQi+Ybs/dllxDoOaA2WHtH1fatIFz7/6cbAWCNUdBWrOj1M/vNGJuXlqO1k0MCgga JNVw== X-Gm-Message-State: APjAAAVElgSxzheyi/eiKtmqGcm3aE8XS+EfRFADODqieqpoYFBlHypy 6LAxUuiOs0+K5oBITez/6ZyqGncj/pGRr15Rlco= X-Google-Smtp-Source: APXvYqwARIl0WeGoIC8cdov3otU3vpF/T/myJLVCR1xZmDBIKtB8AlfxBSizVkSxhpHMr91dg3EWZiEXs/yCO4etuR4= X-Received: by 2002:ac2:50d8:: with SMTP id h24mr1477674lfm.7.1552873948066; Sun, 17 Mar 2019 18:52:28 -0700 (PDT) MIME-Version: 1.0 References: <5756C17D.1090409@yandex.ru> <1502708678.10983095.1465385308094.JavaMail.zimbra@ulg.ac.be> In-Reply-To: From: Andrew Vylegzhanin Date: Mon, 18 Mar 2019 04:52:17 +0300 Message-ID: Subject: Re: Is netmap jumbo frames broken in STABLE? To: Vincenzo Maffione Cc: "freebsd-net@freebsd.org" , Ryan Stone , "Andrey V. Elsukov" , Luigi Rizzo X-Rspamd-Queue-Id: 5616D6AD2E X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=b+YshFu+; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of avv314@gmail.com designates 2a00:1450:4864:20::12c as permitted sender) smtp.mailfrom=avv314@gmail.com X-Spamd-Result: default: False [-5.66 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCPT_COUNT_FIVE(0.00)[5]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.88)[-0.882,0]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[c.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-2.77)[ip: (-9.32), ipnet: 2a00:1450::/32(-2.36), asn: 15169(-2.09), country: US(-0.07)] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 18 Mar 2019 01:52:30 -0000 Hi, After some time I want to return to testing netmap+jumbo_frames+ixgbe(and ixl later) setup. What is current situation with this bundle (stable/11 and stable/12)? -- Andrew =D1=87=D1=82, 6 =D0=B4=D0=B5=D0=BA. 2018 =D0=B3. =D0=B2 11:20, Vincenzo Maf= fione : > Hi, > Actually I just realized that this patch is suitable for stable/11, > whereas on stable/12 ixgbe is served by iflib, and therefore > we need a different patch. > > I'll keep you updated then. > > Cheers, > Vincenzo > > Il giorno mer 5 dic 2018 alle ore 20:45 Andrew Vylegzhanin < > avv314@gmail.com> ha scritto: > >> Hi, >> of course I want to test. >> But it takes time up to 1-2 weeks, since I need setup HEAD environment >> in lab and modify my code for NS_MOREFRAG. >> >> When we can wait for MFC to stable/12 (or stable/11) >> >> -- >> Andrew >> >> =D0=B2=D1=81, 2 =D0=B4=D0=B5=D0=BA. 2018 =D0=B3. =D0=B2 13:30, Vincenzo = Maffione : >> >>> Hi, >>> I prepared a patch (against FreeBSD-HEAD) to to support jumbo frames >>> in ixgbe. >>> https://reviews.freebsd.org/D18402 >>> Would you be able to test it? >>> >>> Thanks, >>> Vincenzo >>> >>> Il giorno gio 22 nov 2018 alle ore 13:37 Andrew Vylegzhanin < >>> avv314@gmail.com> ha scritto: >>> >>>> >>>> >>>> =D1=87=D1=82, 22 =D0=BD=D0=BE=D1=8F=D0=B1. 2018 =D0=B3. =D0=B2 13:42, = Vincenzo Maffione : >>>> > >>>> > Hi, >>>> > Yes, absolutely, I'm currently working on aligning netmap on >>>> FreeBSD (head, stable/12 and stable/11) to >>>> > the same status it has on Linux (more features, more bugfixes, >>>> continuous integration infrastructure ... ). >>>> >>>> Great! >>>> >>>> > >>>> > In particular, on Linux jumbo frames are already supported on ixgbe, >>>> e1000, igb, e1000e, etc. >>>> >>>> BTW, what situation with ixl driver and chelsio ? >>>> >>>> > >>>> > >>>> > I have some netmap patches are already in the queue (see here >>>> https://reviews.freebsd.org/differential/query/Ol8MNtAi2AIs/#R), >>>> > so I can address the ixgbe-jumbo-frames item as soon as the queue >>>> drains. >>>> > If you want to give a try in the meanwhile, and/or test ixgbe on >>>> FreeBSD it would be great. >>>> > >>>> >>>> I will look forward to ixgbe-jumbo-frames. >>>> Of course, I'm ready to test on both stable's. >>>> >>> >>> >>>> >>>> > >>>> > Cheers, >>>> > Vincenzo >>>> > >>>> WBR, >>>> -- >>>> Andrew >>>> >>>> > Il giorno gio 22 nov 2018 alle ore 11:23 Andrew Vylegzhanin < >>>> avv314@gmail.com> ha scritto: >>>> >> >>>> >> Hi, >>>> >> >>>> >> Come back to subject after two years. >>>> >> I would like to clarify situation with jumbo frames in ixgbe driver= . >>>> >> >>>> >> I've looked to >>>> >> >>>> https://github.com/luigirizzo/netmap/blob/master/LINUX/ixgbe_netmap_li= nux.h >>>> >> and see a lot of changes compared 11/12-STABLE version >>>> ixgbe_netmap.h. >>>> >> Is it possible to back port it? >>>> >> >>>> >> In general, is there a chance to get worked jumbo frames on ixgbe? >>>> >> >>>> >> -- >>>> >> Andrew >>>> >> >>>> >> =D1=81=D1=80, 8 =D0=B8=D1=8E=D0=BD. 2016 =D0=B3. =D0=B2 14:28, : >>>> >> >>>> >> > Support for fragmented packets with ixgbe was recently added on >>>> the linux >>>> >> > version of Netmap : >>>> >> > >>>> >> > >>>> >> > >>>> https://github.com/luigirizzo/netmap/commit/fc1e77560a8a8ea93cc3594de5= fae94334debcd3 >>>> >> > >>>> >> > I think the change for freebsd would be quite the same looking at >>>> >> > >>>> https://github.com/freebsd/freebsd/blob/master/sys/dev/netmap/ixgbe_ne= tmap.h#L396 >>>> >> > >>>> >> > After that, your userspace application simply have to check for t= he >>>> >> > NS_MOREFRAG flag in the receive ring, and if it's set he knows th= e >>>> end of >>>> >> > the packet will follow in the next buf. >>>> >> > >>>> >> > Tom >>>> >> > >>>> >> _______________________________________________ >>>> >> 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 >>>> >>> >>> >>> -- >>> Vincenzo >>> >> > > -- > Vincenzo > From owner-freebsd-net@freebsd.org Mon Mar 18 21:13:01 2019 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 3B2DD154E5CE for ; Mon, 18 Mar 2019 21:13:01 +0000 (UTC) (envelope-from eric.bautsch@pobox.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 9701577294 for ; Mon, 18 Mar 2019 21:13:00 +0000 (UTC) (envelope-from eric.bautsch@pobox.com) Received: by mailman.ysv.freebsd.org (Postfix) id 56AA9154E5CD; Mon, 18 Mar 2019 21:13: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 08876154E5CC for ; Mon, 18 Mar 2019 21:13:00 +0000 (UTC) (envelope-from eric.bautsch@pobox.com) Received: from pb-smtp20.pobox.com (pb-smtp20.pobox.com [173.228.157.52]) (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 9BB7977291 for ; Mon, 18 Mar 2019 21:12:58 +0000 (UTC) (envelope-from eric.bautsch@pobox.com) Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 833F859C0E; Mon, 18 Mar 2019 17:12:51 -0400 (EDT) (envelope-from eric.bautsch@pobox.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=subject:from :to:references:message-id:date:mime-version:in-reply-to :content-type; s=sasl; bh=PbmOpSec50TDdOAxW/jpWD80uS4=; b=NaGP97 KuyM/RUu2FdGkuiK0PEZHYlY0HR64NNhaymoo+QWCu1JcIulF64gHQSzctGQEE3h aV1GXJiZGcRKQSiGRyf8JlHljNxpmTTe8be+euYvyX5eQMPVoHeo1nywclC10sJf AUo+if8vvEbobUnFwibBplML+YwTnNDlKp3Vc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=subject:from:to :references:message-id:date:mime-version:in-reply-to :content-type; q=dns; s=sasl; b=w0jU+fHkWMlHELiKdqtSA/8rNlmmsryW yRTLwCVcfnd4q0kkEsIyFHvdzyaYoTxiT6Wyw6ImYI9mGh4i6kPaRkwHBAE4bpmO JdQ8rwEhVZmVBeBPjk+wpFLNm9KKI0vkeZJTjdqinR7NkuSjph2jzdouHKKMMuCl tJ3Oie+GUsE= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 7B39B59C0D; Mon, 18 Mar 2019 17:12:51 -0400 (EDT) (envelope-from eric.bautsch@pobox.com) Received: from swangage.co.uk (unknown [80.247.22.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id 90D4E59C0C; Mon, 18 Mar 2019 17:12:47 -0400 (EDT) (envelope-from eric.bautsch@pobox.com) Received: from [192.168.140.93] (host-93 [192.168.140.93]) (authenticated bits=0) by juliet.swangage.co.uk (8.14.7/8.14.7) with ESMTP id x2ILCbV2025329 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 18 Mar 2019 21:12:42 GMT Subject: Re: Bridges on VLAN-tagged interfaces. From: Eric Bautsch To: Harry Schmalzbauer , net@freebsd.org References: <716a2edd-96f5-c263-2bd4-38a30808f241@omnilan.de> <050a68a3-7581-4985-e54a-e045259e8cfd@omnilan.de> Message-ID: <77aa3369-a6f0-e9c4-e54e-9fab0d41a937@pobox.com> Date: Mon, 18 Mar 2019 21:12:32 +0000 User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms060201070907080004020606" X-Pobox-Relay-ID: 9489B0E4-49C2-11E9-953D-D01F9763A999-54785156!pb-smtp20.pobox.com X-Rspamd-Queue-Id: 9BB7977291 X-Spamd-Bar: --------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=pobox.com header.s=sasl header.b=NaGP97 K; dmarc=pass (policy=none) header.from=pobox.com; spf=pass (mx1.freebsd.org: domain of eric.bautsch@pobox.com designates 173.228.157.52 as permitted sender) smtp.mailfrom=eric.bautsch@pobox.com X-Spamd-Result: default: False [-9.82 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:173.228.157.0/24]; HAS_ATTACHMENT(0.00)[]; DKIM_TRACE(0.00)[pobox.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[pobox.com,none]; MX_GOOD(-0.01)[pb-mx11.pobox.com,pb-mx20.pobox.com,pb-mx22.pobox.com,pb-mx10.pobox.com,pb-mx14.pobox.com,pb-mx21.pobox.com,pb-mx23.pobox.com,pb-mx9.pobox.com]; NEURAL_HAM_SHORT(-0.98)[-0.982,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-3.62)[ip: (-9.89), ipnet: 173.228.157.0/24(-4.72), asn: 11403(-3.44), country: US(-0.07)]; RCVD_IN_DNSWL_LOW(-0.10)[52.157.228.173.list.dnswl.org : 127.0.5.1]; ASN(0.00)[asn:11403, ipnet:173.228.157.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[pobox.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[pobox.com:s=sasl]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; SIGNED_SMIME(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,multipart/alternative,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:+]; TO_MATCH_ENVRCPT_SOME(0.00)[] X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 18 Mar 2019 21:13:01 -0000 This is a cryptographically signed message in MIME format. --------------ms060201070907080004020606 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi All. OK, slight reset: I have no idea what I did wrong last time (I suspect so= mething=20 to do with my rc.conf settings, more on that later), but what I can now d= o is this: I can get my base interface re0 configured with an IP address and at the = same=20 time have an re0.33 interface (on VLAN 33) inside a bridge (bridge0 in th= is=20 case), then configure an IP on bridge0 and get both (!) to ping. I would have sworn I had tried this and it hadn't worked, but alas, it no= w does.=20 I think this is because I tested something slightly different last time a= nd had=20 a bridge created on re0 via settings in rc.conf. If I do that, I can't se= em to=20 get my networking to work after. But that's a problem for a different day= =2E.. The problem that still persists and that I need to fix (in order to be ab= le to=20 use FreeBSD as my host for my VMs, which is where this is all going) is t= his: I now have a bridge0 on re0.33 which works, great. I now configure a bridge1 which contains re0 and put an IP on that bridge= , and=20 hey presto, that IP pings, but the IP on bridge0 on VLAN 33 stops pinging= =2E It seems that at the point where I put re0 inside a bridge, the other bri= dge=20 doesn't get any IP traffic any more. Funnily enough, if I configure a bridge0 on re0 and then plumb up an re0.= 33,=20 both of them ping, too. But no matter what I do, a bridge on re0 prevents another bridge on any o= f the=20 vlan tagged interfaces from working. Someone at some point told me that the untagged network on FreeBSD cannot= really=20 be used if I also have tagged VLANs on the same hardware, but I hope that= 's not=20 true and that I need some magic incantation.... I was considering if I could somehow "clone" my re0 interface and put tha= t clone=20 into my bridge, but I haven't been able to find a way of doing that. I al= so=20 tried to create an re0.0 in the hopes that that would signify untagged, b= ut=20 FreeBSD doesn't allow this. Any pointers greatly appreciated. Thanks. Eric P.S. Yes, I appreciate that I can just present that untagged VLAN as a ta= gged=20 one and then my problems go away, but then I need to create a new VLAN to= use=20 untagged, so that I can do network installations on that, which would nee= d to=20 either be routed or have DNS, YP, etc. services on it as well as of cours= e an=20 installation server, so that'd be a huge amount of work.... On 16/03/2019 20:09, Eric Bautsch wrote: > Thanks, Harry. > > I'll hopefully get a chance to try this tomorrow.... I'll let the list = know=20 > the outcome. > > > Eric > > > P.S. Sorry for the formatting, no idea why that got re-formatted on the= list..... > > > > On 15/03/19 11:02, Harry Schmalzbauer wrote: >> Am 15.03.2019 um 11:21 schrieb Harry Schmalzbauer: >>> Am 11.03.2019 um 11:48 schrieb Eric Bautsch: >>> =E2=80=A6 >>>> |ifconfig bridge create ifconfig bridge1 addm re0.33| >>>> >>>> If I now put an IP on that bridge instead of re0.33, it does not pin= g. >>>> >>>> If I do a broadcast ping from another host on that network thus (Sol= aris=20 >>>> system issuing the ping): >>>> ping -sn 192.168.33.255 >>>> >>>> I can see packets arriving if I |tcpdump -i re0.33| and if I |tcpdum= p -i=20 >>>> bridge1| >>>> However, on neither interface do I see any pings coming in when I pi= ng it's=20 >>>> own address (in this case 192.168.33.20). >>> >>> IP stack processes them without passing it to the interface(s), so th= at's=20 >>> not unusual. >>> >>> >>>> The Solaris system issuing the pings has learned the arp address of = the=20 >>>> bridge though: >>>> Code: >>>> >>>> |root@gaspra # arp -an | grep 192.168.33.20 net1 192.168.33.20=20 >>>> 255.255.255.255 02:a7:91:b6:3a:01| >>>> >>>> If I |tcpdump -i bridge1|, I do get some packets, but not any echo r= equests: >>>> Code: >>>> >>>> |root@bianca # tcpdump -i bridge1 tcpdump: verbose output suppressed= , use=20 >>>> -v or -vv for full protocol decode listening on bridge1, link-type E= N10MB=20 >>>> (Ethernet), capture size 262144 bytes 11:05:26.081185 ARP, Request w= ho-has=20 >>>> 192.168.33.20 (Broadcast) tell juliet-punchin.swangage.co.uk, length= 46=20 >>>> 11:05:26.081197 ARP, Reply 192.168.33.20 is-at 02:a7:91:b6:3a:01 (ou= i=20 >>>> Unknown), length 28 11:05:38.201079 IP6 fe80::7285:c2ff:fea6:583c > = >>>> ff02::2: ICMP6, router solicitation, length 16 11:06:04.079441 ARP, = Request=20 >>>> who-has 192.168.33.20 (Broadcast) tell juliet-punchin.swangage.co.uk= ,=20 >>>> length 46 11:06:04.079464 ARP, Reply 192.168.33.20 is-at 02:a7:91:b6= :3a:01=20 >>>> (oui Unknown), length 28 11:06:17.588644 ARP, Request who-has 192.16= 8.33.20=20 >>>> (Broadcast) tell gaspra-punchin.swangage.co.uk, length 46 11:06:17.5= 88665=20 >>>> ARP, Reply 192.168.33.20 is-at 02:a7:91:b6:3a:01 (oui Unknown), leng= th 28| >>> >>> If I read it corretcly, all you get are ethernet broadcast frames. >>> (Hard) Reading next: >>> =E2=80=A6 >>>> |root@bianca # ifconfig -a re0:=20 >>>> flags=3D8943 metric = 0 mtu=20 >>>> 1500=20 >>>> options=3D8209b=20 >>>> ether 80=F0=9F=87=AA=F0=9F=87=AA73:63:5c:48 media: Ethernet autosele= ct (1000baseT=20 >>>> ) status: active nd6=20 >>>> options=3D29 lo0:=20 >>>> flags=3D8049 metric 0 mtu 16384=20 >>>> options=3D680003 in= et6 ::1=20 >>>> prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.= 0.1=20 >>>> netmask 0xff000000 groups: lo nd6 options=3D21=20 >>>> bridge0: flags=3D8843 metric= 0 mtu=20 >>>> 1500 ether 02:a7:91:b6:3a:00 inet 192.168.140.85 netmask 0xffffff00 = >>>> broadcast 192.168.140.255 id 00:00:00:00:00:00 priority 32768 hellot= ime 2=20 >>>> fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200= root=20 >>>> id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: re0=20 >>>> flags=3D143 ifmaxaddr 0 port 1 p= riority=20 >>>> 128 path cost 55 groups: bridge nd6 options=3D9=20 >>>> re0.33: flags=3D8943= metric 0=20 >>>> mtu 1500 options=3D80003 ether 80=F0=9F=87=AA= =F0=9F=87=AA73:63:5c:48=20 >>>> inet6 fe80::82ee:73ff:fe63:5c48%re0.33 prefixlen 64 scopeid 0x4 grou= ps:=20 >>>> vlan vlan: 33 vlanpcp: 0 parent interface: re0 media: Ethernet autos= elect=20 >>>> (1000baseT ) status: active nd6=20 >>>> options=3D21 bridge1:=20 >>>> flags=3D8843 metric 0 mtu 15= 00 ether=20 >>>> 02:a7:91:b6:3a:01 inet 192.168.33.20 netmask 0xffffff00 broadcast=20 >>>> 192.168.33.255 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwdde= lay 15=20 >>>> maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id=20 >>>> 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: re0.33=20 >>>> flags=3D143 ifmaxaddr 0 port 4 p= riority=20 >>>> 128 path cost 20000 groups: bridge nd6 options=3D9=20 >>>> root@bianca #| >>> >>> Here you have a universally administered addresses (UAA) on the paren= t=20 >>> interface re0, which is the same for the vlan clone re0.33, and a loc= ally=20 >>> administered addresses (LAA) on if_bridge(4), which was verified to b= e=20 >>> announced. >>> In order to get through the MAC filter of the ethernet interface, re0= =2E33=20 >>> must be in PROMISC mode. >>> I remember having seen two different PROMISC interface status =E2=80=93= never=20 >>> tracked it down. But issuing 'ifconfig re0.33 promisc' might result = in a=20 >>> second PROMISC status report on re0.33 and a working setup... >> >> Should have read man page before posting, sorry. This is supposed to = be done=20 >> by ifconfig(8)'s "addm" command. >> But like mentioned, I can see PROMISC _two_ times in the interface sta= tus=20 >> line of ifconfig(8), after putting the interface manually in permanent= =20 >> promisc mode (stable/12). >> >> Don't know how the filter of the parent interface is involved in the v= lan=20 >> clone and I have no idea if "addm" respects it, in case it is involved= =2E >> Before code inspection, I'd try and put the parent re0 manually into=20 >> permanent promisc mode and see if you can see unicast frames afterward= s. >> >> -Harry >> >> -- =20 ____ / . Eric A. Bautsch /-- __ ___ __________________________________= ____ / / / / / (_____/____(___(__________________/ email: eric.bautsch@pobox.co= m --------------ms060201070907080004020606 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC DFIwggNiMIIC6KADAgECAggwtYJcB7vEnDAKBggqhkjOPQQDAzBSMQswCQYDVQQGEwJFUzEU MBIGA1UECgwLU3RhcnRDb20gQ0ExLTArBgNVBAMMJFN0YXJ0Q29tIENlcnRpZmljYXRpb24g QXV0aG9yaXR5IEVDQzAeFw0xNzA0MjgwODAwMzVaFw0zNzA0MjgwODAwMzVaMGkxCzAJBgNV BAYTAkVTMRQwEgYDVQQKDAtTdGFydENvbSBDQTEpMCcGA1UECwwgU3RhcnRDb20gQ2VydGlm aWNhdGlvbiBBdXRob3JpdHkxGTAXBgNVBAMMEFN0YXJ0Q29tIENDMiBJQ0EwdjAQBgcqhkjO PQIBBgUrgQQAIgNiAAR7hlYvM7ymfqRetYHdncaz11zCyZQbJofX1jT1FiEsyKH7WFh7k9cN BMbe9RUh7mq6EcCcP7rHdV1yhkx9CNT8KSSDHIIWB1RbmK5XtKvK4BLQ1pLUbzvGVz/YBYro HK+jggFyMIIBbjBtBggrBgEFBQcBAQRhMF8wNQYIKwYBBQUHMAKGKWh0dHA6Ly9haWEuc3Rh cnRjb21jYS5jb20vY2VydHMvY2FjYzIuY3J0MCYGCCsGAQUFBzABhhpodHRwOi8vb2NzcC5z dGFydGNvbWNhLmNvbTAdBgNVHQ4EFgQUPLfG3okmWlcDidCvMGpGDgzq3GYwEgYDVR0TAQH/ BAgwBgEB/wIBADAfBgNVHSMEGDAWgBSeiMCybDMJy/8hfr/qnwiGu32qGTBBBgNVHSAEOjA4 MDYGBFUdIAAwLjAsBggrBgEFBQcCARYgaHR0cDovL3d3dy5zdGFydGNvbWNhLmNvbS9wb2xp Y3kwNwYDVR0fBDAwLjAsoCqgKIYmaHR0cDovL2NybC5zdGFydGNvbWNhLmNvbS9zZnNjYWNj Mi5jcmwwDgYDVR0PAQH/BAQDAgEGMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAK BggqhkjOPQQDAwNoADBlAjEAxVHjDb7E+HcRO7j3UZg3lyI/6MgNJuD/Fc/5HTtjZc5B0iVz eeERiqV1sGJ/h9h8AjAlmjRwgkRXx8hJVcCzCCBl95zytvLdJdGPrBJHEaFJnsYX8FQZGB86 0clRb9QPXXQwggQzMIIDuKADAgECAghYh6dhuIrClTAKBggqhkjOPQQDAzBpMQswCQYDVQQG EwJFUzEUMBIGA1UECgwLU3RhcnRDb20gQ0ExKTAnBgNVBAsMIFN0YXJ0Q29tIENlcnRpZmlj YXRpb24gQXV0aG9yaXR5MRkwFwYDVQQDDBBTdGFydENvbSBDQzIgSUNBMB4XDTE3MDcwMzEw MzcyOVoXDTE5MDcwMzAyNDcwMFowSDElMCMGCSqGSIb3DQEJARYWZXJpYy5iYXV0c2NoQHBv Ym94LmNvbTEfMB0GA1UEAwwWZXJpYy5iYXV0c2NoQHBvYm94LmNvbTCCASIwDQYJKoZIhvcN AQEBBQADggEPADCCAQoCggEBAMghw1tHL4eLIUgcw9dnIy+JADzgH7YBJYhZWNH8J6Vq2kiU UTpBjjTALMNWxj7PakNtMXjWHqnQjWESwwzlvnaQnvf2bBjYafiC8+D3oocW3OyaDOLVRDqx dI2n+Zr2RNTZw2erl2/cHrToVvOkuqZVftcL8EocMHeLuaEUfgaXQBmFhUJpzDvPsSLp99fg z5zOY+j3sHa6HOGke8NvR4bi8pKnkgCu5lo9HWHgVJ/Ip8Cqk2EzwaZ0DSGfpvfXtv+OuBqO s6VBJ19TibT9wfFeYeoesgKnS73zQKLoZG3yKcfYfZs9TxS5BEhWDWr6JFP8hUlhL+ZUi+X9 AFNAAx8CAwEAAaOCAZ4wggGaMHQGCCsGAQUFBwEBBGgwZjA8BggrBgEFBQcwAoYwaHR0cDov L2FpYS5zdGFydGNvbWNhLmNvbS9jZXJ0cy9zY2EuY2xpZW50MjIuY3J0MCYGCCsGAQUFBzAB hhpodHRwOi8vb2NzcC5zdGFydGNvbWNhLmNvbTAdBgNVHQ4EFgQUS/x/U30ucvaPvk4aAXYu Q8qcFskwCQYDVR0TBAIwADAfBgNVHSMEGDAWgBQ8t8beiSZaVwOJ0K8wakYODOrcZjBIBgNV HSAEQTA/MD0GCysGAQQBgbU3AgIBMC4wLAYIKwYBBQUHAgEWIGh0dHA6Ly93d3cuc3RhcnRj b21jYS5jb20vcG9saWN5MDsGA1UdHwQ0MDIwMKAuoCyGKmh0dHA6Ly9jcmwuc3RhcnRjb21j YS5jb20vc2NhLWNsaWVudDIyLmNybDAOBgNVHQ8BAf8EBAMCBLAwHQYDVR0lBBYwFAYIKwYB BQUHAwIGCCsGAQUFBwMEMCEGA1UdEQQaMBiBFmVyaWMuYmF1dHNjaEBwb2JveC5jb20wCgYI KoZIzj0EAwMDaQAwZgIxAKbrgOkZ5i8pHnjkbxiyZbOvisCA9Z+0/DZjPybtrKlk3l/dl7dd AqPaZHKFNjGkGgIxAITRkSRMx0zlIb1ajYqEe3lVeouUc253pu+FOlAr5qvvJjZ+Gyc4/7ud YIdBYQb4KzCCBLEwggKZoAMCAQICEEzFbU1ZMWzGD67YyYtePFkwDQYJKoZIhvcNAQEMBQAw fTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3Vy ZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRp ZmljYXRpb24gQXV0aG9yaXR5MB4XDTE3MDQxMTA3MzAwMVoXDTIyMDQxMTA3MzAwMVowUjEL MAkGA1UEBhMCRVMxFDASBgNVBAoMC1N0YXJ0Q29tIENBMS0wKwYDVQQDDCRTdGFydENvbSBD ZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSBFQ0MwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAARtU/dM PcdNPiBafCl30C/R50Onc2/k4XgCYiJJrpw3hTs0B0P/+SZAknB0QU2BcIee3+22c5Ju/2UC meZoVbtekPtlX1g6CoN0fQbqaMUhBUIyxEFavSPBd3IQ4/Hi7KujggEEMIIBADAOBgNVHQ8B Af8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBAjAyBgNVHR8EKzApMCegJaAjhiFodHRwOi8v Y3JsLnN0YXJ0c3NsLmNvbS9zZnNjYS5jcmwwZgYIKwYBBQUHAQEEWjBYMCQGCCsGAQUFBzAB hhhodHRwOi8vb2NzcC5zdGFydHNzbC5jb20wMAYIKwYBBQUHMAKGJGh0dHA6Ly9haWEuc3Rh cnRzc2wuY29tL2NlcnRzL2NhLmNydDAdBgNVHQ4EFgQUnojAsmwzCcv/IX6/6p8Ihrt9qhkw HwYDVR0jBBgwFoAUTgvvGqRAW6UXaYcwyjRoQ9BBrvIwDQYJKoZIhvcNAQEMBQADggIBAJmQ Ot9REj3wllH11HazsdBP1WD+Wt98G651eGEhVIHupeiO3+fM9JUxYNXrqFCcjlaWABGFAOXv BAeBta7vT05Hk8TIC9/r2StixF+aQvbWq0DGiPOfX29FWKJEe/e0QHrqebP29cwwh2WbzsPz EBklt0xObEt+/6R7QB7kJkqYeggmFSOf7G6VBlKDMt1dabf2uWs0cYoNceBHWX+Bepkl+V16 MJ4eYtOOGMzfaqbszR7SP4zJWXVOXbSa0gvk8zcAveJBw2CQK8My7mKCPx3IEhtn70b5oEBU kGZpEbSCEI9XCs3VHpnZuB3s7PimeULw0Vkvkug0GdWBvGPgyCwDCdp9oXonZmCDkKVn2IuI PWpYfIwAD8hK6nn14mrHXnOcyr0BB93hC1Cv394cjnunn9DSEgTxLgQITvCcbVlZdUIBObMi hFFCz2EkySSYp5HmpUTFG+LhY9B2TevagHztoDbOg7BBvbLzetZh7kM7Dxqp2EVDJ7qhU0So OLH7zeMf93L8wmg9pK5niFIFY9KbRoc0s/lTl+o+pjSsIrXEOovlDBx3Eg4ysyyvQQErbuRD 0sRrpHYbaJySScoFK8nAEgkDO+Q4EC2/mlowjy5fM6X1+FmZFedPbd4G59OadRVe7sGEK/4G nvu0BZUbbkUhfoFg/iAUGX83w93l5bRJMYIDizCCA4cCAQEwdTBpMQswCQYDVQQGEwJFUzEU MBIGA1UECgwLU3RhcnRDb20gQ0ExKTAnBgNVBAsMIFN0YXJ0Q29tIENlcnRpZmljYXRpb24g QXV0aG9yaXR5MRkwFwYDVQQDDBBTdGFydENvbSBDQzIgSUNBAghYh6dhuIrClTANBglghkgB ZQMEAgEFAKCCAecwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcN MTkwMzE4MjExMjMyWjAvBgkqhkiG9w0BCQQxIgQgYnCS9JAesR5gPeFjSv6Aqxk6i6HfkP/+ aMXAPhJo3scwbAYJKoZIhvcNAQkPMV8wXTALBglghkgBZQMEASowCwYJYIZIAWUDBAECMAoG CCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0DAgIBQDAHBgUrDgMCBzANBggq hkiG9w0DAgIBKDCBhAYJKwYBBAGCNxAEMXcwdTBpMQswCQYDVQQGEwJFUzEUMBIGA1UECgwL U3RhcnRDb20gQ0ExKTAnBgNVBAsMIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5 MRkwFwYDVQQDDBBTdGFydENvbSBDQzIgSUNBAghYh6dhuIrClTCBhgYLKoZIhvcNAQkQAgsx d6B1MGkxCzAJBgNVBAYTAkVTMRQwEgYDVQQKDAtTdGFydENvbSBDQTEpMCcGA1UECwwgU3Rh cnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxGTAXBgNVBAMMEFN0YXJ0Q29tIENDMiBJ Q0ECCFiHp2G4isKVMA0GCSqGSIb3DQEBAQUABIIBACW7d3iHuyNnHn3rH7bis7h02Y5EwYE9 ljsvLQjkkuqfpuHDGkDDTKRM7OBy3UGNzyGcp/Qa1nTSpkylT24VYFq1KV0K50y7UVoukhls qD53P2O+OK14JUhQaRSa1qScSR+8dztWwVfWnGudFC+Gk7zvdJJKi5q0aHr5RG/69xLK/9cL o6EYexZCy9bNcxdoKC22+pP92OErJ4VmYFovPIC5VVPKhSBj4KooUYWOYhJI3/6mz/KmY/Ym Nhn2cZBbSV/W2utM6T79XebIJICD1ZfYKmmYh2RW3+HX+t1iw+Jvt1teiBIYwx5YIn9qPv2O pW5FSVsWc7+HzuNRw+rKZNMAAAAAAAA= --------------ms060201070907080004020606-- From owner-freebsd-net@freebsd.org Tue Mar 19 00:28:09 2019 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 18254152A526 for ; Tue, 19 Mar 2019 00:28: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 4AFAD86078 for ; Tue, 19 Mar 2019 00:28:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 0AE10152A50B; Tue, 19 Mar 2019 00:28: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 EC78F152A50A for ; Tue, 19 Mar 2019 00:28:06 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D90B785F54 for ; Tue, 19 Mar 2019 00:27: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 07D0341A4 for ; Tue, 19 Mar 2019 00:27: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 x2J0Rqgh095390 for ; Tue, 19 Mar 2019 00:27:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2J0Rq89095389 for net@FreeBSD.org; Tue, 19 Mar 2019 00:27:52 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 235704] [net] [patch] tun(4) can't be destroyed on a VNET jail if it's renamed Date: Tue, 19 Mar 2019 00:27:52 +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: 12.0-RELEASE X-Bugzilla-Keywords: patch, vimage 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.29 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, 19 Mar 2019 00:28:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235704 --- Comment #13 from commit-hook@freebsd.org --- A commit references this bug: Author: kp Date: Tue Mar 19 00:27:46 UTC 2019 New revision: 345285 URL: https://svnweb.freebsd.org/changeset/base/345285 Log: MFC r344794: tun: VIMAGE fix for if_tun cloner The if_tun cloner is not virtualised, but if_clone_attach() does use a virtualised list of cloners. The result is that we can't find the if_tun cloner when we try to remove a renamed tun interface. Virtualise the cloner, and move the final cleanup into a sysuninit so that we're sure this happens after all of the vnet_sysuninits Note that we need unit numbers to be system-unique (rather than unique per vnet, as is done by if_clone_simple()). The unit number is used to create the corresponding /dev/tunX device node, and this node must match with the interface. Switch to if_clone_advanced() so that we have control over the unit numbers. Reproduction scenario: jail -c -n foo persist vnet jexec test ifconfig tun create jexec test ifconfig tun0 name wg0 jexec test ifconfig wg0 destroy PR: 235704 Reviewed by: bz, hrs, hselasky Differential Revision: https://reviews.freebsd.org/D19248 Changes: _U stable/12/ stable/12/sys/net/if_tun.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Mar 19 00:29:00 2019 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 C1FBA152A678 for ; Tue, 19 Mar 2019 00:28:59 +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 5429786151 for ; Tue, 19 Mar 2019 00:28:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 18725152A663; Tue, 19 Mar 2019 00:28:59 +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 047C4152A65F for ; Tue, 19 Mar 2019 00:28: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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 806878614A for ; Tue, 19 Mar 2019 00:28:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 73CCB41AE for ; Tue, 19 Mar 2019 00:28:57 +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 x2J0SvsB096570 for ; Tue, 19 Mar 2019 00:28:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2J0Svv8096568 for net@FreeBSD.org; Tue, 19 Mar 2019 00:28:57 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 235704] [net] [patch] tun(4) can't be destroyed on a VNET jail if it's renamed Date: Tue, 19 Mar 2019 00:28:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: patch, vimage 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.29 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, 19 Mar 2019 00:29:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235704 --- Comment #14 from commit-hook@freebsd.org --- A commit references this bug: Author: kp Date: Tue Mar 19 00:27:48 UTC 2019 New revision: 345286 URL: https://svnweb.freebsd.org/changeset/base/345286 Log: MFC r344794: tun: VIMAGE fix for if_tun cloner The if_tun cloner is not virtualised, but if_clone_attach() does use a virtualised list of cloners. The result is that we can't find the if_tun cloner when we try to remove a renamed tun interface. Virtualise the cloner, and move the final cleanup into a sysuninit so that we're sure this happens after all of the vnet_sysuninits Note that we need unit numbers to be system-unique (rather than unique per vnet, as is done by if_clone_simple()). The unit number is used to create the corresponding /dev/tunX device node, and this node must match with the interface. Switch to if_clone_advanced() so that we have control over the unit numbers. Reproduction scenario: jail -c -n foo persist vnet jexec test ifconfig tun create jexec test ifconfig tun0 name wg0 jexec test ifconfig wg0 destroy PR: 235704 Reviewed by: bz, hrs, hselasky Differential Revision: https://reviews.freebsd.org/D19248 Changes: _U stable/11/ stable/11/sys/net/if_tun.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Mar 19 00:30:04 2019 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 8F810152A864 for ; Tue, 19 Mar 2019 00:30: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 24E7486366 for ; Tue, 19 Mar 2019 00:30:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id CFB36152A851; Tue, 19 Mar 2019 00:30: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 BC6F5152A84B for ; Tue, 19 Mar 2019 00:30: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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F89F86360 for ; Tue, 19 Mar 2019 00:30:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id C0E1C41BE for ; Tue, 19 Mar 2019 00:30: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 x2J0U1LI097917 for ; Tue, 19 Mar 2019 00:30:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2J0U11g097916 for net@FreeBSD.org; Tue, 19 Mar 2019 00:30:01 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 235704] [net] [patch] tun(4) can't be destroyed on a VNET jail if it's renamed Date: Tue, 19 Mar 2019 00:30: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: 12.0-RELEASE X-Bugzilla-Keywords: patch, vimage 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.29 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, 19 Mar 2019 00:30:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235704 --- Comment #15 from commit-hook@freebsd.org --- A commit references this bug: Author: kp Date: Tue Mar 19 00:29:18 UTC 2019 New revision: 345287 URL: https://svnweb.freebsd.org/changeset/base/345287 Log: MFC r344797: tun tests: Test renaming and destroying a tun interface in a vnet jail There was a problem destroying renamed tun interfaces in vnet jails. This= was fixed in r344794. Test the previously failing scenario. PR: 235704 Changes: _U stable/12/ stable/12/tests/sys/net/Makefile stable/12/tests/sys/net/if_tun_test.sh --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Mar 19 00:31:46 2019 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 56447152AA26 for ; Tue, 19 Mar 2019 00:31:46 +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 CABD5866DD for ; Tue, 19 Mar 2019 00:31:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 72B23152AA25; Tue, 19 Mar 2019 00:31:45 +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 5B0FC152AA23 for ; Tue, 19 Mar 2019 00:31:45 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D48DA866D0 for ; Tue, 19 Mar 2019 00:31:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 3694041FB for ; Tue, 19 Mar 2019 00:31:43 +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 x2J0VhEB003958 for ; Tue, 19 Mar 2019 00:31:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2J0Vh2b003957 for net@FreeBSD.org; Tue, 19 Mar 2019 00:31:43 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 235704] [net] [patch] tun(4) can't be destroyed on a VNET jail if it's renamed Date: Tue, 19 Mar 2019 00:31:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: patch, vimage X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kp@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: 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.29 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, 19 Mar 2019 00:31:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235704 Kristof Provost changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Mar 19 08:10:56 2019 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 71BA41545A5E for ; Tue, 19 Mar 2019 08:10:56 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) (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 EAC5C71446 for ; Tue, 19 Mar 2019 08:10:55 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from hugo10.ka.punkt.de (hugo10.ka.punkt.de [217.29.44.10]) by gate2.intern.punkt.de with ESMTP id x2J7xN8H005674; Tue, 19 Mar 2019 08:59:23 +0100 (CET) Received: from [217.29.44.250] ([217.29.44.250]) by hugo10.ka.punkt.de (8.14.2/8.14.2) with ESMTP id x2J7xNlP074544; Tue, 19 Mar 2019 08:59:23 +0100 (CET) (envelope-from hausen@punkt.de) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.0 \(3445.100.39\)) Subject: Re: Bridges on VLAN-tagged interfaces. From: "Patrick M. Hausen" In-Reply-To: <77aa3369-a6f0-e9c4-e54e-9fab0d41a937@pobox.com> Date: Tue, 19 Mar 2019 08:59:20 +0100 Cc: FreeBSD Net Content-Transfer-Encoding: quoted-printable Message-Id: References: <716a2edd-96f5-c263-2bd4-38a30808f241@omnilan.de> <050a68a3-7581-4985-e54a-e045259e8cfd@omnilan.de> <77aa3369-a6f0-e9c4-e54e-9fab0d41a937@pobox.com> To: Eric Bautsch X-Mailer: Apple Mail (2.3445.100.39) X-Rspamd-Queue-Id: EAC5C71446 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.971,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 19 Mar 2019 08:10:56 -0000 Hi! > Am 18.03.2019 um 22:12 schrieb Eric Bautsch : > I now have a bridge0 on re0.33 which works, great. > I now configure a bridge1 which contains re0 and put an IP on that = bridge, and hey presto, that IP pings, but the IP on bridge0 on VLAN 33 = stops pinging. IMHO you should not be mixing VLAN tagged and untagged traffic on the same interface. A port is a trunk port carrying tagged traffic or an access port carrying untagged traffic only. So you should - again, my opinion - create a VLAN, say 1 on re0 and put re0.1 into bridge1. I know this works from experience. We have some rare performance issues when combining this with VNET but first things first =E2=80=A6 still investigating and = I=E2=80=99ll keep the list informed. Kind regards, Patrick --=20 punkt.de GmbH Internet - Dienstleistungen - Beratung Kaiserallee 13a Tel.: 0721 9109-0 Fax: -100 76133 Karlsruhe info@punkt.de http://punkt.de AG Mannheim 108285 Gf: Juergen Egeling From owner-freebsd-net@freebsd.org Tue Mar 19 09:02:02 2019 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 A45AD1547662 for ; Tue, 19 Mar 2019 09:02:02 +0000 (UTC) (envelope-from eric.bautsch@pobox.com) Received: from pb-smtp21.pobox.com (pb-smtp21.pobox.com [173.228.157.53]) (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 57DD3730F4 for ; Tue, 19 Mar 2019 09:02:01 +0000 (UTC) (envelope-from eric.bautsch@pobox.com) Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id BEDB5474E0; Tue, 19 Mar 2019 05:01:53 -0400 (EDT) (envelope-from eric.bautsch@pobox.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=subject:to:cc :references:from:message-id:date:mime-version:in-reply-to :content-type; s=sasl; bh=H2tAb1Hj4k3lxngB+4+5+yGE7Vg=; b=uKrs84 1U3fl4KPwW5fpuRIdZFDG/4tzfgQVDDaJFtL+aChW0+s/sOCecleuhLjKjIHaaLj 5DVNwl8zp51WaLsJ6+Tb/uDE+cul8BzklqQAZhUMZZhVwM8EbG6FPljX+macuIzP 7ZP7MOuHAbwaA+/qKsZd9Ob3zOYWQmSxuf+lM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=subject:to:cc :references:from:message-id:date:mime-version:in-reply-to :content-type; q=dns; s=sasl; b=ydhm1ZZ2Sx0k841C0dqSKaDRH3bHWTIL DYIYLTSj3i+1SwHf0Jt99pzHlL8819MAQHDqqwDp6zeSSD9Uj+n3LGzL4HhkfGlN aWgfmeENtOAEq/0VVBoD7J6I9KllyP7CaJ4R6wY62WJMqztO9QSKMCFZcmbCAFA3 ndkMoE3wXYs= Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id B6200474DF; Tue, 19 Mar 2019 05:01:53 -0400 (EDT) (envelope-from eric.bautsch@pobox.com) Received: from swangage.co.uk (unknown [80.247.22.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp21.pobox.com (Postfix) with ESMTPSA id 161C4474DB; Tue, 19 Mar 2019 05:01:50 -0400 (EDT) (envelope-from eric.bautsch@pobox.com) Received: from [192.168.140.93] (host-93 [192.168.140.93]) (authenticated bits=0) by juliet.swangage.co.uk (8.14.7/8.14.7) with ESMTP id x2J91fiN028778 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 19 Mar 2019 09:01:47 GMT Subject: Re: Bridges on VLAN-tagged interfaces. To: "Patrick M. Hausen" Cc: FreeBSD Net References: <716a2edd-96f5-c263-2bd4-38a30808f241@omnilan.de> <050a68a3-7581-4985-e54a-e045259e8cfd@omnilan.de> <77aa3369-a6f0-e9c4-e54e-9fab0d41a937@pobox.com> From: Eric Bautsch Message-ID: <02da14d5-dcf9-1717-61e3-8e6fd61fcf4d@pobox.com> Date: Tue, 19 Mar 2019 09:01:36 +0000 User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms040404030203040000030608" X-Pobox-Relay-ID: A27175BC-4A25-11E9-B65C-EE24A11ADF13-54785156!pb-smtp21.pobox.com X-Rspamd-Queue-Id: 57DD3730F4 X-Spamd-Bar: --------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=pobox.com header.s=sasl header.b=uKrs84 1; dmarc=pass (policy=none) header.from=pobox.com; spf=pass (mx1.freebsd.org: domain of eric.bautsch@pobox.com designates 173.228.157.53 as permitted sender) smtp.mailfrom=eric.bautsch@pobox.com X-Spamd-Result: default: False [-9.78 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:173.228.157.0/24]; HAS_ATTACHMENT(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: pb-mx11.pobox.com]; DKIM_TRACE(0.00)[pobox.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.99)[-0.989,0]; DMARC_POLICY_ALLOW(-0.50)[pobox.com,none]; RCVD_IN_DNSWL_LOW(-0.10)[53.157.228.173.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+]; ASN(0.00)[asn:11403, ipnet:173.228.157.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[pobox.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[pobox.com:s=sasl]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; SIGNED_SMIME(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,multipart/alternative,text/plain]; IP_SCORE(-3.58)[ip: (-9.67), ipnet: 173.228.157.0/24(-4.74), asn: 11403(-3.44), country: US(-0.07)]; TO_MATCH_ENVRCPT_SOME(0.00)[] X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 19 Mar 2019 09:02:03 -0000 This is a cryptographically signed message in MIME format. --------------ms040404030203040000030608 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi Patrick. I get that point, but then I have two options only: I somehow convince th= e BIOS=20 to do a network boot over a VLAN for installation - not a capability this= BIOS=20 appears to have, or I end up creating a whole new VLAN that's either rout= ed or=20 has YP, DNS, time and installation servers on it. That's a massive headac= he.... It'd be much neater if FreeBSD could handle the tagged/untagged traffic. = It just=20 works (TM) on Solaris and Linux, so I expected it to do the same on FreeB= SD... :-( Surely, there must be a way.... Eric On 19/03/2019 07:59, Patrick M. Hausen wrote: > Hi! > >> Am 18.03.2019 um 22:12 schrieb Eric Bautsch : >> I now have a bridge0 on re0.33 which works, great. >> I now configure a bridge1 which contains re0 and put an IP on that bri= dge, and hey presto, that IP pings, but the IP on bridge0 on VLAN 33 stop= s pinging. > IMHO you should not be mixing VLAN tagged and untagged > traffic on the same interface. A port is a trunk port carrying > tagged traffic or an access port carrying untagged traffic > only. > > So you should - again, my opinion - create a VLAN, say 1 on > re0 and put re0.1 into bridge1. I know this works from > experience. > > We have some rare performance issues when combining > this with VNET but first things first =E2=80=A6 still investigating and= I=E2=80=99ll keep > the list informed. > > Kind regards, > Patrick --=20 =20 ____ / . Eric A. Bautsch /-- __ ___ __________________________________= ____ / / / / / (_____/____(___(__________________/ email: eric.bautsch@pobox.co= m --------------ms040404030203040000030608 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC DFIwggNiMIIC6KADAgECAggwtYJcB7vEnDAKBggqhkjOPQQDAzBSMQswCQYDVQQGEwJFUzEU MBIGA1UECgwLU3RhcnRDb20gQ0ExLTArBgNVBAMMJFN0YXJ0Q29tIENlcnRpZmljYXRpb24g QXV0aG9yaXR5IEVDQzAeFw0xNzA0MjgwODAwMzVaFw0zNzA0MjgwODAwMzVaMGkxCzAJBgNV BAYTAkVTMRQwEgYDVQQKDAtTdGFydENvbSBDQTEpMCcGA1UECwwgU3RhcnRDb20gQ2VydGlm aWNhdGlvbiBBdXRob3JpdHkxGTAXBgNVBAMMEFN0YXJ0Q29tIENDMiBJQ0EwdjAQBgcqhkjO PQIBBgUrgQQAIgNiAAR7hlYvM7ymfqRetYHdncaz11zCyZQbJofX1jT1FiEsyKH7WFh7k9cN BMbe9RUh7mq6EcCcP7rHdV1yhkx9CNT8KSSDHIIWB1RbmK5XtKvK4BLQ1pLUbzvGVz/YBYro HK+jggFyMIIBbjBtBggrBgEFBQcBAQRhMF8wNQYIKwYBBQUHMAKGKWh0dHA6Ly9haWEuc3Rh cnRjb21jYS5jb20vY2VydHMvY2FjYzIuY3J0MCYGCCsGAQUFBzABhhpodHRwOi8vb2NzcC5z dGFydGNvbWNhLmNvbTAdBgNVHQ4EFgQUPLfG3okmWlcDidCvMGpGDgzq3GYwEgYDVR0TAQH/ BAgwBgEB/wIBADAfBgNVHSMEGDAWgBSeiMCybDMJy/8hfr/qnwiGu32qGTBBBgNVHSAEOjA4 MDYGBFUdIAAwLjAsBggrBgEFBQcCARYgaHR0cDovL3d3dy5zdGFydGNvbWNhLmNvbS9wb2xp Y3kwNwYDVR0fBDAwLjAsoCqgKIYmaHR0cDovL2NybC5zdGFydGNvbWNhLmNvbS9zZnNjYWNj Mi5jcmwwDgYDVR0PAQH/BAQDAgEGMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAK BggqhkjOPQQDAwNoADBlAjEAxVHjDb7E+HcRO7j3UZg3lyI/6MgNJuD/Fc/5HTtjZc5B0iVz eeERiqV1sGJ/h9h8AjAlmjRwgkRXx8hJVcCzCCBl95zytvLdJdGPrBJHEaFJnsYX8FQZGB86 0clRb9QPXXQwggQzMIIDuKADAgECAghYh6dhuIrClTAKBggqhkjOPQQDAzBpMQswCQYDVQQG EwJFUzEUMBIGA1UECgwLU3RhcnRDb20gQ0ExKTAnBgNVBAsMIFN0YXJ0Q29tIENlcnRpZmlj YXRpb24gQXV0aG9yaXR5MRkwFwYDVQQDDBBTdGFydENvbSBDQzIgSUNBMB4XDTE3MDcwMzEw MzcyOVoXDTE5MDcwMzAyNDcwMFowSDElMCMGCSqGSIb3DQEJARYWZXJpYy5iYXV0c2NoQHBv Ym94LmNvbTEfMB0GA1UEAwwWZXJpYy5iYXV0c2NoQHBvYm94LmNvbTCCASIwDQYJKoZIhvcN AQEBBQADggEPADCCAQoCggEBAMghw1tHL4eLIUgcw9dnIy+JADzgH7YBJYhZWNH8J6Vq2kiU UTpBjjTALMNWxj7PakNtMXjWHqnQjWESwwzlvnaQnvf2bBjYafiC8+D3oocW3OyaDOLVRDqx dI2n+Zr2RNTZw2erl2/cHrToVvOkuqZVftcL8EocMHeLuaEUfgaXQBmFhUJpzDvPsSLp99fg z5zOY+j3sHa6HOGke8NvR4bi8pKnkgCu5lo9HWHgVJ/Ip8Cqk2EzwaZ0DSGfpvfXtv+OuBqO s6VBJ19TibT9wfFeYeoesgKnS73zQKLoZG3yKcfYfZs9TxS5BEhWDWr6JFP8hUlhL+ZUi+X9 AFNAAx8CAwEAAaOCAZ4wggGaMHQGCCsGAQUFBwEBBGgwZjA8BggrBgEFBQcwAoYwaHR0cDov L2FpYS5zdGFydGNvbWNhLmNvbS9jZXJ0cy9zY2EuY2xpZW50MjIuY3J0MCYGCCsGAQUFBzAB hhpodHRwOi8vb2NzcC5zdGFydGNvbWNhLmNvbTAdBgNVHQ4EFgQUS/x/U30ucvaPvk4aAXYu Q8qcFskwCQYDVR0TBAIwADAfBgNVHSMEGDAWgBQ8t8beiSZaVwOJ0K8wakYODOrcZjBIBgNV HSAEQTA/MD0GCysGAQQBgbU3AgIBMC4wLAYIKwYBBQUHAgEWIGh0dHA6Ly93d3cuc3RhcnRj b21jYS5jb20vcG9saWN5MDsGA1UdHwQ0MDIwMKAuoCyGKmh0dHA6Ly9jcmwuc3RhcnRjb21j YS5jb20vc2NhLWNsaWVudDIyLmNybDAOBgNVHQ8BAf8EBAMCBLAwHQYDVR0lBBYwFAYIKwYB BQUHAwIGCCsGAQUFBwMEMCEGA1UdEQQaMBiBFmVyaWMuYmF1dHNjaEBwb2JveC5jb20wCgYI KoZIzj0EAwMDaQAwZgIxAKbrgOkZ5i8pHnjkbxiyZbOvisCA9Z+0/DZjPybtrKlk3l/dl7dd AqPaZHKFNjGkGgIxAITRkSRMx0zlIb1ajYqEe3lVeouUc253pu+FOlAr5qvvJjZ+Gyc4/7ud YIdBYQb4KzCCBLEwggKZoAMCAQICEEzFbU1ZMWzGD67YyYtePFkwDQYJKoZIhvcNAQEMBQAw fTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3Vy ZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRp ZmljYXRpb24gQXV0aG9yaXR5MB4XDTE3MDQxMTA3MzAwMVoXDTIyMDQxMTA3MzAwMVowUjEL MAkGA1UEBhMCRVMxFDASBgNVBAoMC1N0YXJ0Q29tIENBMS0wKwYDVQQDDCRTdGFydENvbSBD ZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSBFQ0MwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAARtU/dM PcdNPiBafCl30C/R50Onc2/k4XgCYiJJrpw3hTs0B0P/+SZAknB0QU2BcIee3+22c5Ju/2UC meZoVbtekPtlX1g6CoN0fQbqaMUhBUIyxEFavSPBd3IQ4/Hi7KujggEEMIIBADAOBgNVHQ8B Af8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBAjAyBgNVHR8EKzApMCegJaAjhiFodHRwOi8v Y3JsLnN0YXJ0c3NsLmNvbS9zZnNjYS5jcmwwZgYIKwYBBQUHAQEEWjBYMCQGCCsGAQUFBzAB hhhodHRwOi8vb2NzcC5zdGFydHNzbC5jb20wMAYIKwYBBQUHMAKGJGh0dHA6Ly9haWEuc3Rh cnRzc2wuY29tL2NlcnRzL2NhLmNydDAdBgNVHQ4EFgQUnojAsmwzCcv/IX6/6p8Ihrt9qhkw HwYDVR0jBBgwFoAUTgvvGqRAW6UXaYcwyjRoQ9BBrvIwDQYJKoZIhvcNAQEMBQADggIBAJmQ Ot9REj3wllH11HazsdBP1WD+Wt98G651eGEhVIHupeiO3+fM9JUxYNXrqFCcjlaWABGFAOXv BAeBta7vT05Hk8TIC9/r2StixF+aQvbWq0DGiPOfX29FWKJEe/e0QHrqebP29cwwh2WbzsPz EBklt0xObEt+/6R7QB7kJkqYeggmFSOf7G6VBlKDMt1dabf2uWs0cYoNceBHWX+Bepkl+V16 MJ4eYtOOGMzfaqbszR7SP4zJWXVOXbSa0gvk8zcAveJBw2CQK8My7mKCPx3IEhtn70b5oEBU kGZpEbSCEI9XCs3VHpnZuB3s7PimeULw0Vkvkug0GdWBvGPgyCwDCdp9oXonZmCDkKVn2IuI PWpYfIwAD8hK6nn14mrHXnOcyr0BB93hC1Cv394cjnunn9DSEgTxLgQITvCcbVlZdUIBObMi hFFCz2EkySSYp5HmpUTFG+LhY9B2TevagHztoDbOg7BBvbLzetZh7kM7Dxqp2EVDJ7qhU0So OLH7zeMf93L8wmg9pK5niFIFY9KbRoc0s/lTl+o+pjSsIrXEOovlDBx3Eg4ysyyvQQErbuRD 0sRrpHYbaJySScoFK8nAEgkDO+Q4EC2/mlowjy5fM6X1+FmZFedPbd4G59OadRVe7sGEK/4G nvu0BZUbbkUhfoFg/iAUGX83w93l5bRJMYIDizCCA4cCAQEwdTBpMQswCQYDVQQGEwJFUzEU MBIGA1UECgwLU3RhcnRDb20gQ0ExKTAnBgNVBAsMIFN0YXJ0Q29tIENlcnRpZmljYXRpb24g QXV0aG9yaXR5MRkwFwYDVQQDDBBTdGFydENvbSBDQzIgSUNBAghYh6dhuIrClTANBglghkgB ZQMEAgEFAKCCAecwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcN MTkwMzE5MDkwMTM2WjAvBgkqhkiG9w0BCQQxIgQg1dD3S/27mIp8r4KRmfAzTuIFGxEvwKWP kDN0otrTNMIwbAYJKoZIhvcNAQkPMV8wXTALBglghkgBZQMEASowCwYJYIZIAWUDBAECMAoG CCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0DAgIBQDAHBgUrDgMCBzANBggq hkiG9w0DAgIBKDCBhAYJKwYBBAGCNxAEMXcwdTBpMQswCQYDVQQGEwJFUzEUMBIGA1UECgwL U3RhcnRDb20gQ0ExKTAnBgNVBAsMIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5 MRkwFwYDVQQDDBBTdGFydENvbSBDQzIgSUNBAghYh6dhuIrClTCBhgYLKoZIhvcNAQkQAgsx d6B1MGkxCzAJBgNVBAYTAkVTMRQwEgYDVQQKDAtTdGFydENvbSBDQTEpMCcGA1UECwwgU3Rh cnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxGTAXBgNVBAMMEFN0YXJ0Q29tIENDMiBJ Q0ECCFiHp2G4isKVMA0GCSqGSIb3DQEBAQUABIIBAJzkzkB3yR22Ii8EN2a+OBC/oUldZYwH zDJt847eRnGkAb7WNp0inUM2efWdWyJTij896XJ7ZPulNhLMqFpmRW0DG2jSfCBJpyNvwpHY mfgH0DkaHKMA87nLt9KO5Z9+1XYBFkR5Yg6dRs3F+pk4SAqJpK7yHrWVQRcwxUyeGq/jZ0nN wTWlQhw3S9ljZVCGglatXECwyQY8Zr5D72nOW5Bw/A+4mQBph2pktw1O8BSkyMQFuzxknYvN +ND9Wgol7ddciehllxJ5oNcUoqnYO9g46UpcAwZ/5U5Afckc+UjidjiPOCKJqZdDmkra90LY tw+pLNJOnueaPscZp2ArK0oAAAAAAAA= --------------ms040404030203040000030608-- From owner-freebsd-net@freebsd.org Tue Mar 19 12:47:09 2019 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 19836154F8C4 for ; Tue, 19 Mar 2019 12:47: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 A14BF83862 for ; Tue, 19 Mar 2019 12:47:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 57E63154F8C3; Tue, 19 Mar 2019 12:47: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 4585E154F8C2 for ; Tue, 19 Mar 2019 12:47:08 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D011983860 for ; Tue, 19 Mar 2019 12:47: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 6FF40AD62 for ; Tue, 19 Mar 2019 12:47: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 x2JCl67V053243 for ; Tue, 19 Mar 2019 12:47:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2JCl6rk053241 for net@FreeBSD.org; Tue, 19 Mar 2019 12:47: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 236383] [netgraph] Kernel panic detaching ng_iface in 12.0 Date: Tue, 19 Mar 2019 12:47:05 +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: 12.0-STABLE X-Bugzilla-Keywords: panic, patch 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: attachments.isobsolete 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.29 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, 19 Mar 2019 12:47:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236383 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #202920|0 |1 is obsolete| | --- Comment #2 from Eugene Grosbein --- Comment on attachment 202920 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D202920 Add wlock for priv modification to ng_iface_shutdown() Sorry, the patch not meant for this PR. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Mar 19 12:48:21 2019 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 1579F154F92D for ; Tue, 19 Mar 2019 12:48:21 +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 9C4AB83919 for ; Tue, 19 Mar 2019 12:48:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5B5F2154F92C; Tue, 19 Mar 2019 12:48:20 +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 47421154F92B for ; Tue, 19 Mar 2019 12:48:20 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D280A83915 for ; Tue, 19 Mar 2019 12:48: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 D88FEAD6A for ; Tue, 19 Mar 2019 12:48: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 x2JCmIVa072413 for ; Tue, 19 Mar 2019 12:48:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2JCmInI072411 for net@FreeBSD.org; Tue, 19 Mar 2019 12:48:18 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 236383] Kernel panic Date: Tue, 19 Mar 2019 12:48:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: panic, patch 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.29 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, 19 Mar 2019 12:48:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236383 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[netgraph] Kernel panic |Kernel panic |detaching ng_iface in 12.0 | --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Mar 19 12:50:38 2019 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 D1190154FAA8 for ; Tue, 19 Mar 2019 12:50:38 +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 6808683AE1 for ; Tue, 19 Mar 2019 12:50:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 25769154FAA5; Tue, 19 Mar 2019 12:50:38 +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 131BB154FAA4 for ; Tue, 19 Mar 2019 12:50:38 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7E70383AD8 for ; Tue, 19 Mar 2019 12:50:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id B9601AD79 for ; Tue, 19 Mar 2019 12:50:36 +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 x2JCoaq7010594 for ; Tue, 19 Mar 2019 12:50:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2JCoaLu010588 for net@FreeBSD.org; Tue, 19 Mar 2019 12:50:36 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 236383] [ral] Kernel panic in ral(4) Date: Tue, 19 Mar 2019 12:50:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: panic, patch 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.29 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, 19 Mar 2019 12:50:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236383 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Kernel panic |[ral] Kernel panic in | |ral(4) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Mar 19 12:54:40 2019 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 A57C2154FD76 for ; Tue, 19 Mar 2019 12:54: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 384BE83E94 for ; Tue, 19 Mar 2019 12:54:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id ECF63154FD75; Tue, 19 Mar 2019 12:54: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 DB46A154FD74 for ; Tue, 19 Mar 2019 12:54: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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 77D6783E91 for ; Tue, 19 Mar 2019 12:54: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 810D4AEEC for ; Tue, 19 Mar 2019 12:54: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 x2JCscql089504 for ; Tue, 19 Mar 2019 12:54:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2JCscl3089499 for net@FreeBSD.org; Tue, 19 Mar 2019 12:54: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 236383] [ral] Kernel panic in ral(4) Date: Tue, 19 Mar 2019 12:54: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: 12.0-STABLE X-Bugzilla-Keywords: panic, patch 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: 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.29 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, 19 Mar 2019 12:54:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236383 --- Comment #3 from Eugene Grosbein --- The panic is in ral(4) driver for wireless NIC. Please describe your hardwa= re including output of dmesg and pciconf -lvvv and show your wifi configuratio= n. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Mar 19 13:47:41 2019 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 8EC061551258 for ; Tue, 19 Mar 2019 13:47:41 +0000 (UTC) (envelope-from sodynet1@gmail.com) Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C5F3D859D9 for ; Tue, 19 Mar 2019 13:47:37 +0000 (UTC) (envelope-from sodynet1@gmail.com) Received: by mail-qt1-x833.google.com with SMTP id u7so22071470qtg.9 for ; Tue, 19 Mar 2019 06:47:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=YdpssUUHhuTkZ5I+oSFG2Baq4mhH2Kh0I5+V51rCCa0=; b=olPsaXyG7gIS4K/4xRGldTsf5zi+FaVdw5fbqp2TzxHKCm3wGITbL6fwyShGbDXg9V QNC9DhlWQlVSbQktUCeGiRIhnWYOpRPcfrT9x1K1eZH0LbmYSsFhVf7EYmG6DQDlytk8 pUJOeFe3jncZFCjWYbZ7uw9pHDqQz/UuoyitOxMFOOV8fa0YSmSJIHS7Rw7sc+WJHjqu 8WJndbQdq3VdEAHbp7RDxwg27U2V89X3N3xF5E7I409UGjo7b5J+PtBHAPHWg9JsV+ZO uPyvDjNH/2uVXYEImzcHvN+SPMDdNSl3hRCdw0g382JwedZwxWeuxKzBYMcqlZf8MQEp W7rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=YdpssUUHhuTkZ5I+oSFG2Baq4mhH2Kh0I5+V51rCCa0=; b=pyAaMnEX9ycpXtn/weNQGpHhZagE6OCthXOZDGjgLyJLednPKasAiXO87DibPsh+Ob IYQITQtBEFuvz2rVNHcZZy0bouc8MmhW0RMru5VWY7KQi7VNL8E6EBfWGOn/JE/LPH4n MJRM+uaGMU/kUStJV7M3NxM7t0FxppC7CHcsZpzP2HEIzhvtc7E8531icKzF+E/cZ2ZY VE9W7iYvOxZlrvq6r4DDGW7YXdrDlbDy/boSIWibMr/plovlWfDhmOyhqmxG2tUjJB4g pxXwdH18DPTJXKFO9BswwUfITQzW/jX0T6/V9nZvf6on5EpJyrIgZ6yUH5Laml8gXOju 9BvA== X-Gm-Message-State: APjAAAWhkvOGnkguCD6Au/GPbLBuJ015TXNVSi3KJkoxHeaZZPqi0U2/ SPApUvRu4pI5h+5P6fNEyWjMNWIvB4vuuUmGwZ4l1Q== X-Google-Smtp-Source: APXvYqyfZJUoZohbzWBGYvAm9qXFCItcO/m+8tedUrY/QGXtNUdkYzecNoGEGdoaphPvHwyfBmDbVDK89HTvg40NfhU= X-Received: by 2002:ac8:2cd1:: with SMTP id 17mr2020280qtx.299.1553003257170; Tue, 19 Mar 2019 06:47:37 -0700 (PDT) MIME-Version: 1.0 From: Sami Halabi Date: Tue, 19 Mar 2019 15:47:25 +0200 Message-ID: Subject: SD-Wan To: Freebsd-net@freebsd.org X-Rspamd-Queue-Id: C5F3D859D9 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=olPsaXyG; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of sodynet1@gmail.com designates 2607:f8b0:4864:20::833 as permitted sender) smtp.mailfrom=sodynet1@gmail.com X-Spamd-Result: default: False [-6.64 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[3.3.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.69)[ip: (-8.51), ipnet: 2607:f8b0::/32(-2.77), asn: 15169(-2.10), country: US(-0.07)]; NEURAL_HAM_SHORT(-0.94)[-0.941,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 19 Mar 2019 13:47:41 -0000 Hi everyone, All buzz around Software-Defined Wan.. I wonder what is in the base of its fundamentals and what does FreeBSD has to offer in the subject. Sami From owner-freebsd-net@freebsd.org Tue Mar 19 13:59:40 2019 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 412DE1551825 for ; Tue, 19 Mar 2019 13:59:40 +0000 (UTC) (envelope-from vegeta@tuxpowered.net) Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2726786277 for ; Tue, 19 Mar 2019 13:59:39 +0000 (UTC) (envelope-from vegeta@tuxpowered.net) Received: by mail-ed1-x541.google.com with SMTP id e4so16701487edi.3 for ; Tue, 19 Mar 2019 06:59:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxpowered-net.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to; bh=tiNiYG9OBBltszNsTSBxZUEBaKhKpHfHUZb4PquID6Q=; b=OPnzLifc6Fmixv8PwSjsnPVYTgJXAV3PwGFjvfQZUxEoMmfQMOgj/6/cUcuZCu1X06 7O8k9si30TI7k5WPqoc84MD+PI0eFbHP0BydpY2K+NobnjUNFMqAw6ZEHu2yGxgvvEDR pKmdOJrz7sq+gh5qmU+VW6QdyXej2mTb2Hj/8asCmBTzbHn3PkfuCRynZw9VaTG4YlT+ bXuWvCkrN/aQ7u8WKK044+1OgPcLtf9+C+l3v9i+vAYjk83o86wvXwMlPYLFyWR/y5ED JCwwlSA4JDHuM+AuheBRSWPcKLRFpR65loTGzKbQO85RN8DYg8Now/k9cvMGRN4lASQi pNvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to; bh=tiNiYG9OBBltszNsTSBxZUEBaKhKpHfHUZb4PquID6Q=; b=eA+Jhz58vmxXPUkLlo/5gwU+2zJYFBlJ1JX1Q0S5VSJ0zui037fB4TpgGpmAhijYUy ldC5Unxlt8SpxuyJs5aZaH5P3HXE5bF8l+X3wP6Ie7GzhU7081jKhyHyqQLisdIPmWmU EaXgYheW9ABSjwXZi2+Vom3+uWGoX2PMCwM3FHjfupniNbYqXoz1/Oh4lCg89CovZuL/ 3sN/Bq9buZANKT+ETQkh49LasjS2LdBYgfJ00f2LYFTRGQfEG7Vk8Iqm5capuuiT8lC7 as1tjj5z2xBlL5mbQSFYUhYQw4v49QewlLBV4kNar042Rrdeb1CqjZcABMQofUAgXLHV 06HQ== X-Gm-Message-State: APjAAAUEJ1bvJLmXabCMHtQ0RSTQOpYZQSrITJlQtLRTBlWi5JXjzSW7 oV4K90FowNzI/JoQ9tnVfVWMCXTmgdQ= X-Google-Smtp-Source: APXvYqxPmVVYYJbD8+6TvZfOVTbDKSNKdLYSo71iiwMqylguZXEcq9eRriAFUEfuSXSMy1QplLHR1w== X-Received: by 2002:aa7:d2d2:: with SMTP id k18mr16448760edr.201.1553003977570; Tue, 19 Mar 2019 06:59:37 -0700 (PDT) Received: from Proton.local (vpn-af.innogames.de. [212.53.146.14]) by smtp.gmail.com with ESMTPSA id v54sm2085108edm.7.2019.03.19.06.59.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Mar 2019 06:59:36 -0700 (PDT) Subject: Re: SD-Wan To: Sami Halabi , Freebsd-net@freebsd.org References: From: Kajetan Staszkiewicz Openpgp: preference=signencrypt Autocrypt: addr=vegeta@tuxpowered.net; keydata= mQGiBELvVycRBADVGZM8mHAsH+R87EBg4O+QTOkL0TjroqamohMlCdBEZgFGcGVoKA9c9Az6 e7xpk90DuaWYrzBKJ+I5drx2ddqdqejLhgNm3QZubE8Cf9cCxBAxnxBZHzmmgVJMOg93lJUQ e9L1BstntodE2xz4jSBB++Zh9eZgRqbn/EICcQmmKwCg9pQfnXRAMr4tFxhsFenxa/JCvFME AK/03irNfB8DezORCfpt7lZuwL5oRJ/TvpoCfwgVkNd6gTLMgSQpKbFytLzAAmRsE+EwVpBo sUzKt4vzmW4bllgPao14TyuVcViah27/da3fHm1HIMkjvro/ONtUivInn+5L33S0meT3KyuK ofwc1A6KucNxhv4rG7RsXuhwZZmQA/0QVni2wq7yc6t15dfCxuDCxG7yXp4pE5Dghp/MMwts leIxJ3JdHaTZ9aIrYT2Rxw8mTXUs89pDi7PCqXA2N4C+RvkoZI0Q6cWs6jHNZGiZRVzkw38r 8ctqtAlcfzlAynX5+Ym9oiNMJ/c/4fAiFrWerMR1rFWDSD56ltQHk0X0oLQsS2FqZXRhbiBT dGFzemtpZXdpY3ogPHZlZ2V0YUB0dXhwb3dlcmVkLm5ldD6IewQTEQIAOwYLCQgHAwIDFQID AxYCAQIeAQIXgAIZARYhBI4RBk5u/YHyZ/QlueO0UK9tezoUBQJcD656BQkbAXUJAAoJEOO0 UK9tezoUnsIAoK89eXWiO7x3gkfC+5mDXNnRx6ioAKCy4NE/0s8vTDA/P3yYJ2r6orDDNLkB DQRC71cpEAQAjXEOKfj9O4eYTWcifEApMYzel9+aWmhNRqqUhJuNO40UDF73biRJ0cjd8miV hZGxcqIdjnZUmxn8Okr+ta7ZU4Q2KNw7B23VKd1jzDKalaUGtCbv8pnvFdBCJwwzdhHJ2vxr e7zkGMrU4x5Od/92YZRCgX229Ic8y7muveQty4sAAwYD/A/FKDQkIu16GVOu9g8ZBLLBi1HS h2eiem/efmfZS1APR7Q5Ouf6KJMeEgBCKY9yqEp9wg97Bt93oi3zP0H1I8rLmrj5hoEE/VEj Cc4XSQ3qrthmQ9bE8fPDZIgodPG1h+dlOzDQoUxKM/YZdbKmV8VkegbAmEng9rJk90gJ+7Qt iGMEGBEIACMWIQSOEQZObv2B8mf0JbnjtFCvbXs6FAUCXDcogwUJGzo2agAKCRDjtFCvbXs6 FNsqAJ9naj/37JF2c1HjhO/4xosKOtGX/QCgn5ADg8fykMSnWmIR0GO/xq9LEzs= Message-ID: <59e32d3e-4663-5e99-be13-db9afe7a52e5@tuxpowered.net> Date: Tue, 19 Mar 2019 14:59:35 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.5.3 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nKIaGVuAbk1gIL8XQz3CHWolj2Pf1pykp" X-Rspamd-Queue-Id: 2726786277 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tuxpowered-net.20150623.gappssmtp.com header.s=20150623 header.b=OPnzLifc; spf=pass (mx1.freebsd.org: domain of vegeta@tuxpowered.net designates 2a00:1450:4864:20::541 as permitted sender) smtp.mailfrom=vegeta@tuxpowered.net X-Spamd-Result: default: False [-6.53 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; HAS_ATTACHMENT(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[tuxpowered-net.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[alt1.aspmx.l.google.com,aspmx2.googlemail.com,aspmx.l.google.com,alt2.aspmx.l.google.com]; SIGNED_PGP(-2.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[tuxpowered-net.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.983,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; DMARC_NA(0.00)[tuxpowered.net]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[1.4.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-0.94)[ip: (-0.15), ipnet: 2a00:1450::/32(-2.37), asn: 15169(-2.10), country: US(-0.07)] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 19 Mar 2019 13:59:40 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --nKIaGVuAbk1gIL8XQz3CHWolj2Pf1pykp Content-Type: multipart/mixed; boundary="MV0QWw4c9UC5zbOQKiYIX2NG9nM6ijbEU"; protected-headers="v1" From: Kajetan Staszkiewicz To: Sami Halabi , Freebsd-net@freebsd.org Message-ID: <59e32d3e-4663-5e99-be13-db9afe7a52e5@tuxpowered.net> Subject: Re: SD-Wan References: In-Reply-To: --MV0QWw4c9UC5zbOQKiYIX2NG9nM6ijbEU Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 19.03.19 14:47, Sami Halabi wrote: > Hi everyone, >=20 > All buzz around Software-Defined Wan.. I wonder what is in the base of = its > fundamentals and what does FreeBSD has to offer in the subject. You can always build solutions using normal open source components. FreeBSD itself can do some network redundacy thanks to carp. Then you can put some routing deamon on top of it, BIRD for example, maybe exabgp, add a few lines of code, bind it to your server database, anounce things over BGP to some real router, modify uour firewall rules. BGP *is* SD WAN, isn't it? Or you can buy a virtual appliance with a ton of features, but have a look at this video first: https://www.youtube.com/watch?v=3Dtfn2Q0sDqOY --=20 | pozdrawiam / greetings | powered by Debian, FreeBSD and CentOS | | Kajetan Staszkiewicz | jabber,email: vegeta()tuxpowered net | | Vegeta | www: http://vegeta.tuxpowered.net | `------------------------^---------------------------------------' --MV0QWw4c9UC5zbOQKiYIX2NG9nM6ijbEU-- --nKIaGVuAbk1gIL8XQz3CHWolj2Pf1pykp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSOEQZObv2B8mf0JbnjtFCvbXs6FAUCXJD1xwAKCRDjtFCvbXs6 FKALAKDZPsUu5BrR0NeB8eYrhsHHLSq02wCgy0Lo3cYsmUx9m1eyhgrCgN0Ip9U= =8Kxj -----END PGP SIGNATURE----- --nKIaGVuAbk1gIL8XQz3CHWolj2Pf1pykp-- From owner-freebsd-net@freebsd.org Tue Mar 19 14:24:55 2019 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 B1F971552397 for ; Tue, 19 Mar 2019 14:24: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 413E1870E8 for ; Tue, 19 Mar 2019 14:24:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id EEC001552396; Tue, 19 Mar 2019 14:24: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 B0DB91552395 for ; Tue, 19 Mar 2019 14:24: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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 42F4D870E6 for ; Tue, 19 Mar 2019 14:24: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 5933DBBD2 for ; Tue, 19 Mar 2019 14:24: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 x2JEOrvv070523 for ; Tue, 19 Mar 2019 14:24:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2JEOrPd070522 for net@FreeBSD.org; Tue, 19 Mar 2019 14:24: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 236383] [ral] Kernel panic in ral(4) Date: Tue, 19 Mar 2019 14:24:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: panic, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: admin@5034.ru 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.29 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, 19 Mar 2019 14:24:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236383 --- Comment #4 from Sergey Anokhin --- (In reply to Eugene Grosbein from comment #3) Will it enough? Please let me know if you want to see additional info ~# pciconf -lvvv hostb0@pci0:0:0:0: class=3D0x060000 card=3D0x820b1043 chip=3D0x29a0808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82P965/G965 Memory Controller Hub' class =3D bridge subclass =3D HOST-PCI pcib1@pci0:0:1:0: class=3D0x060400 card=3D0x00008086 chip=3D0x29a1808= 6 rev=3D0x02 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D '82P965/G965 PCI Express Root Port' class =3D bridge subclass =3D PCI-PCI vgapci0@pci0:0:2:0: class=3D0x030000 card=3D0x820b1043 chip=3D0x29a2808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82G965 Integrated Graphics Controller' class =3D display subclass =3D VGA none0@pci0:0:3:0: class=3D0x078000 card=3D0x820b1043 chip=3D0x29a4808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82P965/G965 HECI Controller' class =3D simple comms uhci0@pci0:0:26:0: class=3D0x0c0300 card=3D0x81ec1043 chip=3D0x2834808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801H (ICH8 Family) USB UHCI Controller' class =3D serial bus subclass =3D USB uhci1@pci0:0:26:1: class=3D0x0c0300 card=3D0x81ec1043 chip=3D0x2835808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801H (ICH8 Family) USB UHCI Controller' class =3D serial bus subclass =3D USB ehci0@pci0:0:26:7: class=3D0x0c0320 card=3D0x81ec1043 chip=3D0x283a808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801H (ICH8 Family) USB2 EHCI Controller' class =3D serial bus subclass =3D USB hdac0@pci0:0:27:0: class=3D0x040300 card=3D0x821a1043 chip=3D0x284b808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801H (ICH8 Family) HD Audio Controller' class =3D multimedia subclass =3D HDA pcib2@pci0:0:28:0: class=3D0x060400 card=3D0x821a1043 chip=3D0x283f808= 6 rev=3D0x02 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D '82801H (ICH8 Family) PCI Express Port 1' class =3D bridge subclass =3D PCI-PCI pcib3@pci0:0:28:4: class=3D0x060400 card=3D0x821a1043 chip=3D0x2847808= 6 rev=3D0x02 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D '82801H (ICH8 Family) PCI Express Port 5' class =3D bridge subclass =3D PCI-PCI uhci2@pci0:0:29:0: class=3D0x0c0300 card=3D0x81ec1043 chip=3D0x2830808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801H (ICH8 Family) USB UHCI Controller' class =3D serial bus subclass =3D USB uhci3@pci0:0:29:1: class=3D0x0c0300 card=3D0x81ec1043 chip=3D0x2831808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801H (ICH8 Family) USB UHCI Controller' class =3D serial bus subclass =3D USB uhci4@pci0:0:29:2: class=3D0x0c0300 card=3D0x81ec1043 chip=3D0x2832808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801H (ICH8 Family) USB UHCI Controller' class =3D serial bus subclass =3D USB ehci1@pci0:0:29:7: class=3D0x0c0320 card=3D0x81ec1043 chip=3D0x2836808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801H (ICH8 Family) USB2 EHCI Controller' class =3D serial bus subclass =3D USB pcib4@pci0:0:30:0: class=3D0x060401 card=3D0x821a1043 chip=3D0x244e808= 6 rev=3D0xf2 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D '82801 PCI Bridge' class =3D bridge subclass =3D PCI-PCI isab0@pci0:0:31:0: class=3D0x060100 card=3D0x821a1043 chip=3D0x2810808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801HB/HR (ICH8/R) LPC Interface Controller' class =3D bridge subclass =3D PCI-ISA ahci1@pci0:0:31:2: class=3D0x010601 card=3D0x821a1043 chip=3D0x2824808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801HB (ICH8) 4 port SATA Controller [AHCI mode]' class =3D mass storage subclass =3D SATA none1@pci0:0:31:3: class=3D0x0c0500 card=3D0x821a1043 chip=3D0x283e808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801H (ICH8 Family) SMBus Controller' class =3D serial bus subclass =3D SMBus ahci0@pci0:2:0:0: class=3D0x010601 card=3D0x81e41043 chip=3D0x2363197= b rev=3D0x03 hdr=3D0x00 vendor =3D 'JMicron Technology Corp.' device =3D 'JMB363 SATA/IDE Controller' class =3D mass storage subclass =3D SATA atapci0@pci0:2:0:1: class=3D0x010185 card=3D0x81e41043 chip=3D0x2363197= b rev=3D0x03 hdr=3D0x00 vendor =3D 'JMicron Technology Corp.' device =3D 'JMB363 SATA/IDE Controller' class =3D mass storage subclass =3D ATA rl0@pci0:4:0:0: class=3D0x020000 card=3D0x813910ec chip=3D0x813910ec rev=3D= 0x10 hdr=3D0x00 vendor =3D 'Realtek Semiconductor Co., Ltd.' device =3D 'RTL-8100/8101L/8139 PCI Fast Ethernet Adapter' class =3D network subclass =3D ethernet ral0@pci0:4:1:0: class=3D0x028000 card=3D0x3c051186 chip=3D0x5360181= 4 rev=3D0x00 hdr=3D0x00 vendor =3D 'Ralink corp.' device =3D 'RT5360 Wireless 802.11n 1T/1R' class =3D network none2@pci0:4:3:0: class=3D0x0c0010 card=3D0x81fe1043 chip=3D0x3044110= 6 rev=3D0xc0 hdr=3D0x00 vendor =3D 'VIA Technologies, Inc.' device =3D 'VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller' class =3D serial bus subclass =3D FireWire skc0@pci0:4:4:0: class=3D0x020000 card=3D0x811a1043 chip=3D0x432011a= b rev=3D0x14 hdr=3D0x00 vendor =3D 'Marvell Technology Group Ltd.' device =3D '88E8001 Gigabit Ethernet Controller' class =3D network subclass =3D ethernet # cat /etc/hostapd.conf interface=3Dwlan0 debug=3D1 ctrl_interface=3D/var/run/hostapd ctrl_interface_group=3Dwheel ssid=3DPAPA wpa=3D2 wpa_passphrase=3D wpa_key_mgmt=3DWPA-PSK wpa_pairwise=3DTKIP CCMP channel=3D3 hw_mode=3Dg wmm_enabled=3D1 logger_syslog=3D-1 logger_syslog_level=3D2 logger_stdout=3D-1 logger_stdout_level=3D2 # ifconfig rl0: flags=3D8943 metric 0 = mtu 1500 options=3D2008 ether 56:00:ff:aa:ce:fe inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 media: Ethernet autoselect (100baseTX ) status: active nd6 options=3D29 sk0: flags=3D8843 metric 0 mtu 1500 options=3D80009 ether 00:1b:fc:09:fb:60 inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 media: Ethernet autoselect (100baseTX ) status: active nd6 options=3D29 lo0: flags=3D8049 metric 0 mtu 16384 options=3D680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=3D21 enc0: flags=3D0<> metric 0 mtu 1536 groups: enc nd6 options=3D29 pfsync0: flags=3D0<> metric 0 mtu 1500 syncpeer: 0.0.0.0 maxupd: 128 defer: off groups: pfsync pflog0: flags=3D0<> metric 0 mtu 33160 groups: pflog wlan0: flags=3D8943 metric = 0 mtu 1500 ether ac:f1:df:0b:14:46 groups: wlan ssid PAPA channel 3 (2422 MHz 11g) bssid ac:f1:df:0b:14:46 regdomain FCC country US authmode WPA2/802.11i privacy MIXED deftxkey 2 TKIP 2:128-bit TKIP 3:128-bit txpower 30 scanvalid 60 protmode CTS wme dtimperiod 1 -dfs media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: running nd6 options=3D29 bridge0: flags=3D8843 metric 0 mtu = 1500 ether 02:41:b2:ac:b6:00 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: wlan0 flags=3D143 ifmaxaddr 0 port 7 priority 128 path cost 370370 member: rl0 flags=3D143 ifmaxaddr 0 port 1 priority 128 path cost 55 groups: bridge nd6 options=3D9 ng0: flags=3D88d1 metric 0 = mtu 1462 inet --> netmask 0xffffffff nd6 options=3D29 tun1: flags=3D8051 metric 0 mtu 1500 options=3D80000 inet6 fe80::21b:fcff:fe09:fb60%tun1 prefixlen 64 scopeid 0xa inet 10.1.200.1 --> 10.1.200.2 netmask 0xffffff00 groups: tun nd6 options=3D21 Opened by PID 2175 tun0: flags=3D8051 metric 0 mtu 1500 options=3D80000 inet6 fe80::21b:fcff:fe09:fb60%tun0 prefixlen 64 scopeid 0xb inet 10.20.0.5 --> 10.20.0.1 netmask 0xffffff00 groups: tun nd6 options=3D21 Opened by PID 2192 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Mar 19 14:35:57 2019 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 13AC5155281A for ; Tue, 19 Mar 2019 14:35: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 9770587AA8 for ; Tue, 19 Mar 2019 14:35:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 564E81552819; Tue, 19 Mar 2019 14:35:56 +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 427B51552818 for ; Tue, 19 Mar 2019 14:35: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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CDBE187AA4 for ; Tue, 19 Mar 2019 14:35: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 0750FBD62 for ; Tue, 19 Mar 2019 14:35: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 x2JEZs7E093710 for ; Tue, 19 Mar 2019 14:35:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2JEZsVC093708 for net@FreeBSD.org; Tue, 19 Mar 2019 14:35: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 236383] [ral] Kernel panic in ral(4) Date: Tue, 19 Mar 2019 14:35:54 +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: 12.0-STABLE X-Bugzilla-Keywords: panic, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: admin@5034.ru 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.29 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, 19 Mar 2019 14:35:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236383 --- Comment #5 from Sergey Anokhin --- Part of etc.conf ifconfig_sk0=3D"inet 10.0.0.1 netmask 255.255.255.0" cloned_interfaces=3D"bridge0" ifconfig_rl0=3D"inet 192.168.1.1 netmask 255.255.255.0" ifconfig_bridge0=3D"addm rl0 addm wlan0 up" ifconfig_wlan0=3D"up" hostapd_enable=3D"YES" wlans_ral0=3D"wlan0" create_args_wlan0=3D"wlanmode hostap" hostapd_enable=3D"YES" --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Tue Mar 19 15:22:03 2019 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 095FA1553A37 for ; Tue, 19 Mar 2019 15:22:03 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-qt1-x841.google.com (mail-qt1-x841.google.com [IPv6:2607:f8b0:4864:20::841]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D37DC8992F for ; Tue, 19 Mar 2019 15:22:01 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-qt1-x841.google.com with SMTP id k2so22592779qtm.1 for ; Tue, 19 Mar 2019 08:22:01 -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=93mLuypErH1UqQKRtLDlfzKcPWKzsHXFzvc4jd018Z4=; b=goaHaAbtP8kz/I05z1sH3aEjxiaIOtUcYR1D72PxRu2igsEhftJ8GfeZzlFcbil3Bq f+ELpDH2I6doULGVDMjOOH5yQnf283uaTV+jzp247zvNSOMuXlMR8iAu2slp9FuH2CF6 7V4cELMwal1Ov064pmSylynDm9AGNCnwARGi/IGbYWHTmpnRbMtgWkbyumUwbXgmDeTT P97Urch5lw6YiujALwaGFZYEM+aLusze/XML7Ww/RPpQIBrYSYAOWh/1a8ynmSsgai7u wbwm18DysmoxeqjZYQhUQ15LwwnCYcUIyX3PC/qwCxnazYqHG6R+tg9fa3mrjw77Ztg6 m15g== 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=93mLuypErH1UqQKRtLDlfzKcPWKzsHXFzvc4jd018Z4=; b=Qc34JEKPJQmb3j8KDBBa74CQhWAnlEFBAuyb0RqT4II971ov3DQkIhl++yFnpE4MtY Iw1iLzLqocVjwEB55vbvX2pGrj6MUlSqEGy3wMYaxOT8AKWDTD7GEVHLzKyzEJcLVzul Oenh0pTjBF6P/zR+ni0OeInb3Ckf14RRYWP7SAnlXCEmT5rCCANHpTxG8DDQL89Wydbn oV//Xtbq/DR+LPY16og7cyXa90Ve5avxFjR6+59gIN3lG0kyFkpdm1mZYqiSz1+lX3wr NdgDVF7Dsc7lCpD8St3QFkQ5AhohkWfe0LIdoPmS6VMp1UM8oi6I3zOEnoM9qJYK2i5B 4/oA== X-Gm-Message-State: APjAAAUDnEXwxegcOor7Y81Y5OEJD00cbQytmNyFAujGIZNNVSc1UB+U dSD3PZghVWdPtlZGgGCL3u8CDPivwqk3eCTOUUOIWw== X-Google-Smtp-Source: APXvYqx5FK7H0sgxFlv+CoxqLNSUlCU6lSJvSHgPXN1JDoA4OWecxYkR0OWlw7OfwPN8OXCxSow0/nLL8ls8ER6dt70= X-Received: by 2002:a0c:d783:: with SMTP id z3mr2320651qvi.190.1553008920888; Tue, 19 Mar 2019 08:22:00 -0700 (PDT) MIME-Version: 1.0 References: <5756C17D.1090409@yandex.ru> <1502708678.10983095.1465385308094.JavaMail.zimbra@ulg.ac.be> In-Reply-To: From: Vincenzo Maffione Date: Tue, 19 Mar 2019 16:21:48 +0100 Message-ID: Subject: Re: Is netmap jumbo frames broken in STABLE? To: Andrew Vylegzhanin Cc: "freebsd-net@freebsd.org" , Ryan Stone , "Andrey V. Elsukov" , Luigi Rizzo X-Rspamd-Queue-Id: D37DC8992F X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=goaHaAbt; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of vmaffione@gmail.com designates 2607:f8b0:4864:20::841 as permitted sender) smtp.mailfrom=vmaffione@gmail.com X-Spamd-Result: default: False [-3.37 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_FIVE(0.00)[5]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.84)[-0.839,0]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[1.4.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-0.52)[ip: (2.32), ipnet: 2607:f8b0::/32(-2.77), asn: 15169(-2.10), country: US(-0.07)] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 19 Mar 2019 15:22:03 -0000 Hi, It's not supported yet. But I think it is reasonably feasible to add jumbo frames support on head and stable/12, by improving iflib netmap support. I hope to find the time to do this soon. Cheers, Vincenzo Il giorno lun 18 mar 2019 alle ore 02:52 Andrew Vylegzhanin < avv314@gmail.com> ha scritto: > Hi, > > After some time I want to return to testing netmap+jumbo_frames+ixgbe(an= d > ixl later) setup. > What is current situation with this bundle (stable/11 and stable/12)? > > -- > Andrew > > =D1=87=D1=82, 6 =D0=B4=D0=B5=D0=BA. 2018 =D0=B3. =D0=B2 11:20, Vincenzo M= affione : > >> Hi, >> Actually I just realized that this patch is suitable for stable/11, >> whereas on stable/12 ixgbe is served by iflib, and therefore >> we need a different patch. >> >> I'll keep you updated then. >> >> Cheers, >> Vincenzo >> >> Il giorno mer 5 dic 2018 alle ore 20:45 Andrew Vylegzhanin < >> avv314@gmail.com> ha scritto: >> >>> Hi, >>> of course I want to test. >>> But it takes time up to 1-2 weeks, since I need setup HEAD environment >>> in lab and modify my code for NS_MOREFRAG. >>> >>> When we can wait for MFC to stable/12 (or stable/11) >>> >>> -- >>> Andrew >>> >>> =D0=B2=D1=81, 2 =D0=B4=D0=B5=D0=BA. 2018 =D0=B3. =D0=B2 13:30, Vincenzo= Maffione : >>> >>>> Hi, >>>> I prepared a patch (against FreeBSD-HEAD) to to support jumbo frames >>>> in ixgbe. >>>> https://reviews.freebsd.org/D18402 >>>> Would you be able to test it? >>>> >>>> Thanks, >>>> Vincenzo >>>> >>>> Il giorno gio 22 nov 2018 alle ore 13:37 Andrew Vylegzhanin < >>>> avv314@gmail.com> ha scritto: >>>> >>>>> >>>>> >>>>> =D1=87=D1=82, 22 =D0=BD=D0=BE=D1=8F=D0=B1. 2018 =D0=B3. =D0=B2 13:42,= Vincenzo Maffione >>>> >: >>>>> > >>>>> > Hi, >>>>> > Yes, absolutely, I'm currently working on aligning netmap on >>>>> FreeBSD (head, stable/12 and stable/11) to >>>>> > the same status it has on Linux (more features, more bugfixes, >>>>> continuous integration infrastructure ... ). >>>>> >>>>> Great! >>>>> >>>>> > >>>>> > In particular, on Linux jumbo frames are already supported on ixgbe= , >>>>> e1000, igb, e1000e, etc. >>>>> >>>>> BTW, what situation with ixl driver and chelsio ? >>>>> >>>>> > >>>>> > >>>>> > I have some netmap patches are already in the queue (see here >>>>> https://reviews.freebsd.org/differential/query/Ol8MNtAi2AIs/#R), >>>>> > so I can address the ixgbe-jumbo-frames item as soon as the queue >>>>> drains. >>>>> > If you want to give a try in the meanwhile, and/or test ixgbe on >>>>> FreeBSD it would be great. >>>>> > >>>>> >>>>> I will look forward to ixgbe-jumbo-frames. >>>>> Of course, I'm ready to test on both stable's. >>>>> >>>> >>>> >>>>> >>>>> > >>>>> > Cheers, >>>>> > Vincenzo >>>>> > >>>>> WBR, >>>>> -- >>>>> Andrew >>>>> >>>>> > Il giorno gio 22 nov 2018 alle ore 11:23 Andrew Vylegzhanin < >>>>> avv314@gmail.com> ha scritto: >>>>> >> >>>>> >> Hi, >>>>> >> >>>>> >> Come back to subject after two years. >>>>> >> I would like to clarify situation with jumbo frames in ixgbe drive= r. >>>>> >> >>>>> >> I've looked to >>>>> >> >>>>> https://github.com/luigirizzo/netmap/blob/master/LINUX/ixgbe_netmap_l= inux.h >>>>> >> and see a lot of changes compared 11/12-STABLE version >>>>> ixgbe_netmap.h. >>>>> >> Is it possible to back port it? >>>>> >> >>>>> >> In general, is there a chance to get worked jumbo frames on ixgbe? >>>>> >> >>>>> >> -- >>>>> >> Andrew >>>>> >> >>>>> >> =D1=81=D1=80, 8 =D0=B8=D1=8E=D0=BD. 2016 =D0=B3. =D0=B2 14:28, : >>>>> >> >>>>> >> > Support for fragmented packets with ixgbe was recently added on >>>>> the linux >>>>> >> > version of Netmap : >>>>> >> > >>>>> >> > >>>>> >> > >>>>> https://github.com/luigirizzo/netmap/commit/fc1e77560a8a8ea93cc3594de= 5fae94334debcd3 >>>>> >> > >>>>> >> > I think the change for freebsd would be quite the same looking a= t >>>>> >> > >>>>> https://github.com/freebsd/freebsd/blob/master/sys/dev/netmap/ixgbe_n= etmap.h#L396 >>>>> >> > >>>>> >> > After that, your userspace application simply have to check for >>>>> the >>>>> >> > NS_MOREFRAG flag in the receive ring, and if it's set he knows >>>>> the end of >>>>> >> > the packet will follow in the next buf. >>>>> >> > >>>>> >> > Tom >>>>> >> > >>>>> >> _______________________________________________ >>>>> >> 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 >>>>> >>>> >>>> >>>> -- >>>> Vincenzo >>>> >>> >> >> -- >> Vincenzo >> > --=20 Vincenzo From owner-freebsd-net@freebsd.org Wed Mar 20 10:30:04 2019 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 C4D66154F31F for ; Wed, 20 Mar 2019 10:30: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 5B75D8FD16 for ; Wed, 20 Mar 2019 10:30:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 186BA154F31E; Wed, 20 Mar 2019 10:30: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 E7971154F31D for ; Wed, 20 Mar 2019 10:30: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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7C34C8FD13 for ; Wed, 20 Mar 2019 10:30:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id A90C716C3A for ; Wed, 20 Mar 2019 10:30: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 x2KAU2bc060380 for ; Wed, 20 Mar 2019 10:30:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2KAU20Q060379 for net@FreeBSD.org; Wed, 20 Mar 2019 10:30: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 206932] Realtek 8111 card stops responding under high load in netmap mode Date: Wed, 20 Mar 2019 10:30: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: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hippi-viking@protonmail.com X-Bugzilla-Status: In Progress 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.29 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, 20 Mar 2019 10:30:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206932 hippi-viking@protonmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hippi-viking@protonmail.com --- Comment #6 from hippi-viking@protonmail.com --- (In reply to Vincenzo Maffione from comment #5) I still can see this issue under load on FreeBSD 11.2-RELEASE-p9-HBSD with = an integrated Realtek RTL8111/8168/8411 chip: re0@pci0:1:0:0: class=3D0x020000 card=3D0x11c01734 chip=3D0x816810ec rev=3D= 0x06 hdr=3D0x00 vendor =3D 'Realtek Semiconductor Co., Ltd.' device =3D 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controll= er' class =3D network subclass =3D ethernet 351.711973 [1613] netmap_ring_reinit called for re0 RX0 002.919057 [1613] netmap_ring_reinit called for re0 RX0 908.475302 [1512] nm_txsync_prologue re0 TX1 kring error: head 765 c= ur 766 tail 765 rhead 766 rcur 766 rtail 765 hwcur 766 hwtail 765 908.488304 [1613] netmap_ring_reinit called for re0 TX1 177.477234 [1613] netmap_ring_reinit called for re0 RX0 603.209901 [1613] netmap_ring_reinit called for re0 RX1 873.183945 [1512] nm_txsync_prologue re0 TX1 kring error: head 5 cur= 6 tail 5 rhead 6 rcur 6 rtail 5 hwcur 6 hwtail 5 873.195708 [1613] netmap_ring_reinit called for re0 TX1 912.229349 [1613] netmap_ring_reinit called for re0 RX1 921.732103 [1512] nm_txsync_prologue re0 TX0 kring error: head 148 c= ur 150 tail 148 rhead 150 rcur 150 rtail 148 hwcur 150 hwtail 148 921.744464 [1613] netmap_ring_reinit called for re0 TX0 931.657772 [1613] netmap_ring_reinit called for re0 RX0 931.727492 [1512] nm_txsync_prologue re0 TX1 kring error: head 734 c= ur 735 tail 734 rhead 735 rcur 735 rtail 734 hwcur 735 hwtail 734 931.746382 [1613] netmap_ring_reinit called for re0 TX1 605.399805 [1613] netmap_ring_reinit called for re0 RX1 043.944163 [1613] netmap_ring_reinit called for re0 RX0 942.272725 [1512] nm_txsync_prologue re0 TX1 kring error: head 771 c= ur 773 tail 772 rhead 773 rcur 773 rtail 772 hwcur 773 hwtail 772 942.286046 [1613] netmap_ring_reinit called for re0 TX1 597.788061 [1512] nm_txsync_prologue re0 TX1 kring error: head 330 c= ur 331 tail 330 rhead 331 rcur 331 rtail 330 hwcur 331 hwtail 330 597.800517 [1613] netmap_ring_reinit called for re0 TX1 921.844295 [1512] nm_txsync_prologue re0 TX1 kring error: head 448 c= ur 449 tail 448 rhead 449 rcur 449 rtail 448 hwcur 449 hwtail 448 921.857727 [1613] netmap_ring_reinit called for re0 TX1 929.117950 [1613] netmap_ring_reinit called for re0 RX0 955.503793 [1512] nm_txsync_prologue re0 TX1 kring error: head 694 c= ur 695 tail 694 rhead 695 rcur 695 rtail 694 hwcur 695 hwtail 694 955.517123 [1613] netmap_ring_reinit called for re0 TX1 054.130772 [1613] netmap_ring_reinit called for re0 RX0 239.912053 [1613] netmap_ring_reinit called for re0 RX1 426.000205 [1613] netmap_ring_reinit called for re0 RX0 431.708618 [1512] nm_txsync_prologue re0 TX0 kring error: head 482 c= ur 483 tail 481 rhead 483 rcur 483 rtail 481 hwcur 483 hwtail 481 431.721230 [1613] netmap_ring_reinit called for re0 TX0 466.558021 [1613] netmap_ring_reinit called for re0 RX0 505.101756 [1613] netmap_ring_reinit called for re0 RX0 626.222834 [1613] netmap_ring_reinit called for re0 RX1 745.757168 [1613] netmap_ring_reinit called for re0 RX1 128.048022 [1512] nm_txsync_prologue re0 TX0 kring error: head 126 c= ur 126 tail 125 rhead 127 rcur 127 rtail 125 hwcur 127 hwtail 125 128.060369 [1613] netmap_ring_reinit called for re0 TX0 301.754435 [1613] netmap_ring_reinit called for re0 RX1 305.059117 [1613] netmap_ring_reinit called for re0 RX0 476.838054 [1512] nm_txsync_prologue re0 TX1 kring error: head 1023 = cur 0 tail 1023 rhead 0 rcur 0 rtail 1023 hwcur 0 hwtail 1023 476.850660 [1613] netmap_ring_reinit called for re0 TX1 810.251369 [1613] netmap_ring_reinit called for re0 RX0 973.553584 [1613] netmap_ring_reinit called for re0 RX1 991.498730 [1613] netmap_ring_reinit called for re0 RX0 016.098769 [1613] netmap_ring_reinit called for re0 RX1 068.708621 [1613] netmap_ring_reinit called for re0 RX1 072.092164 [1613] netmap_ring_reinit called for re0 RX1 128.526783 [1512] nm_txsync_prologue re0 TX0 kring error: head 706 c= ur 707 tail 705 rhead 707 rcur 707 rtail 705 hwcur 707 hwtail 705 128.539348 [1613] netmap_ring_reinit called for re0 TX0 157.709591 [1613] netmap_ring_reinit called for re0 RX1 167.110939 [1613] netmap_ring_reinit called for re0 RX1 176.127982 [1512] nm_txsync_prologue re0 TX0 kring error: head 155 c= ur 156 tail 154 rhead 156 rcur 156 rtail 154 hwcur 156 hwtail 154 176.140343 [1613] netmap_ring_reinit called for re0 TX0 197.908583 [1613] netmap_ring_reinit called for re0 RX1 246.999784 [1613] netmap_ring_reinit called for re0 RX0 582.108866 [1613] netmap_ring_reinit called for re0 RX0 648.049984 [1613] netmap_ring_reinit called for re0 RX1 782.862717 [1512] nm_txsync_prologue re0 TX1 kring error: head 154 c= ur 155 tail 154 rhead 155 rcur 155 rtail 154 hwcur 155 hwtail 154 782.875882 [1613] netmap_ring_reinit called for re0 TX1 790.772680 [1613] netmap_ring_reinit called for re0 RX0 794.549076 [1613] netmap_ring_reinit called for re0 RX0 950.451374 [1512] nm_txsync_prologue re0 TX1 kring error: head 672 c= ur 673 tail 672 rhead 673 rcur 673 rtail 672 hwcur 673 hwtail 672 950.464259 [1613] netmap_ring_reinit called for re0 TX1 965.438616 [1613] netmap_ring_reinit called for re0 RX1 083.794645 [1512] nm_txsync_prologue re0 TX0 kring error: head 1 cur= 2 tail 0 rhead 2 rcur 2 rtail 0 hwcur 2 hwtail 0 083.805552 [1613] netmap_ring_reinit called for re0 TX0 085.044778 [1613] netmap_ring_reinit called for re0 RX0 152.580241 [1512] nm_txsync_prologue re0 TX0 kring error: head 509 c= ur 511 tail 510 rhead 511 rcur 511 rtail 510 hwcur 511 hwtail 510 152.592439 [1613] netmap_ring_reinit called for re0 TX0 387.089610 [1613] netmap_ring_reinit called for re0 RX0 414.618461 [1512] nm_txsync_prologue re0 TX1 kring error: head 940 c= ur 941 tail 940 rhead 941 rcur 941 rtail 940 hwcur 941 hwtail 940 414.631376 [1613] netmap_ring_reinit called for re0 TX1 504.044908 [1613] netmap_ring_reinit called for re0 RX0 508.430972 [1613] netmap_ring_reinit called for re0 RX1 572.384770 [1512] nm_txsync_prologue re0 TX1 kring error: head 769 c= ur 770 tail 769 rhead 770 rcur 770 rtail 769 hwcur 770 hwtail 769 572.398158 [1613] netmap_ring_reinit called for re0 TX1 728.112014 [1613] netmap_ring_reinit called for re0 RX1 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Mar 20 11:06:25 2019 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 6B4DB155029C for ; Wed, 20 Mar 2019 11:06:25 +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 D1157911F6 for ; Wed, 20 Mar 2019 11:06:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7B2D6155029B; Wed, 20 Mar 2019 11:06:24 +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 63F64155029A for ; Wed, 20 Mar 2019 11:06:24 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D84E3911F5 for ; Wed, 20 Mar 2019 11:06:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E245717207 for ; Wed, 20 Mar 2019 11:06:22 +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 x2KB6McY073449 for ; Wed, 20 Mar 2019 11:06:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2KB6Mqr073448 for net@FreeBSD.org; Wed, 20 Mar 2019 11:06:22 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 206932] Realtek 8111 card stops responding under high load in netmap mode Date: Wed, 20 Mar 2019 11:06:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vmaffione@FreeBSD.org X-Bugzilla-Status: In Progress 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.29 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, 20 Mar 2019 11:06:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206932 --- Comment #7 from Vincenzo Maffione --- (In reply to hippi-viking from comment #6) Hi, Can you please specify the exact command line (e.g. pkt-gen if you are usi= ng pkt-gen) that causes the issue? Also, can you build and run this program and reports its output? It will ju= st print the number of rings and slots. ```` #include #include #include #define NETMAP_WITH_LIBS #include #include int main(int argc, char **argv) { const char *ifname =3D argv[1]; struct nm_desc *nmd; char name[100]; assert(argc >=3D 2); snprintf(name, sizeof(name), "netmap:%s", ifname); nmd =3D nm_open(name, NULL, 0, NULL); assert(nmd); printf("txr %u rxr %u txd %u rxd %u\n", nmd->nifp->ni_tx_rings, nmd->nifp->ni_rx_rings, NETMAP_TXRING(nmd->nifp, 0)->num_slots, NETMAP_RXRING(nmd->nifp, 0)->num_slots); nm_close(nmd); return 0; } ```` Command line # ./info re0 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Mar 20 11:31:16 2019 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 558691550F37 for ; Wed, 20 Mar 2019 11:31:16 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) (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 0B732921B0 for ; Wed, 20 Mar 2019 11:31:09 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from hugo10.ka.punkt.de (hugo10.ka.punkt.de [217.29.44.10]) by gate2.intern.punkt.de with ESMTP id x2KBV2PX032085 for ; Wed, 20 Mar 2019 12:31:02 +0100 (CET) Received: from [217.29.44.250] ([217.29.44.250]) by hugo10.ka.punkt.de (8.14.2/8.14.2) with ESMTP id x2KBV1fi037591 for ; Wed, 20 Mar 2019 12:31:02 +0100 (CET) (envelope-from hausen@punkt.de) From: "Patrick M. Hausen" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: bnxt(4) and VLANs - supposed to work? Message-Id: <7BBE3137-6648-4D7D-91DC-0BC07BEC4A97@punkt.de> Date: Wed, 20 Mar 2019 12:31:00 +0100 To: FreeBSD Net X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 0B732921B0 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of hausen@punkt.de designates 217.29.33.131 as permitted sender) smtp.mailfrom=hausen@punkt.de X-Spamd-Result: default: False [-1.83 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.985,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.29.32.0/20]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; DMARC_NA(0.00)[punkt.de]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.995,0]; RCVD_COUNT_THREE(0.00)[3]; MIME_TRACE(0.00)[0:+]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[mailin.pluspunkthosting.de,mailin.pluspunkthosting.de]; NEURAL_HAM_SHORT(-0.62)[-0.622,0]; RCVD_IN_DNSWL_NONE(0.00)[131.33.29.217.list.dnswl.org : 127.0.10.0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:16188, ipnet:217.29.32.0/20, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.41)[ipnet: 217.29.32.0/20(-1.15), asn: 16188(-0.92), country: DE(-0.01)] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 20 Mar 2019 11:31:16 -0000 Hi all, FreeBSD 11.2-STABLE (FreeNAS): bnxt0: flags=3D8842 metric 0 mtu = 1500 = options=3De527bb ether 00:25:90:5f:9a:82 hwaddr 00:25:90:5f:9a:82 nd6 options=3D9 media: Ethernet autoselect (1000baseT ) status: active vlan1: flags=3D8843 metric 0 mtu = 1500 options=3D600703 ether 00:25:90:5f:9a:82 inet 217.29.45.32 netmask 0xffffff00 broadcast 217.29.45.255 nd6 options=3D9 media: Ethernet autoselect (1000baseT ) status: active vlan: 1 vlanpcp: 0 parent interface: bnxt0 groups: vlan No traffic shows when I use tcpdump - either on vlan1 or bnxt0 - simply = zero. There must be some broadcast frames flying past even if the switch on = the other end should be misconfigured which I doubt ;-) Same configuration on dozens of servers running fine - this is our first = system with bnxt(4). I found this: = https://forums.freebsd.org/threads/problem-with-vlans-on-broadcom-with-bnx= t.64455/ Any hints very much appreciated, Patrick --=20 punkt.de GmbH Internet - Dienstleistungen - Beratung Kaiserallee 13a Tel.: 0721 9109-0 Fax: -100 76133 Karlsruhe info@punkt.de http://punkt.de AG Mannheim 108285 Gf: Juergen Egeling From owner-freebsd-net@freebsd.org Wed Mar 20 11:39:55 2019 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 956B41551417 for ; Wed, 20 Mar 2019 11:39: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 2D611926CD for ; Wed, 20 Mar 2019 11:39:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id DCF511551416; Wed, 20 Mar 2019 11:39: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 C8ED71551415 for ; Wed, 20 Mar 2019 11:39: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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 60A0D926C9 for ; Wed, 20 Mar 2019 11:39: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 7D9E517664 for ; Wed, 20 Mar 2019 11:39: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 x2KBdrxs042176 for ; Wed, 20 Mar 2019 11:39:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2KBdrZ0042173 for net@FreeBSD.org; Wed, 20 Mar 2019 11:39: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 206932] Realtek 8111 card stops responding under high load in netmap mode Date: Wed, 20 Mar 2019 11:39:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hippi-viking@protonmail.com X-Bugzilla-Status: In Progress 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.29 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, 20 Mar 2019 11:39:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206932 --- Comment #8 from hippi-viking@protonmail.com --- (In reply to Vincenzo Maffione from comment #7) Hello :) I suspect this issue is caused by suricata for me running in IPS mode. I do= n't know the exact command line used but will look into it - and run your code = as well - when I will have some more time. The background is that this is a Fujitsu Futro S900 thin client running Opnsense - which is based on HardenedBSD, being close to vanilla FreeBSD in this issue, but(?) supposedly using the latest official Realtek driver - I don't know exactly which re0 driver FreeBSD is using at the moment. The integrated re0 nic (RTL8111E according to dmidecode) is connected to the IS= P's cable modem at a 100Mbps full-duplex connection. The upline connection is 10/2Mbps, I get the kring errors when downloading at full-speed. Thanks for looking into this! Cheers, Istvan --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Mar 20 12:24:39 2019 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 C51011552E08 for ; Wed, 20 Mar 2019 12:24:39 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward106o.mail.yandex.net (forward106o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::609]) (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 2629E944D3 for ; Wed, 20 Mar 2019 12:24:38 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from mxback2g.mail.yandex.net (mxback2g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:163]) by forward106o.mail.yandex.net (Yandex) with ESMTP id 4518150606A1; Wed, 20 Mar 2019 15:24:27 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback2g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id n0HSwNYpq0-ORIKTei6; Wed, 20 Mar 2019 15:24:27 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1553084667; bh=BUyFSBtEQiWF9dH5wiLbTBTQSp5FWPsT9c4hMlDvaLY=; h=In-Reply-To:From:Date:References:To:Subject:Message-ID; b=ONvaVvIavD0D+8tdE968AnYy55zBeAMBf72aX7SZjTuVSknxLmlQVXakvITKWIXUC YX3pLG/uzYLP6GGZOvx9geFCPKt9+/qD3XYPYXHUZZgf9b5b/k4SKsSnsyn8MPZaHq AXcZYtMIbjIsE9AekxIxq3Nbla54gmFy2kUPQx8w= Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Z1UtOFxHIu-OQRW4pSj; Wed, 20 Mar 2019 15:24:26 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) Subject: Re: bnxt(4) and VLANs - supposed to work? To: "Patrick M. Hausen" , FreeBSD Net References: <7BBE3137-6648-4D7D-91DC-0BC07BEC4A97@punkt.de> From: "Andrey V. Elsukov" Openpgp: id=E6591E1B41DA1516F0C9BC0001C5EA0410C8A17A Autocrypt: addr=bu7cher@yandex.ru; prefer-encrypt=mutual; keydata= mQENBEwBF1kBCADB9sXFhBEUy8qQ4X63Y8eBatYMHGEFWN9ypS5lI3RE6qQW2EYbxNk7qUC5 21YIIS1mMFVBEfvR7J9uc7yaYgFCEb6Sce1RSO4ULN2mRKGHP3/Sl0ijZEjWHV91hY1YTHEF ZW/0GYinDf56sYpDDehaBF5wkWIo1+QK5nmj3vl0DIDCMNd7QEiWpyLVwECgLX2eOAXByT8B bCqVhJGcG6iFP7/B9Ll6uX5gb8thM9LM+ibwErDBVDGiOgvfxqidab7fdkh893IBCXa82H9N CNwnEtcgzh+BSKK5BgvPohFMgRwjti37TSxwLu63QejRGbZWSz3OK3jMOoF63tCgn7FvABEB AAG0JUFuZHJleSBWLiBFbHN1a292IDxidTdjaGVyQHlhbmRleC5ydT6JATgEEwECACIFAkwB F1kCGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJEAHF6gQQyKF6qmYIAI6ekfm1VA4T vqankI1ISE6ku4jV7UlpIQlEbE7/8n3Zd6teJ+pGOQhN5qk8QE7utdPdbktAzi+x7LIJVzUw 4TywZLXGrkP7VKYkfg6oyCGyzITghefQeJtr2TN4hYCkzPWpylkue8MtmqfZv/6royqwTbN+ +E09FQNvTgRUYJYTeQ1qOsxNRycwvw3dr2rOfuxShbzaHBB1pBIjGrMg8fC5pd65ACH5zuFV A0CoTNGMDrEZSfBkTW604UUHFFXeCoC3dwDZRKOWJ3GmMXns65Ai5YkA63BSHEE1Qle3VBhd cG1w0CB5FBV3pB27UVnf0jEbysrDqW4qN7XMRFSWNAy5AQ0ETAEXWQEIAJ2p6l9LBoqdH/0J PEFDY2t2gTvAuzz+8zs3R03dFuHcNbOwjvWCG0aOmVpAzkRa8egn5JB4sZaFUtKPYJEQ1Iu+ LUBwgvtXf4vWpzC67zs2dDuiW4LamH5p6xkTD61aHR7mCB3bg2TUjrDWn2Jt44cvoYxj3dz4 S49U1rc9ZPgD5axCNv45j72tggWlZvpefThP7xT1OlNTUqye2gAwQravXpZkl5JG4eOqJVIU X316iE3qso0iXRUtO7OseBf0PiVmk+wCahdreHOeOxK5jMhYkPKVn7z1sZiB7W2H2TojbmcK HZC22sz7Z/H36Lhg1+/RCnGzdEcjGc8oFHXHCxUAEQEAAYkBHwQYAQIACQUCTAEXWQIbDAAK CRABxeoEEMihegkYCAC3ivGYNe2taNm/4Nx5GPdzuaAJGKWksV+w9mo7dQvU+NmI2az5w8vw 98OmX7G0OV9snxMW+6cyNqBrVFTu33VVNzz9pnqNCHxGvj5dL5ltP160JV2zw2bUwJBYsgYQ WfyJJIM7l3gv5ZS3DGqaGIm9gOK1ANxfrR5PgPzvI9VxDhlr2juEVMZYAqPLEJe+SSxbwLoz BcFCNdDAyXcaAzXsx/E02YWm1hIWNRxanAe7Vlg7OL+gvLpdtrYCMg28PNqKNyrQ87LQ49O9 50IIZDOtNFeR0FGucjcLPdS9PiEqCoH7/waJxWp6ydJ+g4OYRBYNM0EmMgy1N85JJrV1mi5i Message-ID: <7faea8dc-c10e-80d7-365e-34341c3fd28c@yandex.ru> Date: Wed, 20 Mar 2019 15:23:21 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <7BBE3137-6648-4D7D-91DC-0BC07BEC4A97@punkt.de> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="SF69E1QGQhWEvTBF11NYTZ8qI2FQStbxw" X-Rspamd-Queue-Id: 2629E944D3 X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yandex.ru header.s=mail header.b=ONvaVvIa; dmarc=pass (policy=none) header.from=yandex.ru; spf=pass (mx1.freebsd.org: domain of bu7cher@yandex.ru designates 2a02:6b8:0:1a2d::609 as permitted sender) smtp.mailfrom=bu7cher@yandex.ru X-Spamd-Result: default: False [-8.82 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[yandex.ru]; R_SPF_ALLOW(-0.20)[+ip6:2a02:6b8:0:1a2d::/64]; HAS_ATTACHMENT(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yandex.ru:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yandex.ru,none]; MX_GOOD(-0.01)[mx.yandex.ru,mx.yandex.ru,mx.yandex.ru,mx.yandex.ru,mx.yandex.ru]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_SHORT(-0.97)[-0.967,0]; RCVD_IN_DNSWL_LOW(-0.10)[9.0.6.0.0.0.0.0.0.0.0.0.0.0.0.0.d.2.a.1.0.0.0.0.8.b.6.0.2.0.a.2.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[yandex.ru]; ASN(0.00)[asn:13238, ipnet:2a02:6b8::/32, country:RU]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yandex.ru.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[yandex.ru:s=mail]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-3.64)[ip: (-9.60), ipnet: 2a02:6b8::/32(-4.79), asn: 13238(-3.83), country: RU(0.00)] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 20 Mar 2019 12:24:40 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --SF69E1QGQhWEvTBF11NYTZ8qI2FQStbxw Content-Type: multipart/mixed; boundary="21UxESejHsE4eYlIvY1Lb1JlMNoXRgLju"; protected-headers="v1" From: "Andrey V. Elsukov" To: "Patrick M. Hausen" , FreeBSD Net Message-ID: <7faea8dc-c10e-80d7-365e-34341c3fd28c@yandex.ru> Subject: Re: bnxt(4) and VLANs - supposed to work? References: <7BBE3137-6648-4D7D-91DC-0BC07BEC4A97@punkt.de> In-Reply-To: <7BBE3137-6648-4D7D-91DC-0BC07BEC4A97@punkt.de> --21UxESejHsE4eYlIvY1Lb1JlMNoXRgLju Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 20.03.2019 14:31, Patrick M. Hausen wrote: > Hi all, >=20 > FreeBSD 11.2-STABLE (FreeNAS): >=20 > bnxt0: flags=3D8842 metric 0 mtu 1= 500 options=3De527bb > ether 00:25:90:5f:9a:82 Did you try to run `ifconfig bnxt0 up`? > No traffic shows when I use tcpdump - either on vlan1 or bnxt0 - simply= zero. > There must be some broadcast frames flying past even if the switch on t= he > other end should be misconfigured which I doubt ;-) --=20 WBR, Andrey V. Elsukov --21UxESejHsE4eYlIvY1Lb1JlMNoXRgLju-- --SF69E1QGQhWEvTBF11NYTZ8qI2FQStbxw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlySMLkACgkQAcXqBBDI oXpXOQf/XpRqM+81zxV7GqQo3BqauDD9rRPpTnput8Jbw5uwDcNIjGae1D6LXR9B qg7AjonMrGnepXumt3QawP15UC2b5dMGllKiZHXLbOB4MngaQS+qmmuyuM278wNp IU3JGhVYOIuVynnONMJBt6lPEOlfBgkpdbnuINeuNcIZYvhN+gPhpJlp73oiLmyM jCO4hdulQnfDr1J6nOmjNx3Zqmv6NUJabOlDkJIL+b6Ms3VBedVTLUJmlAv5BDie v+XfcAm0SLvxvKcvoxVhecUiLGDTls3Nxc6T97A7tTsd9xzxQtv8xP4JB/dqiEMX 4nud83b7O0L1V5rllXnWF5R/8n4ajA== =ko8s -----END PGP SIGNATURE----- --SF69E1QGQhWEvTBF11NYTZ8qI2FQStbxw-- From owner-freebsd-net@freebsd.org Wed Mar 20 14:55:30 2019 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 67EDC155606B for ; Wed, 20 Mar 2019 14:55: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 E2ED56AA9F for ; Wed, 20 Mar 2019 14:55:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9D0671556066; Wed, 20 Mar 2019 14:55:29 +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 8A86D1556065 for ; Wed, 20 Mar 2019 14:55:29 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 25F336AA9B for ; Wed, 20 Mar 2019 14:55: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 6E7371935E for ; Wed, 20 Mar 2019 14:55:28 +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 x2KEtSuI060243 for ; Wed, 20 Mar 2019 14:55:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2KEtSC4060240 for net@FreeBSD.org; Wed, 20 Mar 2019 14:55: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 206932] Realtek 8111 card stops responding under high load in netmap mode Date: Wed, 20 Mar 2019 14:55:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vmaffione@FreeBSD.org X-Bugzilla-Status: In Progress 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.29 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, 20 Mar 2019 14:55:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206932 --- Comment #9 from Vincenzo Maffione --- (In reply to hippi-viking from comment #8) Sounds good. If you provide suricata configuration files I can try to repro= duce your issue... Also please check the netmap version coming with your HardenedBSD, as I don= 't know how much that is aligned with FreeBSD. The fact that you are using the official Realtek drivers explain why it loo= ks like your re0 has 1024 descriptors (RX and TX), while the driver in FreeBSD only allows for 256 (non configurable). --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Mar 20 17:34:47 2019 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 9165C152A0FE for ; Wed, 20 Mar 2019 17:34:47 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) (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 7BE3C70AFB for ; Wed, 20 Mar 2019 17:34:46 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from hugo10.ka.punkt.de (hugo10.ka.punkt.de [217.29.44.10]) by gate2.intern.punkt.de with ESMTP id x2KHYhsD039728; Wed, 20 Mar 2019 18:34:43 +0100 (CET) Received: from [217.29.46.2] (unassigned [217.29.46.2] (may be forged)) by hugo10.ka.punkt.de (8.14.2/8.14.2) with ESMTP id x2KHYhds055706; Wed, 20 Mar 2019 18:34:43 +0100 (CET) (envelope-from hausen@punkt.de) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: bnxt(4) and VLANs - supposed to work? From: "Patrick M. Hausen" In-Reply-To: <7faea8dc-c10e-80d7-365e-34341c3fd28c@yandex.ru> Date: Wed, 20 Mar 2019 18:34:38 +0100 Cc: FreeBSD Net Content-Transfer-Encoding: quoted-printable Message-Id: <97BC9F44-CD81-464E-B7DD-D90DE51A68BF@punkt.de> References: <7BBE3137-6648-4D7D-91DC-0BC07BEC4A97@punkt.de> <7faea8dc-c10e-80d7-365e-34341c3fd28c@yandex.ru> To: "Andrey V. Elsukov" X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 7BE3C70AFB X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of hausen@punkt.de designates 217.29.33.131 as permitted sender) smtp.mailfrom=hausen@punkt.de X-Spamd-Result: default: False [-2.05 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.29.32.0/20]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[punkt.de]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mailin.pluspunkthosting.de]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[131.33.29.217.list.dnswl.org : 127.0.10.0]; NEURAL_HAM_SHORT(-0.84)[-0.841,0]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_TO(0.00)[yandex.ru]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:16188, ipnet:217.29.32.0/20, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.40)[ipnet: 217.29.32.0/20(-1.10), asn: 16188(-0.88), country: DE(-0.01)] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 20 Mar 2019 17:34:47 -0000 Hi! > Am 20.03.2019 um 13:23 schrieb Andrey V. Elsukov : >=20 > Did you try to run `ifconfig bnxt0 up`? Now I feel stupid ;-) I can only say I expected the FreeNAS config system to take care of = that. Seems like it doesn=E2=80=99t. But =E2=80=A6 that alone did not help. I see frames with tcpdump but = still no traffic on the vlan1 if. But #2 =E2=80=A6 ifconfig bnxt0 up ifconfig bnxt0 promisc *did* help. This is going to get interesting because the box is destined to host = bhyve VMs connected to different VLANs via bridge(4) and tap(4) =E2=80=A6 I=E2=80=99ll keep you posted. Thanks! Patrick --=20 punkt.de GmbH Internet - Dienstleistungen - Beratung Kaiserallee 13a Tel.: 0721 9109-0 Fax: -100 76133 Karlsruhe info@punkt.de http://punkt.de AG Mannheim 108285 Gf: Juergen Egeling From owner-freebsd-net@freebsd.org Thu Mar 21 00:18:46 2019 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 9A9C815400F5 for ; Thu, 21 Mar 2019 00:18:46 +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 3485388450 for ; Thu, 21 Mar 2019 00:18:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E723215400F3; Thu, 21 Mar 2019 00:18:45 +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 D489B15400F1 for ; Thu, 21 Mar 2019 00:18:45 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6FC878844A for ; Thu, 21 Mar 2019 00:18: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 BCEA81E4FD for ; Thu, 21 Mar 2019 00:18:44 +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 x2L0Iiqa012308 for ; Thu, 21 Mar 2019 00:18:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2L0IiZ7012299 for net@FreeBSD.org; Thu, 21 Mar 2019 00:18: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 153731] [patch] ifconfig(8): ifconfig prints trailing whitespace for interfaces that do not have IFF_BROADCAST (like point to point) Date: Thu, 21 Mar 2019 00:18:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@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: 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.29 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, 21 Mar 2019 00:18:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D153731 --- Comment #4 from commit-hook@freebsd.org --- A commit references this bug: Author: asomers Date: Thu Mar 21 00:17:44 UTC 2019 New revision: 345357 URL: https://svnweb.freebsd.org/changeset/base/345357 Log: MFC r344559: ifconfig: eliminate trailing whitespace Eliminate trailing whitespace on inet, inet6, and groups lines. I think t= he "list txpower" command will still show some, but I'm not able to test tha= t. PR: 153731 Reported-by: Nikolay Denev Differential Revision: https://reviews.freebsd.org/D19004 Changes: _U stable/12/ stable/12/sbin/ifconfig/af_inet.c stable/12/sbin/ifconfig/af_inet6.c stable/12/sbin/ifconfig/ifconfig.c stable/12/sbin/ifconfig/ifgroup.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Mar 21 00:27:00 2019 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 085A4154078D for ; Thu, 21 Mar 2019 00:27: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 0B27988959 for ; Thu, 21 Mar 2019 00:26:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B01FC154078C; Thu, 21 Mar 2019 00:26:58 +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 994B5154078B for ; Thu, 21 Mar 2019 00:26:58 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D780B88956 for ; Thu, 21 Mar 2019 00:26:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id AC8081E66E for ; Thu, 21 Mar 2019 00:26:56 +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 x2L0QucI012552 for ; Thu, 21 Mar 2019 00:26:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2L0QuTg012551 for net@FreeBSD.org; Thu, 21 Mar 2019 00:26:56 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 153731] [patch] ifconfig(8): ifconfig prints trailing whitespace for interfaces that do not have IFF_BROADCAST (like point to point) Date: Thu, 21 Mar 2019 00:26:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: patch 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: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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.29 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, 21 Mar 2019 00:27:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D153731 Alan Somers changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asomers@FreeBSD.org Resolution|--- |FIXED Status|Open |Closed --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Mar 21 10:27:11 2019 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 ECE65155B5D6 for ; Thu, 21 Mar 2019 10:27: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 7DB32842A1 for ; Thu, 21 Mar 2019 10:27:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3DDB3155B5D5; Thu, 21 Mar 2019 10:27:10 +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 1B8DC155B5D4 for ; Thu, 21 Mar 2019 10:27:10 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ADEB3842A0 for ; Thu, 21 Mar 2019 10:27: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 BF32840F4 for ; Thu, 21 Mar 2019 10:27: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 x2LAR8OB061464 for ; Thu, 21 Mar 2019 10:27:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2LAR8at061463 for net@FreeBSD.org; Thu, 21 Mar 2019 10:27: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 206168] Broadcom 57xx fails on any version of FreeBSD Date: Thu, 21 Mar 2019 10:27: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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bhargava.marreddy@broadcom.com 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.29 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, 21 Mar 2019 10:27:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206168 Bhargava Chenna. Marreddy changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bhargava.marreddy@broadcom. | |com --- Comment #1 from Bhargava Chenna. Marreddy --- Hi Dev, >> and booted to a Linux Mint thumbdrive, the card worked >> perfect (so I know the network is networking) Thank you for the experiment with Linux, this clearly indicates underlying firmware and hardware are healthy. Can you please follow these steps and provide me the output files for furth= er debugging. Step #1: Reboot Step #2: For all bge interfaces (i.e. bge0, bge1, bge2, bge3, etc..) ## ifconfig > output_all.txt ## ifconfig -m bge0 > output_bge0.txt ## ifconfig -m bge1 > output_bge1.txt ## ifconfig -m bge2 > output_bge2.txt ## ifconfig -m bge3 > output_bge3.txt ## ifconfig -m bge4 > output_bge4.txt Please provide me all output files. Step #3: Run following dhclent command for all bge interfaces. ## dhclient bge0 ## dhclient bge1 ## dhclient bge2 ## dhclient bge3 ## dhclient bge4 Step $4: Repeat Step #2 and see if any interface is in 'Link Up' state. Thanks, Bhargava Chenna, Marreddy --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Mar 21 10:52:33 2019 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 B48951532048 for ; Thu, 21 Mar 2019 10:52:33 +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 4717D853FB for ; Thu, 21 Mar 2019 10:52:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 05E6F1532042; Thu, 21 Mar 2019 10:52: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 BDB4A1532041 for ; Thu, 21 Mar 2019 10:52:32 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 52A64853F4 for ; Thu, 21 Mar 2019 10:52:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 7FC9D454D for ; Thu, 21 Mar 2019 10:52:31 +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 x2LAqVvH017506 for ; Thu, 21 Mar 2019 10:52:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2LAqVgX017498 for net@FreeBSD.org; Thu, 21 Mar 2019 10:52:31 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 233955] [panic] Page fault in in6_purgeaddr (triggered by net/wireguard) Date: Thu, 21 Mar 2019 10:52: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: 12.0-RELEASE X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: decke@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_severity keywords 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.29 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, 21 Mar 2019 10:52:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233955 Bernhard Froehlich changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Affects Only Me |Affects Some People Keywords| |panic Summary|net/wireguard Occassional |[panic] Page fault in |hard reboot of FreeBSD |in6_purgeaddr (triggered by |11.2-RELEASE-p6 when used |net/wireguard) |together with setfib(1) | --- Comment #11 from Bernhard Froehlich --- This stacktrace is from https://gist.github.com/genneko/755f6160ba2594c5945b8fc18940ea71 and I copied it here in case it vanishes on github. dumped core - see /var/crash/vmcore.0 Tue Jan 29 11:09:03 UTC 2019 FreeBSD 12.0-RELEASE-p2 FreeBSD 12.0-RELEASE-p2 GENERIC amd64 panic: page fault GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Unread portion of the kernel message buffer: <6>in_scrubprefix: err=3D65, prefix delete failed <6>wg0: deletion failed: 3 Fatal trap 12: page fault while in kernel mode cpuid =3D 1; apic id =3D 01 fault virtual address =3D 0x0 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff80cc3fe3 stack pointer =3D 0x28:0xfffffe001de86300 frame pointer =3D 0x28:0xfffffe001de86450 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 3813 (wireguard-go) trap number =3D 12 panic: page fault cpuid =3D 1 time =3D 1548760075 KDB: stack backtrace: #0 0xffffffff80be7977 at kdb_backtrace+0x67 #1 0xffffffff80b9b563 at vpanic+0x1a3 #2 0xffffffff80b9b3b3 at panic+0x43 #3 0xffffffff8107496f at trap_fatal+0x35f #4 0xffffffff810749c9 at trap_pfault+0x49 #5 0xffffffff81073fee at trap+0x29e #6 0xffffffff8104f315 at calltrap+0x8 #7 0xffffffff80de0f73 at in6_purgeaddr+0x463 #8 0xffffffff80c9662f at if_purgeaddrs+0x21f #9 0xffffffff80ca79c1 at tunclose+0x1f1 #10 0xffffffff80a518ca at devfs_close+0x3ba #11 0xffffffff811f89b8 at VOP_CLOSE_APV+0x78 #12 0xffffffff80c7b6bf at vn_close1+0xdf #13 0xffffffff80c7a3c0 at vn_closefile+0x50 #14 0xffffffff80a5224c at devfs_close_f+0x2c #15 0xffffffff80b4363a at _fdrop+0x1a #16 0xffffffff80b466e4 at closef+0x244 #17 0xffffffff80b43b69 at closefp+0x99 Uptime: 5m14s Dumping 190 out of 2005 MB:..9%..17%..26%..34%..43%..51%..68%..76%..85%..93% Reading symbols from /boot/kernel/zfs.ko...Reading symbols from /usr/lib/debug//boot/kernel/zfs.ko.debug...done. done. Loaded symbols for /boot/kernel/zfs.ko Reading symbols from /boot/kernel/opensolaris.ko...Reading symbols from /usr/lib/debug//boot/kernel/opensolaris.ko.debug...done. done. Loaded symbols for /boot/kernel/opensolaris.ko Reading symbols from /boot/modules/vboxguest.ko...done. Loaded symbols for /boot/modules/vboxguest.ko Reading symbols from /boot/kernel/intpm.ko...Reading symbols from /usr/lib/debug//boot/kernel/intpm.ko.debug...done. done. Loaded symbols for /boot/kernel/intpm.ko Reading symbols from /boot/kernel/smbus.ko...Reading symbols from /usr/lib/debug//boot/kernel/smbus.ko.debug...done. done. Loaded symbols for /boot/kernel/smbus.ko #0 doadump (textdump=3D) at pcpu.h:230 230 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump (textdump=3D) at pcpu.h:230 #1 0xffffffff80b9b14b in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:446 #2 0xffffffff80b9b5c3 in vpanic (fmt=3D,=20 ap=3D) at /usr/src/sys/kern/kern_shutdown.c:872 #3 0xffffffff80b9b3b3 in panic (fmt=3D) at /usr/src/sys/kern/kern_shutdown.c:799 #4 0xffffffff8107496f in trap_fatal (frame=3D0xfffffe001de86240, eva=3D0) at /usr/src/sys/amd64/amd64/trap.c:929 #5 0xffffffff810749c9 in trap_pfault (frame=3D0xfffffe001de86240, usermode= =3D0) at pcpu.h:230 #6 0xffffffff81073fee in trap (frame=3D0xfffffe001de86240) at /usr/src/sys/amd64/amd64/trap.c:441 #7 0xffffffff8104f315 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:232 #8 0xffffffff80cc3fe3 in rtsock_addrmsg (cmd=3D2, ifa=3D0xfffff80062f71200= ,=20 fibnum=3D-1) at /usr/src/sys/net/rtsock.c:1337 #9 0xffffffff80de0f73 in in6_purgeaddr (ifa=3D0xfffff80062f71200) at /usr/src/sys/netinet6/in6.c:193 #10 0xffffffff80c9662f in if_purgeaddrs (ifp=3D0xfffff80062845000) at /usr/src/sys/net/if.c:995 #11 0xffffffff80ca79c1 in tunclose (dev=3D,=20 foo=3D, bar=3D,=20 td=3D) at /usr/src/sys/net/if_tun.c:478 #12 0xffffffff80a518ca in devfs_close (ap=3D) at /usr/src/sys/fs/devfs/devfs_vnops.c:650 #13 0xffffffff811f89b8 in VOP_CLOSE_APV (vop=3D,=20 a=3D0xfffffe001de86788) at vnode_if.c:534 #14 0xffffffff80c7b6bf in vn_close1 (vp=3D0xfffff8006291ad20, flags=3D7,=20 file_cred=3D0xfffff80062849a00, td=3D0xfffff8001da8d000, keep_ref=3Dfal= se) at vnode_if.h:225 #15 0xffffffff80c7a3c0 in vn_closefile (fp=3D0xfffff8006a031050,=20 td=3D) at /usr/src/sys/kern/vfs_vnops.c:1563 #16 0xffffffff80a5224c in devfs_close_f (fp=3D0xfffff8006a031050,=20 td=3D) at /usr/src/sys/fs/devfs/devfs_vnops.c:669 #17 0xffffffff80b4363a in _fdrop (fp=3D0xfffff8006a031050,=20 td=3D) at file.h:353 #18 0xffffffff80b466e4 in closef (fp=3D0xfffff8006a031050, td=3D0xfffff8001= da8d000) at /usr/src/sys/kern/kern_descrip.c:2528 #19 0xffffffff80b43b69 in closefp (fdp=3D0xfffff8006a04d450,=20 fd=3D, fp=3D0xfffff8006a031050, td=3D0xfffff8001da= 8d000,=20 holdleaders=3D0) at /usr/src/sys/kern/kern_descrip.c:1199 #20 0xffffffff81075449 in amd64_syscall (td=3D0xfffff8001da8d000, traced=3D= 0) at subr_syscall.c:135 #21 0xffffffff8104fbfd in fast_syscall_common () at /usr/src/sys/amd64/amd64/exception.S:504 #22 0x000000000048bdb0 in ?? () Previous frame inner to this frame (corrupt stack?) Current language: auto; currently minimal (kgdb) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Mar 21 11:15:16 2019 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 A36AB1532DD4 for ; Thu, 21 Mar 2019 11:15:16 +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 349318620A for ; Thu, 21 Mar 2019 11:15:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id EC4801532DD3; Thu, 21 Mar 2019 11:15:15 +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 D99FD1532DD2 for ; Thu, 21 Mar 2019 11:15:15 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7537486206 for ; Thu, 21 Mar 2019 11:15:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 9600A4849 for ; Thu, 21 Mar 2019 11:15:14 +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 x2LBFEXs093767 for ; Thu, 21 Mar 2019 11:15:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2LBFEGk093766 for net@FreeBSD.org; Thu, 21 Mar 2019 11:15:14 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 206168] Broadcom 57xx fails on any version of FreeBSD Date: Thu, 21 Mar 2019 11:15:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc see_also 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.29 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, 21 Mar 2019 11:15:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206168 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eugen@freebsd.org See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 297 | |27 --- Comment #2 from Eugene Grosbein --- Please try adding "dev.bge.0.msi=3D0" to /boot/loader.conf and re-do the te= st. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Mar 21 11:15:18 2019 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 2F5781532DD9 for ; Thu, 21 Mar 2019 11:15:18 +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 BD00186212 for ; Thu, 21 Mar 2019 11:15:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7BA911532DD8; Thu, 21 Mar 2019 11:15:17 +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 6A2A61532DD7 for ; Thu, 21 Mar 2019 11:15:17 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 06BA58620F for ; Thu, 21 Mar 2019 11:15:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 460FB4850 for ; Thu, 21 Mar 2019 11:15:16 +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 x2LBFGEx093889 for ; Thu, 21 Mar 2019 11:15:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2LBFGsH093888 for net@FreeBSD.org; Thu, 21 Mar 2019 11:15:16 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 229727] bge watchdog timeout with MacBook Pro (Mid-2010) Date: Thu, 21 Mar 2019 11:15:14 +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: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: eugen@freebsd.org X-Bugzilla-Flags: mfc-stable11+ X-Bugzilla-Changed-Fields: see_also 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.29 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, 21 Mar 2019 11:15:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229727 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 061 | |68 --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Thu Mar 21 11:22:30 2019 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 822061534667 for ; Thu, 21 Mar 2019 11:22: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 1CBBF868B6 for ; Thu, 21 Mar 2019 11:22:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id CD9921534665; Thu, 21 Mar 2019 11:22:29 +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 BAB2F1534662 for ; Thu, 21 Mar 2019 11:22:29 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 56DB5868B3 for ; Thu, 21 Mar 2019 11:22: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 9448949B8 for ; Thu, 21 Mar 2019 11:22:28 +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 x2LBMSKx012067 for ; Thu, 21 Mar 2019 11:22:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2LBMSXL012050 for net@FreeBSD.org; Thu, 21 Mar 2019 11:22: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 206168] Broadcom 57xx fails on any version of FreeBSD Date: Thu, 21 Mar 2019 11:22:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bhargava.marreddy@broadcom.com 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.29 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, 21 Mar 2019 11:22:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206168 --- Comment #3 from Bhargava Chenna. Marreddy --- Thanks, Eugene Grosbein, Looks like BZ #229727 talks also about watchdog timeouts. Just to avoid confusion, can we try these Two suggestions separately one af= ter the other. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Mar 21 22:40:27 2019 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 3F7361551BD2 for ; Thu, 21 Mar 2019 22:40:27 +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 C8F018430B for ; Thu, 21 Mar 2019 22:40:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 833DB1551BC9; Thu, 21 Mar 2019 22: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 71C3D1551BC8 for ; Thu, 21 Mar 2019 22: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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0FB9B84304 for ; Thu, 21 Mar 2019 22:40:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 4E521AB86 for ; Thu, 21 Mar 2019 22:40:25 +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 x2LMePYv003411 for ; Thu, 21 Mar 2019 22:40:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2LMePGC003410 for net@FreeBSD.org; Thu, 21 Mar 2019 22:40:25 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 153731] [patch] ifconfig(8): ifconfig prints trailing whitespace for interfaces that do not have IFF_BROADCAST (like point to point) Date: Thu, 21 Mar 2019 22:40:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: Normal 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.29 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, 21 Mar 2019 22:40:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D153731 --- Comment #5 from commit-hook@freebsd.org --- A commit references this bug: Author: asomers Date: Thu Mar 21 22:40:06 UTC 2019 New revision: 345397 URL: https://svnweb.freebsd.org/changeset/base/345397 Log: MFC r343530, r344559 r343530: ifconfig: fix endianness bug displaying pfsync interfaces Reviewed by: kp Differential Revision: https://reviews.freebsd.org/D19005 r344559: ifconfig: eliminate trailing whitespace Eliminate trailing whitespace on inet, inet6, and groups lines. I think t= he "list txpower" command will still show some, but I'm not able to test tha= t. PR: 153731 Reported-by: Nikolay Denev Differential Revision: https://reviews.freebsd.org/D19004 Changes: _U stable/11/ stable/11/sbin/ifconfig/af_inet.c stable/11/sbin/ifconfig/af_inet6.c stable/11/sbin/ifconfig/ifconfig.c stable/11/sbin/ifconfig/ifgroup.c stable/11/sbin/ifconfig/ifpfsync.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Mar 22 18:31:25 2019 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 C6392154D6CE for ; Fri, 22 Mar 2019 18:31:25 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 209948E023 for ; Fri, 22 Mar 2019 18:31:18 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from yv.noip.me (c-24-4-39-254.hsd1.ca.comcast.net [24.4.39.254]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id x2MIVBVG005815 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 22 Mar 2019 11:31:11 -0700 (PDT) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-24-4-39-254.hsd1.ca.comcast.net [24.4.39.254] claimed to be yv.noip.me To: "freebsd-net@freebsd.org" From: Yuri Subject: dhclient fails to obtain the IP address from some WiFi networks Message-ID: <1718f323-6c12-9a4c-ca70-11bd15cbb7c5@rawbw.com> Date: Fri, 22 Mar 2019 11:31:10 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 209948E023 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of yuri@rawbw.com designates 198.144.192.42 as permitted sender) smtp.mailfrom=yuri@rawbw.com X-Spamd-Result: default: False [-5.60 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[254.39.4.24.zen.spamhaus.org : 127.0.0.10]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.144.192.32/27]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; HAS_XAW(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[rawbw.com]; MX_GOOD(-0.01)[mx.rawbw.net]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; RCVD_IN_DNSWL_NONE(0.00)[42.192.144.198.list.dnswl.org : 127.0.10.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; IP_SCORE(-2.41)[ip: (-3.41), ipnet: 198.144.192.0/19(-4.75), asn: 7961(-3.80), country: US(-0.07)]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7961, ipnet:198.144.192.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 22 Mar 2019 18:31:25 -0000 The laptop was getting the wifi connection right away, but dhclient was consistently failing to obtain the IP address. Here are the ktrace dumps of the dhclient process of two instances of such failure: * https://people.freebsd.org/~yuri/dump-dhclient-failure-1.txt * https://people.freebsd.org/~yuri/dump-dhclient-failure-2.txt The wifi driver was if_run. Can anybody tell why did dhclient fail? Yuri From owner-freebsd-net@freebsd.org Fri Mar 22 23:47:59 2019 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 4DD9F1555073 for ; Fri, 22 Mar 2019 23:47:59 +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 D231969F81 for ; Fri, 22 Mar 2019 23:47:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 92AC11555070; Fri, 22 Mar 2019 23:47:58 +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 7FD5F155506F for ; Fri, 22 Mar 2019 23:47:58 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 18FA669F7F for ; Fri, 22 Mar 2019 23:47:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 6AFF51885A for ; Fri, 22 Mar 2019 23:47:57 +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 x2MNlvBv005502 for ; Fri, 22 Mar 2019 23:47:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2MNlvdn005501 for net@FreeBSD.org; Fri, 22 Mar 2019 23:47:57 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 236724] igbX interfaces fail to switch active to inactive state Date: Fri, 22 Mar 2019 23:47:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: IntelNetworking, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords 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.29 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, 22 Mar 2019 23:47:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236724 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |IntelNetworking, regression 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 Sat Mar 23 10:08:22 2019 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 12C5615471FE for ; Sat, 23 Mar 2019 10:08: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 311F188D3C for ; Sat, 23 Mar 2019 10:08:10 +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 x2NA8203003212 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 23 Mar 2019 11:08:02 +0100 (CET) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: yuri@rawbw.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 x2NA81fw029695 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 23 Mar 2019 17:08:01 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: dhclient fails to obtain the IP address from some WiFi networks To: Yuri , "freebsd-net@freebsd.org" References: <1718f323-6c12-9a4c-ca70-11bd15cbb7c5@rawbw.com> From: Eugene Grosbein Message-ID: Date: Sat, 23 Mar 2019 17:07: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: <1718f323-6c12-9a4c-ca70-11bd15cbb7c5@rawbw.com> Content-Type: text/plain; charset=UTF-8 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.2 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.2 (2018-09-13) on hz.grosbein.net X-Rspamd-Queue-Id: 311F188D3C X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; spf=permerror (mx1.freebsd.org: domain of eugen@grosbein.net uses mechanism not recognized by this client) smtp.mailfrom=eugen@grosbein.net X-Spamd-Result: default: False [-3.19 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; MX_INVALID(0.50)[greylisted]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[grosbein.net]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_PERMFAIL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.43)[-0.432,0]; IP_SCORE(-1.16)[ip: (-1.64), ipnet: 2a01:4f8::/29(-2.12), asn: 24940(-2.01), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 23 Mar 2019 10:08:22 -0000 23.03.2019 1:31, Yuri wrote: > The laptop was getting the wifi connection right away, but dhclient was consistently failing to obtain the IP address. > > > Here are the ktrace dumps of the dhclient process of two instances of such failure: > > * https://people.freebsd.org/~yuri/dump-dhclient-failure-1.txt > > * https://people.freebsd.org/~yuri/dump-dhclient-failure-2.txt > > > The wifi driver was if_run. > > > Can anybody tell why did dhclient fail? There was several important changes to dhclient not so long ago. Please describe the case in detail, including exact branch and revision of your FreeBSD system and relevant messages of "dmesg -a" output. And output of tcpdump too, if possible. From owner-freebsd-net@freebsd.org Sat Mar 23 15:07:06 2019 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 1E88C15531AA for ; Sat, 23 Mar 2019 15:07:06 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id A0FA56DC68 for ; Sat, 23 Mar 2019 15:07:04 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from yv.noip.me (c-24-4-39-254.hsd1.ca.comcast.net [24.4.39.254]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id x2NF71Bp089028 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Sat, 23 Mar 2019 08:07:02 -0700 (PDT) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-24-4-39-254.hsd1.ca.comcast.net [24.4.39.254] claimed to be yv.noip.me Subject: Re: dhclient fails to obtain the IP address from some WiFi networks To: Eugene Grosbein , "freebsd-net@freebsd.org" References: <1718f323-6c12-9a4c-ca70-11bd15cbb7c5@rawbw.com> From: Yuri Message-ID: Date: Sat, 23 Mar 2019 08:07:00 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: A0FA56DC68 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of yuri@rawbw.com designates 198.144.192.42 as permitted sender) smtp.mailfrom=yuri@rawbw.com X-Spamd-Result: default: False [-5.71 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.144.192.32/27]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; DMARC_NA(0.00)[rawbw.com]; RECEIVED_SPAMHAUS_PBL(0.00)[254.39.4.24.zen.spamhaus.org : 127.0.0.10]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx.rawbw.net]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[42.192.144.198.list.dnswl.org : 127.0.10.0]; NEURAL_HAM_SHORT(-0.96)[-0.958,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-2.54)[ip: (-4.11), ipnet: 198.144.192.0/19(-4.74), asn: 7961(-3.80), country: US(-0.07)]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7961, ipnet:198.144.192.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 23 Mar 2019 15:07:06 -0000 On 3/23/19 3:07 AM, Eugene Grosbein wrote: > There was several important changes to dhclient not so long ago. > Please describe the case in detail, including exact branch and revision of your FreeBSD system > and relevant messages of "dmesg -a" output. And output of tcpdump too, if possible. > System revision: 12.0-STABLE #1 r344209 The only dmesg messages during one unsuccessful session were: Mar 22 09:53:41 sw wpa_supplicant[3397]: Successfully initialized wpa_supplicant Mar 22 09:53:42 sw kernel: run0: firmware RT3071 ver. 0.33 loaded Mar 22 09:53:51 sw wpa_supplicant[3398]: wlan0: Trying to associate with 68:bc:1c:c8:26:4e (SSID='xx' freq=5805 MHz) Mar 22 09:53:51 sw wpa_supplicant[3398]: Failed to add supported operating classes IE Mar 22 09:53:52 sw wpa_supplicant[3398]: wlan0: Associated with 68:bc:1c:c8:26:4e Mar 22 09:53:52 sw kernel: wlan0: link state changed to UP Mar 22 09:53:52 sw wpa_supplicant[3398]: wlan0: CTRL-EVENT-CONNECTED - Connection to 68:bc:1c:c8:26:4e completed [id=1 id_str=] Mar 22 09:55:15 sw dhclient[3435]: New IP Address (wlan0): 10.99.52.90 Mar 22 09:55:15 sw dhclient[3436]: New Subnet Mask (wlan0): 255.255.255.0 Mar 22 09:55:15 sw dhclient[3437]: New Broadcast Address (wlan0): 10.99.52.255 Mar 22 09:55:15 sw dhclient[3438]: New Routers (wlan0): 10.99.52.1 Mar 22 09:55:16 sw dhclient[3440]: New Routers (wlan0): 10.99.52.1 Mar 22 09:55:42 sw wpa_supplicant[3398]: wlan0: CTRL-EVENT-DISCONNECTED bssid=68:bc:1c:c8:26:4e reason=3 locally_generated=1 Mar 22 09:55:42 sw kernel: wlan0: link state changed to DOWN tcpdump isn't possible at this time. But everything that dhclient was sending is in kdump files. Yuri From owner-freebsd-net@freebsd.org Sat Mar 23 16:28:26 2019 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 646C6155579D for ; Sat, 23 Mar 2019 16:28:26 +0000 (UTC) (envelope-from ctanghe@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BC41E7042E for ; Sat, 23 Mar 2019 16:28:24 +0000 (UTC) (envelope-from ctanghe@gmx.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1553358483; bh=WAhgws7vdb7gUmgIXivI+9+AcmxiaLtgqy7KQ96+KLA=; h=X-UI-Sender-Class:Subject:From:In-Reply-To:Date:Cc:References:To; b=f3d4yl8Kn9olCU3EhMnoiyhD/dirNDuHFAXQF1hK0OLMhdstjMZrCDObgRgp20dkY RNdwQqYWB2RFR28ak6O2YopcQ3ypMM6trnE+Ma/wPjESJ8w9RnIlJkwksp1znfxHrn obBG69u62wkVy4jQqjTj3zIz3EXrrYtpp0gjF4DQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [100.84.98.218] ([109.40.67.26]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LpbfG-1gSbBc17pe-00fVge; Sat, 23 Mar 2019 17:28:03 +0100 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: dhclient fails to obtain the IP address from some WiFi networks From: Christian X-Mailer: iPhone Mail (16D57) In-Reply-To: Date: Sat, 23 Mar 2019 17:27:53 +0100 Cc: Yuri Content-Transfer-Encoding: quoted-printable Message-Id: References: <1718f323-6c12-9a4c-ca70-11bd15cbb7c5@rawbw.com> To: "freebsd-net@freebsd.org" X-Provags-ID: V03:K1:2FYRN/SBvmfNhrXkwG/63LRBOT5MbNENcZ54AdmxU+Q1aOiD9st 7/f8EooMAJdorYOpCcxHTabEYojhqY21r+xBvOKlUDwXti4ptWtJiRsdm8unoFaPiXwpgjg kDhAj558995WGiD0HX9cwRS2arwuCdovt3osytTkbmxBFUgTCkN39uQTHPlbjLvVObjSELF m09NfyEyHH86Ht2tq8Pfw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:sNZ7HFA62qU=:6SpXPuF73eGBXvhkEFn8WO cAV4jcuUJAfAdPobFzDVqyaxVGzQHjzyMw32nA/j68bJfWrAOZB9EA9jKV58jxA6g27WRYjmy 7ZGytMVZmS+9LtpTG7/nx+gc8yG3j8FsDFxOY+nH+4jWw6jKl2KbA5i6SILvf/9fAeov4kVTJ 1ucpg8m3kNH3Vu+xiMz4SJmZPo7CDHGECPkEM/b1EXtfbLcKuQ+dgk1yqbSf4Tl1cbrXPL8EF 6VrkfDV+7fqw7jOS26E+dowmO2Sorl1IdIkacgWe8y43vpjfnrcbP6d10IGXJnRw1oXjoxNN/ QBfpM/1G+ZTfks4glHbHW22s8iVkCBaTx5Wov/j8fpM2tEdjxM9YAqIEXQSCP4UR6Lz74KtMK ZSdLxWc+JEa3yf7ugvtRRjNaAYBhQY44xlxvQZHdHfxpFT967ECQVyTW9a8Kfe4lTrfNL7pOn gpxIseHxepfPqpNCqymKCSuK6zT9aUDxbX42F7y/5ohnEnEuexoSZUmtoJ2LPS8E3l+ynzeTc a2D9K2JgzYtOzlEqh/RdnUndZ2wkfsrsGMatR+AM1RmeP01wpqYFpSwecdkJ27W0va8eddO4D TvDQof8xN5Wsu5YCNXsSzspY2Hnddt2iuA6wiiLkuW20h1jfqg7Ah53JQqYWgx+32bp9vCERK jM1tbgsjA27EleLzkqToCc4uZkPhHSMlpQ5j/YP6ToNOKMqzO7gZgVpy12E1wpH2Yr22zGZkr JzqkHtCKeAQR/P8hLEJ7tvgYqECTpnV183BBcF+UE6ECIB/Ep8KxNHfkHMSyLJax5dqjrotS+ YbEPFt6dmYAHyaifHeFIFAqCVV4guvtAKFH9Usz1aIqvSYyb/oh+q4bhcD0GlMgvoqzFQXv+5 +Ioav8OrTWRI55E3knz/+3qT6WEvWoTSrOr1vT4ozAQcIDAlugQ2LjlUqISqvn7BRIeHIaPln h65YDgQrgHQ== X-Rspamd-Queue-Id: BC41E7042E X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=f3d4yl8K; spf=pass (mx1.freebsd.org: domain of ctanghe@gmx.de designates 212.227.17.21 as permitted sender) smtp.mailfrom=ctanghe@gmx.de X-Spamd-Result: default: False [-3.92 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmx.de]; R_SPF_ALLOW(-0.20)[+ip4:212.227.17.0/27]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[gmx.net:+]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[mx00.emig.gmx.net,mx01.emig.gmx.net]; NEURAL_HAM_SHORT(-0.75)[-0.752,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-1.06)[ip: (-5.73), ipnet: 212.227.0.0/16(-1.23), asn: 8560(1.67), country: DE(-0.01)]; RCVD_IN_DNSWL_LOW(-0.10)[21.17.227.212.list.dnswl.org : 127.0.3.1]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmx.de]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[gmx.de]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 23 Mar 2019 16:28:26 -0000 Hi,=20 I have had a similar case last week with an old notebook, and learned that s= ome network cards didn=E2=80=98t support a feature called PMF - Protected Ma= nagement Frames (ieee 802.11w-2009). So I disabled this ( more or less senseless, as the internet says) Feature o= n my fritzboxRouter and the card went online.=20 -- > Am 23.03.2019 um 11:07 schrieb Eugene Grosbein : >=20 > 23.03.2019 1:31, Yuri wrote: >=20 >> The laptop was getting the wifi connection right away, but dhclient was c= onsistently failing to obtain the IP address. >>=20 >>=20 >> Here are the ktrace dumps of the dhclient process of two instances of suc= h failure: >>=20 >> * https://people.freebsd.org/~yuri/dump-dhclient-failure-1.txt >>=20 >> * https://people.freebsd.org/~yuri/dump-dhclient-failure-2.txt >>=20 >>=20 >> The wifi driver was if_run. >>=20 >>=20 >> Can anybody tell why did dhclient fail? >=20 > There was several important changes to dhclient not so long ago. > Please describe the case in detail, including exact branch and revision of= your FreeBSD system > and relevant messages of "dmesg -a" output. And output of tcpdump too, if p= ossible. >=20 >=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 Sat Mar 23 16:42:58 2019 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 1D44B1555E0E for ; Sat, 23 Mar 2019 16:42:58 +0000 (UTC) (envelope-from nashkaminski@gmail.com) Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DD9AD7107F for ; Sat, 23 Mar 2019 16:42:56 +0000 (UTC) (envelope-from nashkaminski@gmail.com) Received: by mail-wm1-x32a.google.com with SMTP id 4so4939384wmf.1 for ; Sat, 23 Mar 2019 09:42:56 -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=Go4zYP6qRbmGA1pqD7EeXFABU2JUx5WhaVQTrV029cU=; b=VU9AhACO8q1Rwql0AkHVpGgrWvxucAmdfbaBzo84J4KIr4Dh0kHu33rjP1umFQ/BXI hlXQgotmOxnyU0GfmvPbjtQQq0VckIwlPPIdW6MVlexoxoKEkeHutVZyPxtUA3VOFBfJ /mUuyt7tsZ+bprg+pUQfHvdFxAtfU5+kUvBxU1Gj6dWTUDPCfGX+cXJygvbtY10904Ie 3VyqHgnhvfkSvkSkDCPYgmV3MK0w3e48Y5XXyxFcPCDZ1jQgfeq8OV3M7dTNLhzKf9Nu 5iugDz9VZm+EzOSJwDzoQSluAjCLQIcffrsS09FAtSnH3b8NwuQNcoaUvB0nJboJAKRB M/3g== 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=Go4zYP6qRbmGA1pqD7EeXFABU2JUx5WhaVQTrV029cU=; b=R6Zop+4IqA0Vve+TkE+nGQcQk3y3pKO8FPiBzP6hkuZJPahaaS06n26maKn/oqj+Hj 0dVHnx0seeD7vRc69k28GydF2AQIOOq9cDCeFzebcas5pbKt1vAPsa8sNN2vcQry00VR 6sDYRX8jOE7JPHdyFEEfV3WftSbaPcLfvYsRoz+HWPkHt/KXI+KsMsBJaG5PgjXEbjPy 9D2hZ22x3e88g+nPAbauxinGcp6RNKQjJg06TUzJYIB5Wxxz1VkRH6buclOKMveSzaqx 7zOTkZtCVybvqG741BaQC63KGlHAVUCk8KZA/ZSAiDYANoaCjbnpJHi48ry2ar8MdGHU UYMQ== X-Gm-Message-State: APjAAAW4pcTZDsjAQkzXQlBsljlSWS9xT45ZtNZM+wkjDOupQnh649z6 aXEBAvpDMmbclHkjhEuRriL05LUDuSFgVW6xeGM= X-Google-Smtp-Source: APXvYqz48Gc/ePnlASWN06p/AIa7PXWlEAwCAmrr75r70+zpJS1/GW7JQ9cric6i66vB3vPFa+IgsFAPX+MN7E/fUdM= X-Received: by 2002:a1c:c68b:: with SMTP id w133mr513340wmf.80.1553359374968; Sat, 23 Mar 2019 09:42:54 -0700 (PDT) MIME-Version: 1.0 References: <1718f323-6c12-9a4c-ca70-11bd15cbb7c5@rawbw.com> In-Reply-To: From: Nash Kaminski Date: Sat, 23 Mar 2019 11:42:43 -0500 Message-ID: Subject: Re: dhclient fails to obtain the IP address from some WiFi networks To: Christian Cc: freebsd-net@freebsd.org, Yuri X-Rspamd-Queue-Id: DD9AD7107F X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=VU9AhACO; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of nashkaminski@gmail.com designates 2a00:1450:4864:20::32a as permitted sender) smtp.mailfrom=nashkaminski@gmail.com X-Spamd-Result: default: False [-6.74 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.88)[-0.883,0]; FREEMAIL_TO(0.00)[gmx.de]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[a.2.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.85)[ip: (-9.66), ipnet: 2a00:1450::/32(-2.38), asn: 15169(-2.13), country: US(-0.07)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 23 Mar 2019 16:42:58 -0000 It appears that you actually may have had an address assigned, but then had it removed ~30 seconds later when the interface was brought down by wpa_supplicant. Can you confirm the period of time that you checked and saw that you had no address assigned? Was it within the ~30 second window of time after these log lines were printed, but before the next line, reporting the interface was brought down= ? Mar 22 09:55:15 sw dhclient[3435]: New IP Address (wlan0): 10.99.52.90 Mar 22 09:55:15 sw dhclient[3436]: New Subnet Mask (wlan0): 255.255.255.0 Mar 22 09:55:15 sw dhclient[3437]: New Broadcast Address (wlan0): 10.99.52.255 Mar 22 09:55:15 sw dhclient[3438]: New Routers (wlan0): 10.99.52.1 Mar 22 09:55:16 sw dhclient[3440]: New Routers (wlan0): 10.99.52.1 - Nash On Sat, Mar 23, 2019, 11:30 AM Christian wrote: > > Hi, > I have had a similar case last week with an old notebook, and learned tha= t > some network cards didn=E2=80=98t support a feature called PMF - Protecte= d > Management Frames (ieee 802.11w-2009). > > So I disabled this ( more or less senseless, as the internet says) Featur= e > on my fritzboxRouter and the card went online. > -- > > > Am 23.03.2019 um 11:07 schrieb Eugene Grosbein : > > > > 23.03.2019 1:31, Yuri wrote: > > > >> The laptop was getting the wifi connection right away, but dhclient wa= s > consistently failing to obtain the IP address. > >> > >> > >> Here are the ktrace dumps of the dhclient process of two instances of > such failure: > >> > >> * https://people.freebsd.org/~yuri/dump-dhclient-failure-1.txt > >> > >> * https://people.freebsd.org/~yuri/dump-dhclient-failure-2.txt > >> > >> > >> The wifi driver was if_run. > >> > >> > >> Can anybody tell why did dhclient fail? > > > > There was several important changes to dhclient not so long ago. > > Please describe the case in detail, including exact branch and revision > of your FreeBSD system > > and relevant messages of "dmesg -a" output. And output of tcpdump too, > if possible. > > > > > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@freebsd.org Sat Mar 23 16:57:32 2019 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 4258A15563BA for ; Sat, 23 Mar 2019 16:57:32 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 2524871708 for ; Sat, 23 Mar 2019 16:57:30 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from yv.noip.me (c-24-4-39-254.hsd1.ca.comcast.net [24.4.39.254]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id x2NGvR82009073 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Sat, 23 Mar 2019 09:57:29 -0700 (PDT) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-24-4-39-254.hsd1.ca.comcast.net [24.4.39.254] claimed to be yv.noip.me Subject: Re: dhclient fails to obtain the IP address from some WiFi networks To: Nash Kaminski , Christian Cc: freebsd-net@freebsd.org References: <1718f323-6c12-9a4c-ca70-11bd15cbb7c5@rawbw.com> From: Yuri Message-ID: <90b207c1-1ad9-0f97-1144-9616b3f5c61c@rawbw.com> Date: Sat, 23 Mar 2019 09:57:26 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 2524871708 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of yuri@rawbw.com designates 198.144.192.42 as permitted sender) smtp.mailfrom=yuri@rawbw.com X-Spamd-Result: default: False [-5.68 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:198.144.192.32/27]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; DMARC_NA(0.00)[rawbw.com]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx.rawbw.net]; NEURAL_HAM_SHORT(-0.82)[-0.819,0]; RCVD_IN_DNSWL_NONE(0.00)[42.192.144.198.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.65)[ip: (-4.66), ipnet: 198.144.192.0/19(-4.74), asn: 7961(-3.79), country: US(-0.07)]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; RECEIVED_SPAMHAUS_PBL(0.00)[254.39.4.24.zen.spamhaus.org : 127.0.0.10]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7961, ipnet:198.144.192.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 23 Mar 2019 16:57:32 -0000 On 3/23/19 9:42 AM, Nash Kaminski wrote: > > Can you confirm the period of time that you checked and saw that you > had no address assigned? I was checking continuously, wpa_gui maybe showed the IP briefly once or twice, but then it would disappear. wpa_gui is also quite sloppy, and doesn't show the IP address right away for some reason. The problem might also be that the IP address gets reset too quickly, not sure. I can go back there in a week or so, and do some more experimentation. But I'm not sure how to capture the essence of the problem. tcpdump? wireshark? ktrace at the wpa_supplicant supplicant level instead? Can wpa_supplicant write an exhaustive log of what's going on? Yuri From owner-freebsd-net@freebsd.org Sat Mar 23 17:30:38 2019 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 20310155716F for ; Sat, 23 Mar 2019 17:30:38 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 4BB1F72500 for ; Sat, 23 Mar 2019 17:30:37 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from yv.noip.me (c-24-4-39-254.hsd1.ca.comcast.net [24.4.39.254]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id x2NHUXda014189 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Sat, 23 Mar 2019 10:30:35 -0700 (PDT) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-24-4-39-254.hsd1.ca.comcast.net [24.4.39.254] claimed to be yv.noip.me Subject: Re: dhclient fails to obtain the IP address from some WiFi networks To: Nash Kaminski , Christian Cc: freebsd-net@freebsd.org References: <1718f323-6c12-9a4c-ca70-11bd15cbb7c5@rawbw.com> From: Yuri Message-ID: <16fe29ea-fa8b-2a37-6e3a-4f9ee3edfa29@rawbw.com> Date: Sat, 23 Mar 2019 10:30:32 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 4BB1F72500 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of yuri@rawbw.com designates 198.144.192.42 as permitted sender) smtp.mailfrom=yuri@rawbw.com X-Spamd-Result: default: False [-5.76 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[254.39.4.24.zen.spamhaus.org : 127.0.0.10]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:198.144.192.32/27]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; DMARC_NA(0.00)[rawbw.com]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx.rawbw.net]; NEURAL_HAM_SHORT(-0.81)[-0.811,0]; RCVD_IN_DNSWL_NONE(0.00)[42.192.144.198.list.dnswl.org : 127.0.10.0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-2.74)[ip: (-5.12), ipnet: 198.144.192.0/19(-4.74), asn: 7961(-3.79), country: US(-0.07)]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7961, ipnet:198.144.192.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 23 Mar 2019 17:30:38 -0000 On 3/23/19 9:42 AM, Nash Kaminski wrote: > It appears that you actually may have had an address assigned, but then > had it removed ~30 seconds later when the interface was brought down by > wpa_supplicant. I also ran dhclient by hand, and it never said that it obtained the lease. It would just say that it requested the lease, again and again after the increasing time interval, and eventually it would just say "Using the recorded lease ...". So dhclient is the process that was failing, I think. Yuri From owner-freebsd-net@freebsd.org Sat Mar 23 22:44:57 2019 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 C852C155F31F for ; Sat, 23 Mar 2019 22:44: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 608C58612D for ; Sat, 23 Mar 2019 22:44:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 248BC155F31D; Sat, 23 Mar 2019 22:44:56 +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 12346155F31C for ; Sat, 23 Mar 2019 22:44: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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8DE8F86129 for ; Sat, 23 Mar 2019 22:44: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 D1D405457 for ; Sat, 23 Mar 2019 22:44: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 x2NMis1i094920 for ; Sat, 23 Mar 2019 22:44:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2NMisCN094919 for net@FreeBSD.org; Sat, 23 Mar 2019 22:44:54 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 165622] [ndis][panic][patch] Unregistered use of FPU in kernel on amd64 Date: Sat, 23 Mar 2019 22:44: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: crash, needs-qa, patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: gonzo@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.29 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, 23 Mar 2019 22:44:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D165622 --- Comment #13 from commit-hook@freebsd.org --- A commit references this bug: Author: gonzo Date: Sat Mar 23 22:44:12 UTC 2019 New revision: 345459 URL: https://svnweb.freebsd.org/changeset/base/345459 Log: MFC r343298: [ndis] Fix unregistered use of FPU by NDIS in kernel on amd64 amd64 miniport drivers are allowed to use FPU which triggers "Unregistered use of FPU in kernel" panic. Wrap all variants of MSCALL with fpu_kern_enter/fpu_kern_leave. To reduce amount of allocations/deallocations done via fpu_kern_alloc_ctx/fpu_kern_free_ctx maintain cache of fpu_kern_ctx eleme= nts. Based on the patch by Paul B Mahol PR: 165622 Submitted by: Vlad Movchan Changes: _U stable/12/ stable/12/sys/compat/ndis/kern_windrv.c stable/12/sys/compat/ndis/pe_var.h --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-net@freebsd.org Sat Mar 23 23:12:24 2019 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 38D921560137 for ; Sat, 23 Mar 2019 23:12:24 +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 55A7287347 for ; Sat, 23 Mar 2019 23:12:13 +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 x2NNC2HC007913 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 24 Mar 2019 00:12:05 +0100 (CET) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: yuri@rawbw.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 x2NNC1BH035711 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sun, 24 Mar 2019 06:12:01 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: dhclient fails to obtain the IP address from some WiFi networks To: Yuri , "freebsd-net@freebsd.org" References: <1718f323-6c12-9a4c-ca70-11bd15cbb7c5@rawbw.com> From: Eugene Grosbein Message-ID: <88ef3da7-b1a0-0fe7-9b52-175d0ec212ca@grosbein.net> Date: Sun, 24 Mar 2019 06:11: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: 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.2 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.2 (2018-09-13) on hz.grosbein.net X-Rspamd-Queue-Id: 55A7287347 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; spf=permerror (mx1.freebsd.org: domain of eugen@grosbein.net uses mechanism not recognized by this client) smtp.mailfrom=eugen@grosbein.net X-Spamd-Result: default: False [-3.39 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; MX_INVALID(0.50)[greylisted]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[grosbein.net]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_PERMFAIL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.63)[-0.632,0]; IP_SCORE(-1.15)[ip: (-1.63), ipnet: 2a01:4f8::/29(-2.12), asn: 24940(-2.01), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 23 Mar 2019 23:12:24 -0000 23.03.2019 22:07, Yuri wrote: > On 3/23/19 3:07 AM, Eugene Grosbein wrote: >> There was several important changes to dhclient not so long ago. >> Please describe the case in detail, including exact branch and revision of your FreeBSD system >> and relevant messages of "dmesg -a" output. And output of tcpdump too, if possible. >> > > System revision: 12.0-STABLE #1 r344209 > > > The only dmesg messages during one unsuccessful session were: > > Mar 22 09:53:41 sw wpa_supplicant[3397]: Successfully initialized wpa_supplicant > Mar 22 09:53:42 sw kernel: run0: firmware RT3071 ver. 0.33 loaded > Mar 22 09:53:51 sw wpa_supplicant[3398]: wlan0: Trying to associate with 68:bc:1c:c8:26:4e (SSID='xx' freq=5805 MHz) > Mar 22 09:53:51 sw wpa_supplicant[3398]: Failed to add supported operating classes IE > Mar 22 09:53:52 sw wpa_supplicant[3398]: wlan0: Associated with 68:bc:1c:c8:26:4e > Mar 22 09:53:52 sw kernel: wlan0: link state changed to UP > Mar 22 09:53:52 sw wpa_supplicant[3398]: wlan0: CTRL-EVENT-CONNECTED - Connection to 68:bc:1c:c8:26:4e completed [id=1 id_str=] > Mar 22 09:55:15 sw dhclient[3435]: New IP Address (wlan0): 10.99.52.90 > Mar 22 09:55:15 sw dhclient[3436]: New Subnet Mask (wlan0): 255.255.255.0 > Mar 22 09:55:15 sw dhclient[3437]: New Broadcast Address (wlan0): 10.99.52.255 > Mar 22 09:55:15 sw dhclient[3438]: New Routers (wlan0): 10.99.52.1 > Mar 22 09:55:16 sw dhclient[3440]: New Routers (wlan0): 10.99.52.1 > Mar 22 09:55:42 sw wpa_supplicant[3398]: wlan0: CTRL-EVENT-DISCONNECTED bssid=68:bc:1c:c8:26:4e reason=3 locally_generated=1 > Mar 22 09:55:42 sw kernel: wlan0: link state changed to DOWN > > tcpdump isn't possible at this time. > But everything that dhclient was sending is in kdump files. You used kdump without -E flag, so there are no ktrace timestamps in the files and this makes them not very useful. And kdump's output is always harder to read. Next time please create full traffic capture using: tcpdump -nps0 -i wlan0 -w file.pcap There are no signs that dhclient fails to process answers. Contrary, there are signs that problem is at lower level, perhaps the driver run(4) is guilty: dhclient does not obtain an answer from the network at all. If you can, please try another WiFi USB device, not Ralink-based, so another driver would be used.