From owner-freebsd-current@freebsd.org Wed Feb 12 16:42:00 2020 Return-Path: Delivered-To: freebsd-current@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 C40BE23CAF9 for ; Wed, 12 Feb 2020 16:42:00 +0000 (UTC) (envelope-from yp@mm.st) Received: from wnew1-smtp.messagingengine.com (wnew1-smtp.messagingengine.com [64.147.123.26]) (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 48Hlm75ljlz4cMd; Wed, 12 Feb 2020 16:41:59 +0000 (UTC) (envelope-from yp@mm.st) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.west.internal (Postfix) with ESMTP id 46DCF5DE; Wed, 12 Feb 2020 11:41:57 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 12 Feb 2020 11:41:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mm.st; h=subject :to:cc:references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; s=fm2; bh=79qFME7AF00Zb BaKqJm3zgMnlX+dOWlHrpJX9TWoTcM=; b=aZNMA79bFVRRC6MRdGklwpJzl0wLN KpRg53tCcNHqk8Ruu46mrCtqnuYJYG6S88/DoqheoSiLOojedtrkTgjg8VcRRZag UgWUFiVZgvrCGqGyXXd5IRI2cvVn6KkHgwt1KqXd4wFFJPvXxI0EMKpLy+koZULa LpLMfd4yWYD5zxuzwBZ6DxGBa4Ld97QBOUFNvCUj3g2DtDSxyalT0PyvVV69jcFB xO2OALtiSv19W3DKVqoPakw07HHuix/sVRARmwctJEyhCzJoWJ0iUPI5SBWLFJl+ 9tiv4rRTtY2KNc01eZud+STiuCaVRSI8IY/84ri7h2LMdfhYWKF+Vgc3Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=79qFME7AF00ZbBaKqJm3zgMnlX+dOWlHrpJX9TWoT cM=; b=kMFQKRogw29BQaQVd3ws7WT17r+hybjdMrXVCdrxjxI8Zh1xOnSE86JM9 l9aQhHw5rULYT5V1LFU4vTd5C/fH5sg21Kb1cTfnajUMMkYcmEJGxBR8QnwWhhah xBBLt2iB9ZlPAR+NyVL1Qynykh9abcWn1jBsPdQ5kiVAjuhZVvXs49lKgUmFwL3s rQAPzgFXHmzvUdQqqhxSkcY676Qnal0PJRbDQclCpqcGPUF4WqCXVtlkS1hLGqhm NtPSUEzEHkVFGumg36+FFkCfBfz5FIsrh/4orQJjFUoA2gWJcrukqfPPDiZM/Xn9 NHCmrVJQc3xxkWMkIs2tMkryydtBw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrieehgdelfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthejre dttdefjeenucfhrhhomhephihpsehmmhdrshhtnecukfhppedujeekrdduheehrdegrddu heejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephi hpsehmmhdrshht X-ME-Proxy: Received: from mercury.local (unknown [178.155.4.157]) by mail.messagingengine.com (Postfix) with ESMTPA id E1CBE3060B27; Wed, 12 Feb 2020 11:41:55 -0500 (EST) Subject: Re: panic: Assertion in_epoch(net_epoch_preempt) failed, r357793 To: Gleb Smirnoff Cc: freebsd-current@freebsd.org References: <1123c163-846f-7264-febd-3027e1b17369@mm.st> <20200212163824.GA1253@FreeBSD.org> From: yp@mm.st Message-ID: Date: Wed, 12 Feb 2020 19:41:54 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: <20200212163824.GA1253@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48Hlm75ljlz4cMd X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mm.st header.s=fm2 header.b=aZNMA79b; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=kMFQKRog; dmarc=pass (policy=none) header.from=mm.st; spf=pass (mx1.freebsd.org: domain of yp@mm.st designates 64.147.123.26 as permitted sender) smtp.mailfrom=yp@mm.st X-Spamd-Result: default: False [-3.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[mm.st:s=fm2,messagingengine.com:s=fm2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; MIME_TRACE(0.00)[0:+]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.26]; FREEMAIL_FROM(0.00)[mm.st]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[mm.st:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; FROM_NO_DN(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[mm.st,none]; IP_SCORE(0.00)[ip: (-4.04), ipnet: 64.147.123.0/24(-4.92), asn: 11403(-2.68), country: US(-0.05)]; RCVD_IN_DNSWL_LOW(-0.10)[26.123.147.64.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[mm.st]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[157.4.155.178.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Feb 2020 16:42:00 -0000 Gleb Smirnoff wrote: > On Wed, Feb 12, 2020 at 09:49:12AM +0300, yp@mm.st wrote: > y> Getting the following panic after updating to r357793 (expect typos, hand > y> copied): > y> > y> panic: Assertion in_epoch(net_epoch_preempt) failed at > y> /usr/src/sys/net/iflib.c:2762 > y> > y> db_trace_self_wrapper() > y> vpanic() > y> panic() > y> iflib_rxeof() > y> _task_fn_rx() > y> gtaskqueue_run_locked() > y> gtaskqueue_thread_loop() > y> fork_exit() > y> fork_trampoline() > y> --- trap 0, rip = 0, rsp = 0, rbp = 0 --- > > Are you running iflib as a loadable module? Your trace clearly > has _task_fn_rx(), and Hans's patch covers _task_fn_tx(). However, > Hans's patch helped you. So, my guess is happen just due to > recompilation and reinstall of the module, not due to patch. No, it was a clean install from latest snapshot ISO, updated to that revision using the usual {build,install}{world,kernel} procedure without any settings in src.conf and using GENERIC conf, so iflib is builtin.