From owner-freebsd-net@freebsd.org Fri Jul 17 20:52:52 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 241A036ECC4 for ; Fri, 17 Jul 2020 20:52:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4B7jxc0CPdz4X57 for ; Fri, 17 Jul 2020 20:52:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 04C6D36ED83; Fri, 17 Jul 2020 20:52:52 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0487336EB44 for ; Fri, 17 Jul 2020 20:52:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B7jxb5zBXz4WtK for ; Fri, 17 Jul 2020 20:52:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B08B71F598 for ; Fri, 17 Jul 2020 20:52:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 06HKqpkM060228 for ; Fri, 17 Jul 2020 20:52:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 06HKqpmA060227 for net@FreeBSD.org; Fri, 17 Jul 2020 20:52:51 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 248046] Panic when creating a bridge interface Date: Fri, 17 Jul 2020 20:52:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: freqlabs@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.33 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, 17 Jul 2020 20:52:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248046 --- Comment #4 from Ryan Moeller --- FWIW I tried also testing this in a recent TrueNAS 12 internal build (which= is basically stable/12) and hit a different panic in the bridge epochification instead: <6>bridge0: Ethernet address: 02:dd:a7:c5:f6:00 <6>bridge0: link state changed to UP <6>em0: promiscuous mode enabled <6>tap0: Ethernet address: 58:9c:fc:10:53:4a <6>tap0: changing name to 'vnet0' <6>vnet0: promiscuous mode enabled panic: Assertion in_epoch(net_epoch_preempt) failed at /truenas-12.0-internal/freenas/_BE/os/sys/net/if_bridge.c:2411 cpuid =3D 3 time =3D 1595009276 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe003f9c3= 800 vpanic() at vpanic+0x17b/frame 0xfffffe003f9c3850 panic() at panic+0x43/frame 0xfffffe003f9c38b0 bridge_input() at bridge_input+0x7ba/frame 0xfffffe003f9c3910 ether_nh_input() at ether_nh_input+0x279/frame 0xfffffe003f9c3970 netisr_dispatch_src() at netisr_dispatch_src+0x9d/frame 0xfffffe003f9c39d0 ether_input() at ether_input+0x86/frame 0xfffffe003f9c3a00 iflib_rxeof() at iflib_rxeof+0xc29/frame 0xfffffe003f9c3ae0 _task_fn_rx() at _task_fn_rx+0x4b/frame 0xfffffe003f9c3b20 gtaskqueue_run_locked() at gtaskqueue_run_locked+0x145/frame 0xfffffe003f9c= 3b80 gtaskqueue_thread_loop() at gtaskqueue_thread_loop+0x94/frame 0xfffffe003f9c3bb0 fork_exit() at fork_exit+0x80/frame 0xfffffe003f9c3bf0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe003f9c3bf0 --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- KDB: enter: panic The offending line of code is the MPASS(in_epoch(net_epoch_preempt)); at the top of bridge_input(). --=20 You are receiving this mail because: You are the assignee for the bug.=