From owner-freebsd-net@freebsd.org Wed Oct 23 09:09:36 2019 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 00A6117491E for ; Wed, 23 Oct 2019 09:09:36 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 46yl1q55f7z3NX9 for ; Wed, 23 Oct 2019 09:09:35 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id AC5C717491D; Wed, 23 Oct 2019 09:09:35 +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 AC1D117491C for ; Wed, 23 Oct 2019 09:09:35 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46yl1p5pM8z3NX8 for ; Wed, 23 Oct 2019 09:09:34 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id x9N99Q8S058352 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 23 Oct 2019 12:09:29 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua x9N99Q8S058352 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id x9N99QE4058351; Wed, 23 Oct 2019 12:09:26 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 23 Oct 2019 12:09:26 +0300 From: Konstantin Belousov To: Hans Petter Selasky Cc: net@freebsd.org Subject: Re: Still em(4) broken with epoch changes Message-ID: <20191023090926.GQ73312@kib.kiev.ua> References: <20191023073317.GP73312@kib.kiev.ua> <19e28a07-9e41-3d68-84aa-2422ff2b7f6e@selasky.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <19e28a07-9e41-3d68-84aa-2422ff2b7f6e@selasky.org> User-Agent: Mutt/1.12.2 (2019-09-21) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tom.home X-Rspamd-Queue-Id: 46yl1p5pM8z3NX8 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=gmail.com (policy=none); spf=softfail (mx1.freebsd.org: 2001:470:d5e7:1::1 is neither permitted nor denied by domain of kostikbel@gmail.com) smtp.mailfrom=kostikbel@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : No valid SPF, No valid DKIM,none]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all:c]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(0.00)[ip: (-2.79), ipnet: 2001:470::/32(-4.60), asn: 6939(-3.45), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(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: Wed, 23 Oct 2019 09:09:36 -0000 On Wed, Oct 23, 2019 at 09:39:36AM +0200, Hans Petter Selasky wrote: > On 2019-10-23 09:33, Konstantin Belousov wrote: > > I tried to netboot my test box today with r353914 kernel, and still I get > > the following panic on machine attempt to start multiuser: > > > > Feeding entropy: . > > lo0: link state changed to UP > > uhub0: 3 ports with 3 removable, self powered > > uhub1: 3 ports with 3 removable, self powered > > panic: sleeping in an epoch section > > cpuid = 7 > > time = 1571815747 > > KDB: stack backtrace: > > db_trace_self_wrapper() at 0xffffffff802d070b = db_trace_self_wrapper+0x2b/frame 0xfffffe000ee9fba0 > > vpanic() at 0xffffffff803b79bd = vpanic+0x19d/frame 0xfffffe000ee9fbf0 > > panic() at 0xffffffff803b7753 = panic+0x43/frame 0xfffffe000ee9fc50 > > _sleep() at 0xffffffff803c38b5 = _sleep+0x4a5/frame 0xfffffe000ee9fcf0 > > pause_sbt() at 0xffffffff803c3cff = pause_sbt+0x10f/frame 0xfffffe000ee9fd30 > > e1000_write_phy_reg_mdic() at 0xffffffff80d1332e = e1000_write_phy_reg_mdic+0xee/frame 0xfffffe000ee9fd70 > > e1000_enable_phy_wakeup_reg_access_bm() at 0xffffffff80d16b6b = e1000_enable_phy_wakeup_reg_access_bm+0x2b/frame 0xfffffe000ee9fd90 > > e1000_update_mc_addr_list_pch2lan() at 0xffffffff80d3119a = e1000_update_mc_addr_list_pch2lan+0x3a/frame 0xfffffe000ee9fdd0 > > em_if_multi_set() at 0xffffffff80d0cb49 = em_if_multi_set+0x1c9/frame 0xfffffe000ee9fe20 > > iflib_if_ioctl() at 0xffffffff80d87b70 = iflib_if_ioctl+0x100/frame 0xfffffe000ee9fe90 > > if_addmulti() at 0xffffffff804b1e9f = if_addmulti+0x2af/frame 0xfffffe000ee9ff30 > > in6_joingroup_locked() at 0xffffffff8058094e = in6_joingroup_locked+0x2ee/frame 0xfffffe000eea0030 > > in6_joingroup() at 0xffffffff80580634 = in6_joingroup+0x44/frame 0xfffffe000eea0060 > > in6_update_ifa() at 0xffffffff80579c4c = in6_update_ifa+0x177c/frame 0xfffffe000eea0210 > > nd6_ra_input() at 0xffffffff8059fd7f = nd6_ra_input+0x108f/frame 0xfffffe000eea04b0 > > icmp6_input() at 0xffffffff8057359a = icmp6_input+0x69a/frame 0xfffffe000eea0640 > > ip6_input() at 0xffffffff8058b63e = ip6_input+0xb2e/frame 0xfffffe000eea0720 > > netisr_dispatch_src() at 0xffffffff804bb84a = netisr_dispatch_src+0x9a/frame 0xfffffe000eea0790 > > ether_demux() at 0xffffffff804b6d0f = ether_demux+0x15f/frame 0xfffffe000eea07c0 > > ether_nh_input() at 0xffffffff804b814f = ether_nh_input+0x39f/frame 0xfffffe000eea0810 > > netisr_dispatch_src() at 0xffffffff804bb84a = netisr_dispatch_src+0x9a/frame 0xfffffe000eea0880 > > ether_input() at 0xffffffff804b71d8 = ether_input+0x58/frame 0xfffffe000eea08d0 > > _task_fn_rx() at 0xffffffff80d83610 = _task_fn_rx+0xb20/frame 0xfffffe000eea09e0 > > gtaskqueue_run_locked() at 0xffffffff80402819 = gtaskqueue_run_locked+0xf9/frame 0xfffffe000eea0a30 > > gtaskqueue_thread_loop() at 0xffffffff804025d8 = gtaskqueue_thread_loop+0x88/frame 0xfffffe000eea0a60 > > fork_exit() at 0xffffffff8037b31c = fork_exit+0xcc/frame 0xfffffe000eea0ab0 > > fork_trampoline() at 0xffffffff8063114e = fork_trampoline+0xe/frame 0xfffffe000eea0ab0 > > --- trap 0, rip = 0, rsp = 0, rbp = 0 --- > > KDB: enter: panic > > [ thread pid 0 tid 100024 ] > > Stopped at 0xffffffff80403cfb = kdb_enter+0x3b: movq $0,0xffffffff808e3968 = kdb_why > > > > Can we please get this sorted out ? > > PR is here: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241223 > The PR is closed, but for me the issue is not fixed, and sure my backtrace is different and is not related to if_attach(). It is multicast join in nd6 RA processing, it seems.